COMMAND REFERENCE COMMAND REFERENCE PLUS II

Similar documents
KM216H KPM216H WARNING! MOVING PARTS PUSH HERE TO CLOSE

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

KPM202 KPM203 KPM302 KPM303 TK202 TK203 TK302 TK303

PRINTER READY 28/04/08 11:03:50 TK300II KPM300 KUBE II KUBE-L

Printer Control Command Set

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

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

MOBILE THERMAL PRINTER

PROGRAMMER S MANUAL 58mm Printer

Command Manual SRP-350 Thermal Printer Rev. 1.01

COMMANDS MANUAL TG2460H TG2480H TL60 TL80

PANDA Thermal Receipt Printer. Programmer Manual

PP8X Printer Command Manual

PP8X Printer Command Manual

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

1. Control Command List

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

Command Manual SPP-R200. Mobile Printer Rev

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

Mobile Printer. Command Manual Ver Models: SM series

Control Command list (ESC/POS)

NEO-PLACA-PRINTER-PT486F24401

SPP-R210 Command Manual Rev. 1.00

MODEL 814M DIRECT THERMAL PRINTER PROGRAMMING MANUAL

PP7X PRINTER COMMAND MANUAL

SPP-R300 Command Manual Rev. 1.01

PP7X PRINTER COMMAND MANUAL

Command Manual SPP-R200. Mobile Printer Rev

COMMANDS MANUAL VK80 VKP80 VKP80II VKP80II-EE VKP80II-SX

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

STP-103II Thermal Printer Command Manual

PJ-600 Series Printer ESC/P Command Reference

DIR-E58III Mobile Print

SRP-275III Command Manual Rev. 1.00

VKP80 VKP80II USER MANUAL

Reliance-ESC/POS Documentation

SRP-330 Command Manual Rev. 1.01

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

SRP-QE300/302 Command Manual Rev

Command Manual.

POS Thermal Receipt Printer A11 Standard/Prime

Command Emulator ESC/POS Mode Command Specifications

SRP-F310/312 Command Manual Rev. 1.00

Advanced Printing Systems CP 205-MRS

ODP 200. Thermal Receipt Printer Technical Manual

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

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

Ultra-Small Thermal Panel Printer. Mini PLUS. User Manual

SRP-275II Impact Printer Command Manual

PLUS II PLUS II USER MANUAL


DS-800. ::: 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

Dot Matrix Printer. SP2000 Series. Programmer s Manual

Thermal printer for information kiosks and ATMs KPM 216 H. 210/216mm (8.5 ) User Manual. KPM216H

TRP-100 Receipt Printer User s Manual

SPRT. Portable Micro Printer

TSP552 TSP552II TSP2000

FEC-80T Receipt Printer User s Manual

MODEL : PR-T25 Receipt Printer User s Manual

Advanced Printing Systems CP 205 MRS

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

MODEL : LK-TL200 Receipt Printer User s Manual

MOBILE THERMAL PRINTER

One station Impact Printer. Model: WP-300 Version : 1.03

MODEL : AP-8220 U Receipt Printer User s Manual

MODEL : SLK-TE20X Series Receipt Printer User s Manual

MODEL : SLK-TL100 Receipt Printer User s Manual

MODEL : SLK-T12EB Receipt Printer User s Manual

Software Developer's Manual

MPP6800 series - PANEL MOUNT PRINTERS. Options

628/638_ Specification

Thermal printer for information kiosks and ATMs PRT 80. User Manual. PRT 80

The ICP 300 is an ultra-compact, lightweight portable thermal printer with an easy-load paper feature.

MODEL : TRP100-III Receipt Printer User s Manual

Ultimate-II MPS Printer Emulation

MODEL : LK-T200 Receipt Printer User s Manual

Manopla para abertura da impressora

MODEL : LK-T210 Receipt Printer User s Manual

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

MODEL WSP-i350. (3inch Industrial Printer)

PRODUCT INFORMATION. MPP5500 Series PANEL-MOUNT PRINTERS

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

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

Programming Guide. HP Value Serial/USB Receipt Printer II

ZQ110. Mobile Printer Command Manual. P Rev. A

Mobile POS Thermal printer

Thermal Bluetooth Printer

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

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

J2 LCM Customer Display. Manual

Programmers Guide. IBM ProPrinter 4207, 4208 XL 24 Quick Reference. For Printer PP 40x and PP 80x

Software Developer's Manual

ADDMASTER. Addmaster Corporation. IJ-3080 Journal/Validation Printer. Specification. IJ-3080 Specification

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

Reference Manual December 1997

APEX & ANDES Series. Printer Command Language Developer s Manual

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

Alphanumeric Operator Display

Software Developer's Manual

Transcription:

COMMAND REFERENCE PLUS II

Edit by: CUSTOM ENGINEERING S.p.A. Str. Berettine 2-43010 Fontevivo (PARMA) - Italy http: www.custom.biz All rights reserved 2 Command Reference

Introduction 1 INTRODUCTION 1.1 Command description Each command reported in this manual is described as shown in the following picture. In the fi rst heading line (grey colour) is reported the hexadecimal command value. In the second heading line are listed the models of printer on which it is possible to use the command (for example model AAAA). The next fi elds give all the information useful to use the command. Command title [Format] ASCII, hexadecimal and decimal command value. [Range] Limits of the values the command and its variables can take [Description] Description of command function Additional information about command use and settings. Default value of the command and its variables. Pertaining commands related to described command. 1 HEADING: Command title 2 HEADING: Models that use the command $0D [Format] [Range] [Description] AAAA, BBBB, CCCC Print and carriage return ASCII CR Hex 0D Decimal 13 When autofeed is CR enabled, this command functions in the same way as $0A, otherwise it is disregarded. This command sets the print position to the beginning of the Information line. valid for models AAAA, BBBB, CCC AAAA, BBBB Information valid for models This command sets the print position to the beginning AAAA, of the BBBB line. CCC CC This command is immediately executed even when Information the data valid buffer for model is full. CCCC This status is transmitted whenever data sequence is received. $0A X Y The information reported in the picture are aligned with line X or line Y: LINE X Description valid for all the models listed in the second heading line. LINE Y Description valid for a specifi c model (written in bold). LEGEND $ indicates the representation of the command hexadecimal value (for example $40 means HEX 40). { } indicates an ASCII character not performable. n, m, t, x, y are optional parameters that can have different values. Command Reference 3

Introduction 1.2 Print direction The printer has two printing direction which can be selected by means of the control characters: normal e reverse. 1234567890 abcdefghilmnopqrs ABCDEFGHILMNOPQRS 1234567890 abcdefghilmnopqrs ABCDEFGHILMNOPQRS PAPER OUTFEED DIRECTION Normal Mode Reverse Mode 4 Command Reference

PLUS II Emulation 2 PLUS II EMULATION The following table lists all the commands for function management in PLUS II Emulation of the printer. The commands can be transmitted to the printer at any moment, but they will only be carried out when the commands ahead of them have been executed. The commands are carried out when the circular buffer is free to do so. COMMAND DESCRIPTION TABLE Com. HEX Com. ASCII Description PRINT COMMANDS $0A Forward feeds on line $0B Forward feeds (n) lines $1B $41 ESC A nh nl Executes (n) dots line feed CHARACTER COMMANDS $00 Prints in small characters $01 Prints in double width $02 Prints in double height $03 Expanded printing $04 Restore small character printing $1B $49 ESC I Selects 24 columns $1B $4E ESC N Set normal mode printing $1B $51 ESC Q Enable underlining $1B $52 ESC R Set reverse mode printing $1B $68 ESC h Selects 42 columns $1B $69 ESC i Selects 40 columns $1B $71 ESC q Disable underlining BARCODE COMMANDS $1B $63 ESC c Management of bar code printing STATUS COMMANDS $1B $76 ESC v Transmits printer status MISCELLANEOUS COMMANDS $0D Print line buffer $0F Set CRLF mode $11 Graphic mode $1B $30 ESC 0 Switch off the printer $1B $40 ESC @ Resets the printer $1B $4B ESC K Turn on/off the status led $1B $4D ESC M Writes value (dd) in print mode $1B $57 ESC W Print graphic line of 204 dpi $1B $61 ESC a Selects number of dot spaces $1B $6D ESC m Transmit print mode in serial $1B $73 ESC s Transmits next character in serial $1B $FA ESC { } Prints graphic $1D $24 GS $ Set absolutes shift into a graphic line $1D $49 GS I Transmits the printer ID $1D $55 GS U Resets printer parameters to default value $1D $57 GS W Print n byte of a 204 dpi graphic line Tab.1 Command Reference 5

PLUS II Emulation Given below are more detailed descriptions of each command. $00 Small character printing. [Format] ASCII - Hex 00 Decimal 0 [Description] The printer prints in small characters (normal) The commands from $00 to $09 do not cancel the print buffer The commands which modify the direction of the characters are only active at the beginning of the line Setting in option register by means of front keys $01, $02, $03, $04, $1B $4D $01 Double width printing. [Format] ASCII - Hex 01 Decimal 1 [Description] The printer prints in double width format The commands from $00 to $09 do not cancel the print buffer. The commands which modify the direction of the characters are only active at the beginning of the line. Setting in option register by means of front keys $00, $02, $03, $04, $1B $4D $02 Double height printing. [Format] ASCII - Hex 02 Decimal 2 [Description] The printer prints in double height format The commands from $00 to $09 do not cancel the print buffer. The commands which modify the direction of the characters are only active at the beginning of the line. Setting in option register by means of front keys. $00, $01, $03, $04, $1B $4D 6 Command Reference

PLUS II Emulation $03 Expanded printing. [Format] ASCII - Hex 03 Decimal 3 [Description] The printer prints in expanded character mode. Commands from $00 to $09 do not cancel the print buffer. The commands which modify the dimensions of the characters are only active at the beginning of the line. Setting in the option register by means of the front keys. $00, $01, $02, $04, $1B $4D $04 Restore small character printing. [Format] ASCII - Hex 04 Decimal 4 [Description] The printer resumes printing with small characters. The commands from $00 to $09 do not cancel the print buffer. the commands which modify the dimensions of the characters are only active at the beginning of the line. Setting in the option register by means of the front keys $00, $01, $02, $03, $1B $4D $0A Forward feeds one line. [Format] ASCII - Hex 0A Decimal 10 [Description] Forward feeds one line equivalent to a line of print. $0B This command brings about the printing of the contents of the line buffer. If the line buffer is empty this command executes a line feed of 24 dots (= 3 mm). If the line buffer contains text the line feed is = (character height + spacing) dots ( default = 4 mm). Command Reference 7

PLUS II Emulation $0B Forward feeds (n) lines. [Format] ASCII - Hex (n) 0B Decimal (n) 11 [Description] Carries out the number of line feeds specifi ed in (n). The number must be ASCII and between 0 and 9 (when n=0 the command is ignored) This command clears the line buffer. $0A To forward feed fast, 5 lines at a time: $35 $0B (or 5 and the command $0B) $0D Print the line buffer. [Format] ASCII { } Hex 0D Decimal 13 [Description] This command prints the line buffer. $0F If the line buffer is empty, the command is ignored. If the CRLF option is set, this command is ignored and printing can only be ordered through the command $0A. $0F Set CRLF mode. [Format] ASCII - Hex 0F Decimal 15 [Description] Inhibits the command $0D maintaining enabled only the command $0A for printing. To disable this option, reset the printer. This command clears the line buffer. On switching on the default value is in the Option Register. Setting in the option register by means of the front keys. $0D 8 Command Reference

PLUS II Emulation $11 Graphic mode. [Format] ASCII - Hex 11 Decimal 17 [Description] Enables graphic mode: a line in 24 column mode corresponds to 144 horizontal dots divided into 24 blocks of 6 dots each; a line in 40 column mode corresponds to 240 horizontal dots divided into 40 blocks of 6 dots each. To obtain graphic printing, enter the command $11 at the beginning of each line. The format of the byte in graphic confi guration is: X R P6 P5 P4 P3 P2 P1 D7 D6 D5 D4 D3 D2 D1 D0 where: X is not used (0 is recommended); R must be fi xed at level 1; P1,..P6 are the graphic dot data (1 prints, 0 does not print). The P6 bit of the string of dots transmitted is printed on the left and the others follow from left to right (P5, P4, P3, P2, P1) as shown: 1st byte è 2nd byte è 3rd byte è P6 P5 P4 P3 P2 P1 P6 P5 P4 P3 P2 P1 P6 P5 P4 P3 P2 P1 To print a line of dots, transmit: $11, n x $7F (where n is the number of characters per line), $0D. To print an empty line, transmit: $11, $40, $0D. $1B $30 Switch-off the printer. [Format] ASCII ESC 0 Hex 1B 30 Decimal 27 48 [Description] Switch off the printer and bring it back to low-consumption mode if was disabled the Auto POWER-ON function. Command Reference 9

PLUS II Emulation $1B $40 Resets the printer. [Format] ASCII ESC @ Hex 1B 40 Decimal 27 64 [Description] Cancels all the data in the print buffer and resets the printer mode, restoring the mode which was enabled at the moment of switching on. Same as hardware reset. After the command has been transmitted, 1.5 seconds elapse before the printer is enabled. $1B $41 Executes (n) dots line feed. [Format] ASCII ESC A nh nl Hex 1B 41 nh nl Decimal 27 65 nh nl [Range] 0 nh, nl 255 [Description] Executes (N) dots line feed where N = 256 x nh + nl. 1 mm = 8 dot line. The maximum paper line feed value is about 1 m. To forward feed 40mm send this sequence: $1B $41 $01 $40 (the ESC A command with 40mm x 8dot) $1B $49 Selects 24 columns. [Format] ASCII ESC I Hex 1B 49 Decimal 27 73 [Description] On receiving this command, the printer enters 24-column per line printing mode. $1B $69, $1B $68 10 Command Reference

PLUS II Emulation $1B $4B Turn on/off the status led [Format] ASCII ESC K n Hex 1B 4B n Decimal 27 75 n [Range] n = 0 n = 1 [Description] Turns the status led on or off, based on the following values of n: n = 0 n = 1 n=1 1 Turns off status led Turns on status led $1B $4D Writes the value (dd) in the print mode. [Format] ASCII dh dl ESC M Hex dh dl 1B 4D Decimal dh dl 27 77 [Range] dh = 48 48 dl 51 [Description] Sets the print mode default parameters. ASCII characters (dd) identify an hexadecimal byte as follow: $00 small character printing $01 double width printing $02 double height printing $03 expanded printing Setting in option register by means of front keys. $00, $02, $03, $04, $1B $6D For double height printing, transmit: $30 $32 $1B $4D $1B $4E Set normal mode printing. [Format] ASCII ESC N Hex 1B 4E Decimal 27 78 [Description] Select normal mode printing:the receipt feeds out of the printer with the printing upside down running from right to left. Setting in option register by means of front keys $1B $52 Command Reference 11

PLUS II Emulation $1B $51 Enable underlined printing. [Format] ASCII ESC Q Hex 1B 51 Decimal 27 81 [Description] After this command has been received, the characters are printed underlined. [Note] $1B $71 $1B $52 Set reverse mode printing. [Format] ASCII ESC R Hex 1B 52 Decimal 27 82 [Description] Selects printing in reverse mode: the receipt feeds out of the printer with the printing in normal mode running from left to right. Setting in option register by means of front keys. $1B $4E $1B $57 Prints a graphic line at 203 dpi. [Format] ASCII ESC W Hex 1B 57 Decimal 27 87 [Description] [Defaul] After receiving this command, the printer waits for 48 bytes which correspond to an entire graphic line. In fact, 48 bytes of 8 bits each correspond to 384 dots per line. 12 Command Reference

PLUS II Emulation $1B $61 Selects the number of dot spaces. [Format] ASCII (dd) ESC a Hex (dd) 1B 61 Decimal (dd) 27 97 [Description] By using (dd) parameters it s possible to select the dot line number between one print line and another. (dd) are two ASCII characters (selected between 0, 1... 9, A, B... F ) which identifi es number from 0 to 127 in hexadecimal form and corresponds to the number of dot lines between one print line and another. The acceptable range is from $00 to $7FH. 0 $1B $63 Management of bar code printing. [Format] ASCII ESC c [code] [height] [position] [options] [length] [data] Hex 1B 63 Decimal 27 99 [Description] This command executes a barcode printing with the following settings: [ASCII code] Type of bar code: I Interleaved 2/5 C Code 39 B CodaBar e EAN8 E EAN13 [height] Number of dot lines in 1/8 mm. units. [position] Left hand margin, expressed in 1/8 mm. units [options] Specify the bar code options trough a byte. In the following tables are listed all the possible values of single bit inside of byte: BIT 0 FUNCTION DESCRIPTION 0 Check digit is not printed Check digit 1 Check digit is printed BIT 1 FUNCTION DESCRIPTION - Not used - BIT 3 BIT 2 FUNCTION DESCRIPTION 0 0 None 0 1 Above HRI Position 1 0 Below 1 1 Above & below Command Reference 13

PLUS II Emulation BIT 5 BIT 4 FUNCTION DESCRIPTION 0 0 Normal 0 1 Double 1 0 Triple 1 1 Not used Barcode width BIT 6 FUNCTION DESCRIPTION - Not used - BIT 7 FUNCTION DESCRIPTION - Not used - [length] [data] Specify the characters number to print trough a byte; in following are listed the maximum lenghts allowed: Interleaved 2/5 = 12 characters Code 39 = 10 characters CodaBar = 10 characters EAN8 = 7 characters EAN13 = 12 characters Specify the characters to print expressed in ASCII. For EAN8 and EAN13 barcodes the check digit is automatic. When CODE 39 barcode is used with triple width function, if 6 characters + check digit are sent the print limits are exceeded, so the barcode can t be printed. In the following example is indicated the command sequence to print a barcode: $1B, N, $1B, c, C, $50, $3C, $14, $04, PLUS where: $1B, N (sets the printing in normal mode) $1B, c, (bar code printing command) C, (barcode type = Code 39) $50, (barcode heigth = 10 mm) $3C, (starting position = 7,5 mm) $14, (HRI printing below, barcode width double) $04, (characters number to print) PLUS (characters to print) 14 Command Reference

PLUS II Emulation $1B $68 Selects 42 columns. [Format] ASCII ESC h Hex 1B 68 Decimal 27 104 [Description] On receiving this command, the printer enters 42-column per line printing mode. $1B $49, $1B $69 $1B $69 Selects 40 columns. [Format] ASCII ESC i Hex 1B 69 Decimal 27 105 [Description] On receiving this command, the printer enters 40-column per line printing mode. $1B $49, $1B $68 $1B $6D Transmits the print mode in serial. [Format] ASCII ESC m Hex 1B 6D Decimal 27 109 [Description] Transmits the print mode confi guration on the serial port. If the printer is using the parallel protocol, nothing will be transmitted. If the print mode setting is $04 the printer answer $30 $30 (normal character). Setting in the option register by means of the front keys. The response is on two bytes. For example if you receive: $30, $32 it means that printing is in double height mode Command Reference 15

PLUS II Emulation $1B $71 Disable underlined printing. [Format] ASCII ESC q Hex 1B 71 Decimal 27 113 [Description] Disable underlined printing $1B $51 $1B $73 Transmits the next character in serial. [Format] ASCII ESC s Hex 1B 73 Decimal 27 115 [Description] Transmits the next character it receives on the serial port. If you transmit: $1B $73 $41 the last character, A ($41), will not be printed but immediately transmitted on the serial line. $1B $76 Transmit paper sensor status. [Format] ASCII ESC v Hex 1B 76 Decimal 27 118 [Description] When this command is received, transmit the current status of the paper sensor. This command is executed immediately, even when the data buffer is full (Busy). The status to be transmitted is shown in the table below: 16 Command Reference

PLUS II Emulation Bit Off/On Hex Decimal Function 0,1 Off 00 0 Cover close, paper present. On 03 3 Cover open or paper sensor not working. 2,3 Off 00 0 Paper-end sensor: paper present. On 0C 12 Paper-end sensor: paper not present. 4 Off 00 0 Not used. Fixed to Off. 5 Off 00 0 Head temperature correct. On 20 32 Head temperature error. 6 Off 00 0 Supply voltage correct. On 40 64 Supply voltage error. 7 Off 00 0 Not used. Fixed to Off. $1B $FA Print graphic bank ( 384 x 85 dots). [Format] ASCII ESC {} n1 n2 Hex 1B FA n1 n2 Decimal 27 250 n1 n2 [Range] 0 n1, n2 255 [Description] Prints the graphics bank from fl ash. n1 specifi es the starting dot line (1 85). n2 specifi es the number of lines to print. If n1 + n2 > 85 the printer only prints 85 - n1 + 1 dotlines. To print the graphic bank from dotline 10 to dotline 40, send: $1B $FA $0A $1E $1D $24 Set absolute shift into a graphic line. [Format] ASCII GS $ n Hex 1D 24 n Decimal 29 36 n [Range] 0 n 47 [Description] Set the print beginning position into a graphic line based on the current value of n that indicate the byte number of shift from left margin. Settings outside the specifi ed printable area are ignored. Command Reference 17

PLUS II Emulation $1D $49 Transmit printer ID. [Format] ASCII GS I n Hex 1D 49 n Decimal 29 73 n [Range] 1 n 3, 49 n 51 [Description] Transmits the printer ID specifi ed by n follows: n PRINTER ID SPECIFICATION 1, 49 Printer model ID $9F 2, 50 Not used Fixed on $00 3, 51 ROM version ID Dipends on ROM (4 car) This command is executed when the data is processed in the data buffer. Therefore, there could be a time lag between command reception and data transmission, depending on data buffer status. $1D $55 Resets the printer parameters to default. [Format] ASCII GS U Hex 1D 55 Decimal 29 85 [Description] Resets the printer parameters to the default confi guration. After executing this command the printer is initialized. 18 Command Reference

PLUS II Emulation $1D $57 Prints n byte of a 200 dpi graphic line. [Format] ASCII GS W n d1...dn Hex 1D 57 n d1...dn Decimal 29 87 n d1...dn [Range] 1 n 48 0 d1 dn 255 [Description] Print n byte of a 200 dpi graphic line where: n specifi es the number of byte to print; d1...dn specify the bytes to print. If the bit image data input exceeds the number of dots to be printed on a line, the excess data are processed as printable characters. d indicates the bit image data. Set a corresponding bit to 1 to print a dot, or to 0 to not print the dot. This command is not affected by the emphasized, double-strike, underline (etc.) print modes and the upside-down mode. For printing 12 bytes the command sequence is: $1D $57 $0C $FF $00 $FF $00 $FF $00 $FF $00 $FF $00 $FF $00 Command Reference 19

3 ESC/POS TM EMULATION The following table lists all the commands for function management in ESC/POS Emulation of the printer. The commands can be transmitted to the printer at any moment, but they will only be carried out when the commands ahead of them have been executed. The commands are carried out when the circular buffer is free to do so. COMMAND DESCRIPTION TABLE HEX ASCII Description PRINT COMMANDS $0A LF Print and line feed $0A Forward feeds on line $0B Forward feeds (n) lines $0D CR Print and carriage return $1B $41 ESC A Executes (n) dots line feed $1B $64 ESC d Print and feed paper n lines LINE SPACING COMMANDS $1B $32 ESC 2 Select 1/6-inch line spacing $1B $33 ESC 3 Set line spacing using minimum units CHARACTER COMMANDS $00 Prints in small characters $01 Prints in double width $02 Prints in double height $03 Expanded printing $04 Restore small character printing $1B $20 ESC SP Set right-side character spacing $1B $21 ESC! Set print mode $1B $24 ESC $ Set absolute print position $1B $2A ESC * Select image print mode $1B $2D ESC - Turn underline mode on/off $1B $45 ESC E Turn emphasized mode on/off $1B $47 ESC G Turn double-strike mode on/off $1B $49 ESC I Selects 24 columns $1B $4D ESC M Select character font $1B $4E ESC N Set normal mode printing $1B $51 ESC Q Enable underlining $1B $52 ESC R Set reverse mode printing $1B $52 ESC R Select international character set $1B $56 ESC V Set 90 rotated print mode $1B $68 ESC h Selects 42 columns $1B $69 ESC i Selects 40 columns $1B $71 ESC q Disable underlining $1B $74 ESC t Select character code table $1B $7B ESC { Set/cancel upside-down character printing $1D $21 GS! Select character size $1D $42 GS B Turn white/black reverse printing mode on/off Tab.2 20 Command Reference

BARCODE COMMANDS $1B $63 ESC c Management of bar code printing $1D $48 GS H Select printing position of HRI characters $1D $68 GS h Select height of barcode $1D $6B GS k Print barcode $1D $77 GS w Select horizontal side (enlargement) of barcode STATUS COMMANDS $10 $04 DLE EOT Real-time status transmission $1B $76 ESC v Transmit paper sensor status $1B $76 ESC v Transmit printer status $1D $72 GS r Transmit status PRINT POSITION COMMANDS $09 HT Horizontal tab $1B $44 ESC D Set horizontal tab positions $1B $5C ESC \ Set relative print position $1B $61 ESC a Select justifi cation $1D $4C GS L Set left margin $1D $50 GS P Set horizontal and vertical motion unit $1D $57 GS W Set printing area width MISCELLANEOUS COMMANDS $0D Print line buffer $0F Set CRLF mode $11 Graphic mode $1B $30 ESC 0 Switch off the printer $1B $3D ESC = Select peripherals device $1B $40 ESC @ Resets the printer $1B $4A ESC J Print and paper feed $1B $4B ESC K Turn on/off the status led $1B $4D ESC M Writes value (dd) in print mode $1B $57 ESC W Print graphic line of 204 dpi $1B $61 ESC a Selects number of dot spaces $1B $6D ESC m Transmit print mode in serial $1B $73 ESC s Transmits next character in serial $1B $FA ESC { } Prints graphic $1D $24 GS $ Set absolutes shift into a graphic line $1D $2A GS * Download logo extra $1D $49 GS I Transmit printer ID $1D $55 GS U Resets printer parameters to default value $1D $57 GS W Print n byte of a 204 dpi graphic line $1D $70 GS p Print logo Command Reference 21

Given below are more detailed descriptions of each command. $00 PLUS II-S, PLUS II-S-0004, PLUS II-T, PLUS II-C, PLUS II-C-0004, PLUS II-P Small character printing. [Format] ASCII - Hex 00 Decimal 0 [Description] The printer prints in small characters (normal) The commands from $00 to $09 do not cancel the print buffer The commands which modify the direction of the characters are only active at the beginning of the line Setting in option register by means of front keys $01, $02, $03, $04, $1B $4D $01 PLUS II-S, PLUS II-S-0004, PLUS II-T, PLUS II-C, PLUS II-C-0004, PLUS II-P Double width printing. [Format] ASCII - Hex 01 Decimal 1 [Description] The printer prints in double width format The commands from $00 to $09 do not cancel the print buffer. The commands which modify the direction of the characters are only active at the beginning of the line. Setting in option register by means of front keys $00, $02, $03, $04, $1B $4D $02 PLUS II-S, PLUS II-S-0004, PLUS II-T, PLUS II-C, PLUS II-C-0004, PLUS II-P Double height printing. [Format] ASCII - Hex 02 Decimal 2 [Description] The printer prints in double height format The commands from $00 to $09 do not cancel the print buffer. The commands which modify the direction of the characters are only active at the beginning of the line. Setting in option register by means of front keys. $00, $01, $03, $04, $1B $4D 22 Command Reference

$03 PLUS II-S, PLUS II-S-0004, PLUS II-T, PLUS II-C, PLUS II-C-0004, PLUS II-P Expanded printing. [Format] ASCII - Hex 03 Decimal 3 [Description] The printer prints in expanded character mode. Commands from $00 to $09 do not cancel the print buffer. The commands which modify the dimensions of the characters are only active at the beginning of the line. Setting in the option register by means of the front keys. $00, $01, $02, $04, $1B $4D $04 PLUS II-S, PLUS II-S-0004, PLUS II-T, PLUS II-C, PLUS II-C-0004, PLUS II-P Restore small character printing. [Format] ASCII - Hex 04 Decimal 4 [Description] The printer resumes printing with small characters. The commands from $00 to $09 do not cancel the print buffer. the commands which modify the dimensions of the characters are only active at the beginning of the line. Setting in the option register by means of the front keys $00, $01, $02, $03, $1B $4D $09 Horizontal tab. [Format] ASCII HT Hex 09 Decimal 9 [Range] [Description] Moves the print position to the next horizontal tab position. $1B $44 Ignored unless the next horizontal tab position has been set. If the command is received when the printing position is at the right margin, the printer executes print buffer full printing and horizontal tab processing from the beginning of the next line. Horizontal tab positions are set using $1B $44. Command Reference 23

$0A Print and line feed. [Format] ASCII LF Hex 0A Decimal 10 [Range] [Description] Prints the data in the buffer and feeds one line based on the current line spacing. Sets the print position to the beginning of the line. If the buffer is empty, the printing feeds of (character height + spacing gap) dot. (default 32 dot). $1B $32, $1B $33, $0D $0A PLUS II-S, PLUS II-S-0004, PLUS II-T, PLUS II-C, PLUS II-C-0004, PLUS II-P Forward feeds one line. [Format] ASCII - Hex 0A Decimal 10 [Description] Forward feeds one line equivalent to a line of print. $0B This command brings about the printing of the contents of the line buffer. If the line buffer is empty this command executes a line feed of 24 dots (= 3 mm). If the line buffer contains text the line feed is = (character height + spacing) dots ( default = 4 mm). $0B PLUS II-S, PLUS II-S-0004, PLUS II-T, PLUS II-C, PLUS II-C-0004, PLUS II-P Forward feeds (n) lines. [Format] ASCII - Hex (n) 0B Decimal (n) 11 [Description] Carries out the number of line feeds specifi ed in (n). The number must be ASCII and between 0 and 9 (when n=0 the command is ignored) This command clears the line buffer. $0A To forward feed fast, 5 lines at a time: $35 $0B (or 5 and the command $0B) 24 Command Reference

$0D Print and carriage return. [Format] ASCII CR Hex 0D Decimal 13 [Range] [Description] When autofeed is CR enabled, this command functions in the same way as $0A, otherwise it is disregarded. Sets the print position to the beginning of the line. See Autofeed in setup parameter. $0A $0D PLUS II-S, PLUS II-S-0004, PLUS II-T, PLUS II-C, PLUS II-C-0004, PLUS II-P Print the line buffer. [Format] ASCII - Hex 0D Decimal 13 [Description] This command prints the line buffer. $0F If the line buffer is empty, the command is ignored. If the CRLF option is set, this command is ignored and printing can only be ordered through the command $0A. $0F PLUS II-S, PLUS II-S-0004, PLUS II-T, PLUS II-C, PLUS II-C-0004, PLUS II-P Set CRLF mode. [Format] ASCII - Hex 0F Decimal 15 [Description] Inhibits the command $0D maintaining enabled only the command $0A for printing. To disable this option, reset the printer. This command clears the line buffer. On switching on the default value is in the Option Register. Setting in the option register by means of the front keys. $0D Command Reference 25

$10 $04 Real-time status transmission. [Format] ASCII DLE EOT n Hex 10 04 n Decimal 16 4 n [Range] 1 n 4; n=20 [Description] Transmits the selected printer status specifi ed by n in real time according to the following parameters: n = 1 transmit printer status n = 2 transmit off-line status n = 3 transmit error status n = 4 transmit paper roll sensor status n = 20 transmit full status Immediately executed even when the data buffer is full. This status is transmitted whenever data sequence $10 $04 n (1 n 4) is received. n=1: Printer status BIT OFF/ON HEX Decimal FUNCTION 0 Off 00 0 Not used. Fixed to Off. 1 On 02 2 Not used. Fixed to On. 2 Off 00 0 Not used. Fixed to Off. 3 Off 00 0 On-line. On 08 8 Off-line. 4 On 10 16 Not used. Fixed to On. 5 - - - Undefi ned. 6 Off 00 0 Key realised. On 40 64 Key pressed. 7 Off 00 0 Not used. Fixed to Off. n=2: Off-line status BIT OFF/ON HEX Decimal FUNCTION 0 Off 00 0 Not used. Fixed to Off. 1 On 02 2 Not used. Fixed to On. 2 Off 00 0 Not used. Fixed to Off. 3 Off 00 0 Paper is not being fed by FEED button. On 08 8 Paper is being fed by FEED button. 4 On 10 16 Not used. Fixed to On. 5 Off 00 0 No paper end stop. On 20 32 Printing stops due to paper end. 6 Off 00 0 No error On 40 64 Error 7 Off 00 0 Not used. Fixed to Off. 26 Command Reference

n=3: Error status BIT OFF/ON HEX Decimal FUNCTION 0 Off 00 0 Not used. Fixed to Off. 1 On 02 2 Not used. Fixed to On. 2 Off 00 0 Not used. Fixed to Off. 3 Off 00 0 Not used. Fixed to Off. 4 On 10 16 Not used. Fixed to On. 5 Off 00 0 Not used. Fixed to Off. 6 Off 00 0 No auto-recoverable error. On 40 64 Auto-recoverable error (overtemperature, parity, wrong command). 7 Off 00 0 Not used. Fixed to Off. n=4: Paper roll sensor status BIT OFF/ON HEX Decimal FUNCTION 0 Off 00 0 Not used. Fixed to Off. 1 On 02 2 Not used. Fixed to On. 2 Off 00 0 Not used. Fixed to Off. 3 Off 00 0 Not used. Fixed to Off. 4 On 10 16 Not used. Fixed to On. 5, 6 On 60 96 Fixed to On. Paper end detected by paper end sensor. 7 Off 00 0 Not used. Fixed to Off. n=20: FULL status (6 bytes) 1 Byte = $10 (DLE) BIT OFF/ON HEX Decimal FUNCTION 0 Off 00 0 Paper present. On 01 1 Paper not present. 1 - - - RESERVED 2 Off 00 0 Not used. Fixed to Off. 3 - - - RESERVED 4 - - - RESERVED 5 - - - RESERVED 6 - - - RESERVED 7 - - - RESERVED Command Reference 27

2 Byte = User status BIT OFF/ON HEX Decimal FUNCTION 0 Off 00 0 Not used. Fixed to Off. 1 Off 00 0 Not used. Fixed to Off. 2 Off 00 0 No spooling On 04 4 Spooling 3 Off 00 0 Drag paper motor off On 08 8 Drag paper motor on 4 - - - RESERVED 5 Off 00 0 LF Key released On 20 32 LF Key pressed 6 - - - Undefi ned. - - - Undefi ned. 7 - - - RESERVED 3 Byte = Error status recoverable BIT OFF/ON HEX Decimal FUNCTION 0 Off 00 0 Head temperature ok. On 01 1 Head temperature error. 1 Off 00 0 No COM error. On 02 2 RS232 COM error. 2 - - - RESERVED 3 Off 00 0 Power supply voltage ok On 08 8 Power supply voltage error 4 - - - RESERVED 5 Off 00 0 Acknowledge command On 20 32 Not ackowledge command error 6 - - - RESERVED 7 - - - Undefi ned. - - - Undefi ned. 4 Byte = Error status recoverable BIT OFF/ON HEX Decimal FUNCTION 0 - - - Undefi ned. 1 - - - RESERVED 2 - - - Undefi ned. 3 - - - Undefi ned. 4 - - - RESERVED 5 - - - RESERVED 6 - - - Undefi ned. 7 - - - RESERVED 28 Command Reference

$11 PLUS II-S, PLUS II-S-0004, PLUS II-T, PLUS II-C, PLUS II-C-0004, PLUS II-P Graphic mode. [Format] ASCII - Hex 11 Decimal 17 [Description] Enables graphic mode: a line in 24 column mode corresponds to 144 horizontal dots divided into 24 blocks of 6 dots each; a line in 40 column mode corresponds to 240 horizontal dots divided into 40 blocks of 6 dots each. To obtain graphic printing, enter the command $11 at the beginning of each line. The format of the byte in graphic confi guration is: X R P6 P5 P4 P3 P2 P1 D7 D6 D5 D4 D3 D2 D1 D0 where: X is not used (0 is recommended); R must be fi xed at level 1; P1,..P6 are the graphic dot data (1 prints, 0 does not print). The P6 bit of the string of dots transmitted is printed on the left and the others follow from left to right (P5, P4, P3, P2, P1) as shown: 1st byte è 2nd byte è 3rd byte è P6 P5 P4 P3 P2 P1 P6 P5 P4 P3 P2 P1 P6 P5 P4 P3 P2 P1 To print a line of dots, transmit: $11, n x $7F (where n is the number of characters per line), $0D. To print an empty line, transmit: $11, $40, $0D. $1B $20 Set right-side character spacing. [Format] ASCII ESC SP n Hex 1B 20 n Decimal 27 32 n [Range] 0 n 255 [Description] Sets the character spacing for the right side of the character to [n x horizontal or vertical motion units]. The right character spacing for double-width mode is twice the normal value. When the characters are enlarged, the right side character spacing is m (2 or 8) times the normal value. The horizontal and vertical motion units are specifi ed by $1D $50. Changing the horizontal or vertical motion units does not affect the current right side spacing. The $1D $50 command can change the horizontal (and vertical) motion unit. However, the value cannot be less than the minimum horizontal movement amount. The maximum right side character spacing is 32 mm. In standard mode, the horizontal motion unit is used. n = 0 $1D $50 Command Reference 29

$1B $21 Set print mode. [Format] ASCII ESC! n Hex 1B 21 n Decimal 27 33 n [Range] 0 n 255 [Description] Selects print modes using n (see table below): BIT OFF/ON HEX Decimal FUNCTION 12/17 cpi 17/22 cpi 0 Off 00 0 Character font A selected. 16 x 24 12 x 24 On 01 1 Character font B selected. 12 x 24 9 x 24 1 - - - Undefi ned. 2 - - - Undefi ned. 3 4 5 6 7 Off 00 0 Expanded mode not selected. On 08 8 Expanded mode selected. Off 00 0 Double-height mode not selected. On 10 16 Double-height mode selected. Off 00 0 Double-width mode not selected. On 20 32 Double-width mode selected. Off 00 0 Italic mode not selected. On 40 64 Italic mode selected. Off 00 0 Underline mode not selected. On 80 128 Underline mode selected. The printer can underline all characters, but cannot underline the spaces set by $09, $1B $24, $1B $5C and 90 /270 rotated characters. This command resets the left and right margin at default value (see $1D $4C, $1D $57). $1B $45 can also be used to turn the emphasized mode on/off. However, the last-received setting command is the effective one. $1B $2D can also be used to turn the underlining mode on/off. However, the last-received setting command is the effective one. $1D $21 can also be used to select character height/width. However, the last-received setting command is the effective one. n = 0 $1B $2D, $1B $45, $1D $21 30 Command Reference

$1B $24 Set absolute print position. [Format] ASCII ESC $ nl nh Hex 1B 24 nl nh Decimal 27 36 nl nh [Range] 0 nl 255 0 nh 255 [Description] Sets the distance from the beginning of the line to the position at which subsequent characters are to be printed. The distance from the beginning of the line to the print position is [(nl + nh * 256) * (vertical or horizontal motion unit)] inches. Settings outside the specifi ed printable area are ignored. The horizontal and vertical motion unit are specifi ed by $1D $50. $1D $50 can change the horizontal (and vertical) motion unit. However, the value cannot be less than the minimum horizontal movement amount. In standard mode, the horizontal motion unit (x) is used. If the setting is outside the printing area width, it sets the absolute print position, but the left or right margin is set at default value. $1B $5C, $1D $50 $1B $2A Select image print mode. [Format] ASCII ESC * m nl nh d1...dk Hex 1B 2A m nl nh d1...dk Decimal 27 42 m nl nh d1...dk [Range] m = 0, 1, 32, 33 0 nl 255 0 nh 3 0 d 255 [Description] Selects a bit image mode using m for the number of dots specified by nl and nh, as follows: m MODE VERTICAL DIRECTION HORIZONTAL DIRECTION (*1) N. dots DPI DPI N. data (k) 0 8 dot single density 8 67 100 nl + nh x 256 1 8 dot double density 8 67 200 nl + nh x 256 32 24 dot single density 24 200 100 (nl + nh x 256) x 3 33 24 dot double density 24 200 200 (nl + nh x 256) x 3 The nl and nh commands indicate the number of dots of the bit image in the horizontal direction. The number of dots is calculated using: nl + nh * 256. If the bit image data input exceeds the number of dots to be printed on a line, the excess data is ignored. d indicates the bit image data. Set a corresponding bit to 1 to print a dot, or to 0 to not print the dot. If the value of m is outside the specifi ed range, nl and data following it are processed as normal data. If the width of the printing area set by $1D $4C and $1D $57 is less than the width required by the data set using $1B $2A, the excess data are ignored. Command Reference 31

To print the bit image use $0A $0D, $1B $4A or $1B $64. After printing a bit image, the printer returns to normal data processing mode. This command is not affected by the emphasized, double-strike, underline (etc.) print modes, except for the upside-down mode. The relationship between the image data and the dots to be printed is as follows: 8-dot bit image 24-dot bit image MSB d1 d4 d7 MSB d1 d2 d3 Bitimage data d2 d5 d8 Bitimage data LSB d3 d6 d9 LSB Print data Print data $1B $2D Turn underline mode on/off. [Format] ASCII ESC - n Hex 1B 2D n Decimal 27 45 n [Range] 0 n 2, 48 n 50 [Description] Turns underline mode on or off, based on the following values of n: n = 0, 48 n = 1, 49 n = 2, 50 Turns off underline mode Turns on underline mode (1-dot thick) Turns on underline mode (2-dot thick) The printer can underline all characters, but cannot underline the space and right-side character spacing (command $09). The printer cannot underline 90 /270 rotated characters and white/black inverted characters. When underline mode is turned off by setting the value of n to 0 or 48, the data which follows is not underlined. Underline mode can also be turned on or off by using $1B $21. Note, however, that the last received command is the effective one. n=0 $1B $21 32 Command Reference

$1B $30 PLUS II-S-0004 Switch-off the printer. [Format] ASCII ESC 0 Hex 1B 30 Decimal 27 48 [Description] Switch off the printer and bring it back to low-consumption mode if was disabled the Auto POWER-ON function. This command is executed only when the JP8 jumper is open. $1B $32 Select 1/6-inch line spacing. [Format] ASCII ESC 2 Hex 1B 32 Decimal 27 50 [Range] [Description] Selects 1/6-inch line spacing. $1B $33 $1B $33 Set line spacing using minimum units. [Format] ASCII ESC 3 n Hex 1B 33 n Decimal 27 51 n [Range] 0 n 255 [Description] Sets line spacing to [ n * (vertical or horizontal motion unit)] inches. The horizontal and vertical motion unit are specified by $1D $50. Changing the horizontal or vertical motion unit does not affect the current line spacing. The $1D $50 command can change the horizontal (and vertical) motion unit. However, the value cannot be less than the minimum vertical movement amount. In standard mode, the vertical motion unit is used. The maximum spacing is 32,5 mm. n = 64 (1/6 inch) $1B $32, $1D $50 Command Reference 33

$1B $3D Select peripherals device. [Format] ASCII ESC = n Hex 1B 3D n Decimal 27 61 n [Range] 1 n 3 [Description] Select the device to which the host computer sends data, using n as follows: n = 1, n = 3 n = 2 Printer Enable Printer Disabled When the printer is disabled, it ignores all transmitted data until the printer is enabled through this command. When the pass-trough function is enabled, all transmitted data are send to the second serial port. n = 1 $1B $40 PLUS II-S, PLUS II-S-0004, PLUS II-T, PLUS II-C, PLUS II-C-0004, PLUS II-P Resets the printer. [Format] ASCII ESC @ Hex 1B 40 Decimal 27 64 [Description] Cancels all the data in the print buffer and resets the printer mode, restoring the mode which was enabled at the moment of switching on. Same as hardware reset. After the command has been transmitted, 1.5 seconds elapse before the printer is enabled. $1B $41 PLUS II-S, PLUS II-S-0004, PLUS II-T, PLUS II-C, PLUS II-C-0004, PLUS II-P Executes (n) dots line feed. [Format] ASCII ESC A nh nl Hex 1B 41 nh nl Decimal 27 65 nh nl [Range] 0 nh, nl 255 [Description] Executes (N) dots line feed where N = 256 x nh + nl. 1 mm = 8 dot line. The maximum paper line feed value is about 1 m. To forward feed 40mm send this sequence: $1B $41 $01 $40 (the ESC A command with 40mm x 8dot) 34 Command Reference

$1B $44 Set horizontal tab positions. [Format] ASCII ESC D n1...nk NUL Hex 1B 44 n1...nk 00 Decimal 27 68 n1...nk 0 [Range] 1 n 255 0 k 32 [Description] Sets horizontal tab positions n specifi es the column number for setting a horizontal tab position calculated from the beginning of the line. k indicates the total number of horizontal tab positions to be set. The horizontal tab position is stored as a value of [character width x n] measured from the beginning of the line. The character width includes the right-side character spacing and double-width characters are set with twice the width of normal characters. This command cancels previous tab settings. When setting n = 8, the print position is moved to column 9 sending $09. Up to 32 tab positions ( k = 32) can be set. Data exceeding 32 tab positions is processed as normal data. Send [ n ] k in ascending order and place a 0 NUL code at the end. When [ n ] k is less than or equal to the preceding value [ n ] k-1, the setting is complete and the data which follows is processed as normal data. $1B $44 00 cancels all horizontal tab positions. The previously specifi ed horizontal tab position does not change, even if the character width is modifi ed. Default tab positions are set at intervals of 8 characters (columns 9, 17, 25, ) for Font A when the right-side character spacing is 0. $09 $1B $45 Turn emphasized mode on/off. [Format] ASCII ESC E n Hex 1B 45 n Decimal 27 69 n [Range] 0 n 255 [Description] Turns emphasized mode on/off. When the LSB of n is 0, the emphasized mode is off. When the LSB of n is 1, the emphasized mode is on. n = 0 $1B $21 Only the LSB of n is effective. $1B $21 also turns on and off the emphasized mode. However, the last received command is the effective one. Command Reference 35

$1B $47 Turn double-strike mode on/off. [Format] ASCII ESC G n Hex 1B 47 n Decimal 27 71 n [Range] 0 n 255 [Description] Turns double-strike mode on or off. When the LSB of n is 0, the double-strike mode is off. When the LSB of n is 1, the double-strike mode is on. Only the LSB of n is effective. Printer output is the same in double-strike and emphasized mode. n = 0 $1B $45 $1B $49 PLUS II-S, PLUS II-S-0004, PLUS II-T, PLUS II-C, PLUS II-C-0004, PLUS II-P Selects 24 columns. [Format] ASCII ESC I Hex 1B 49 Decimal 27 73 [Description] On receiving this command, the printer enters 24-column per line printing mode. $1B $69, $1B $68 $1B $4A Print and paper feed. [Format] ASCII ESC J n Hex 1B 4A n Decimal 27 74 n [Range] 0 n 255 [Description] Prints the data in the print buffer and feeds the paper [ n * (vertical or horizontal motion unit)] inches. After printing has been completed, this command sets the print starting position to the beginning of the line. The paper feed amount set by this command does not affect the values set by $1B $32 or $1B $33. The horizontal and vertical motion units are specifi ed by $1D $50. $1D $50 can change the vertical (and horizontal) motion unit. However, the value cannot be less than the minimum vertical movement amount. In standard mode, the vertical motion unit is used. The maximum paper feed amount is 500 mm. $1D $50 36 Command Reference

$1B $4B Turn on/off the status led [Format] ASCII ESC K n Hex 1B 4B n Decimal 27 75 n [Range] n = 0 n = 1 [Description] Turns the status led on or off, based on the following values of n: n = 0 Turns off status led n = 1 Turns on status led n=1 1 $1B $4D Select character font. [Format] ASCII ESC M n Hex 1B 4D n Decimal 27 77 n [Range] n = 0, 1, 48, 49 [Description] Selects characters font. n FUNCTION 0, 48 Character font A (12 x 24) selected 1, 49 Character font B (9 x 24) selected Command Reference 37

$1B $4D PLUS II-S, PLUS II-S-0004, PLUS II-T, PLUS II-C, PLUS II-C-0004, PLUS II-P Writes the value (dd) in the print mode. [Format] ASCII dh dl ESC M Hex dh dl 1B 4D Decimal dh dl 27 77 [Range] dh = 48 48 dl 51 [Description] Sets the print mode default parameters. ASCII characters (dd) identify an hexadecimal byte as follow: $00 small character printing $01 double width printing $02 double height printing $03 expanded printing Setting in option register by means of front keys. $00, $02, $03, $04, $1B $6D For double height printing, transmit: $30 $32 $1B $4D $1B $4E PLUS II-S, PLUS II-S-0004, PLUS II-T, PLUS II-C, PLUS II-C-0004, PLUS II-P Set normal mode printing. [Format] ASCII ESC N Hex 1B 4E Decimal 27 78 [Description] Select normal mode printing:the receipt feeds out of the printer with the printing upside down running from right to left. Setting in option register by means of front keys $1B $52 $1B $51 PLUS II-S, PLUS II-S-0004, PLUS II-T, PLUS II-C, PLUS II-C-0004, PLUS II-P Enable underlined printing. [Format] ASCII ESC Q Hex 1B 51 Decimal 27 81 [Description] After this command has been received, the characters are printed underlined. [Note] $1B $71 38 Command Reference

$1B $52 PLUS II-S, PLUS II-S-0004, PLUS II-T, PLUS II-C, PLUS II-C-0004, PLUS II-P Set reverse mode printing. [Format] ASCII ESC R Hex 1B 52 Decimal 27 82 [Description] Selects printing in reverse mode: the receipt feeds out of the printer with the printing in normal mode running from left to right. Setting in option register by means of front keys. $1B $4E $1B $52 Select international character set. [Format] ASCII ESC R n Hex 1B 52 n Decimal 27 82 n [Range] 0 n 10 [Description] Selects the international character set n according to the table below: n = 0 HEX 23 24 40 5B 5C 5D 5E 60 7B 7C 7D 7E n CHARACTERS SET 0 U.S.A. # $ @ [ \ ] ^ ` { } ~ 1 France # $ à ç ^ ` é ù è 2 Germany # $ Ä Ö Ü ^ ` ä ö ü b 3 United Kingdom $ @ [ \ ] ^ ` { } ~ 4 Denmark I # $ @ Æ Æ Å ^ ` æ f å ~ 5 Sweden # É Ä Ö Å Ü é ä ö å ü 6 Italy # $ @ \ é ^ ù à ò è ì 7 Spain I Pt $ @ i Ñ ^ ` ñ } ~ 8 Japan # $ @ [ ] ^ ` { } ~ 9 Norway # É Æ Æ Å Ü é æ f å ü 10 Denmark II # $ É Æ Æ Å Ü é æ f å ü Command Reference 39

$1B $56 Set 90 rotated print mode. [Format] ASCII ESC V n Hex 1B 56 n Decimal 27 86 n [Range] 0 n 1, 48 n 49 [Description] Turns 90 rotation mode on/off. n is used as follows: n FUNCTION 0, 48 Turns off 90 rotation mode 1, 49 Turns on 90 rotation mode When underlined mode is turned on, the printer does not underline 90 rotated characters. All the same it s possible select the underline mode. Double-width and double-height commands in 90 rotation mode enlarge characters in the opposite directions from double-height and double-width commands in normal mode. n = 0 $1B $21, $1B $2D $1B $57 PLUS II-S, PLUS II-S-0004, PLUS II-T, PLUS II-C, PLUS II-C-0004, PLUS II-P Prints a graphic line at 203 dpi. [Format] ASCII ESC W Hex 1B 57 Decimal 27 87 [Description] [Defaul] After receiving this command, the printer waits for 48 bytes which correspond to an entire graphic line. In fact, 48 bytes of 8 bits each correspond to 384 dots per line. 40 Command Reference

$1B $5C Set relative print position. [Format] ASCII ESC \ nl nh Hex 1B 5C nl nh Decimal 27 92 nl nh [Range] 0 nl 255 0 nh 255 [Description] Sets the print starting position based on the current position by using the horizontal or vertical motion unit. Sets the distance from the current position to [(nl+ nh * 256) * (horizontal or vertical motion unit)]. It s possible to print further on the right margin set for every font. In this case the printing continues up to the maximum border of the printer mechanism and then begins a new row. When the starting position is specifi ed by N motion units to the right: nl + nh * 256 = N When the starting position is specifi ed by n motion units to the left (negative direction), use the complement of 65536: nl + nh * 256 = 65536 N If setting exceeds the printing area width, the left or right margin is set to the default value. The horizontal and vertical motion unit are specifi ed by $1D $50. $1D $50 can change the horizontal (and vertical) motion units. However, the value cannot be less than the minimum horizontal movement amount. In standard mode, the horizontal motion unit is used. Setting the right value, it s possible to print characters over the right edge. $1B $24, $1D $50 $1B $61 PLUS II-S, PLUS II-S-0004, PLUS II-T, PLUS II-C, PLUS II-C-0004, PLUS II-P Selects the number of dot spaces. [Format] ASCII (dd) ESC a Hex (dd) 1B 61 Decimal (dd) 27 97 [Description] By using (dd) parameters it s possible to select the dot line number between one print line and another. (dd) are two ASCII characters (selected between 0, 1... 9, A, B... F ) which identifi es number from 0 to 127 in hexadecimal form and corresponds to the number of dot lines between one print line and another. The acceptable range is from $00 to $7FH. 0 Command Reference 41

$1B $61 Select justification. [Format] ASCII ESC a n Hex 1B 61 n Decimal 27 97 n [Range] 0 n 2, 48 n 50 [Description] Aligns all data in one line to the specified position. n selects the type of justification as follows: n JUSTIFICATION 0, 48 Flush left 1, 49 Centered 2, 50 Flush right This command is only enabled when inserted at the beginning of a line. Lines are justifi ed within the specifi ed printing area. Spaces set by$09, $1B $24 and $1B $5C will be justifi ed according to the previouslyentered mode. n = 0 Flush left Centered Flush right ABC ABCD ABCDE ABC ABCD ABCDE ABC ABCD ABCDE $1B $63 PLUS II-S, PLUS II-S-0004, PLUS II-T, PLUS II-C, PLUS II-C-0004, PLUS II-P Management of bar code printing. [Format] ASCII ESC c [code] [height] [position] [options] [length] [data] Hex 1B 63 Decimal 27 99 [Description] This command executes a barcode printing with the following settings: [ASCII code] Type of bar code: I Interleaved 2/5 C Code 39 B CodaBar e EAN8 E EAN13 [height] Number of dot lines in 1/8 mm units. [position] Left hand margin, expressed in 1/8 mm units. [options] Specify the bar code options trough a byte. In the following tables are listed all the possible values of single bit inside of byte: BIT 0 FUNCTION DESCRIPTION 0 Check digit is not printed Check digit 1 Check digit is printed BIT 1 FUNCTION DESCRIPTION - Not used - 42 Command Reference

BIT 3 BIT 2 FUNCTION DESCRIPTION 0 0 None 0 1 Above HRI Position 1 0 Below 1 1 Above & below BIT 5 BIT 4 FUNCTION DESCRIPTION 0 0 Normal 0 1 Double 1 0 Triple 1 1 Not used Barcode width BIT 6 FUNCTION DESCRIPTION - Not used - BIT 7 FUNCTION DESCRIPTION - Not used - [length] [data] Specify the characters number to print trough a byte; in following are listed the maximum lenghts allowed: Interleaved 2/5 = 12 characters Code 39 = 10 characters CodaBar = 10 characters EAN8 = 7 characters EAN13 = 12 characters Specify the characters to print expressed in ASCII. For EAN8 and EAN13 barcodes the check digit is automatic. When CODE 39 barcode is used with triple width function, if 6 characters + check digit are sent the print limits are exceeded, so the barcode can t be printed. In the following example is indicated the command sequence to print a barcode: $1B, N, $1B, c, C, $50, $3C, $14, $04, PLUS where: $1B, N (sets the printing in normal mode) $1B, c, (bar code printing command) C, (barcode type = Code 39) $50, (barcode heigth = 10 mm) $3C, (starting position = 7,5 mm) $14, (HRI printing below, barcode width double) $04, (characters number to print) PLUS (characters to print) Command Reference 43