Command Manual SPP-R200. Mobile Printer Rev

Similar documents
Command Manual SPP-R200. Mobile Printer Rev

Command Manual Metapace T-2. Thermal Printer Rev. 1.00

Control Command list (ESC/POS)

SPP-R300 Command Manual Rev. 1.01

SPP-R210 Command Manual Rev. 1.00

Tally Dascom DT-210/230 Programming Guide V1.1

STP-103II Thermal Printer Command Manual

SRP-330 Command Manual Rev. 1.01

SRP-QE300/302 Command Manual Rev

POS Thermal Receipt Printer A11 Standard/Prime

SRP-F310/312 Command Manual Rev. 1.00

Command Manual SRP-350 Thermal Printer Rev. 1.01

Printer Control Command Set

Mobile Printer. Command Manual Ver Models: SM series

SRP-275II Impact Printer Command Manual

4 Pr P i r n i t n e t r e Co C m o m m a m n a d n s d Li L s i t N. C m o m m a m n a d

PANDA Thermal Receipt Printer. Programmer Manual

WinPOS system. Co., ltd. WP-K837 series. Esc/POS Command specifications Ver.0.94

SRP-275III Command Manual Rev. 1.00

MOBILE THERMAL PRINTER

Receipt Printer BTP-R580II. Programming Manual. Shandong New Beiyang Information Technology Co., Ltd.

Command Manual.

Command Emulator ESC/POS Mode Command Specifications

PROGRAMMER S MANUAL 58mm Printer

ZQ110. Mobile Printer Command Manual. P Rev. A

PP7X PRINTER COMMAND MANUAL

PP7X PRINTER COMMAND MANUAL

1. Control Command List

MODEL 814M DIRECT THERMAL PRINTER PROGRAMMING MANUAL

PP8X Printer Command Manual

PP8X Printer Command Manual

Command Specifications Rev 1.90

REVISION RECORDS REV. DATE DESCRIPTION DRAWN CHECKED APPROVED

[Notes] Provides important information on setting and using the printer command, if necessary.

ODP 200. Thermal Receipt Printer Technical Manual

Command Specifications Rev. 2.13

TSP552 TSP552II TSP2000

VKP80 VKP80II VKP80II-EE STATUS LINE FEED. RS232 ETHERNET USB Vin FORM FEED

628/638_ Specification

COMMAND REFERENCE COMMAND REFERENCE PLUS II

WTP-100. Thermal Receipt printer Technical manual. SEWOO TECH CO., LTD.

TM-L60II/L60IIP. The words on the left side of this screen are bookmarks for all the topics in this guide.

Dot Matrix Printer. SP2000 Series. Programmer s Manual

DIR-E58III Mobile Print

KM216H KPM216H WARNING! MOVING PARTS PUSH HERE TO CLOSE

PRINTER PRESENTER UNIT Command Reference. Model: PPU-700/700II. Revision: /03/26

MODEL WSP-i350. (3inch Industrial Printer)

MODEL : TRP-100-II Receipt Printer User s Manual

Reliance-ESC/POS Documentation

MOBILE THERMAL PRINTER

DS-800. ::: Receipt Printer User s manual :::

User Manual SRP-150 Thermal Printer Rev. 1.05

TRP-100 Receipt Printer User s Manual

FEC-80T Receipt Printer User s Manual

FDPP-450. ESC/POS Thermal Printer Programmer s Manual

COMMANDS MANUAL VK80 VKP80 VKP80II VKP80II-EE VKP80II-SX

Command Reference LINE THERMAL PRINTER MODEL CT-S2000

MODEL : PR-T25 Receipt Printer User s Manual

MODEL : SLK-TS400EB. Receipt Printer User s Manual. TS400EB Rev. B 07/16. All specifications are subject to change without notice


NEO-PLACA-PRINTER-PT486F24401

Programmer s Manual DPP-250. Firmware Description. Name and Family Name Occupation Data Signature

MODEL : LK-T210 Receipt Printer User s Manual

MODEL : LK-T200 Receipt Printer User s Manual

SRP RECEIPT PRINTER. Operator s Manual. All specifications are subjected to change without notice

Programming Guide. HP Value Serial/USB Receipt Printer II

KPM202 KPM203 KPM302 KPM303 TK202 TK203 TK302 TK303

MODEL : TRP100-III Receipt Printer User s Manual

ESC/POS Printer EP-60 PROGRAMMER'S MANUAL Detailed Description of the Commands

DPP-250. ESC/POS Thermal Printer. Programmer s Manual 1 DATECS

Command Specifications Rev 0.01

MODEL : AP-8220 U Receipt Printer User s Manual

MODEL : LK-TL200 Receipt Printer User s Manual

MTP-1500 Modular Thermal Printer. User Manual

1 DATECS DPP-350 User s Manual 1 DATECS DPP-350. User s Manual

MODEL : SLK-TE20X Series Receipt Printer User s Manual

MODEL : SLK-TL100 Receipt Printer User s Manual

Programming Guide. HP Engage One Serial USB and Column Thermal Printers

MODEL : SLK-T12EB Receipt Printer User s Manual

PJ-600 Series Printer ESC/P Command Reference

TH250 Thermal Printer

Command Specifications Rev 0.09

SPRT. Portable Micro Printer

Vacuum Fluorescent Display Module GU-D series General Function Software Specification

OKIPOS 408II. Programmer s Technical Reference. Section 1: Star Line Mode Page 3 Section 2: Star Page Mode Page 229 *

Thermal printer for information kiosks and ATMs VKP80. User Manual. VKP80

COMMANDS MANUAL TG2460H TG2480H TL60 TL80

Command Reference MOBILE LINE THERMAL PRINTER MODEL CMP-10. Rev Revised on Dec 13, 2006

Mobile POS Thermal printer

XR-200 MINI DOT IMPACT PRINTER PRODUCT SPECIFICATION DATE : MAY 3, 2004 MANUAL REVISION 2.0

User s Manual Models CD5220 / CD6220. Vacuum Fluorescent Customer Display

VKP80 VKP80II USER MANUAL

Rev Sett. 08

APEX & ANDES Series. Printer Command Language Developer s Manual

TM-U295/U295P. Using this online operator s guide. Operator s Manual

Thermal Bluetooth Printer

6. SOFTWARE CONTROL: COMMAND GROUP

Vacuum Fluorescent Customer Display. Model: WD-2030 XXXX Version: 1.10

MPP6800 series - PANEL MOUNT PRINTERS. Options

Advanced Printing Systems CP 205-MRS

Transcription:

Command Manual SPP-R200 Mobile Printer Rev. 1.03 http://www.bixolon.com

Table of Contents 1. Notice... 3 2. Control Commands List... 3 3. Control Commands Details... 5 3-1 Command Notation... 5 3-2 Explanation of Terms... 5 3-3 Control Commands Details... 6 Rev. 1.03-2 -

1. Notice This Control Commands Manual contains information on the protocol and functions of all control commands that can be used with this printer (SPP-R200). 2. Control Commands List No Command Name Function Type 1 HT Horizontal tab Print Position 2 LF Print and line feed Print 3 FF Print and return to standard mode (in page mode) Print 4 CR Print and carriage return Print 5 CAN Cancel print data in page mode Character 6 DLE EOT n Transmit real-time status Status 7 ESC FF Print data in page mode Print 8 ESC SP n Set right-side character spacing Character 9 ESC! n Select print mode(s) Character 10 ESC $ Set absolute print position Print Position 11 ESC * Select bit-image mode Bit-image 12 ESC - n Turn underline mode on/off Character 13 ESC 2 Select default line spacing Line Spacing 14 ESC 3 n Set line spacing Line Spacing 15 ESC @ Initialize printer Misc. 16 ESC D n Set horizontal tab positions Print Position 17 ESC E n Turn emphasized mode on/off Character 18 ESC G n Turn double-strike mode on/off Character 19 ESC J n Print and feed paper Print 20 ESC L Select page mode Misc. 21 ESC M n Select character font or Set card reader mode Character/MSR 22 EOT Cancel card reader mode MSR 23 ESC R n Select an international character set Character 24 ESC S Select standard mode Misc. 25 ESC T n Select print direction in page mode Print Position 26 ESC W n Set print area in page mode Print Position 27 ESC \ Set relative print position Print Position 28 ESC a n Select justification Print Position 29 ESC d n Print and feed n lines Print 30 ESC t n Select character code table Character Rev. 1.03-3 -

No Command Name Function Type 31 ESC { Turn upside-down print mode on/off Character 32 GS! n Select character size Character 33 GS $ n Set absolute vertical print position in page mode Print Position 34 GS ( A Execute test print 35 GS ( E Set user setup commands CUSTOMIZE 36 GS ( L Set graphics data BIT-IMAGE 37 GS ( k Select print control method(s) Two dimension 38 GS : Start/end macro definition Macro 39 GS B n Turn white/black reverse print mode on/off Character 40 GS H n Select print position of HRI characters Bar code 41 GS I b Transmit battery power Misc. 42 GS I n Transmit printer ID Misc. 43 GS L Set left margin Print Position 44 GS W Set print area width Print Position 45 GS \ Set relative vertical print position in page mode Print Position 46 GS ^ Execute macro Macro 47 GS f n Select font for HRI characters Bar code 48 GS h n Set bar code height Bar code 49 GS k Print bar code Bar code 50 GS r n Transmit status Status 51 GS v 0 Print raster bit image Bit-image 52 GS w n Set bar code width Bar code 53 FS. Cancel Kanji character mode 2bytes code 54 FS & Select Kanji character mode 2bytes code Rev. 1.03-4 -

3. Control Commands Details 3-1 Command Notation 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. Gives the allowable ranges for the arguments. Describes the function of the command. 3-2 Explanation of Terms LSB Least Significant Bit Rev. 1.03-5 -

3-3 Control Commands Details HT Horizontal tab. ASCII HT Hex 09 Decimal 9 Moves the print position to the next horizontal tab position. LF 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, modes the print position in memory to feed one line based on the current line spacing. FF If in page mode, after printing, the printer is returned to regular mode. If the label function is set, the paper is fed up 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 regular mode. If the label function is set, the paper is fed up to the next printing position. Rev. 1.03-6 -

CR Print and carriage return. ASCII CR Hex 0D Decimal 13 This command is ignored CR. CAN 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. DLE EOT n Transmission real-time status. ASCII DLE EOT n Hex 10 04 n Decimal 16 4 n 1 n 4 Transmits the status specified by n in real-time as follows: n Function 1 Transmit printer status. 2 Transmit off-line status. 3 Transmit error status. 4 Transmit paper roll sensor status. Rev. 1.03-7 -

This printer transmits the following status in real time. 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 Not in on-line waiting status. On 20 32 During on lines waiting status. 6 Off 00 0 Paper FEED button is turned Off. On 40 64 Paper FEED button is turned On. 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 No error. On 40 64 Error has occurred. 7 Off 00 0 Fixed. 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=3: Error status Rev. 1.03-8 -

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] If print data includes a character string with this command, the printer performs this command. User must consider this. - Do not embed this command within another command. - For example : Bit image data might include this command. - This command is ignored block data is transmitted. ESC FF ESC SP n Print data in page mode. ASCII ESC FF Hex 1B 0C Decimal 27 12 In page mode, prints all buffered data in the printing area collectively. After printing, the printer does not clear the buffer data. This command is used when the page mode data is printed repeatedly 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. Rev. 1.03-9 -

ESC! n 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 Decimal 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. ESC $ nl nh 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 form the beginning of the line to the left margin is [(nl + nh x 256) x (vertical or horizontal motion units)]. Rev. 1.03-10 -

ESC * m nl nh d1...dk Select bit image mode. ASCII ESC * m nl nh d1...dk Hex 1B 2A m nl nh d1...dk Decimal 27 42 m nl nh d1...dk m=0, 1, 32, 33 1 (nl + nh x 256) 1023 (0 nl 255, 0 nh 3) 0 d 255 Specifies the bit image in m mode for the number of dots specified by nl and nh. * dpi : dots per 25.4mm {1 } m 0 1 32 33 Mode 8-dot single-density 8-dot double-density 24-dot single-density 24-dot double-density Number of dots in vertical direction Vertical dot density Horizontal dot density Number of bytes (k) 8 203/3 dpi 203/2 dpi nl + nh x 256 8 203/3 dpi 203 dpi nl + nh x 256 24 203 dpi 203/2 dpi (nl + nh x 256) x 3 24 203 dpi 203 dpi (nl + nh x 256) x 3 ESC n Turn underline mode on/off. ASCII ESC - n Hex 1B 2D n Decimal 27 45 n 0 n 2, 48 n 50 n=0 Turn underline mode on or off, based on the following values of n : n Function 0,48 Turns off underline mode. 1,49 Turns on underline mode, set at 1-dot width. 2,50 Turns on underline mode, set at 2-dot width. Rev. 1.03-11 -

ESC 2 Select default line spacing. ASCII ESC 2 Hex 1B 32 Decimal 27 50 The default line spacing is about 3.75 mm, which is equivalent to 30 dots. ESC 3 n Set line spacing ASCII ESC 3 n Hex 1B 33 n Decimal 27 51 n 0 n 255 n = 30 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. The maximum settable line spacing is 31.875mm. Rev. 1.03-12 -

ESC @ Initialize printer. ASCII ESC @ Hex 1B 40 Decimal 27 64 32 n 126 Clears the data in the print buffer and resets the printer mode to the mode that was in effect when the power was turned on. ESC D n1 nk NUL Set horizontal tab positions. ESC E n ASCII ESC D n1...nk NUL Hex 1B 44 n1...nk 00 Decimal 27 68 n1...nk 0 1 n 255, 0 k 32 n=8, 16, 24, 32, 40,..., 232, 240, 248 (for font A in a standard character size width) 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. The horizontal tab position is stored as a value of [character width x n] measured form the beginning of the line. Turn emphasized mode on / off. ASCII ESC E n Hex 1B 45 n Decimal 27 69 n 0 n 255 n=0 Turns emphasized mode on or off. - When the LSB of n is 0, emphasized mode is turned off. - When the LSB of n is 1, emphasized mode is turned on. Rev. 1.03-13 -

ESC G n Turn double-strike mode on/off. ASCII ESC G n Hex 1B 47 n Decimal 27 71 n 0 n 255 n=0 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 Print and feed paper. ASCII ESC J n Hex 1B 4A n Decimal 27 74 n 0 n 255 Prints the data in the print buffer and feeds the paper [n X vertical motion unit]. ESC L Select page mode. ASCII ESC L Hex 1B 4C Decimal 27 76 Switches from standard mode to page mode. Rev. 1.03-14 -

ESC M n Select character font./ MSR card read ASCII ESC M n Hex 1B 4D n Decimal 27 77 n n = 0, 1, 48, 49, 67, 68, 69, 70, 71, 72, 73 n=0 Selects only-byte character fonts Selects Card reader mode n Function 0, 48 Character font A (12 24) selected. 1, 49 Character font B (9 24) selected. 70 Set 1 track card reader mode 71 Set 2 track card reader mode 72 Set 1,2 track card reader mode 73 Transmits the MSR setting value(s) 67 Set 2 track card reader mode 68 Set 3 track card reader mode 69 Set 2,3 track card reader mode Magnetic card read out put format Track 1 02H 41H 31H 31H 1CH Track 2 02H 42H 31H 31H 1CH DATA 76 characters 03H 0DH 0AH DATA 37 characters 03H 0DH 0AH Track 1,2 02H 43H 31H 31H 1CH 1CH DATA 76 characters 1CH DATA 37 Characters 03H 0DH 0AH Track 3 02H 44H 31H 31H 1CH DATA104characters 03H 0DH 0AH Track 2,3 02H 45H 31H 31H 1CH 1CH DATA 37 characters 1CH DATA104Characters 03H 0DH 0AH Transmits the setting value out put format Hexadecimal Decimal Amount of Data Header 37H 55 1 byte Flag 80H 128 1 byte Data 30H ~ 37H 48 ~ 55 1 bytes NUL 00H 0 1 byte Rev. 1.03-15 -

MSR Setting value Hex. Function 30 Track 1/2 read mode command 31 Track 2/3 read mode command 32 Track 1 read mode AUTO trigger 33 Track 2 read mode AUTO trigger 34 Track 1/2 read mode AUTO trigger 35 Track 2 read mode AUTO trigger 36 Track 3 read mode AUTO trigger 37 Track 2/3 read mode AUTO trigger 38 MSR not used EOT Cancel card read mode ASCII EOT Hex 04 Decimal 4 Cancel card read mode Works the same as when the POWER button is pressed ESC R n Select an international character set. ASCII ESC R n Hex 1B 52 n Decimal 27 82 n 0 n 13 n=0 Selects international character set in from the following table : n Character set n Character set 0 U.S.A 7 Spain I 1 France 9 Norway 2 Germany 10 Denmark II 3 U.K 4 Denmark I 5 Sweden 6 Italy Rev. 1.03-16 -

ESC S Select standard mode. ASCII ESC S Hex 1B 53 Decimal 27 83 Switches from page mode to standard mode. Any data stored in the printer for printing in page mode is cleared. ESC T n Select print direction in page mode. ASCII ESC T n Hex 1B 54 n Decimal 27 84 n 0 n 3, 48 n 51 n=o Selects the print direction and starting position in page mode. n Print Direction Starting Position 0,48 Left right Upper left 1,49 Bottom to top Lower left 2,50 Right left Lower right 3,51 Top bottom Upper right Rev. 1.03-17 -

ESC W xl xh yl yh dxl dxh dyl dyh Set printer area in page mode. ASCII ESC W xl xh yl yh dxl dxh dyl dyh Hex 1B 57 xl xh yl yh dxl dxh dyl dyh Decimal 27 87 xl xh yl yh dxl dxh dyl dyh 0 (xl + xh x 256) 65535 (0 xl 255, 0 xh 255) 0 (yl + yh x 256) 65535 (0 yl 255, 0 yh 255) 1 (dxl + dxh x 256) 65535 (0 dxl 255, 0 dxh 255) 1 (dyl + dyh x 256) 65535 (0 dyl 255, 0 dyh 255) Horizontal logical origin and vertical logical origin = 0 xl=0, xh =0, yl=0, yh=0 dxl = 128, dxh = 1, dyl = 72, dyh = 3 Set the position and the size of the printing area. - Horizontal starting position = [(xl + xh x 256) x (horizontal motion unites)]. - Vertical starting position = [(yl + yh x 256) x (vertical motion unites)]. - Horizontal printing area width = [(dxl + dxh x 256) x (horizontal motion unites)]. - Vertical printing area width = [(dyl + dyh x 256) x (vertical motion unites)]. The printer ignores any setting that exceeds the print area. Rev. 1.03-18 -

ESC \ nl nh Set relative print position. ASCII ESC \ nl 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 positive number, the print starting position is specified to the right based on the current position. - When (nl + nh 256) is 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. ESC a n Select justification. ASCII 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 n Print and feed n lines. ASCII ESC d n Hex 1B 64 n Decimal 27 100 n 0 n 255 Prints the data in the print buffer and feeds n lines. Rev. 1.03-19 -

ESC t n Select character code table. ASCII ESC t n Hex 1B 74 n Decimal 27 116 n 0 n 5, 16 n 19, 21 n 24, 27 n 29, n=21, n=33, 36 n 37 n=255 n=0 For model without Thai character support : n=0 Selects a page n from the character code table. n Page STD Other 0 Page 0 437 (USA, Standard Europe) 1 Page 1 Katakana 2 Page 2 850 (Multilingual) 3 Page 3 860 (Portuguese) 4 Page 4 863 (Canadian-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) X 22 Page 22 864 (Arabic) 23 Page 23 Thai42 24 Page 24 1253 (Greek) 25 Page 25 1254 (Turkish) X 26 Page 26 1257 (Baltic) X 27 Page 27 Farsi 28 Page 28 1251 (Cyrillic) 29 Page 29 737 (Greek) 30 Page 30 775 (Baltic) X 31 Page 31 Thai14 33 Page 33 1255 (Hebrew New code) 34 Page 34 Thai 11 X 35 Page 35 Thai 18 X 36 Page 36 855 (Cyrillic) 37 Page 37 857 (Turkish) 38 Page 38 928 (Greek) X 39 Page 39 Thai 16 X 40 Page 40 1256 (Arabic) X - Character codes support all the above listed code pages in the STD version, and in all remaining versions, only the character codes displayed in Other are supported. Rev. 1.03-20 -

ESC { n Turns upside-down printing mode on/off. ASCII ESC { n Hex 1B 7B n Decimal 27 123 n 0 n 255 n=0 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 mode has no effect in page mode. If this command Processed in page mode, an internal flag is activated and this flag enable when the printer return to standard mode When upside-down print mode is turn on, the printer prints 180 rotated characters form right to left. Rev. 1.03-21 -

GS! n Select character size. ASCII GS! n Hex 1D 21 n Decimal 29 33 n 0 n 255 (where 1 Enlargement in vertical direction 8, 1 Enlargement in horizontal direction 8) n=0 Selects character size (enlargement in vertical and horizontal directions). Bit Function Setting 0 1 2 3 4 5 6 7 Specifies the number of times enlarged in the vertical direction Specifies the number of times enlarged in the horizontal direction Refer to Table 2 [Enlarged in vertical direction] Refer to Table 1 [Enlarged in horizontal direction] - Table 1 [Enlarged in horizontal direction] Hex Decimal Enlargement 00 0 1 time (standard) 10 16 2 times 20 32 3 times 30 48 4 times 40 64 5 times 50 80 6 times 60 96 7 times 70 112 8 times - Table 2 [Enlarged in vertical direction] Hex Decimal Enlargement 00 0 1 time (standard) 01 1 2 times 02 2 3 times 03 3 4 times 04 4 5 times 05 5 6 times 06 6 7 times 07 7 8 times Rev. 1.03-22 -

GS $ nl nh Set absolute vertical print position in page mode. ASCII GS $ nl nh Hex 1D 24 nl nh Decimal 29 36 nl nh 0 (nl + nh x 256) 65535 (0 nl 255, 0 nh 255) 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. [Notes] ASCII GS ( A pl ph n m Hex 1D 28 41 pl ph n m Decimal 29 40 65 pl ph n m (pl + ph x 256) = 2 (pl=2, ph=0) 0 n 2, 48 n 50 1 m 3, 49 m 51 Executes a test print with a specified test pattern on a specified paper type (roll paper). - n specifies the paper type as listed below to be tested : m Paper type 0, 48 1, 49 Paper roll 2, 50 - m specifies a test pattern as listed below : m Test pattern 1, 49 Hexadecimal dump 2, 50 Self Test Printing 3, 51 Self Test rolling pattern If this command is processed while a macro is being defined, the printer cancels macro definition and starts processing this command. At that time, the macro becomes undefined. After processing this command, the printer performs a software reset. Rev. 1.03-23 -

GS ( E pl ph fn [parameter] Customize NV memory area. 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 Format No. Function 1 GS ( E pl ph fn d1 d2 1 Changes into the user setting mode. 2 GS ( E pl ph fn d1 d2 d3 2 Ends the user setting mode session. (Performs a soft reset.) 3 GS ( E pl ph fn [a1 b18...b11]... [ak bk8...bk1] 3 Sets value(s) for the memory switch. 4 GS ( E pl ph fn a 4 Transmits the settings of the memory switch to the host. 11 GS ( E pl ph fn a d1...dk 11 Sets the communication conditions for the serial interface. 12 GS ( E pl ph fn a 12 Transmits the communication conditions for the serial interface. [Notes] pl, ph specifies (pl + ph x 256) as the number of bytes after ph (fn and [parameter]). The user setting mode is a special mode to change the values in the NV user memory with this command. In Function 2, the printer performs software reset. Therefore, the printer clears the receive and print buffers, and resets all settings (user-defined characters, macros, and the character style) to the mode in effect at power on. Frequent write commands by this command, may damage the NV memory. Therefore, it is recommended to write to NV memory no more than 10 times a day. While processing this command, the printer is BUSY while writing data to the user NV memory and stops receiving data. Therefore it is prohibited to transmit data including the real-time commands during the execution of this command. Rev. 1.03-24 -

<Function 1> GS ( E pl ph fn d1 d2 (fn=1) ASCII GS ( E pl ph fn d1 d2 Hex 1D 28 45 pl ph fn d1 d2 Decimal 29 40 69 pl ph fn d1 d2 (pl + ph x 256) = 3 (pl=3, ph=0) fn=1 d1=73, d2=78 Enter the user setting mode and notifies that the mode has changed. 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. <Function 2> through <Function 12> of GS ( E, GS I. <Function 2> GS ( E pl ph fn d1 d2 d3 (fn=2) ASCII GS ( E pl ph fn d1 d2 d3 Hex 1D 28 45 pl ph fn d1 d2 d3 Decimal 29 40 69 pl ph fn d1 d2 d3 (pl + ph x 256) = 4 (pl=4, ph=0) fn=2 d1=79, d2=85, d3=84 Ends the user setting mode and performs a software reset. Therefore, the printer clears the receive and print buffers, and resets all settings (userdefined character, downloaded bit images, macros, and the print mode) to the mode that was in effect at power on. This function code (fn=2) is enabled only in the user setting mode. Rev. 1.03-25 -

<Function 3> GS ( E pl ph fn [a1 b18...b11]...[ak bk8...bk1] (fn=3) ASCII GS ( E pl ph fn [a1 b18...b11]... [ak bk8...bk1] Hex 1D 28 45 pl ph fn [a1 b18...b11]... [ak bk8...bk1] Decimal 29 40 69 pl ph fn [a1 b18...b11]... [ak bk8...bk1] 10 (pl + ph x 256) 65535 fn=3 a= 1, 2, 3, 5, 6, 7, 8 b=48, 49, 50 All switches are set to Off (b=48). Change the memory switch specified by a to the values specified by b. - When b=48, the applicable bit is turned to Off. - When b=49, the applicable bit is turned to On. - When b=50, the applicable bit is not changed. When a=1, the memory switch 1 is set as follows : When a=1, the memory switch 1 is set as follows : Msw Set Value 3 2 1 Function 48 48 48 print density 130% 48 48 49 print density 120% 48 49 48 print density 110% 1-1~3 48 49 49 print density 150% 49 48 48 print density 100% 49 48 49 print density 140% 49 49 48 print density 90% 49 49 49 print density 80% 1-4 48 2 byte character mode not selected 49 2 byte character mode selected 1-5 48 print speed 80mm/s 49 print speed 50mm/s 1-6 48 not used When a=2, the memory switch 2 is set as follows : Msw Set Value Function 2-1 48 not used 2-2 48 not used 2-3 48 not used Rev. 1.03-26 -

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 49 WPC1251 49 48 48 49 48 PC737 49 48 48 49 49 PC775 49 48 49 48 48 Thai 14 49 48 49 48 49 not used 49 48 49 49 48 WPC1255 49 48 49 49 49 Thai 11 49 49 48 48 48 Thai 18 49 49 48 48 49 PC855 49 49 48 49 48 PC857 49 49 48 49 49 PC928 49 49 49 48 48 Thai 16 49 49 49 48 49 WPC1256 49 49 49 49 48 not used 49 49 49 49 49 not used For versions other than the STD version, only code pages displayed in Other can be selected. Rev. 1.03-27 -

When a=3 the memory switch 3 is set as follows : Msw Set Value Function 3-1 3-2 3-3 3-4 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 When a=5 the memory switch 5 is set as follows : Set power off time (1~90 minute.) *When memory switch setting value 0, not work power off MSW5-8 MSW5-7 MSW5-6 MSW5-5 MSW5-4 MSW5-3 MSW5-2 MSW5-1 Value 48 48 48 48 48 48 48 48 0 48 48 48 48 48 48 48 49 1 48 48 48 48 48 48 49 48 2 48 48 48 48 48 48 49 49 3 48 48 48 48 48 49 48 48 4........................ 48 49 48 49 49 48 49 48 90 When a=6 the memory switch 6 is set as follows : Minimum = 10 seconds Maximum = 255 seconds Set save mode time(10~255 seconds) *When memory switch setting value 0 not work save mode MSW6-8 MSW6-7 MSW6-6 MSW6-5 MSW6-4 MSW6-3 MSW6-2 MSW6-1 Value 48 48 48 48 49 48 49 48 10 48 48 48 48 49 48 49 49 11 48 48 48 48 49 49 48 48 12 48 48 48 48 49 49 48 49 13 48 48 48 48 49 49 49 48 14........................ 49 49 49 49 49 49 49 49 255 Rev. 1.03-28 -

When a=7 the memory switch 7 is set as follows : MSW 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 7-5~8 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 When a=8 the memory switch 8 is set as follows : Msw Setting Value Function 8-1 48 Reserved 8-2 48 12X24 font 49 9X24 font 8-3 48 No beeps for roll paper end 49 Beeps for roll paper end 8-4 48 Beeps for low battery status 49 No beeps low battery status 8-5 48 Label function deactivated 49 Label function activated 8-6 48 Reserved 8-7 48 Reserved 8-8 48 Reserved Rev. 1.03-29 -

<Function 4> GS ( E pl ph fn a (fn=4) ASCII GS ( E pl ph fn a Hex 1D 28 45 pl ph fn a Decimal 29 40 69 pl ph fn a (pl + ph x 256) = 2 (pl=2, ph=0) fn=4 a=1, 2, 3, 5, 6, 7, 8 Transmits the setting value(s) of the memory switch specified by a. Hexadecimal Decimal Amount of Data Header 37H 55 1 byte Flag 21H 33 1 byte Data 30H or 31H 48 or 49 8 bytes NUL 00H 0 1 byte Data for the setting is transmitted as 8 bytes or a data string in the order from bit 8 to bit 1, as follows : - Off : Hexadecimal = 30H / Decimal = 48 - On : Hexadecimal = 31H / Decimal = 49 Rev. 1.03-30 -

<Function 11> GS ( E pl ph fn a d1.dk (fn=11) ASCII GS ( E pl ph fn a d1 dk Hex 1D 28 45 pl ph 0B a d1 dk Decimal 29 40 69 pl ph 11 a d1 dk 3<=(pL + ph x 256) <=8 (3<=pL<=8,0<= ph<=255) fn=11, 1<=a 4 48<=d<=57 [a=1] 48<=d<=50 [a=2] d=48,49 [a=3] d=55,56 [a=4] 1<=k<=6 d1..dk= 19200 [a=1] d=48[a=2] d=48[a=3] d=56[a=4] sets the configuration item for the serial interface specified by a to the values specified by d1..dk a Configuration item 1 Transmission speed 2 Parity 3 Flow control 4 Data length Transmission speed (a=1) is specified by number. Example : When defining 19200 bps : 5bytes d1 dk 19200 (Hexadecimal = 31H,39H,32H,30H,30H /Decimal= 49,57,50,48,48) Parity (a=2) is specified by d as follows d Function 48 Select no parity 49 Select odd parity 50 Select even parity Flow control(a=3) is specified by d as follows d Function 48 Select Flow control DTR/DSR 49 Select Flow control XON/XOFF Data Length(a=4) is specified by d as follows d Function 55 Select 7bit length 56 Select 8bit length Rev. 1.03-31 -

<Function 12> GS ( E pl ph fn a (fn=12) ASCII GS ( E pl ph fn a Hex 1D 28 45 pl ph fn a Decimal 29 40 69 pl ph fn a (pl + ph x 256) = 2 (pl=2, ph=0) fn=12, 1 a 4 Transmits the communication conditions of the serial interface specified by a. a Communication Condition 1 Baud rate 2 Parity 3 Flow control 4 Data length Hexadecimal Decimal Amount of Data Header 37H 55 1 byte Flag 33H 39 1 byte Type of the communication condition 31H - 34H 49-52 1 byte Separator 1FH 31 1 byte Setting value 30H - 39H 48-57 1-6 bytes NUL 00H 0 1 byte Configuration of the setting value - When the baud rate (a=1) is specified : Baud rate (bps) d1 d2 d3 d4 d5 d6 2400 50 52 48 48 -- -- 4800 52 56 48 48 -- -- 9600 57 54 48 48 -- -- 19200 49 57 50 48 48 -- 38400 51 56 52 48 48 -- 57600 53 55 54 48 48 -- 115200 49 49 53 50 48 48 When the parity setting (a=2) is specified : d1 Parity 48 No parity 49 Odd parity 50 Even parity - When the flow control setting (a=3) is specified : d1 Flow control 48 DTR / DSR (Fixed) 49 XON / XOFF - When the data length setting (a=4) is specified : d1 Data length 55 7 bits 56 8 bits If a is out of range, this command ignores the value which is specified with a. Rev. 1.03-32 -

GS ( L pl ph m fn [parameter] Select graphics data. ASCII GS ( L pl ph m fn [parameter] Hex 1D 28 4C pl ph m fn [parameter] Decimal 29 40 76 pl ph m fn [parameter] ASCII GS ( L p1 p2 p3 p4 m fn [parameter] Hex 1D 28 4C p1 p2 p3 p4 m fn [parameter] Decimal 29 40 76 p1 p2 p3 p4 m fn [parameter] In the description below GS ( L is used for the explanation. Processes graphics data according to the function code fn. fn Format Function No. Function 0, 48 GS ( L pl ph m fn Function 48 Transmits the NV graphics memory capacity. 2, 50 GS ( L pl ph m fn Function 50 Prints the graphics data in the print buffer. 3, 51 GS ( L pl ph m fn Function 51 Transmits the remaining capacity of the NV graphics memory. 64 GS ( L pl ph m fn d1 d2 Function 64 Transmits the defined NV graphics key code list. 65 GS ( L pl ph m fn d1 d2 d3 Function 65 Deletes all NV graphics data. 66 GS ( L pl ph m fn kc1 kc2 Function 66 Deletes the specified NV graphics data. 67 69 112 GS ( L pl ph m fn a kc1 kc2 b xl xh yl yh [c d1...dk]1...[c d1 dk]b GS ( L pl ph m fn kc1 kc2 x y GS ( L pl ph m fn a bx by c xl xh yl yh d1...dk Function 67 Function 69 Function 112 Defines the raster graphics data in the non-volatile memory. Prints the specified NV graphics data. Stores the raster graphics data in the print buffer memory. pl, ph specifies (pl + ph x 256) as the number of bytes after ph(m, fn, and [parameter]). Frequent write command executions by this command may damage the NV memory. Therefore, it is recommended to write to the NV memory no more than 10times a day. While processing this command, the printer is BUSY while writing data to the NV graphics memory and stops receiving data. Therefore it is prohibited to transmit data including the real-time commands during the execution of this command. Rev. 1.03-33 -

<Function 48> GS ( L pl ph m fn (fn=0, 48) ASCII GS ( L pl ph fn m Hex 1D 28 4C pl ph fn m Decimal 29 40 76 pl ph fn m (pl + ph x 256) = 2 (pl=2, ph=0) m=48, fn=0, 48 Transmits the total capacity of the NV bit-image memory (number of bytes in the memory area). Hexadecimal Decimal Amount of Data Header 37H 55 1 byte Flag 30H 48 1 byte Data 30H - 39H 48-57 1-8 bytes NUL 00H 0 1 byte The total capacity data is converted to character codes corresponding to decimal data, then transmitted from the MSB. <Function 50> GS ( L pl ph m fn (fn=2, 50) ASCII GS ( L pl ph m fn Hex 1D 28 4C pl ph m fn Decimal 29 40 76 pl ph m fn (pl + ph x 256) = 2 (pl=2, ph=0) m=48, fn=2, 50 Prints the buffer graphics that are stored by the process of Function 112. Feeds paper by the amount corresponding to the number of dots in the y direction of the buffered graphics. <Function 51> GS ( L pl ph m fn (fn=3, 51) ASCII GS ( L pl ph m fn Hex 1D 28 4C pl ph m fn Decimal 29 40 76 pl ph m fn (pl + ph x 256) = 2 (pl=2, ph=0) m=48, fn=3, 51 Transmits the number of bytes of remaining memory (unused area) in the NV user memory. Hexadecimal Decimal Amount of Data Header 37H 55 1 byte Flag 31H 49 1 byte Data 30H 39H 48-57 1-8 bytes NUL 00H 0 1 byte The number of bytes of remaining memory is converted to character codes corresponding to decimal data, then transmitted from the MSB. The data length is variable. Rev. 1.03-34 -

<Function 64> GS ( L pl ph m fn d1 d2 (fn=64) ASCII GS ( L pl ph m fn d1 d2 Hex 1D 28 4C pl ph m fn d1 d2 Decimal 29 40 76 pl ph m fn d1 d2 (pl + ph x 256) = 4 (pl=4, ph=0) m=48 fn=64 d1=75, d2=67 Transmits the defined NV graphics key code list. - When the key code is present : Hexadecimal Decimal Amount of Data Header 37H 55 1 byte Flag 72H 114 1 byte Status 40H or 41H 64 or 65 1 byte Data 30H - 39H 48-57 2-80 bytes NUL 00H 0 1 byte - When the key code is not present : Hexadecimal Decimal Amount of Data Header 37H 55 1 byte Flag 72H 114 1 byte Status 40H 64 1 byte NUL 00H 0 1 byte If the number of the key code exceeds 40, the key code is transmitted dividing up to 40. - The status if the continuous transmission data block is present is 41H. - The status if the continuous transmission data block is not present is 40H. After the [Header-NULL] is transmitted, the printer receives a response from the host; then it performs the process defined by the response. (See the tables below.) - When the status (existence of the next data block) is Hexadecimal = 41H / Decimal = 65 Response ASCII Decimal Process performed ACK 6 Transmits the next data. NAK 21 Transmits the previous data again. CAN 24 Ends the process. - When the status (for the last data block) is Hexadecimal = 40H / 40H/Decimal = 64 Response ASCII Decimal Process performed ACK 6 Ends the process. NAK 21 Transmits the previous data again. CAN 24 Cancels the process. Rev. 1.03-35 -

<Function 65> GS ( L pl ph m fn d1 d2 d3 (fn=65) ASCII GS ( L pl ph m fn d1 d2 d3 Hex 1D 28 4C pl ph m fn d1 d2 d3 Decimal 29 40 76 pl ph m fn d1 d2 d3 (pl + ph x 256) = 5 (pl=5, ph=0) m=48 fn=65 d1=67, d2=76, d3=82 Deletes all defined NV graphics data. <Function 66> GS ( L pl ph m fn kc1 kc2 (fn=66) ASCII GS ( L pl ph m fn kc1 kc2 Hex 1D 28 4C pl ph m fn kc1 kc2 Decimal 29 40 76 pl ph m fn kc1 kc2 (pl + ph x 256) = 4 (pl=4, ph=0) m=48 fn=66 32 kc1 126 32 kc2 126 Deletes the NV graphics data defined by the key codes kc1 and kc2. Rev. 1.03-36 -

<Function 67> GS ( L pl ph m fn a kc1 kc2 b xl xh yl yh [c d1...dk]1...[c d1...dk]b (fn=67) ASCII GS ( L pl ph m fn a kc1 kc2 b xl xh yl yh [c d1...dk]1...[c d1...dk]b Hex 1D 28 4C pl ph m fn a kc1 kc2 b xl xh yl yh [c d1...dk]1...[c d1...dk]b Decimal 29 40 76 pl ph m fn a kc1 kc2 b xl xh yl yh [c d1...dk]1...[c d1...dk]b GS ( L parameter 3 (pl + ph x 256) 65535 (0 pl 255, 0 ph 255) Common parameter for GS ( L m=48 fn=67 a=48 32 kc1 126 32 kc2 126 b=1, 2 1 (xl + xh x 256) 8192 1 (yl + yh x 256) 2304 c=49 0 d 255 k = ( int ( ( xl + xh x 256 ) + 7 ) / 8 ) x ( yl + yh x 256 ) The total capacity of the NV graphic memory is only 256K bytes Defines the raster graphics data in the NV graphics area. - b specifies the number of the color of the defined data. - xl, xh specifies the defined data in the horizontal direction to (xl + xh x 256) dots. - xl, xh 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 <Function 69> GS ( L pl ph m fn kc1 kc2 b x y (fn=69) ASCII GS ( L pl ph m fn kc1 kc2 x y Hex 1D 28 4C pl ph m fn kc1 kc2 x y Decimal 29 40 76 pl ph m fn kc1 kc2 x y (pl + ph x 256) = 6 (pl=6, ph=0) m=48, fn=69 32 kc1 126 32 kc2 126 x=1, 2 y=1, 2 Prints the NV graphics data defined by the key codes kc1 and kc2. The graphics data is enlarged by x and y in the horizontal and vertical directions. Rev. 1.03-37 -

<Function 112> GS ( L pl ph m fn a bx by c xl xh yl yh d1...dk (fn=112) ASCII GS ( L pl ph m fn a bx by c xl xh yl yh d1...dk Hex 1D 28 4C pl ph m fn a bx by c xl xh yl yh d1...dk Decimal 29 40 76 pl ph m fn a bx by c xl xh yl yh d1...dk GS ( L parameter 11 (pl + ph x 256) 65535 (0 pl 255, 0 ph 255) Common parameter for GS ( L m=48, fn=112, a=48 bx=1, 2 by=1, 2 c=49 1 (yl + yh x 256) 1662 (when by = 1) [Notes] k = ( int ( ( xl + xh x 256 ) + 7 ) / 8 ) x ( yl + yh x 256 ) Stores the raster graphics data, enlarged by bx and by in the horizontal and vertical directions to the print buffer. - xl, xh specifies the raster graphics data in the horizontal direction as (xl + xh x 256) dots. - xl, xh specifies the raster graphics data in the vertical direction to (yl + yh x 256) dots. - c specifies the color of the defined data. c Printing color 49 Color 1 - Color 1 means black In standard mode, each color can be defined only once. Rev. 1.03-38 -

GS ( k pl ph cn fn [parameter] Specify and print the symbol. Processes the data concerning two-dimensional code. - Symbol type is specified by cn. - Function is specified by fn. cn Type of Symbol 48 PDF417 (2-dimensional code) 49 QR CODE (2-dimensional code) 50 MAXI CODE(2-dimensional code) 51 DATAMATRIX(2-dimensional code) cn fn Function 65 Function 065 PDF417 : Specify the number of columns 66 Function 066 PDF417 : Specify the number of rows 67 Function 067 PDF417 : Specify the width of module 68 Function 068 PDF417 : Specify the module height 69 Function 069 PDF417 : Specify the error correction level 48 70 Function 070 PDF417 : Specify the option 80 Function 080 PDF417 : Store the received data in the symbol save area 81 Function 081 PDF417 : Print the symbol data in the symbol save area 82 Function 082 PDF417 : Send the size information of the symbol data in the symbol save area 65 Function 165 QR CODE: module selection 67 Function 167 QR CODE: module size selection 69 Function 169 QR CODE: error level setting 49 80 Function 180 QR CODE: saving of symbol data in storage area 81 Function 181 QR CODE: printing of symbol data saved in storage area 82 Function 182 QR CODE: transmission of size information of symbol data saved in storage area 50 51 65 Function 265 MAXI CODE: mode selection 80 Function 280 MAXI CODE: saving of symbol data in storage area 81 Function 281 MAXI CODE: printing of symbol data saved in storage area 67 Function 367 DATAMATRIX: module size selection 80 Function 380 DATAMATRIX: saving of symbol data in storage area 81 Function 381 DATAMATRIX: printing of symbol data saved in storage area Rev. 1.03-39 -

[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. If the printable area is not large enough, the symbol may not be printed. Executing Function 081 after executing Function 080 repeatedly prints the same symbol data. By using Functions 065 to 070 combined with Function 081, the same symbol data d1...dk is printed differently. By using Function 082, the symbol size printed by Function 081 is available. QRCODE Symbol Data (cn = 49) Symbol data is saved according to <Function 180> and printed according to <Function 181>. The symbol data in the storage area is saved until the following actions. - Execution of Function 180 - Execution of ESC @ - Turning off of printer power When either Function 181 or Function 182 is executed, the setting values of Functions 165~169 are used. If the printable area is insufficient in size, the symbol data is not printed. According to the settings of <Function 165> to <Function 169>, <Function 181> has and prints the same data d1.dk. <Function 182> uses the size printed by <Function 181>. Rev. 1.03-40 -

MAXI CODE Symbol Data (cn = 50) Symbol data is saved according to <Function 280> and printed according to <Function 281>. The symbol data in the storage area is saved until the following actions. - Execution of Function 280 - Execution of ESC @ - Turning off of printer power When either <Function 281> or <Function 282> is executed, the setting value of <Function 265> is used. DATAMATRIX Symbol Data (cn=51) Symbol data is saved according to <Function 380> and printed according to <Function 381>. The symbol data in the storage area is saved until the following actions. - Execution of Function 380 - Execution of ESC @ - Turning off of printer power When <Function 381> is executed, the setting value of <Function 367> is used. Rev. 1.03-41 -

<Function 065> GS ( k pl ph cn fn n (fn=65) ASCII GS ( k pl ph cn fn n Hex 1D 28 6B 03 00 30 41 n Decimal 29 40 107 3 0 48 65 n [Notes] (pl + ph x 256) = 3 (pl=3, ph=0) cn=48, fn=65 0 n 30 n=0 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. Settings of this function affect the processing of Functions 081 and 082. When auto processing (n=0) is specified, the maximum number of columns in the data area is 30 columns. The following data is not included in the number of columns : - Start pattern and stop pattern - Indicator code word of left and right When auto processing (n=0) is specified, the number of columns is calculated by the printing area when processing Functions 081, 082, module width (Function 067), and option setting (Function 070). Setting of this function are effective until ESC @ is executed, the printer is reset, or the power is turned off. <Function 066> GS ( k pl ph cn fn n (fn=66) ASCII GS ( k pl ph cn fn n Hex 1D 28 6B 03 00 30 42 n Decimal 29 40 107 3 0 48 66 n [Notes] (pl + ph x 256) = 3 (pl=3, ph=0) cn=48, fn=66 n=0, 3 n 90 n=0 Specifies the number of rows of the data area of PDF417. - n=0 specifies auto processing - When n is not 0, specifies the number of rows of the symbol as n rows. Settings of this function affect the processing of Functions 081 and 082. When auto processing (n=0) is specified, the maximum number of rows is 90. When auto processing (n=0) is specified, the number of rows is calculated by the printing area when processing Functions 081, 082, module height (Function 068). Setting of this function are effective until ESC @ is executed, the printer is reset, or the power is turned off. Rev. 1.03-42 -

<Function 067> GS ( k pl ph cn fn n (fn=67) ASCII GS ( k pl ph cn fn n Hex 1D 28 6B 03 00 30 43 n Decimal 29 40 107 3 0 48 67 n [Notes] (pl + ph x 256) = 3 (pl=3, ph=0) cn=48 fn=67 2 n 3 n=3 Specifies the width of a module of PDF417 symbol. Settings of this function affect the processing of Functions 081 and 082. The setting unit differs, depending on the printer models. Setting of this function are effective until ESC @ is executed, the printer is reset, or the power is turned off. <Function 068> GS ( k pl ph cn fn n (fn=68) ASCII GS ( k pl ph cn fn n Hex 1D 28 6B 03 00 30 44 n Decimal 29 40 107 3 0 48 68 n [Notes] (pl + ph x 256) = 3 (pl=3, ph=0) cn=48 fn=68 2 n 8 n=3 Specifies the module height of PDF417 symbol. - Specify the height to [a module width x n]. Settings of this function affect the processing of Functions 081 and 082. Setting of this function are effective until ESC @ is executed, the printer is reset, or the power is turned off. Rev. 1.03-43 -

<Function 069> GS ( k pl ph cn fn m n (fn=69) [Notes] 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 (pl + ph x 256) = 4 (pl=4, ph=0) cn=48 fn=69 m=48 48 n 8 [m=48] n=1 Specifies the error correction level of PDF417. m Function 48 The error correction level is specified by level Settings of this function affect the processing of Functions 081 and 082. Error correction level is specified by level. Error correction level specified by level (m=48) is as follows. The number of the error correction code word is fixed regardless of the number of code words in the data area. m Function Number of error correction code word 48 Error correction level 0 2 49 Error correction level 1 4 50 Error correction level 2 8 51 Error correction level 3 16 52 Error correction level 4 32 53 Error correction level 5 64 54 Error correction level 6 128 55 Error correction level 7 256 56 Error correction level 8 512 <Function 070> GS ( k pl ph cn fn m (fn=70) [Notes] ASCII GS ( k pl ph cn fn m Hex 1D 28 6B 03 00 30 46 m Decimal 29 40 107 3 0 48 70 m (pl + ph x 256) = 3 (pl=3, ph=0) cn=48 fn=70 m=0,1 m=0 Set or cancels the option of PDF417. m Function 0 Cancels the processing of simplified PDF417 symbol. 1 Sets the processing of simplified PDF417 symbol. - m=0 cancels the processing of simplified PDF417 symbol. - m=1 sets the processing of simplified PDF417 symbol. Settings of this function affect the processing of Functions 081 and 082. When simplified PDF417 symbol is canceled, standard PDF417 symbol is automatically selected. Setting of this function are effective until ESC @ is executed, the printer is reset, or the power is turned off. Rev. 1.03-44 -

<Function 080> GS ( k pl ph cn fn m d1...dk (fn=80) [Notes] 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 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 Stores the PDF417 symbol data (d1...dk) in the symbol save area. Data stored in the symbol save area by this function are processed by Function 081 and 082. The data in the symbol save area are reserved after processing Function 081 or 082. k bytes of d1...dk are processed as symbol data. Specify only the data code word of the symbol with this function. Be sure not to included the following data in the data d1...dk because they are added automatically by the printer. - 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. Setting of this function are effective until the following processing is performed : - Function 080 or 180 is executed. - ESC @ is executed. - The printer is reset or the power is turned off. <Function 081> GS ( k pl ph cn fn m (fn=81) [Notes] ASCII GS ( k pl ph cn fn m Hex 1D 28 6B 03 00 30 51 m Decimal 29 40 107 3 0 48 81 m (pl + ph x 256) = 3 (pl=3, ph=0) cn=48 fn=81 m=48 Encodes and prints the PDF417 symbol data in the symbol save area. In standard mode, use this function when printer is at the beginning of a line, or there is no data in the printer buffer. A symbol that size exceeds the printing area cannot be printed. If there is any error described below in the data of the symbol save area, it cannot be printed. - There is no data (Function 080 is not processed). - If [(number of columns x number of rows) < number of code word] when auto processing is specified for number of columns and number of rows. - Number of code word exceeds 928 in the data area. Rev. 1.03-45 -

The following data are 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. (the first code word in the data area) - The error correction code word calculated by modulus 929. - Pad codeword. When auto processing (Function 065) is specified, the number of columns is calculated by the current printing area, module width (Function 067), option setting (Function 070), and the code word in the data area. Maximum number of the columns in 30. When auto processing (Function 066) is specified in page mode, the number of rows is calculated by the current printing area, module height (Function 068), and the code word in the data area. The maximum number of rows is 90. Printing of symbol is not affected by print mode (emphasized, doublestrike, underline, white/black reverse printing, or 90 clockwise-rotated), except for character size and upside-down printing mode. In standard mode, this command executes paper feeding for the amount needed for printing the symbol, regardless of the paper feed amount set by the paper feed setting command. The printing position returns to the left side of the printable area after printing the symbol, and printer is in the status beginning of the line, or there is no data in the print buffer. In page mode, the printer stores the symbol data in the print buffer without executing actual printing. The printer moves printing position to the next dot of the last data of the symbol. The quiet zone is not included in the printing data. Be sure to include the quiet zone when using this function. Rev. 1.03-46 -

<Function 082> GS ( k pl ph cn fn m (fn=82) ASCII GS ( k pl ph cn fn m Hex 1D 28 6B 03 00 30 52 m Decimal 29 40 107 3 0 48 82 m [Notes] (pl + ph x 256) = 3 (pl=3, ph=0) cn=48 fn=82 m=48 Encodes and sends size information of the PDF417 symbol data in the symbol save area. In standard mode, use this function when printer is at the beginning of a line, or there is no data in the printer buffer. The size information for each data is as follows : Send data Hex Decimal Data Header 37H 55 1 byte Flag 2FH 47 1 byte Width 30H 39H 48 57 1 5 byte Separator 1FH 31 1 byte Height 30H 39H 48 57 1 5 byte Separator 1FH 31 1 byte Fixed value 31H 49 1 byte Separator 1FH 31 1 byte Other information 30H or 31H 48 or 49 1 byte NUL 00H 0 1 byte Description of the Width and Height data sent : - The height and width values of the symbol data are in dot units. Description of the Other Information data sent : Hex Decimal Condition 30H 48 Printing is possible 31H 49 Printing is impossible This command does not print the PDF417 symbols. Users must consider the quiet zone for the PDF417 symbols (upward and downward spaces and left and right spaces for the PDF417 symbols specified in the specifications for the PDF417 symbols.) Rev. 1.03-47 -

<Function 165> GS ( k pl ph cn fn n1 n2 (fn=65) ASCII GS ( k pl ph cn fn n1 n2 Hex 1D 28 6B 04 00 31 41 n1 0 Decimal 29 40 107 3 0 49 65 n1 0 [Defaults] [Notes] (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 Function 49 Model 1 50 Model 2 The setting of this function impacts <Function 181> and <Function 182>. The setting of this function is effective until ESC @ is executed or printer power is turned off. <Function 167> GS ( k pl ph cn n (fn=67) ASCII GS ( k pl ph cn fn n Hex 1D 28 6B 03 00 31 43 n Decimal 29 40 107 3 0 49 67 n (pl + ph x 256) = 3 (pl=3, ph=0) cn=49 fn=67 0<=n<9 n=3 Sets the size of the QR code module It impacts the execution of <Function 181> and <Function 182>. The setting of this function is effective until ESC @ is executed or printer power is turned off. n becomes the value for the module width and height. (The QR CODE module is square-shaped.) Rev. 1.03-48 -