PDA

View Full Version : startdoc() fails


Rupa
June 10th 05, 06:09 AM
Hi,
I have an application that print an image file. Everything works fine
with the normal printer settings. But if I go to
Printer->Properties->Advanced and select "Print Directly to Printer" ,
then StartDoc() fails and GetLastError() return 6 (Handle is invalid).
i'm just not able to figure this out...please help

Byte
June 10th 05, 02:58 PM
Printing to the spooler is usually faster. Keep it at that.
--
Some days you're the windshield,
some days you're the bug.


"Rupa" wrote:

> Hi,
> I have an application that print an image file. Everything works fine
> with the normal printer settings. But if I go to
> Printer->Properties->Advanced and select "Print Directly to Printer" ,
> then StartDoc() fails and GetLastError() return 6 (Handle is invalid).
> i'm just not able to figure this out...please help
>
>
>

Google