General information
Title:
Getprinter results in error
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only