- 2 -
2.2.4 Line Feed Span Commands............................................................................................ 45
ESC 2(Specifying 1/6-inch line feed rate)........................................................................................ 45
ESC 3 n(Setting line feed rate of minimum pitch) ........................................................................... 46
2.2.5 Bit Image Commands..................................................................................................... 47
ESC * m n1 n2 [ d ] k(Specifying the bit image mode)................................................................. 47
GS * n1 n2 [ d ] n1 x n2 x 8(Defining the download bit image) .................................................. 49
GS / m(Printing the downloaded bit image).................................................................................... 51
GS v 0 m xL xH yL yH d1...dk(Printing of raster bit image)......................................................... 52
2.2.6 Status Commands........................................................................................................... 54
DLE EOT n(Sending status in real-time) ......................................................................................... 54
ESC u n (Serial Model Only)(Transmitting the status of peripheral equipment) .......................... 57
ESC v n (Serial Model Only)(Sending Printer status)................................................................... 58
GS a n(Enabling/disabling ASB)....................................................................................................... 59
GS r n(Sending status).................................................................................................................... 62
2.2.7 Paper Detecting Commands.......................................................................................... 64
ESC c 3 n(Selecting the Paper Sensor valid for Paper-end signal output) ....................................... 64
ESC c 4 n(Selecting the Paper Near-end Sensor valid for print stop) .............................................. 65
2.2.8 Panel Switch Commands ............................................................................................... 66
ESC c 5 n(Enabling/disabling the panel switches)........................................................................... 66
2.2.9 Macro Commands ........................................................................................................... 67
GS :(Starting/ending macro definition)............................................................................................ 67
GS ^ n1 n2 n3(Executing the macro) ............................................................................................ 68
2.2.10 Cutter Commands......................................................................................................... 69
ESC i(Full cut) ................................................................................................................................. 69
ESC m(Partial cut)........................................................................................................................... 70
GS V m ........ (1)(Cutting the paper) ............................................................................................. 71
GS V m n ..... (2)(Cutting the paper) ............................................................................................. 71
2.2.11 Bar Code Commands .................................................................................................... 72
GS H n(Selecting of printing position of HRI characters)................................................................. 72
GS f n(Selecting the font of HRI characters) ................................................................................... 74
GS h n(Specifying the height of the bar code) ................................................................................ 75
GS k m [d1 ...... dk] NULL ......... (1)(Printing the bar code)....................................................... 76
GS k m n [d1 ...... dn] ............... (2)(Printing the bar code) ....................................................... 76
GS w n(Specifying the horizontal size (magnification) of bar code) ................................................ 82
2.2.12 Commands for Non-volatile Memory ......................................................................... 83
GS ( C pL pH m fn b[c1 c2][d1...dk](Editing user NV memory) ................................................. 83
fn = 0, 48: Function 0 Erasing Specified Record.......................................................................84
fn = 1, 49: Function 1 Storing Data to Specified Record ...........................................................84
fn = 2, 50: Function 2 Sending Data Stored in Specified Record ................................................85
fn = 3, 51: Function 3 Sending Use Amount ............................................................................86
fn = 4, 52: Function 4 Sending Remaining Capacity .................................................................86
fn = 5, 53: Function 5 Sending Key Code List of Stored Record .................................................87
fn = 6, 54: Function 6 Erasing All User NV Memory Area in a Lump ...........................................88