Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Bar Code printing on a TM-T88II...Help!
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
FoxPro 2.x
Titre:
Bar Code printing on a TM-T88II...Help!
Divers
Thread ID:
00437985
Message ID:
00437985
Vues:
102
I have a bar code printing mystery to solve.

Here is the code that works just fine in Basic
LPRINT CHR$(27);"@";
LPRINT CHR$(27);"a";CHR$(1);  'centrer l'impression
LPRINT "Printing over the bar code"
LPRINT CHR$(29);"H";CHR$(2);
LPRINT CHR$(29);"w";CHR$(2);    'largeur des barres: *
LPRINT CHR$(29);"h";CHR$(70);   'hauteur
LPRINT CHR$(29);"k";CHR$(4);    'code 39  **
LPRINT "1234567.99";CHR$(0);
LPRINT "Printing under the bar code";
LPRINT CHR$(10);                 'Line feed
LPRINT CHR$(27);"@";
Now the same code below translated in Foxpro 2.5b for DOS does not work at all.
SET PRINTER TO PRN
SET PRINTER ON
??? CHR(27)+"@"
??? CHR(27)+"a"+CHR(1)  && centrer l'impression
? "Printing over the bar code"
??? CHR(29)+"H"+CHR(2)
??? CHR(29)+"w"+CHR(2)  && largeur des barres: *
??? CHR(29)+"h"+CHR(70) && hauteur
??? CHR(29)+"k"+CHR(4)  && code 39
? "127.99"+CHR(0)
? "Printing under the bar code"
??? CHR(10)             &&Line feed
??? CHR(27)+"@"
?
SET PRINTER OFF
There must be some detail I am missing.
I tried to replace all ??? with ?? and it does not work either.

Anyone know why it does not work??
Réal Philippon
www.ultra.ca
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform