Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to send ESC code to a printer?
Message
De
12/09/1999 12:41:09
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
How to send ESC code to a printer?
Divers
Thread ID:
00263794
Message ID:
00263794
Vues:
59
I want to send ESC + '@' to my printer so as to initialize it. I have tried the following but it just printed a strange character and an '@'only:
SET DEVICE TO PRINTER
SET PRINT ON
?? chr(27) + '@'
SET PRINT OFF
SET DEVICE TO SCREEN
And it seems need me to quit my VFP program first then send this signal to my printer, how come?
Power Wong
Every problem will have a solution, the only problem is that can you find it out.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform