Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Getprinter results in error
Message
From
26/11/2001 04:25:37
Geert Van Snik
Zorgned Automatisering Bv
Wageningen, Netherlands
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Title:
Getprinter results in error
Miscellaneous
Thread ID:
00585644
Message ID:
00585644
Views:
49
Respected fellow Developers,

Our foxpro-based application has recently been been installed at a citrix server which is adressed form four different locations.
As all of the locations have their own printers, a set of printers has been defined.
The default printer is a "dummy" printer on lpt1, which doesn't exist and is called "Choose a printer". So, when a user prints any document from foxpro, it is sent to this dummy printer, which doesnt't work.
So, they have to select a printer.
In our application we have a button called "Choose printer" which serves, as you might expect, to choose the printer of the user's choice.
The click() contains one sole line of code, the infamous getprinter().
This has always worked fine ......until now.
From the getprinter() command, an error results:"Printer not ready", resulting in a program crash. The error appears before the actual printer selection appears so the users do not get any chance to change their printer.

Any ideas towards a solution or cause are welcome.


With kind regards,

Geert
Next
Reply
Map
View

Click here to load this message in the networking platform