Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Getprinter results in error
Message
De
26/11/2001 04:25:37
Geert Van Snik
Zorgned Automatisering Bv
Wageningen, Pays-Bas
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Titre:
Getprinter results in error
Divers
Thread ID:
00585644
Message ID:
00585644
Vues:
51
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform