Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Printing to a Zebra label printer using EPL2...
Message
From
06/03/2005 11:06:43
 
 
To
03/03/2005 16:33:09
Joe Sandoval
Healthcare Computer Corporation
Greensboro, North Carolina, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00992568
Message ID:
00993102
Views:
28
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform