Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Printer Communications
Message
De
02/11/1997 04:44:29
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Printer Communications
Divers
Thread ID:
00057835
Message ID:
00057835
Vues:
77
I am trying to print receipts to a dot matrix printer using VFP 5.0. In DOS, the following code communicated with the printer and allowed me to set page length to 33 lines:

SET DEVICE TO PRINT
SET PRINT ON
SET CONSOLE OFF

?? CHR(27) + CHR(67) + CHR(33)

In Windows, I get garbage characters and no change of page length. How am I supposed to send Esc sequences through the Windows driver???

TIA.

John
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform