Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Getprinter results in error
Message
From
26/11/2001 06:14:33
 
 
To
26/11/2001 04:25:37
Geert Van Snik
Zorgned Automatisering Bv
Wageningen, Netherlands
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00585644
Message ID:
00585658
Views:
18
>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.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform