代码改变世界

How to use zebra barcode printer correctly

2010-11-25 17:37  刘少侠  阅读(253)  评论(0编辑  收藏  举报

first, you must know the EPL command:

A, print text, Ap1..P8

B, print barcode, Bp1..P8

N, Clear image buffer

P, start to print

Q, set label length and label gap length

q, set label width

then, you can use the command  string as below:

Q1100,100
q750
N
A10,10,0,9,1,1,N,"物品代码:58706870 领料单号:LLD-ASDFYUO"
A10,50,0,9,1,1,N,"i like apple and iphone"
B10,370,0,1,3,7,100,B,"6666666666-001"
P1

just send it to LPT1 or COM1, you know……