Raster Command Reference
- i -
Contents
Introduction ······························································································ 1
About Raster Commands ············································································ 2
1. Printing Using Raster Commands ····························································· 3
2. Print Data ······························································································ 5
2.1 Print data overview ························································································ 5
2.2 Sample (analyzing the print data of the test page) ················································ 7
2.2.1 Preparation ....................................................................................................... 7
2.2.2 Checking the print data ................................................................ ...................... 7
2.2.3 Explanation of print data for the test page ........................................................ 10
2.3 Page data details ························································································· 12
2.3.1 Resolution ....................................................................................................... 12
2.3.2 Page size ........................................................................................................ 13
2.3.3 Feed amount ................................................................................................... 17
2.3.4 Maximum and minimum lengths ...................................................................... 18
2.3.5 Raster line ....................................................................................................... 19
3. Print Command List ·············································································· 22
4. Printing Command Details ····································································· 23
NULL Invalidate ................................................................................................ 23
ESC @ Initialize .................................................................................................. 23
ESC i S Status information request ...................................................................... 23
ESC i a Switch dynamic command mode ............................................................. 32
ESC i z Print information command ..................................................................... 33
ESC i M Various mode settings ............................................................................. 35
ESC i K Advanced mode settings ......................................................................... 36
ESC i d Specify margin amount (feed amount) ..................................................... 37
ESC i A Specify the page number in “cut each * labels” ........................................ 37
M Select compression mode ....................................................................... 38
G Raster graphics transfer .......................................................................... 40
Z Zero raster graphics ................................................................................ 40
FF Print command ....................................................................................... 40
Control-Z Print command with feeding .................................................................... 41
ESC i ! Specify automatic status notification mode .............................................. 41
5. Flow Charts ························································································· 42
5.1 Concurrent printing normal flow for USB connection ············································ 43
5.2 Concurrent printing error flow for USB connection (when feeding at the end of the page)44
5.3 Concurrent printing error flow for USB connection (with a concurrent printing error such
as end of tape) ·································································································· 45
5.4 Buffered printing normal flow for USB/Bluetooth connection ·································· 46
5.5 Buffered printing error flow for USB/Bluetooth connection ····································· 47
5.6 Normal Flow for Network (Standard TCP/IP port) Connection ································ 48
Appendix A: USB Specifications ································································ 49
Appendix B: Introducing the Brother Developer Center ································· 50