EM 220 Mobile Printer Command Manual P1007752-015 Rev. 1.
EM 220 Table of Contents 1. Notice............................................................................................................................. 6 2. Control Commands List ............................................................................................... 6 3. Control Commands Details.......................................................................................... 8 3-1 Command Notation.....................................................................................
EM 220 ■ 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.
EM 220 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.
EM 220 Copyrights The copyrights in this manual and the label print engine described therein are owned by Zebra Technologies Corporation. Unauthorized reproduction of this manual or the software in the label print engine may result in imprisonment of up to one year and fines of up to $10,000 (17 U.S.C.506). Copyright violators may be subject to civil liability. This product may contain ZPL®, ZPL II®, and ZebraLinktm programs; Element Energy Equalizer® Circuit; E3®; and AGFA fonts. Software © ZIH Corp.
EM 220 1. Notice This Control Commands Manual contains information on the protocol and functions of all control commands that can be used with this printer (EM 220). 2. Control Commands List No 1 2 Command HT LF 3 FF 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 CR CAN DLE EOT n ESC FF ESC SP n ESC ! n ESC $ ESC * ESC - n ESC 2 ESC 3 n ESC @ ESC D n ESC E n ESC G n ESC J n ESC L ESC M n ESC R n ESC S ESC T n ESC W n ESC \ ESC a n ESC d n ESC t n Rev. 1.
EM 220 No Command 31 ESC { 32 GS ! n 33 GS $ n 34 GS ( A 35 BS ^ E 36 BS ^ L or BS ^ 7 37 GS ( k 38 GS : 39 GS B n 40 GS H n 41 GS I b 42 GS I n 43 GS L 44 GS W 45 GS \ 46 GS ^ 47 GS f n 48 GS h n 49 GS k 50 GS r n 51 GS v 0 52 GS w n 53 FS . 54 FS & 55 US L R 56 US L L 57 US L A Rev. 1.00 Name Function Type Turn upside-down print mode on/off Character Select character size Character Set absolute vertical print position in page mode Print Position Execute test print Misc.
EM 220 3. Control Commands Details 3-1 Command Notation [Name] The name of the command. [Format] The code sequence: ASCII indicates the ASCII character equivalents. Hex indicates the hexadecimal equivalents. Decimal indicates the decimal equivalents. [Range] [ ] k indicates that the content of the [ ] should be repeated k times. Provides the allowable ranges for the arguments. [Description] Describes the function of the command. 3-2 Explanation of Terms LSB Rev. 1.
EM 220 3-3 Control Commands Details HT [Name] [Format] Horizontal tab. ASCII Hex Decimal HT 09 9 [Description] ▪ Moves the print position to the next horizontal tab position. LF [Name] Print and line feed. [Format] [Description] FF [Name] [Format] [Description] Rev. 1.00 ASCII Hex Decimal LF 0A 10 ▪ In standard mode, prints the data in the print buffer and feeds one line based on the current line spacing.
EM 220 CR [Name] [Format] Print and carriage return. ASCII Hex Decimal CR 0D 13 [Description] ▪ This command is ignored CR. CAN [Name] Cancel print data in page mode. [Format] ASCII Hex Decimal CAN 18 24 [Description] ▪ In page mode, deletes all the print data in the current print area. DLE [Name] Set real-time command mode. [Format] [Description] ASCII Hex Decimal DLE 10 16 ▪ Set real-time command mode.
EM 220 EOT n [Name] Transmit status [Format] ASCII Hex Decimal [Range] 1≤n≤4 [Description] ▪ Transmits the status specified by n as follows: n 1 2 3 4 EOT 04 4 N n n Function Transmit printer status Transmit off-line status Transmit error status Transmit paper roll sensor status ▪ This printer transmits the following status. n=1: Printer status Bit 0 1 2 3 4 5 6 7 Off/On Off On Off Off On On Off On Off On Off Rev. 1.
EM 220 n=2: Off-line status Bit 0 1 2 3 4 5 6 7 Off/On Off On Off On Off On On Off On Off On Off Hex 00 02 00 04 00 08 10 00 20 00 40 00 Decimal 0 2 0 4 0 8 16 0 32 0 64 0 Function Fixed Fixed Cover is closed Cover is open Paper is not being fed by using the paper FEED button Paper is being fed by the paper FEED button Fixed No paper-end stop Printing is being stopped No error Error has occurred Fixed n=3: Error status Bit 0 1 2 3 4 5 6 7 Off/On Off On Off Off On Off Off Off Hex 00 02 00 00 10 00 00
EM 220 [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.
EM 220 ESC ! n [Name] Select print mode(s). [Format] ASCII Hex Decimal [Range] 0 ≤ n ≤ 255 [Default] n=0 [Description] ▪ Selects print mode(s) using n as follows: Bit ESC 1B 27 Off/On Off 0 On 1,2 Off Off 3 On Off 4 On Off 5 On 6 Off Off 7 On ! 21 33 n n n Hex Decimal 00 0 01 1 00 0 00 0 08 8 00 0 10 16 00 0 20 32 00 0 00 0 80 128 Function Character font A (12 × 24) selected. Character font B (9 x 24) selected. Reserved. Emphasized mode not selected. Emphasized mode selected.
EM 220 ESC * m nL nH d1...dk [Name] Select bit image mode. [Format] ASCII Hex Decimal ESC 1B 27 * 2A 42 m m m nL nL nL nH nH nH d1...dk d1...dk d1...dk [Range] m=0, 1, 32, 33 1 ≤ (nL + nH x 256) ≤ 1023 (0 ≤ nL ≤ 255, 0 ≤ nH ≤ 3) 0 ≤ d ≤ 255 [Description] ▪ Specifies the bit image in m mode for the number of dots specified by nL and nH. * dpi : dots per 25.
EM 220 ESC 2 [Name] [Format] [Description] ESC 3 n [Name] Select default line spacing. ASCII Hex Decimal ESC 1B 27 2 32 50 ▪ The default line spacing is approximately 3.75 mm, which is equivalent to 30 dots. Set line spacing [Format] ASCII Hex Decimal [Range] 0 ≤ n ≤ 255 [Default] n = 30 [Description] ▪ The vertical or horizontal motion unit is approximately 0.125 mm {1/203 inches}. This value equals one dot pitch. ▪ Sets the current line spacing to [n x vertical motion units] inches.
EM 220 ESC D n1… nk NUL [Name] Set horizontal tab positions. [Format] ASCII Hex Decimal ESC 1B 27 D 44 68 n1...nk n1...nk n1...nk NUL 00 0 [Range] 1 ≤ n ≤ 255 , 0 ≤ k ≤ 32 [Default] n=8, 16, 24, 32, 40,....., 232, 240, 248 (for font A in a standard character size width) [Description] ▪ Sets horizontal tab positions. - n specifies the number of digits from the setting position to the left margin or the beginning of the line. - k specifies the number of bytes set for the horizontal tab position.
EM 220 ESC G n [Name] Turn double-strike mode on/off. [Format] ASCII Hex Decimal [Range] 0 ≤ n ≤ 255 [Default] n=0 [Description] ▪ Turns double-strike mode on or off. - When the LSB of n is 0, double-strike mode is turned off. - When the LSB of n is 1, double-strike mode is turned on. ESC J n [Name] ESC 1B 27 G 47 71 n n n Print and feed paper.
EM 220 ESC M n [Name] [Format] Select character font.
EM 220 Transmits the setting value format Hexadecimal Header 37H Flag 80H Data 41H ~ 48H NUL 00H MSR Setting value Hex.
EM 220 ESC T n [Name] [Format] Select print direction in page mode. ASCII Hex Decimal ESC 1B 27 T 54 84 n n n [Range] 0 ≤ n ≤ 3, 48 ≤ n ≤ 51 [Default] n=o [Description] ▪ Selects the print direction and starting position in page mode. n 0,48 1,49 2,50 3,51 Print Direction Left right Bottom to top Right left Top bottom Starting Position Upper left Lower left Lower right Upper right ESC W xL xH yL yH dxL dxH dyL dyH [Name] Set relative print position.
EM 220 ESC \ nL nH [Name] Set relative print position. [Format] ASCII Hex Decimal ESC 1B 27 \ 5C 92 nL nL nL nH nH nH [Range] 0 ≤ (nL + nH x 256) ≤ 65535 (0 ≤ nL 255, 0 ≤ nH ≤ 255) [Description] ▪ 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.
EM 220 ESC t n [Name] [Format] Select character code table. ASCII Hex Decimal ESC 1B 27 t 74 116 n n n [Range] 0 ≤ n ≤ 5, 16 ≤ n ≤ 19, 21 ≤ n ≤ 24, 27 ≤ n ≤ 29, n=21, n=33, 36 ≤ n ≤37 n=255 [Default] n=0 [Description] For model without Thai character support: n=0 ▪ Selects a page n from the character code table.
EM 220 ESC { n [Name] Turns upside-down printing mode on/off. [Format] ASCII Hex Decimal [Range] 0 ≤ n ≤ 255 [Default] n=0 [Description] ▪ Turns upside-down printing mode on or off. - When the LSB of n is 0, upside-down printing mode is turned off. - When the LSB of n is 1, upside-down printing mode is turned on. ▪ The upside-down print mode has no effect in page mode. If this command is processed in page mode, upside-down printing mode is enabled when the printer returns to standard mode.
EM 220 GS ! n [Name] [Format] Select character size. ASCII Hex Decimal GS 1D 29 ! 21 33 n n n [Range] 0 ≤ n ≤ 255 (where 1 ≤ Enlargement in vertical direction ≤ 8, 1 ≤ Enlargement in horizontal direction ≤ 8) [Default] n=0 [Description] ▪ Selects character size (enlargement in vertical and horizontal directions).
EM 220 GS $ nL nH [Name] [Format] Set absolute vertical print position in page mode. ASCII Hex Decimal GS 1D 29 $ 24 36 nL nL nL nH nH nH [Range] 0 ≤ (nL + nH x 256) ≤ 65535 (0 ≤ nL ≤ 255, 0 ≤ nH ≤ 255) [Description] ▪ Sets the absolute vertical print starting position to [(nL + nH × 256) × (vertical or horizontal motion units)]. GS ( A pL pH n m Execute test print.
EM 220 BS ^ E pL pH fn [parameter] [Name] Customize NV memory area. [Description] ▪ Customize the NV user memory area. The table below explains the functions available in this command. Executes commands related to the user setting mode by specifying the function code fn. fn 1 Format BS ^ E pL pH fn No. 1 2 BS ^ E pL pH fn 2 3 BS ^ E pL pH fn [b18...b11]... [bk8...bk1] 3 4 BS ^ E pL pH fn a 4 11 BS ^ E pL pH fn d1...dk 11 12 BS ^ E pL pH fn a 12 [Notes] Rev. 1.
EM 220 BS ^ E pL pH fn (fn=1) [Format] ASCII BS ^ E Hex 08 5E 45 Decimal 08 94 69 [Range] (pL + pH x 256) = 1 fn=1 pL pL pL pH pH pH fn fn fn (pL=1, pH=0) ▪ Enter the user setting mode and notifies that the mode has changed. [Description] Hexadecimal Decimal Number of Data Header 37H 55 1 byte Flag 20H 32 1 byte NUL 00H 0 1 byte ▪ The following commands are enabled in the user setting mode.
EM 220 BS ^ E pL pH fn [b18...b11]...[ bk8...bk1] [Format] ASCII BS ^ E pL pH Hex 08 5E 45 pL pH Decimal 08 94 69 pL pH [Range] (fn=3) fn fn fn [b18...b11]... [bk8...bk1] [b18...b11]... [bk8...bk1] [b18...b11]... [bk8...bk1] 9≤ (pL + pH x 256) ≤ 65535 fn=3 b=48, 49, 50 [Default] [Description] ▪ All switches are set to Off (b=48). ▪Changes all the Memory Switch 1~8 to the value specified by b at a time. - When b=48, the applicable bit is turned to Off.
EM 220 ▪ Code Page Settings Msw2-8 Msw2-7 Msw2-6 Msw2-5 Msw2-4 Character Table STD Other 48 48 48 48 48 PC437 ○ 48 48 48 48 49 Katakana ○ 48 48 48 49 48 PC850 ○ 48 48 48 49 49 PC860 ○ 48 48 49 48 48 PC863 ○ 48 48 49 48 49 PC865 ○ 48 48 49 49 48 WPC1252 ○ 48 48 49 49 49 PC866 ○ 48 49 48 48 48 PC852 ○ 48 49 48 48 49 PC858 ○ 48 49 48 49 48 PC862 ○ 48 49 48 49 49 PC864 ○ 48 49 49 48 48 Thai42 ○ 48 49 49 48 49 WPC1253 ○ 48 49 49 49 48 WPC1254 ○ 48 49 49 49 49 WPC1257 ○ 49 48 48 48 48 Farsi ○ 49 48 48 48 4
EM 220 ▪ b3 value is set the memory switch 3 as follows: Msw 3-1 3-2 3-3 3-4 Set Value Function 48 PDF417 not selected 49 PDF417 selected 48 DATAMATRIX not selected 49 DATAMATRIX selected 48 MAXI CODE not selected 49 MAXI CODE selected 48 QR CODE not selected 49 QR CODE selected ▪ b4 value is set the memory switch 5 as follows: Specify the length of idle time before the printer enters the power-down mode. When memory switch value is 0, the power-down mode is not active.
EM 220 ▪ b6 value is set the memory switch 7 as follows: MSW 7-5~8 8 7 6 5 Function 48 48 48 49 Track 1/2/3 read mode command 48 48 49 48 Track 1 read mode AUTO trigger 48 48 49 49 Track 2 read mode AUTO trigger 48 49 48 48 Track 3 read mode AUTO trigger 48 49 48 49 Track 1/2 read mode AUTO trigger 48 49 49 48 Track 2/3 read mode AUTO trigger 48 49 49 49 Track 1/2/3 read mode AUTO trigger 49 48 48 48 MSR not used ▪ b7 value is set the memory switch 8 as follows: Msw Setting Value Fun
EM 220 BS ^ E pL pH fn a (fn=4) [Format] ASCII BS ( E Hex 08 5E 45 Decimal 08 94 69 pL pH pL pH pL pH fn fn fn a a a [Range] (pL + pH x 256) = 2 fn=4 a=1, 2, 3, 5, 6, 7, 8 (pL=2, pH=0) [Description] ▪ Transmits the setting value(s) of the memory switch specified by a.
EM 220 Sets the configuration item for the serial interface specified by d1..
EM 220 BS ^ E pL pH fn a (fn=12) [Format] ASCII BS ^ E pL pH Hex 08 5E 45 pL pH Decimal 08 94 69 pL pH fn fn fn a a a [Range] (pL + pH x 256) = 2 (pL=2, pH=0) fn=12, 1 ≤ a ≤ 4 [Description] ▪ Transmits the communication conditions of the serial interface specified by a.
EM 220 BS ^ L pL pH fn [parameter], BS ^ 7 p1 p2 p3 p4 fn [parameter] [Name] Select graphics data. [Format] ASCII BS ^ L pL pH fn [parameter] Hex 08 5E 4C pL pH fn [parameter] Decimal 08 94 76 pL pH fn [parameter] ASCII BS ^ 7 p1 p2 p3 p4 fn [parameter] Hex 08 5E 37 p1 p2 p3 p4 fn [parameter] Decimal 08 94 55 p1 p2 p3 p4 fn [parameter] [Description] ▪ In the description below, BS ^ L is used for the explanation. ▪ Processes graphics data according to the function code fn. fn Format Function No.
EM 220 BS ^ L pL pH fn (fn=65) [Format] ASCII BS ^ Hex 08 5E Decimal 08 94 L 4C 76 pL pL pL [Range] (pL + pH x 256) = 1 (pL=1, pH=0) fn=65 [Description] ▪ Deletes all defined NV graphics data.
EM 220 - yL, yH specifies the defined data in the vertical direction to (yL + yH x 256) dots. [Notes] - c specifies the color of the defined data. C Defined data color 49 Color 1 - Color 1 means black - When NV graphics data is saved, existing data in NV memory is removed and updated with new one. - When NV graphics data are saved, Key codes are given automatically.
EM 220 GS ( k pL pH cn fn [parameter] Specify and print the symbol. [Name] [Description] ▪ Processes the data concerning two-dimensional code. - Symbol type is specified by cn. - Function is specified by fn.
EM 220 [Notes] For PDF417 symbol data (when cn=48) ▪ The symbol data specified by Function 080 d1...dk is stored in the printer and is printed by the specification of Function 081. The symbol data in the save area is reserved until the following processing is performed: - Function 080 is executed - ESC @ is executed - The printer is reset or the power is turned off ▪ When processing Function 081 or 082, the setting values of Functions 065 to 070 are used.
EM 220 MAXI CODE Symbol Data (cn = 50) ▪ Symbol data is saved according to and printed according to . The symbol data in the storage area is saved until the following actions: - Execution of Function 280 - Execution of ESC @ - Turn off printer power ▪ When either or is executed, the setting value of is used. DATAMATRIX Symbol Data (cn=51) ▪ Symbol data is saved according to and printed according to .
EM 220 GS ( k pL pH cn fn n (fn=65) [Format] ASCII GS ( k Hex 1D 28 6B Decimal 29 40 107 pL 03 3 pH 00 0 cn 30 48 fn 41 65 n n n [Range] (pL + pH x 256) = 3 (pL=3, pH=0) cn=48, fn=65 0 ≤ n ≤ 30 [Default] n=0 [Description] Specifies the number of columns of the data area of PDF417. - n=0 specifies auto processing - When n is not 0, specifies the number of columns of the data area as n code word. [Notes] ▪ Settings of this function affect the processing of Functions 081 and 082.
EM 220 GS ( k pL pH cn fn n (fn=67) [Format] ASCII GS ( k pL pH cn fn Hex 1D 28 6B 03 00 30 43 Decimal 29 40 107 3 0 48 67 n n n [Range] (pL + pH x 256) = 3 (pL=3, pH=0) cn=48 fn=67 2≤n≤3 [Default] n=3 [Description] Specifies the width of a module of PDF417 symbol. [Notes] ▪ Settings of this function affect the processing of Functions 081 and 082. ▪ The setting unit differs, depending on the printer models.
EM 220 GS ( k pL pH cn fn m n (fn=69) [Format] ASCII GS ( k pL pH Cn fn m n Hex 1D 28 6B 04 00 30 45 m n Decimal 29 40 107 4 0 48 69 m n [Range] (pL + pH x 256) = 4 (pL=4, pH=0) cn=48 fn=69 m=48 48 ≤ n ≤ 8 [m=48] [Default] n=1 [Description] Specifies the error correction level of PDF417. M Function 48 The error correction level is specified by “level” [Notes] ▪ Settings of this function affect the processing of Functions 081 and 082. ▪ Error correction level is specified by “level”.
EM 220 GS ( k pL pH cn fn m d1...dk (fn=80) [Format] ASCII GS ( k pL pH cn fn m d1...dk Hex 1D 28 6B pL pH 30 50 30 d1...dk Decimal 29 40 107 pL pH 48 80 48 d1...dk [Range] 4 ≤ (pL + pH x 256) ≤ 65535 (0 ≤ pL ≤ 255, 0 ≤ pH ≤ 255) cn=48 fn=80 m=48 0 ≤ d ≤ 255 k = (pL + pH x 256) - 3 [Description] Stores the PDF417 symbol data (d1...dk) in the symbol save area. [Notes] ▪ Data stored in the symbol save area by this function are processed by Function 081 and 082.
EM 220 ▪ The following data is added automatically by the encode processing: - Start pattern and stop pattern. - Indicator code word of left and right. - The descriptor of symbol length. (the first code word in the data area) - The error correction code word calculated by modulus 929. - Pad codeword. ▪ The data area includes the following code words: - Data specified by Function 080. - The descriptor of symbol length.
EM 220 GS ( k pL pH cn fn m (fn=82) [Format] ASCII GS ( k Hex 1D 28 6B Decimal 29 40 107 pL 03 3 pH 00 0 cn 30 48 fn 52 82 m m m [Range] (pL + pH x 256) = 3 (pL=3, pH=0) cn=48 fn=82 m=48 [Description] Encodes and sends size information of the PDF417 symbol data in the symbol save area. [Notes] ▪ In standard mode, use this function when the printer is “at the beginning of a line,” or “there is no data in the printer buffer.
EM 220 GS ( k pL pH cn fn n1 n2 (fn=65) [Format] ASCII GS ( k pL Hex 1D 28 6B 04 Decimal 29 40 107 3 [Range] [Defaults] [Description] [Notes] pH 00 0 cn 31 49 fn 41 65 n1 n1 n1 n2 0 0 (pL + pH x 256) = 3 (pL=3, pH=0) cn=49 fn=65 n1 = 49, 50 n2 =0 n1=50, n2 =0 Sets the QR code model N1 49 50 Function Model 1 Model 2 ▪ The setting of this function impacts and . ▪ This function is effective until ESC @ is executed or the printer power is turned off.
EM 220 GS ( k pL pH cn n [Format] ASCII GS Hex 1D Decimal 29 (fn=69) ( k 28 6B 40 107 pL 03 3 pH 00 0 cn 31 49 fn 45 69 [Range] (pL + pH x 256) = 3 (pL=3, pH=0) cn=49 fn=69 48≤n≤51 [Default] n=48 [Description] Sets the error correction level of the QR code N Function Recovery Amount (%) 48 Error Correction Level L 7 49 Error Correction Level M 15 50 Error Correction Level Q 25 51 Error Correction Level H 30 n n n ▪ The setting of this function impacts the execution of
EM 220 GS ( k pL pH cn fn m d1...dk (fn=80) [Format] ASCII GS ( k pL pH cn fn m d1...dk Hex 1D 28 6B pL pH 31 50 30 d1...dk Decimal 29 40 107 pL pH 49 80 48 d1...dk [Range] 4 ≤ (pL + pH x 256) ≤7092 (0 ≤ pL ≤ 255, 0 ≤ pH ≤ 27) cn=49 fn=80 m=48 0 ≤ d ≤ 255 k = (pL + pH x 256) - 3 [Description] Saves symbol data of the QR CODE to the symbol storage area [Notes] ▪ Execution of this command saves data to the data storage area and executes Functions 181 and 182.
EM 220 GS ( k pL pH cn fn m (fn=81) [Format] ASCII GS ( k Hex 1D 28 6B Decimal 29 40 107 [Range] (pL + pH x 256) = 3 (pL=3, pH=0) cn=49 fn=81 m=48 [Description] [Notes] pL 03 3 pH 00 0 cn 31 49 fn 51 81 M M M Encodes and prints QR CODE symbol data saved in the storage area ▪ This function is used in regular mode when the printer is at the first line or no data is present in the printer buffer.
EM 220 GS ( k pL pH cn fn m (fn=82) [Format] ASCII GS ( k Hex 1D 28 6B Decimal 29 40 107 pL 03 3 pH 00 0 cn 31 49 fn 52 82 m m m [Range] (pL + pH x 256) = 3 (pL=3, pH=0) cn=49 fn=82 m=48 [Description] ▪ Transmits size information of the QR CODE symbols encoded via Function 180 to the host ▪ In regular mode, this function is executed when the printer is on standby or the buffer is empty.
EM 220 GS ( k pL pH cn fn n1 n2 (fn=65) [Format] ASCII GS ( k pL Hex 1D 28 6B 04 Decimal 29 40 107 3 [Range] (pL + pH x 256) = 3 (pL=3, pH=0) cn=50 fn=65 50 ≤ n ≤ 52 [Default] n = 50 [Description] Maxi Code Mode Settings n 50 51 52 [Notes] pH 00 0 cn 32 50 fn 41 65 n1 n1 n1 n2 0 0 Function Mode 2 Setting Mode 3 Setting Mode 4 Setting ▪ The setting of this function impacts and .
EM 220 GS ( k pL pH cn fn m [Format] [Range] [Description] [Notes] ASCII Hex Decimal GS 1D 29 (fn=81) ( 28 40 k 6B 107 pL 03 3 pH 00 0 cn 32 50 fn 51 81 m m m (pL + pH x 256) = 3 (pL=3, pH=0) cn=50 fn=81 m=48 Encodes and prints QR CODE symbol data saved in the storage area ▪ This function is used in regular mode when the printer is at the first line or no data is present in the printer buffer. ▪ If the size of any one symbol is larger than the print area, printing cannot be done.
EM 220 the postal code, ISO country code, and service type code. The GS text is ignored. d) All data of the Secondary Message is regarded as symbol data. ▪ Mode 4 does not distinguish between the Primary Message and the Secondary Message. ▪ In the detection and correction of errors, MAXI CODE uses the ReedSolomon algorithm.
EM 220 GS ( k pL pH cn fn m d1...dk (fn=80) [Format] ASCII GS ( k pL pH Hex 1D 28 6B pL pH Decimal 29 40 107 pL pH cn 32 5 fn 50 50 m 30 48 d1...dk d1...dk d1...dk [Range] 0 ≤ (pL + pH x 256) ≤ 3116 (0≤ pL ≤255, 0 ≤ pH ≤13) cn=51 fn=80 m=48 0 ≤ d ≤ 255 k = (pL + pH x 256) – 3 [Description] Saves DATAMATRIX symbol data to the symbol storage area [Notes] ▪ Execution of this command saves data to the data storage area and executes Function 281.
EM 220 GS ( k pL pH cn fn m (fn=81) [Format] ASCII GS ( k Hex 1D 28 6B Decimal 29 40 107 [Range] [Description] [Notes] pL 03 3 pH 00 0 cn 33 51 fn 51 81 m m m (pL + pH x 256) = 3 (pL=3, pH=0) cn=51 fn=81 m=48 Encodes and prints DATAMATRIX symbol data saved in the storage area ▪ This function is used in regular mode when the printer is at the first line or no data is present in the printer buffer. ▪ If the size of any one symbol is larger than the print area, printing cannot be done.
EM 220 GS : [Name] [Format] [Description] GS B n [Name] Start/end macro definition. ASCII Hex Decimal GS 1D 29 : 3A 58 ▪ Starts or ends macro definition. - The contents of the macro can be defined up to 2048 bytes. Turns white/black reverse printing mode on / off. [Format] ASCII Hex Decimal [Range] 0 ≤ n ≤ 255 [Default] n=0 [Description] ▪ Turns white/black reverse printing mode on or off. - When the LSB of n is 0, white/black reverse mode is turned off.
EM 220 GS H n [Name] [Format] Selects the printing position of HRI characters. ASCII Hex Decimal GS 1D 29 H 48 72 n n n [Range] 0 ≤ n ≤ 3, 48 ≤ n ≤ 51 [Default] n=0 [Description] ▪ Selects the printing position of HRI characters when printing a bar code. - n selects the execution of printing and the printing position as follows: n Printing position 0, 48 Not printed. 1, 49 Above the bar code. 2, 50 Below the bar code. 3, 51 Both above and below the bar code.
EM 220 GS I n [Name] Transmits printer ID. [Format] ASCII Hex Decimal GS 1D 29 I 49 73 n n n [Range] 1 ≤ n ≤ 69, [Description] ▪ Transmits the printer ID specified.
EM 220 GS L nL nH [Name] [Format] Set left margin. ASCII Hex Decimal GS 1D 29 L 4C 76 nL nL nL nH nH nH [Range] 0 ≤ nL ≤ 255, 0 ≤ nH ≤ 255 [Default] (nL + nH x 256)=0 (nL=0, nH=0) [Description] ▪ Sets the left margin specified by nL and nH. - The left margin is [(nL + nH x 256) x (horizontal motion units)]. Printable area Left margin GS W nL nH [Name] [Format] [Range] [Default] [Description] Printing area width Set printing area width.
EM 220 GS ^ r t m [Name] Execute macro. [Format] ASCII Hex Decimal [Range] 0 ≤ r ≤ 255 0 ≤ t ≤ 255 m=0, 1 [Description] ▪ Executes a macro. - r specifies the number of times to execute the macro. - t specifies the waiting time for executing the macro. - m specifies macro executing mode from the table below. m 0 1 GS 1D 29 ^ 5E 94 r r r t t t m m m Function Executes the macro r times at the interval specified by t. After waiting for the time specified by t, the FEED button must be pressed.
EM 220 ① GS k m d1...dk NUL ② GS k m n d1...dn [Name] Print bar code. [Format] ① ② ASCII Hex Decimal ASCII Hex Decimal GS 1D 29 GS 1D 29 k 6B 107 k 6B 107 m m m m m m d1...dk d1...dk d1...dk n n n [Range] ① 0 ≤ m ≤ 6 (k and d depend on the bar code system used) ② 65 ≤ m ≤ 73 (n and d depend on the bar code system used) [Description] ▪ Selects a bar code system and prints the bar code.
EM 220 GS r n [Name] [Format] [Range] [Description] Transmit status. ASCII Hex Decimal GS 1D 29 r 72 114 n n n n=1, 2, 49, 50 ▪ Transmits the normal status specified by n as follows: n Function 1, 49 Transmits paper sensor status. ▪ Paper sensor status (n=1, 49) : Bit Off/On Hex Decimal Function Off 00 0 Reserved. 0, 1 On 03 3 Reserved. Off 00 0 Paper roll end sensor; paper present. 2, 3 On 0C 12 Paper roll end sensor; paper not present. 4 Off 00 0 Fixed. 5 Off 00 0 Reserved. 6 Off 00 0 Reserved.
EM 220 GS w n [Name] [Format] [Range] Set bar code width. ASCII Hex Decimal GS 1D 29 w 77 119 n n n 2 ≤ n ≤ 6 , n=3 [Description] ▪ Set the horizontal size of the bar code, using n as follows: [Notes] FS . [Name] [Format] [Range] n Multi-level Bar Code Module Width (mm) 2 3 4 5 6 0.250 0.375 0.500 0.625 0.750 Binary-level Bar Code Thin element width Thick element width (mm) (mm) 0.250 0.375 0.500 0.625 0.750 0.625 1.000 1.250 1.625 2.
EM 220 US L R [Name] [Format] Change receipt mode. ASCII Hex Decimal US 1F 31 L 4C 76 R 52 82 [Description] [Notes] ▪ Change from label mode to receipt mode. ▪ The memory switch setting is changed. US L L [Name] Change label mode. [Format] ASCII Hex Decimal US 1F 31 L 4C 76 L 4C 76 [Description] [Notes] ▪ Change from receipt mode to Label mode. ▪ The memory switch setting is changed. US L A [Name] Execute auto calibration in label mode. [Format] [Description] [Notes] Rev. 1.
www.zebra.com ______________________________________________________________________ Zebra Technologies International, LLC 333 Corporate Woods Parkway Vernon Hills, Illinois 60061, 3109 USA Phone: +1.847.634.6700 Toll-Free: +1.800.423.0422 Fax: +1.847.913.