CPCL Emulation
Utility Commands
Set Line Printer Font SETLP {font number} {font size} {unit height}
Set Line Feed Height SETLF {unit height}
Set Horizontal Position X {unit value}
Set Horizontal and Vertical Position XY {x unit value} {y unit value}
Set Vertical Position Y {unit value}
Move Horiz. Relative to Current Position RX {unit x value to move relative to present position}
Move Vertically Relative to Current Position RY {unit y value to move relative to present position}
Set Left Margin LMARGIN {dots to offset from left}
Set Bold Mode SETBOLD {value}
Set Spacing Between Characters SETSP {unit to separate characters}
Align Media to Print Head SETFF {max-feed} {skip-length}
Set Start Printing Timeout to n/8 Seconds SETLP-TIMEOUT {time in 1/8 seconds}
Set Page Width PAGE-WIDTH, PW {width}
Print Bar Code BARCODE, B {type*} {width} {ratio} {height}
{x} {y} {data}
Print Vertical Bar Code VBARCODE, VB {type*} {width} {ratio} {height}
{x} {y} {data}
Print a Rectangular Box BOX {x0} {y0} {x1} {y1} {width}
Print a Line LINE, L {x0} {y0} {x1} {y1} {width}
Set Print Tone TONE {level}
*Supported barcode types:
UPCA,UPCE,EAN13,EAN8,39,39C,I2OF5,I2OF5C,128,UCCEAN128,CODABAR,CODABAR16
Line Print Mode Commands
Graphic Data ESC-g {00} {width}
Carriage Return CR
Line Feed LF
Form Feed FF
Backspace BS
I/O Handshake, Printer Responds With ACK ETX
Use Font File ! USE-FORMAT, ! UF {format name}
Define Font File ! DEFINE-FORMAT, !DF{format name}
Begin a Label Print Session ! {offset} 200 200 {height} {qty}
Single Utility Command ! U1 {single utility command}
Multiple Utility Command ! UTILITIES, ! U
{multiple utility command separated by CRLF}
PRINT
Additional Printer Control
Select Emulation ESC ESC n
40