User Tools

Site Tools


en:barcode_printing_tags

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
en:barcode_printing_tags [2013/09/16 06:47]
admin created
en:barcode_printing_tags [2013/09/16 23:06] (current)
Line 46: Line 46:
 </​WRAP>​ </​WRAP>​
  
 +===== Barcode Label Printers =====
 +
 +You can also use Barcode Label Printers with SambaPOS. Barcode label printers are useful if you prefer to print Free Coffee Coupon Barcodes on sticky labels. So you can apply these on brochures or pre-printed Coupon Cards. These printers are different from ticket printers. They have a sensor next to their printing head to correctly align labels. If you frequently print high amount of labels at a time using barcode label printers is a must.
 +
 +Barcode printers supports their own Barcode Printing Language. Widely supported barcode printing languages are ZPL, EPL and TSPL languages. Most printers supports all or some of these languages.
 +
 +To be able to directly send these commands to printers we have have a new printer type called ''​Raw Printer''​. This printer directly sends data to printer without modifying it. 
 +
 +I've tested this printer with a TSC Firmware installed label printer. This firmware supports TSPL language so our sample format written in TSPL. If your printer supports it you can read more about this format from [[http://​www.tscprinters.com/​cms/​upload/​download_en/​TSPL_TSPL2_Programming.pdf|TSPL Programming Language Manual]]
 +
 +==== Sample TSPL Template ====
 +
 +This template prints a 40x80 label with a QR tag on the left and "​SambaPOS Coffee Coupon"​ on the right and human readable code on right bottom side. 
 +
 +{{:​en:​promotions:​barodetemplate1.jpg?​700|}}
 +
 +=== Description ===
 +
 +|**SIZE 40 mm,80 mm**|
 +|Page Size in milimeters.|
 +|**CLS**|
 +|Clears buffer |
 +|**TEXT 250,​400,"​3",​90,​1,​1,"​SambaPOS"​ \\ 
 +TEXT 220,​400,"​3",​90,​1,​1,"​Coffee Coupon"​ \\ 
 +TEXT 150,​400,"​3",​90,​1,​1,"​{DATE}"​ \\ 
 +TEXT 50,​480,"​3",​90,​1,​1,"​{ENTITY NAME}"​**|
 +|To be able to print on the label horizontally we've rotated labels by 90 degrees. So x, y coordinates are alined to rotated canvas. |
 +|**QRCODE 30,​80,​H,​10,​A,​0,"​{ENTITY NAME}"​**|
 +|This code prints the QR Tag. Instead of using our <QR> tag we used label printer'​s internal command to print the QR Tag. |
 +|**PRINT 1,1**|
 +|This line tells printer to start printing.|
 +
 +{{:​tr:​yazicilar:​yazicilar_05.jpg?​700|}}
en/barcode_printing_tags.1379299628.txt.gz ยท Last modified: 2013/09/16 10:47 (external edit)