>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.
This soundslike a problem configuring your ICA client to redirect printing properly; the printers must be installed under Citrix for Citrix to know how to handle them. It's an issue for the system administrator to look at.