Re: XP & Generic Printing

From: Gunther Gloop (me_at_privacy.net)
Date: 02/20/04


Date: Fri, 20 Feb 2004 13:00:07 -0000

Thanks Ravi,

I should have posted my fix earlier but didn't.

The problem was the way I was referring to the printers.

I was selecting the printer(s) to print-to in a setup screen by selecting
them from a list. Then before printing I was doing...

set printer to name &cprinter

This macro substitution was causing the problem due to the longfilename in
the way XP refers to the printer ie. \\<server>\myprinter

I changed this to...

set printer to name (cprinter)

...and my problem was solved.

It wasn't a problem with the driver per se, but with the fact that my app
wasn't _switching_ drivers when it was told. That would've been obvious if
it was printing to 2 computers instead of 2 drivers on 1 printer, but it was
almost impossible to spot on 1 printer.

Actually I had come across this and solved it in other apps, but I had
thought I fixed it in all my apps so hadn't even considered it as the
problem. Silly me.

 -Kevin.

Ravi Krishnan wrote:
> kevin,
>
> what about using a dosprint routine available at -
>
> http://www.victorespina.coolfreepages.com/infoproducto.php?id=38&lang=ENU
>
> search for dosprint at universal thread downloads
>
> regards
>
> ravi
>
>
> "Gunther Gloop" <me@privacy.net> wrote in message
> news:c0rd1i$1aj9ri$1@ID-173227.news.uni-berlin.de...
>> Rick Bean wrote:
>>> Gunther,
>>> Are you sure that you are still using a Generic/Text Only printer
>>> driver?
>>>
>>> Do you remove the printer specific report information in your report
>>> files? (Clear TAG and TAG2 in the first record of the .FRX?)
>>>
>>
>> Yes. I should've added its nothing to do with the TAG and TAG2
>> fields. When printing to the generic driver it is just via the "?"
>> commands. I'm not printing to that driver using the report designer.
>>
>> -Kevin.
>>
>> --
>> Reply to: news@SPAMBEGONEkevinforde.com

-- 
Reply to: news@SPAMBEGONEkevinforde.com


Relevant Pages

  • Re: Sharing a Canon i865 - No "preview before printing"
    ... One Printer (Canon i865) ... I have installed on both PCs the latest driver version downloaded from the ... I have no access to the "Preview before printing" option, ... of network printer sharing, ...
    (microsoft.public.windowsxp.network_web)
  • Re: Printing stops with USB to Serial adapter
    ... > I am struggling with printing to a receipt printer (serial port Star ... > Micronics SP212 with Line mode driver installed) through a USB to Serial ... have to install the printer driver there too; ...
    (microsoft.public.win2000.printing)
  • Re: Printing stops with USB to Serial adapter
    ... > I am struggling with printing to a receipt printer (serial port Star ... > Micronics SP212 with Line mode driver installed) through a USB to Serial ... have to install the printer driver there too; ...
    (microsoft.public.vb.winapi)
  • Re: [SLE] Cleaning cups queue through ssh [SUSE 8.2]
    ... Regarding filter and backend in general, ... The problem is how to interrupt a printing job and leave the printer ... Often printing on a low-level inkjet printer with a generic driver ... is cups problem or gutenprint enhancement. ...
    (SuSE)
  • Re: Unidriver custom/vendor defined paper size limitations
    ... driver model itself. ... My understanding is that we can't redefine the DEVMODE ... structure without breaking all apps and even if we could existing apps ... boost the limitation to 30 metres which is just shy of 100ft. ...
    (microsoft.public.development.device.drivers)