> > 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)
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to