Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem with : Set Printer to Name
Message
De
05/10/2001 14:20:03
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Titre:
Problem with : Set Printer to Name
Divers
Thread ID:
00564932
Message ID:
00564932
Vues:
42
Hi,

I'm having problem using a variable with set printer to name.


This does not work:
lcPrinterNom = GETPRINTER()
SET PRINTER TO NAME lcPrinterNom

It gives me error 1957 : error accessing printer spooler

But this work:
SET PRINTER TO NAME GETPRINTER()

And this work also:
SET PRINTER TO NAME "\\GCI3\HP DeskJet 540"



I would like to use a variable in order to take specific action if the user click "cancel" to the GETPRINTER() prompt.


Thanks
Diane Robitaille eng.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform