Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP6: Checking for LPT port status
Message
From
03/01/2001 15:42:51
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00458542
Message ID:
00459096
Views:
24
David,

Do you have any documentation for the printer?

You might be able to open the port, send the appropriate escape code and read the response. I think you can still talk to directly to parallel and comm ports with the FoxPro low level file functions.

Jim



>According to the Hacker's Guide to VFP 6.0, SYS(13) and PRINTSTATUS() always return READY or .t..
>
>>David,
>>
>>Have you tried SYS(13)?
>>
>>Jim
>>
>>
>>>I am sending a text file to a Zebra Z4000 label printer. The problem is if the printer is off or not connected then my app locks up and it is not responding. I am using the CopyFile Win32API function to print. Any ideas?
>>>TIA!
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform