Page 2 of 2

PostPosted: Fri Aug 15, 2008 10:02 am
by avista
Antonio,

With my fivewin applications is everything ok .... i am usualy using preview and i dont care about printing and i dont have problems ...
but i still use some ONLY clipper application (if you read first post) and i have problems with IsPrinter() function becouse under XP returning always .t.

Best regards,
and i am sorry if i informed you wrong

PostPosted: Fri Aug 15, 2008 11:18 am
by Antonio Linares
Its ok, no problem. So you mean a msdos Clipper application, right ?

PostPosted: Fri Aug 15, 2008 1:00 pm
by avista
Yes msdos Clipper application ...

Regards,

PostPosted: Fri Aug 15, 2008 6:04 pm
by Antonio Linares
Have you tried to open "LPT1" as a file ?

? FOpen( "LPT1" )

and see what you get

PostPosted: Mon Aug 18, 2008 7:36 am
by avista
Hi Antonio,

FOpen( "LPT1" ) return Error BASE/1066 Argument error: Conditional

Regards,

PostPosted: Mon Aug 18, 2008 10:05 am
by Antonio Linares
Is it a local printer or a remote printer ?

Have a look here:
http://www.codeguru.com/cpp/w-p/printin ... .php/c2949

PostPosted: Wed Aug 20, 2008 8:52 am
by avista
Yes it is a local printer
and i only need to check if printer on LPT1 ready.
Clipper function IsPRinter() under XP return always .t. becouse of spooling.
IF there is no printer or not ready program is blocked and waithing to finish printing.

I checked
http://www.codeguru.com/cpp/w-p/printin ... .php/c2949
but not going under clipper.

Regards,

PostPosted: Thu Aug 21, 2008 6:55 am
by Antonio Linares
Please show me the exact source code that you are using here:

FOpen( "LPT1" ) return Error BASE/1066 Argument error: Conditional

What conditional is it ?