REGO Thermal Printer Technical Manual
www.regotek.com 65
BARCODE Commands
[Name] Barcode Command
1D Barcode
[Format] {command} {type} {width} {ratio} {height} {x} {y} {data}
[Description] {command}: BARCODE(or B)
{type}:Barcode type
{width}: width of the narrow barcode.
{ratio}: Ratio of the wide barcode to the narrow barcode
{height}: height of the barcode
{x}:Horizontal starting position
{y}:Vertical starting position
{data}:Barcode data
[Example]
! 0 200 200 210 1
BARCODE 128 1 1 50 150 10 HORIZ.
TEXT 24 0 210 65 HORIZ.
PRINT
2D Barcode
PDF417
[Format] {command} {type} {x} {y} {XD n} {YD n} {C n} {S n}
{data}
<ENDPDF>
[Example] {command}: BARCODE(or B)
{type}:PDF-417
{x}:Horizontal starting position