Hi,

 
In my application I want to check whether LPT printer is available or not 
before I send document to it.

 

In DOS application I used to use PrintReady() function successfully with 
numerical input  1 or 2 for LPT1 and LPT2 respectively but in Harbour that 
function always return "False" even if the printer is available.

 

PrintReady(1) => always false

PrintReady(2) => always false

 

I also did some test for IsPrinter() and HB_IsPrinter() and both get strange 
output for LPT1 only (by the way what is a difference between them?). 

 

IsPrinter("LPT1")         => always return "True" also when printer not 
connected to that port

HB_IsPrinter("LPT1")  => always return "True" also when printer not connected 
to that port

 

IsPrinter("LPT2")         => output correct corresponds with the port status

HB_IsPrinter("LPT2")  => output correct corresponds with the port status

 

 

Kindly advice.

 

Best regards

Robert Skowronek
_______________________________________________
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to