IsPrinter() & XP

Postby avista » Fri Aug 15, 2008 10:02 am

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
User avatar
avista
 
Posts: 301
Joined: Fri Jun 01, 2007 9:07 am
Location: Macedonia

Postby Antonio Linares » Fri Aug 15, 2008 11:18 am

Its ok, no problem. So you mean a msdos Clipper application, right ?
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42122
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby avista » Fri Aug 15, 2008 1:00 pm

Yes msdos Clipper application ...

Regards,
User avatar
avista
 
Posts: 301
Joined: Fri Jun 01, 2007 9:07 am
Location: Macedonia

Postby Antonio Linares » Fri Aug 15, 2008 6:04 pm

Have you tried to open "LPT1" as a file ?

? FOpen( "LPT1" )

and see what you get
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42122
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby avista » Mon Aug 18, 2008 7:36 am

Hi Antonio,

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

Regards,
User avatar
avista
 
Posts: 301
Joined: Fri Jun 01, 2007 9:07 am
Location: Macedonia

Postby Antonio Linares » Mon Aug 18, 2008 10:05 am

Is it a local printer or a remote printer ?

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

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42122
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby avista » Wed Aug 20, 2008 8:52 am

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,
User avatar
avista
 
Posts: 301
Joined: Fri Jun 01, 2007 9:07 am
Location: Macedonia

Postby Antonio Linares » Thu Aug 21, 2008 6:55 am

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 ?
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42122
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Previous

Return to FiveWin for CA-Clipper

Who is online

Users browsing this forum: No registered users and 3 guests