Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Printing to a Zebra label printer using EPL2...
Message
De
06/03/2005 11:06:43
Nancy Folsom
Pixel Dust Industries
Washington, États-Unis
 
 
À
03/03/2005 16:33:09
Joe Sandoval
Healthcare Computer Corporation
Greensboro, Caroline du Nord, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
00992568
Message ID:
00993102
Vues:
27
Hi, Joe-

>I am trying to communicate with a Zebra LP2844 using EPL2 over USB. I have tried this with no luck:

I build my Zebra label with the following:
LOCAL lcLabel, lcItemName
lcItemName = SUBSTR(this.ItemName,1,INT(20.3*1.6875))
lcItemname = STRTRAN(lcItemName,'\','\\')
lcItemname = STRTRAN(lcItemName,'"','\"')
*!* Documentation follows in compiler IF below.
*!* Do not change any of the lines within the
*!* TextMerge block
TEXT TO lcLabel TEXTMERGE NOSHOW
R000,000
O
q350
Q101,25+0
S3
N
B15,22,0,UA0,1,2,62,B,<<'"'+TRIM(this.ItemUPC)+'"'>>
A11,0,0,1,1,1,N,<<'"'+lcItemName+'"'>>
A150,20,0,1,1,1,N,<<'"'+this.ItemProductID+'"'>>
A155,37,0,2,1,1,N,"Rooster Brother"
A210,62,0,2,1,1,N,<<'"'+LTRIM(this.ItemPrice)+'"'>>
P<<TRANSFORM(this.Copies)>>,1

ENDTEXT

???lcLabel && Write the string out to the device
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform