Raster Command Reference
- ii -
Contents
1. Introduction
···························································································
1
2. About Raster Commands
·········································································
2
3. Printing Using Raster Commands
·····························································
3
4. Print Data
······························································································
5
4.1 Print data overview
························································································
5
4.2 Sample (analyzing the print data of the test page)
················································
7
4.2.1 Preparation
...........................................................................................................
7
4.2.2 Checking the print data
.........................................................................................
8
4.2.3 Explanation of print data for the test page
..........................................................
11
4.3 Page data details
·························································································
13
4.3.1 Resolution
..........................................................................................................
13
4.3.2 Page size
............................................................................................................
13
4.3.3 Feed amount
......................................................................................................
16
4.3.4 Maximum and minimum lengths
.........................................................................
16
4.3.5 Raster line
..........................................................................................................
17
5. Status
··································································································
21
5.1 Status overview
···························································································
21
5.2 Definitions of each part
··················································································
22
5.2.1 Series/model
.......................................................................................................
22
5.2.2 Error information 1
..............................................................................................
22
5.2.3 Error information 2
..............................................................................................
23
5.2.4 Media width and length
.......................................................................................
24
5.2.5 Media type
..........................................................................................................
24
5.2.6 Status type
.........................................................................................................
25
5.2.7 Phase type and phase number
...........................................................................
25
5.2.8 Notification number
.............................................................................................
26
6. Print Command List
···············································································
27
7. Printing Command Details
······································································
28
NULL
Invalidate
...................................................................................................
28
ESC @
Initialize
......................................................................................................
28
ESC i S
Status information request
.........................................................................
28
ESC i a
Switch dynamic command mode
...............................................................
29
ESC i !
Switch automatic status notification mode
.................................................
29
ESC i U w
Additional media information command
.....................................................
30
ESC i z
Print information command
........................................................................
32
ESC i d
Specify margin amount (feed amount)
.......................................................
33
M
Select compression mode
.........................................................................
34
g
Raster graphics transfer
............................................................................
37
Z
Zero raster graphics
...................................................................................
37
FF
Print command
...........................................................................................
37
Control-Z
Print command with feeding
......................................................................
37
ESC i CAN
Cancel
.......................................................................................................
38
ESC i w
Specify waiting time after printing each page
............................................
39
ESC i A
Specify the page number in “cut each * labels”
.........................................
39
ESC i M
Various mode
.............................................................................................
40
ESC i K
Expanded mode
.........................................................................................
40
8. Flow Charts
··························································································
41
8.1 Buffered printing normal flow for USB/Bluetooth connection
··································
42
8.2 Buffered printing error flow for USB/Bluetooth connection
·····································
43
8.3 Buffered printing cooling flow for USB/Bluetooth connection
··································
44