General information
Category:
Coding, syntax & commands
Hi Mark..thanks very much for sharing the code.
As a matter of interest, which exact model of Zebra printer did you select.
I have been on to the suppliers of Zebra printers and they range from €600 to c €5000 !!. Volume printing is'nt an issue
Regards,
Gerard
>Hi Gerard,
>
>PMFJI, Ken has given you some great advice.
>
>I've done butterfly, barbell, jewelry labels on Zebra printers and wanted to share the code with you:
>
>SET CONSOLE OFF
>SET PRINTER TO rpt6.txt ADDITIVE
>SET PRINT ON
>? "N"
>? "R"+LTRIM(STR(llblmargin,2,0))+",0"
>? 'D15'
>? 'A0,0,0,2,1,1,N,"'+mldescr+'"'
>? 'B280,0,0,1C,2,4,40,N,"'+TRIM(mbpartno)+'"'
>? 'A0,20,0,2,1,1,N,"'+RIGHT(SPACE(10)+mdollar+LTRIM(STR(mbprice,9,2)),10)+'"'
>? 'A300,45,0,2,1,1,N,"'+TRIM(mbpartno)+'"'
>? 'P'+LTRIM(STR(mcopy,9,0))
>?
>SET PRINT OFF
>SET PRINTER TO
>SET CONSOLE ON
>
>This creates a text file that can be sent to a Zebra printer using EPL2 (Eltron Programming Language 2/Page Mode) with a margin of llblmargin, density of 15, description of mldescr, code 128 mode c barcode of mbpartno, a currency symbol of mdollar, a price of mbprice, a human-readable barcode of mbpartno and mcopy number of copies.
>
>This will print a jewelry label with barcode on left side and price and description on the right side.
>
>Since there is very little room to print a barcode and you need to print it big enough that a scanner can scan it, I used Code 128C barcode and limited the barcode to a 6-digit string of numbers.
>
>Another tip if you want to use EPL2 programming: If your Zebra printer comes with BarTender barcode printing software, you can design your label in BarTender and then print it to a text file. The text file will consist of the EPL commands that you can then integrate into your own program.
>
>HTH,
>Mark
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only