Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Printer Status
Message
From
04/01/2003 02:47:57
 
 
To
02/01/2003 14:38:57
Mary Amozig
Software Answers, Inc.
Orlando, Florida, United States
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Title:
Miscellaneous
Thread ID:
00737478
Message ID:
00737993
Views:
15
>We have just discovered that neither sys(13) nor printstatus() work in VFP. Additionally, we have noticed that getprinter() and sys(1037), which both display the printer dialog box, do basically the same thing as the other two -- which is to indicate that the printer is 'ready' regardless of what its actual status is. I have waded through several of the threads about this issue, but have somehow missed the answer as to how one can actually determine if a printer is on line or offline or whatever. We would like to spare our users the dismay of getting stuck in a report and having to ctl-alt-delete their way out.

I'm not sure why the users are getting stuck in the report. I just get a message when I try to print to an off-line printer. However, with regard to PrintStatus(), I had a gut feeling that it shouldn't even work. But I googled the subject and found this that applies.

There are some printer and print spooler related functions in the Windows API here. Didn't see anything offhand that might apply.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform