Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
GETPRINTER() problem
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01484120
Message ID:
01486211
Vues:
72
Have you tried the getprinter() function. Here is a code snippet
cp = getprinter()
IF !EMPTY(cp)
	thisform.cprinter = cp
	cset6 = cp
ELSE	&& set to the default printer
	thisform.cprinter = SET("Printer",2)
ENDIF
SET PRINTER TO NAME (thisform.cprinter)
Ron Seidl
Independent Developer
VFP

"I'm playing in life's theater in anticipation of a great cast party!"
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform