Hi,

Thanks a lot for PRINTREADY() patch. It is working fine, however, I get the 
same output for LPT1 like in HB_ISPRINTER() and ISPRINTER() cases. 
Does anybody have any idea why?

Best regards
Robert Skowronek
  ----- Original Message ----- 
  From: Viktor Szakáts 
  To: Harbour Project Main Developer List. 
  Sent: Thursday, March 25, 2010 12:25 PM
  Subject: Re: [Harbour] Printer Status Functions


  > > 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
  > 
  > Are you sure in this result? This contradicts the first two tests, 
  > since this one tests for LPT1.
  > 
  > > HB_IsPrinter(“LPT2”)  => output correct corresponds with the port status
  > 
  > Brgds,
  > Viktor
  > Yes, you are right. I checked it again and I see I did mistake in my 
previous email. Because IsPrinter() serves only LPT1, naturally it always 
returns true in my tests.
  >  
  >  
  > But my question is still open. Why LPT1 status is not recognized properly 
by either, IsPrinter() or HB_IsPrinter('LPT1')? Always true, whatever port 
status was.

  I don't know.

  Brgds,
  Viktor

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

Reply via email to