3-2 Explanation of Terms ................................................................................................. 8
3-3 Control Commands Details ........................................................................................ 9
Rev. 1.00
EM220II
- 3 -
Mobile Printer Command Manual
■Proprietary Statements
This manual contains proprietary information of Zebra Technologies Corporation. It is
intended solely for the information and use of parties operating and maintaining the equipment described herein. Such proprietary information may not be used, reproduced, or disclosed to any other parties for any other purpose without the expressed written permission
of Zebra Technologies Corporation.
Product Improvements
Since continuous product improvement is a policy of Zebra Technologies Corporation, all
specifications and signs are subject to change without notice.
FCC Compliance Statement
NOTE: This equipment has been tested and found to comply with the limits or a Class B
digital device, pursuant to Part 15 of the FCC Rules. These limits are designed to provide
reasonable protection against harmful interference in a residential installation. This equipment generates, uses and can radiate radio frequency energy and, if not installed and
used in accordance with the instructions, may cause harmful interference to radio
communications. However, there is no guarantee that interference will not occur in a
particular installation. If this equipment does cause harmful interference to radio or
television reception, which can be determined by turning the equipment off and on, the
user is encouraged to try to correct the interference by one or more of the following
measures:
• Reorient or relocate the receiving antenna.
• Increase the separation between the equipment and receiver.
• Connect the equipment into an outlet or circuit different from that to which the receiver is
connected.
• Consult the dealer or an experienced radio/TV technician for help.
WARNING: Exposure to Radio Frequency radiation. To conform to FCC RF exposure requirements this device shall be used in accordance with the operating conditions and instructions listed in this manual.
NOTE: This unit was tested with shielded cables on the peripheral devices. Shielded
cables must be used with the unit to insure compliance.
Changes or modifications to this unit not expressly approved by Zebra Technologies Corporation could void the user’s authority to operate this equipment.
Rev. 1.00
EM220II
- 4 -
Mobile Printer Command Manual
Canadian Compliance Statement
This Class B digital apparatus complies with Canadian ICES-003.
Cet appareil numérique de la classe B est conforme á la norme NMB-003 du Canada.
“IC:” before the equipment certification number signifies that the Industry Canada technical
specifications were met. It does not guarantee that the certified product will operate to the
user’s satisfaction.
Liability Disclaimer
Inasmuch as every effort has been made to supply accurate information in this manual,
Zebra Technologies Corporation is not liable for any erroneous information or omissions.
Zebra Technologies Corporation reserves the right to correct any such errors and
disclaims liability resulting therefrom.
No Liability for Consequential Damage
In no event shall Zebra Technologies Corporation or anyone else involved in the creation,
production, or delivery of the accompanying product (including hardware and software) be
liable for any damages whatsoever (including, without limitation, damages for loss of
business profits, business interruption, loss of business information, or other pecuniary
loss) arising out of the use of or the results of use of or inability to use such product, even
if Zebra Technologies Corporation has been advised of the possibility of such damages.
Because some states do not allow the exclusion of liability for consequential or incidental
damages, the above limitation may not apply to you.
This Control Commands Manual contains information on the protocol and functions of all
control commands that can be used with this printer (EM220II).
2. Control Commands List
Rev. 1.00
EM220II
- 7 -
Mobile Printer Command Manual
No
Command
Name
31
ESC t
Select character code table
32
ESC {
Turn upside-down print mode on/off
33
FS &
Select Kanji character mode
34
FS .
Cancel Kanji character mode
35
GS !
Select character size
36
GS $
Set absolute vertical print position in page mode
37
GS ( A
Execute test print
38
GS ( F
Set black mark control functions
39
GS ( k
Specify and print the symbol
40
GS ( E
Set NV user memory area
41
GS ( L
GS 8 L
Select graphics data
42
GS :
Start/end macro definition
43
GS B
Turn white/black reverse print mode on/off
44
GS H
Select print position of HRI characters
45
GS I
Transmit printer ID
46
GS I b
Transmit battery status
47
GS L
Set left margin
48
GS W
Set print area width
49
GS \
Set relative vertical print position in page mode
50
GS ^
Execute macro
51
GS a
Enable/disable Automatic Status Back (ASB)
52
GS f
Select font for HRI characters
53
GS h
Set bar code height
54
GS k
Print bar code
55
GS r
Transmit status
56
GS v 0
Print raster bit image
57
GS w
Set bar code width
58
BS L A
Execute automatic calibration in label mode
59
BS L L
Select label mode
60
BS L R
Select receipt mode
61
BS M
Select device font type
62
BS M S
Sentinel character set up commands
Rev. 1.00
- 8 -
Mobile Printer Command Manual
3-1 Command Notation
[Name]
[Format]
[Range]
[Description]
The name of the command.
The code sequence: ASCII indicates the ASCII character equivalents.
Hex indicates the hexadecimal equivalents.
Decimal indicates the decimal equivalents.
[ ] k indicates that the content of the [ ] should be repeated k times.
Provides the allowable ranges for the arguments.
Describes the function of the command.
3-2 Explanation of Terms
LSB
Least Significant Bit
3. Control Commands Details
EM220II
Rev. 1.00
- 9 -
Mobile Printer Command Manual
3-3 Control Commands Details
EOT n
[Name]
[Format]
[Range]
[Description]
Transmit status
ASCII
EOT n
Hex
04 n
Decimal
4 n
1 ≤ n ≤ 4
▪ Transmits the status specified by n as follows:
n
Function
1
Transmit printer status
2
Transmit off-line status
3
Transmit error status
4
Transmit paper roll sensor status
▪ This printer transmits the following status.
n=1: Printer status
Bit
Off/On
Hex
Decimal
Function
0
Off
00
0
Fixed
1
On
02
2
Fixed
2
Off
00
0
Fixed
3
Off
00
0
On-Line
On
08
8
Off-Line
4
On
10
16
Fixed
5
Off
00
0
Fixed
6
Off
00
0
Fixed
7
Off
00
0
Fixed
n=2: Off-line status
Bit
Off/On
Hex
Decimal
Function
0
Off
00
0
Fixed
1
On
02
2
Fixed
2
Off
00
0
Cover is closed
On
04
4
Cover is open
3
Off
00
0
Paper is not being fed by using the paper FEED
button
On
08 8 Paper is being fed by the paper FEED button
4
On
10
16
Fixed
5
Off
00
0
No paper-end stop
On
20
32
Printing is being stopped
6
Off
00
0
Fixed
7
Off
00
0
Fixed
EM220II
Rev. 1.00
EM220II
- 10 -
Mobile Printer Command Manual
n=3: Error status
Bit
Off/On
Hex
Decimal
Function
0
Off
00
0
Fixed
1
On
02
2
Fixed
2
Off
00
0
Fixed
3
Off
00
0
Fixed
4
On
10
16
Fixed
5
Off
00
0
Fixed
6
Off
00
0
Fixed
7
Off
00
0
Fixed
n=4: Continuous paper sensor status
Bit
Off/On
Hex
Decimal
Function
0
Off
00
0
Fixed
1
On
02
2
Fixed
2
Off
00
0
Fixed
3
Off
00
0
Fixed
4
On
10
16
Fixed
5
Off
00
0
Paper end sensor; paper present
On
20
32
Paper end sensor; paper not present
6
Off
00
0
Paper end sensor; paper present
On
40
64
Paper end sensor; paper not present
7
Off
00
0
Fixed
[Notes]
This is a status request command to determine if the printer is off-line or if
an error condition has occurred. Take the following into consideration:
• If this command interrupts the code string of another command, this
command is processed as a parameter of the other command;
therefore, the print result will not be correct.
• If a command such as graphics data or defined data has a code string
that is the same as a code string in a parameter, the printer processes
and then continues with the bit-image or other command.
• This command following DLE can be executed in real-time command
mode.
This command is ignored when transmitting block data (Header ~ NUL).
Rev. 1.00
EM220II
- 11 -
Mobile Printer Command Manual
HT
[Name]
[Format]
[Description]
Horizontal tab.
ASCII
HT
Hex
09
Decimal
9
▪ Moves the print position to the next horizontal tab position.
LF
[Name]
[Format]
[Description]
Print and line feed.
ASCII
LF
Hex
0A
Decimal
10
▪ In standard mode, prints the data in the print buffer and feeds one line
based on the current line spacing.
▪ In page mode, only the print position moves, and the printer does not
perform actual printing
FF
[Name]
[Format]
[Description]
If in page mode, after printing, the printer is returned to standard mode.
If the label function is set, the paper is fed to the next printing position.
ASCII
FF
Hex
0C
Decimal
12
▪ All data collected to the current point is printed, and then the printer is
converted from page mode to standard mode.
▪ After printing, the printer does not clear the buffer data of page mode.
▪ If the label function is set, the paper is fed to the next printing position.
CR
[Name]
[Format]
[Description]
Print and carriage return.
ASCII
CR
Hex
0D
Decimal
13
▪ This command is ignored CR.
Rev. 1.00
EM220II
- 12 -
Mobile Printer Command Manual
DLE
[Name]
[Format]
[Description]
Set real-time command mode.
ASCII
DLE
Hex
10
Decimal
16
▪ Set real-time command mode.
▪ A single command following this command is regarded as a real time
command that the printer executes upon receiving it.
▪ The real time command mode using DLE is activated for following
commands.
Command
Function
EOT
Transmit printer status
GS r
Transmit status
GS I
Transmit printer ID
CAN
[Name]
[Format]
[Description]
Cancel print data in page mode.
ASCII
CAN
Hex
18
Decimal
24
▪ In page mode, deletes all the print data in the current print area.
ESC FF
[Name]
[Format]
[Description]
Print data in page mode.
ASCII
ESC
FF
Hex
1B
0C
Deciml
27
12
▪ In page mode, prints all buffered data in the print area.
▪ After printing, the printer does not clear the buffer data.
▪ This command is used when the page mode data is printed repeatedly.
Rev. 1.00
EM220II
- 13 -
Mobile Printer Command Manual
ESC SP
[Name]
[Format]
[Range]
[Default]
[Description]
Set right-side character spacing.
ASCII
ESC
SP n
Hex
1B
20 n
Decimal
27
32 n
0 ≤ n ≤ 255
n=0
▪ Sets the character spacing for the right side of the character to
[n ×horizontal or vertical motion units].
▪ The maximum right-side character spacing is:
- 31.875mm.
ESC !
[Name]
[Format]
[Range]
[Default]
[Description]
Select print mode(s).
ASCII
ESC ! n
Hex
1B
21 n
Decimal
27
33 n
0 ≤ n ≤ 255
n=0
▪ Selects print mode(s) using n as follows:
Bit
Off/On
Hex
Decial
Function
0
Off
00
0
Character font A (12 × 24) selected.
On
01
1
Character font B (9 x 24) selected.
1,2
Off
00
0
Reserved.
3
Off
00
0
Emphasized mode not selected.
On
08
8
Emphasized mode selected.
4
Off
00
0
Double-height mode not selected.
On
10
16
Double-height mode selected.
5
Off
00
0
Double-width mode not selected.
On
20
32
Double-width mode selected.
6
Off
00
0
Reserved.
7
Off
00
0
Underline mode not selected.
On
80
128
Underline mode selected.
Rev. 1.00
EM220II
- 14 -
Mobile Printer Command Manual
ESC $
[Name]
[Format]
[Range]
[Description]
Set absolute print position.
ASCII
ESC
$
nL
nH
Hex
1B
24
nL
nH
Decimal
27
36
nL
nH
0 ≤ (nL + nH x 256) ≤ 65535 (0 ≤ nH ≤ 255, 0 ≤ nL ≤ 255)
▪ Sets the next print starting position, and the absolute print position, in
reference to the left margin. The distance from the beginning of the line to
the left margin is [(nL + nH x 256) x (vertical or horizontal motion units)].
▪ When paper width of 58mm is selected:
(xL + xH x 256) = 0 (xL=0, xH=0)
(dyL + dyH x 256) = 840 (dyL=72, dyH=3)
▪ Set the position and the size of the printing area.
- Horizontal starting position = [(xL + xH x 256) x (horizontal motion units)].
- Vertical starting position = [(yL + yH x 256) x (vertical motion units)].
- Horizontal printing area width = [(dxL + dxH x 256) x (horizontal motion units)].
- Vertical printing area width = [(dyL + dyH x 256) x (vertical motion units)].
▪ The printer ignores any setting that exceeds the print area.
ESC \
[Name]
[Format]
[Range]
[Description]
Set relative print position.
ASCII
ESC
\
n
nH
Hex
1B
5C
nL
nH
Decimal
27
92
nL
nH
0 ≤ (nL + nH x 256) ≤ 65535 (0 ≤ nL 255, 0 ≤ nH ≤ 255)
▪ Set the print starting position based on the current position to [(nL + nH ×
256) × horizontal or vertical motion unit]
- When (nL + nH × 256 is a positive number, the print starting position is
specified to the right based on the current position.
- When (nL + nH × 256) is a negative number, the print starting position
is specified to the left based on the current position.
▪ The printer ignores any setting that exceeds the print area.
Rev. 1.00
EM220II
- 23 -
Mobile Printer Command Manual
ESC a
[Name]
[Format]
[Range]
[Default]
[Description]
Select justification.
ASCI
ESC a n
Hex
1B
61 n
Decimal
27
97 n
0 ≤ n ≤2, 48 ≤ n ≤50
n=0
▪ In standard mode, aligns all the data in one line to the position specified
by n as follows:
n
Justification
0, 48
Left justification
1, 49
Centering
2, 50
Right justification
ESC d
[Name]
[Format]
[Range]
[Description]
Print and feed n lines.
ASCII
ESC d n
Hex
1B
64 n
Decimal
27
10 n
0 ≤ n ≤ 255
▪ Prints the data in the print buffer and feeds n lines.
ESC t
[Name]
[Format]
[Range]
[Default]
Select character code table.
ASCII
ESC t n
Hex
1B
74 n
Decimal
27
116 n
0 ≤ n ≤ 5, 16 ≤ n ≤ 19, 21 ≤ n ≤ 31, 33 ≤ n ≤ 41, n=255
For model not supporting Thai character: n=0
For model supporting Thai character support : n = 20
Rev. 1.00
- 24 -
Mobile Printer Command Manual
[Description]
▪ This command specifies code page according to the value of n as follows:
n
Code page
0
Page 0 37 (USA, Standard Europe)
1
Page 1 Katakana
2
Page 2 850 (Multilingual)
3
Page 3 860 (Portuguese)
4
Page 4 863 (Canaian-French)
5
Page 5 865 (Nordic)
16
Page 16 1252 (Latin I)
17
Page 17 866 (Cyrillic #2)
18
Page 18 852 (Latin 2)
19
Page 19 858 (Euro)
21
Page 21 862 (Hebrew DOS code)
22
Page 22 864 (Arabic)
23
Page 23 Thai42
24
Page 24 1253 (Greek)
25
Page 25 1254 (Turkish)
26
Page 26 1257 (Baltic)
27
Page 27 Farsi
28
Page 28 1251 (Cyrillic)
29
Page 29 737 (Greek)
30
Page 30 775 (Baltic)
31
Page 31 Thai14
33
Page 33 1255 (Hebrew New code)
34
Page 34 Thai 11
35
Page 35 Thai 18
36
Page 36 855 (Cyrillic)
37
Page 37 857 (Turkish)
38
Page 38 928 (Greek)
39
Page 39 Thai 16
40
Page 40 1256 (Arabic)
41
Page 41 1258 (Vietnam)
42
Page 42 KHMER(Cambodia)
47
Page 47 1250 (Czech)
255
User Code Page (Space)
EM220II
Rev. 1.00
Loading...
+ 56 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.