Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How To Get Printer Status ByPass Windows Spooler?
Message
From
17/03/2007 14:55:23
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
How To Get Printer Status ByPass Windows Spooler?
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01205026
Message ID:
01205026
Views:
194
Native VFP commands PrintStatus() or Sys(13) didn't work at all, because both pass by Windows Spooler to get printer status. And Windows Spooler does not reflect the real status of the printer. That means the printer is offline or out of paper or completly disconnected and Windows Spooler returns READY. I think it's possible to bypass the Windows Spooler and connect directly to printer port using Winsock with IP Address. I just want an example of code using "MsWinsock.Winsock" to retrieve printer status. Thank you in advance.

P.S.: Please don't submit me any other code using "winspool.drv"... because it's also passing by Windows Spooler and the status returned is wrong.
Marc Levesque
La Prairie, Quebec (CANADA)
marc.levesque@videotron.ca
Next
Reply
Map
View

Click here to load this message in the networking platform