Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to check printer status 1

Status
Not open for further replies.

glenda

Programmer
Mar 29, 2000
4
US
Hi
How do I check to see that the printer or printer device is online/offline in vfp. In foxpro 2.0 higher,I could use printstatus() function. What can I use now?.....thanks [sig][/sig]
 
Its less of a thing left out of VFP than a result of the Windows interface. Since (at least in VFP) you no longer print directly to the printer but instead go through the Windows print manager, there is no longer a low-level printer status function. With PRTINFO() you can get a whole lot of information about a printer, but not whether it is online.

Perhaps someone here has a WinAPI function call that could be used. [sig]<p>Robert Bradley<br><a href=mailto: > </a><br><a href= - Visual FoxPro Development</a><br> [/sig]
 
FWIW, there's also the SYS(13) function. [sig]<p>Jon Hawkins<br><a href=mailto: jonscott8@yahoo.com> jonscott8@yahoo.com</a><br><a href= > </a><br>Focus on the solution....Not the problem.[/sig]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top