MDP 30FB Programmer Manual Rev.
Table of Contents Introduction ............................................................................2 Command Summary in Alphabetical Order ................................................................3 EPSON/IBM Mode..................................................................9 Data Input Control.......................................... 83 Miscellaneous................................................... 87 COMPUPRINT Mode .........................................................
Introduction This appendix provides information about the commands supported by your printer. The commands are organized by function groups. Each command has both a brief and a detailed description. Each command has the following structure: • Name and function description. Information about protocol (IBM Proprinter XL24E, IBM Personal 2391, EPSON ESC/P2) • The hexadecimal and decimal codes for the command: n represents variable parameters of the command.
Command Summary in Alphabetical Order BEL Buzzer. (EPSON) 87 BS Print and space back one position. (IBM, EPSON) 87 CAN Cancels line. (EPSON) 83 CAN Cancels data. (IBM) 83 CR Prints all received data and the column counter is set to the left margin. (IBM,EPSON) DC1 Selects printer. (IBM) 84 DC1 Selects printer. (EPSON) 84 DC2 Sets 10 cpi printing. (IBM) 36 DC2 Cancels compressed printing. (EPSON) 36 DC3 Deselects printer. (EPSON) 84 DC4 Cancels double width printing.
DC4 DC4 ESC R String rotation. (Compuprint) 115 DC4 DC4 ESC r Digit rotation. (Compuprint) 115 DC4 DC4 ESC S Selects character set ISO Character Sets or Code Pages. (Compuprint) DC4 DC4 ESC u Selects the program setups. (Compuprint) 117 DC4 DC4 ESC VT Search for a blank line (without any marker). (Compuprint) 118 DC4 DC4 ESC X Reads the id of the cut sheets. (Compuprint) 118 DC4 DC4 ESC Y Selects emulation. (Compuprint) 116 DC4 DC4 ESC Z Makes AGA in column.
ESC . Print Raster Graphics. (EPSON) 75 ESC : Sets 12 CPI. (IBM) 40 ESC : Copies characters from ROM to RAM. (EPSON) 69 ESC ? Reassigns dot graphics mode. (EPSON) 76 ESC @ Initializes the printer. (EPSON) 88 ESC [ @ Sets double high printing and double line feed. (IBM) 40 ESC [ \ Sets vertical units. (IBM) 20 ESC [ g High Resolution Graphics. (IBM) 77 ESC [ I Sets font and pitch of a character. (IBM 2391 only) 42 ESC [ K Sets initial conditions.
ESC 3 Sets n/180-inch line spacing. (EPSON) 23 ESC 3 Sets graphics line spacing at n/216 inch. (IBM) 24 ESC 4 Sets top of form (first printable line). (IBM) 24 ESC 4 Sets italics printing mode. (EPSON) 45 ESC 5 Sets an automatic line feed after a carriage return. (IBM) 10 ESC 5 Cancels italics printing. (EPSON) 46 ESC 6 Enables Upper Control Codes. (EPSON) 64 ESC 7 Selects the Character Set 1. (IBM) 64 ESC 7 Enables Upper Control Codes.
ESC J Graphics variable line spacing (n/216 inch). (IBM) 29 ESC k Selects LQ fonts. (EPSON) 65 ESC K Normal density dot graphics printing (60 dpi). (IBM, EPSON) 79 ESC l Sets left margin (10 cpi). (EPSON) 29 ESC L Double density dot graphics printing (120 dpi). (IBM, EPSON) 80 ESC M Selects 10.5 point, 12 cpi. (EPSON) 50 ESC N Sets the skipover perforation to n lines. (IBM, EPSON) 30 ESC O Disables the skipover perforation. (IBM, EPSON) 31 ESC P Selects 10.5 point, 10 cpi.
ESC X Sets left and right margins. (IBM) 33 ESC X Selects font by pitch and point. (EPSON) 56 ESC x Selects Letter Quality or Draft printing. (EPSON) 57 ESC Y Double density dot graphics printing at double-speed graphics (120 virtual dpi). (IBM, EPSON) 81 ESC Z Quadruple density dot graphics printing (240 virtual dpi). (IBM, EPSON) 82 FF Advances paper to the top of the next page. (IBM, EPSON) 34 HT Horizontal Tab. (IBM, EPSON) 34 LF Line Feed.
EPSON/IBM Mode This printer according to the IBM Proprinter XL24E, IBM 2391 and EPSON ESC/P2 emulations supports the following printer commands. Print and Line Feed Execution CR Prints all received data and the column counter is set to the left margin. (IBM,EPSON) ASCII Code Hexadecimal Value Decimal Value CR 0D 13 This code is a terminator code; when received, it causes any data in the buffer to be printed out. The print head then moves logically to the left margin position.
ESC ] Sets a reverse line feed. (IBM) ASCII Code Hexadecimal Value Decimal Value ESC ] 1B 5D 27 93 This code is a terminator code; when received, it causes the current contents of the print buffer to be printed out, before reversing the paper by one line at the current vertical spacing. If no data precedes this command or if the preceding data consists of spaces, the code causes only a reverse line feed to be performed.
ESC J Advances paper n/180 inch. (EPSON) ASCII Code Hexadecimal Value Decimal Value Range ESC J n 1B 4A n 27 74 n 0 < n < 255 This is a terminator code; it therefore causes the current contents of the print buffer to be printed out before performing a single line LF of n/180 inch. This command is cancelled after the LF has been performed. The printing will restart after a line feed from the column at which the command was sent. LF Line Feed.
Format Control ESC $ Sets the absolute printing position. (EPSON) ASCII Code Hexadecimal Value Decimal Value Range ESC & n1 n2 1B 24 n1 n2 27 36 n1 n2 0 < n1 < 255 0 < n2 < 127 This command specifies the distance from the left margin where you want to print subsequent characters. The default unit is 1/60 inch.
ESC (C Sets page length in defined unit.
ESC ( c Sets Page Format.
Bottom margin = ((b2 x 256) + b1) x (defined unit) Where b2 is equal to: (bottom margin) x ( 1 ) defined unit INIT 256 Where b1 is equal to: MOD (bottom margin) x ( 1 ) defined unit 256 Send this command before paper is loaded or when paper is at the top-of-form position. Otherwise the current print position becomes the top-margin position. Measure both top and bottom margins from the top edge of the page.
ESC ( U Sets units. (EPSON) ASCII Code Hexadecimal Value Decimal Value Range ESC ( U n1 n2 d 1B 28 55 n1 n2 d 27 40 85 n1 n2 d n1 = 1 n2 = 0 d = 10, 20, 30, 40, 50,60 This command sets the unit to m/3600 inch. The printer uses this unit when moving the print position, setting the page length and setting the top and bottom margins with the following commands (the default units varies depending on the command and print quality): Commands ESC ( V ESC ( v ESC ( C ESC ( c ESC \ (LQ mode) ESC \ (Draft mode) ESC
ESC ( V Sets absolute vertical print position.
The default unit is 1/360 inch. The new position is measured in defined units from the current top-margin position. Moving the print position below the bottom-margin position moves the vertical print position to the top-margin position on the next page ejects a cut sheet, if loaded.
Where d1 is equal to: MOD [(vertical position) – (current position)] x ( 1 ) defined unit 256 For negative (left) movement: Where d2 is equal to: 32768-INIT [(current position) – (vertical position)] x ( 1 ) defined unit 256 Where d1 is equal to: 32768-MOD [(current position) – (vertical position)] x ( 1 ) defined unit 256 The default unit is 1/360 inch. The new position is measured in defined units from the current position.
ESC [ \ Sets vertical units. (IBM) ASCII Code Hexadecimal Value Decimal Value Range ESC [ \ m1 m2 t1 … t4 1B 5B 5C m1 m2 t1 … t4 27 91 92 m1 m2 t1 … t4 m1 = 4 m2 = 0 0 < t1 < 255 0 < t2 < 255 t3 = 0 t4 = 180 or 216 This command changes the base units for the graphics line spacing commands (ESC J, ESC 3). The default value is 1/216 or 1/180 inch. ESC \ Sets the relative horizontal print position. (EPSON) ASCII Code Hexadecimal Value Decimal Value Range ESC \ n1 n2 1B 5C n1 n2 27 92 n1 n2 0 < n1 < 255 0 <
For positive (right) movement: Where n2 is equal to: INIT [(horizontal position) – (current position)] x ( 1 ) defined unit 256 Where n1 is equal to: MOD [(horizontal position) – (current position)] x ( 1 ) defined unit 256 For negative (left) movement: Where n2 is equal to: 32768-INIT [(current position) – (horizontal position)] x ( 1 ) defined unit 256 Where n1 is equal to: 32768-MOD [(current position) – (horizontal position)] x ( 1 ) defined unit 256 The default unit is 1/120 inc
ESC + Sets n/360-inch line spacing. (EPSON) ASCII Code Hexadecimal Value Decimal Value Range ESC + n 1B 2B n 27 43 n 0 < n < 255 This command sets the line spacing to n/360 inch. If the line spacing is changed, it does not affect previous settings for vertical tabs or page length. ESC 0 Selects 1/8-inch line spacing. (IBM, EPSON) ASCII Code Hexadecimal Value Decimal Value ESC 0 1B 30 27 48 This command causes line spacing to be set to 1/8 inch.
ESC 2 Selects 1/6-inch line spacing. (EPSON) ASCII Code Hexadecimal Value Decimal Value ESC 2 1B 32 27 50 This command causes the line spacing to be set to 1/6 inch. If the line spacing is changed, it does not affect previous settings for vertical tabs or page length. ESC 2 Enables the line spacing set by ESC A command. (IBM) ASCII Code Hexadecimal Value Decimal Value ESC 2 1B 32 27 50 This command starts line spacing at a value that was set by ESC A. ESC 3 Sets n/180-inch line spacing.
ESC 3 Sets graphics line spacing at n/216 inch. (IBM) ASCII Code Hexadecimal Value Decimal Value Range ESC 3 n 1B 33 n 27 51 n 0 < n < 255 This command sets graphics line spacing at n default unit defined by the ESC [ \ command. To move exactly n/216 inch, n must be an integer multiple of 3. ESC 4 Sets top of form (first printable line). (IBM) ASCII Code Hexadecimal Value Decimal Value ESC 4 1B 34 27 52 This sequence sets the first line of the fanfold paper as the current paper position of the form.
ESC A Sets text line spacing at n/60 inch. (EPSON) ASCII Code Hexadecimal Value Decimal Value Range ESC A n 1B 41 n 27 65 n 0 < n < 85 This command changes the default line spacing to n/60 inch. The new line spacing value is immediately activated. ESC A Sets text line spacing at n/72 inch. (IBM) ASCII Code Hexadecimal Value Decimal Value ESC A n 1B 41 n 27 65 n This command changes the line spacing to n/72 inch. The line spacing value is stored and activated only after the ESC 2 code is received.
ESC B Sets vertical tabs. (IBM, EPSON) ASCII Code Hexadecimal Value Decimal Value Range ESC B n1 … nx 0 1B 42 n1 ... nx 00 27 66 n1 ... nx 0 1 < n < 255 In EPSON mode, sets vertical tab stops in the 0 Vertical Format Unit (VFU) channel. This code sets up to 16 vertical tab stops at the line specified by n1, n2 and so on in the 0 VFU channel. The tab stops are memorized as physical positions.
ESC C Sets form length to n lines. (IBM, EPSON) ASCII Code Hexadecimal Value Decimal Value Range ESC C n 1B 43 n 27 67 n 1 < n < 127 This command sets the form length to the number of lines specified by n at the current vertical spacing. The current position of the paper is assumed as top of form. ESC D Sets horizontal tabs.
ESC d Spaces forwards relative dot position. (IBM) ASCII Code Hexadecimal Value Decimal Value Range ESC d n1 n2 1B 64 n1 n2 27 100 n1 n2 0 < n1, n2 < 255 This command moves the print carriage of a (n1 + (n2*256))/120 inch displacement on the right of its current dot position. If the selected position is outside the current right margin, it is forced to the last column. ESC EM Loading/ejection of paper.
ESC J Graphics variable line spacing (n/216 inch). (IBM) ASCII Code Hexadecimal Value Decimal Value ESC J n 1B 4A n 27 74 n This command advances the paper in units of n/216 inch. The printer does not store graphics line spacing. You must send this command to the printer each time. ESC l Sets left margin (10 cpi). (EPSON) ASCII Code Hexadecimal Value Decimal Value Range ESC l n 1B 6C n 27 108 n 0 < n < 255 This code sets the left margin at the current horizontal spacing.
ESC N Sets the skipover perforation to n lines. (IBM, EPSON) ASCII Code Hexadecimal Value Decimal Value Range ESC N n 1B 4E n 27 78 n 1 < n < 127 (EPSON mode) 1 < n < 225 (IBM mode) The skipover perforation is the sum of top and bottom margins values at the selected vertical spacing. The n parameter must be less than the current form length. The skipover is memorized as physical position on the page. It is cancelled by ESC O or changing the form length.
Changing the vertical spacing does not affect the skipover distance. This can be changed by a further ESC N command or can be reset by the ESC O command, which resets the skipover value to 0. The skipover perforation will be executed when the end of the page is reached with a LF, VT or FF code and not with the ESC J or ESC C command, the skipover perforation is cancelled and must therefore be set again. ESC O Disables the skipover perforation.
Character Width Horizontal Spacing Double Width Normal Range of columns 5 cpi 1 < n < 68 6 cpi 2 < n < 81 7.5 cpi 2 < n < 102 8.5 cpi 2 < n < 116 10 cpi 2 < n < 136 10 cpi 2 < n < 136 12 cpi 4 < n < 163 15 cpi 4 < n < 204 17 cpi 4 < n < 233 20 cpi 4 < n < 255 Any value outside the accepted range is ignored and the previous setting remains in effect. The right margin must be greater than the left margin.
ESC SP Sets intercharacter space. (EPSON) ASCII Code Hexadecimal Value Decimal Value Range ESC SP n 1B 20 n 27 32 n 0 < n < 127 This command sets the intercharacter space to n/120 inch in Draft printing and n/180 inch in Quality printing. ESC X Sets left and right margins. (IBM) ASCII Code Hexadecimal Value Decimal Value Range ESC X n1 n2 1B 58 n1 n2 27 88 n1 n2 0 < n1, n2 < 255 This command specifies left and right margin positions.
FF Advances paper to the top of the next page. (IBM, EPSON) ASCII Code Hexadecimal Value Decimal Value FF 0C 12 This code is a terminator code, when received, causes all data in the print buffer to be printed out. Then it advances the paper to the first printable line of the next form. The line counter is set to the first line value and the column counter is set to the left margin value. This code cancels the double width printing set by SO code. HT Horizontal Tab.
spacing. When the double width printing is selected, the tab stop setting must take account that each character occupies two columns. Character scoring (underline, overscore and strikethrough) is not printed between the current print position and the next tab when this command is sent. VT Vertical Tab.
Print Mode DC2 Sets 10 cpi printing. (IBM) ASCII Code DC2 Hexadecimal Value 12 Decimal Value 18 This is a terminator code. It causes all data present in the print buffer to be printed. This command is accepted at any position within the line. The character that follows this command will be printed at 10 cpi. This command does not cancel doublewide printing. DC2 Cancels compressed printing. (EPSON) ASCII Code Hexadecimal Value Decimal Value DC2 12 18 This is a terminator code.
DC4 Cancels double width printing. (IBM, EPSON) ASCII Code Hexadecimal Value Decimal Value DC 4 14 20 This code cancels the double width printing set by SO or ESC SO code. It has no effect if the ESC W or ESC has set double width commands. ESC Sets or cancels underlined printing. (IBM, EPSON) ASCII Code Hexadecimal Value Decimal Value ESC - n 1B 2D n 27 45 n Enables or disables the underlined printing.
ESC ! Master Select. (EPSON) ASCII Code Hexadecimal Value Decimal Value Range ESC ! n 1B 21 n 27 33 n 0 < n < 255 This command selects any combination of several attributes. The parameter n is the sum up of the printing style values to be used.
ESC ( Sets score line.
ESC : Sets 12 CPI. (IBM) ASCII Code Hexadecimal Value Decimal Value ESC : 1B 3A 27 58 This is a terminator code. It causes all data present in the print buffer to be printed. Subsequent data will be printed at 12 cpi. This command is accepted at any position within the line. The setting of another horizontal spacing resets this command. ESC [ @ Sets double high printing and double line feed.
m3 Character Height Line Spacing 0 1 2 16 17 18 32 33 34 No change Standard character height Double character height Character height unchanged Standard character height Double character height Character height unchanged Standard character height Double character height No change Line feeds unchanged Line feeds unchanged Normal line feeds Normal line feeds Normal line feeds Double line feeds Double line feeds Double line feeds m4 specifies the character width.
ESC [d Set the print quality. (IBM 2391 only) ASCII Code Hexadecimal Value Decimal Value ESC [ d 1 0 n 1B 5B 64 01 00 n 27 91 100 1 0 n This command sets the print quality to draft or LQ print. See the following table: n Types 0 From 1 to 127 From 128 to 254 255 No change Draft Letter Quality Default Quality ESC [ I Sets font and pitch of a character.
1. Identify the type style (pitch and font) to use in the left column (pitch). 2. For the hexadecimal values for m n, look across the row to the second column (Hex m n). 3. For the decimal values for m n, look across the row to the third column (Decimal m n). Substitute these values for m n in the printer command syntax.
Gothic 10 12 15 17 20 24 PS 00 01 01 01 01 01 01 24 8F 8E 8D 8C 20 AE 0 1 1 1 1 1 1 36 143 142 141 140 32 174 36 399 398 397 396 288 174 Presentor 10 12 15 17 20 24 PS 00 01 01 01 01 01 00 19 D0 D1 D2 D3 23 C7 0 1 1 1 1 1 0 25 208 209 210 211 35 199 25 464 465 466 467 291 199 Script 10 12 15 17 20 24 PS 01 01 01 01 01 01 00 D4 D5 D6 D7 D8 24 C8 1 1 1 1 1 1 0 212 213 214 215 216 36 200 468 469 470 471 472 292 200 44
ESC _ Sets or cancels overscore printing. (IBM mode) ASCII Code Hexadecimal Value Decimal Value ESC _ n 1B 5F n 27 95 n Enables or disables the overscore printing. See the following table: n Overscore Printing 1 0 Enabled (all spaces and characters that follow are overscored) Disabled ESC 4 Sets italics printing mode. (EPSON) ASCII Code Hexadecimal Value Decimal Value ESC 4 1B 34 27 52 Sets the style attribute of the font to italic.
ESC 5 Cancels italics printing. (EPSON) ASCII Code ESC 5 Hexadecimal Value 1B 35 Decimal Value 27 53 Sets the style attribute of the font to normal (cancels the italic style attribute previously selected with the ESC 4 command). ESC c Sets horizontal motion index (HMI). (IBM, EPSON) ASCII Code Hexadecimal Value Decimal Value Range ESC c n1 n2 1B 63 n1 n2 27 99 n1 n2 0 < n2 < 4 0 < n1 < 255 0 < ((n2 x 256) + n1)) < 1080 HMI < 3.
Where n1 is equal to: MOD HMI x 360 256 ESC E Sets emphasized printing. (IBM, EPSON) ASCII Code Hexadecimal Value Decimal Value ESC E 1B 45 27 69 This command starts emphasized printing. The print head strikes each dot twice to produce a darker, bolder character. The second strike is offset horizontally. ESC F Cancels emphasized printing. (IBM, EPSON) ASCII Code Hexadecimal Value Decimal Value ESC F 1B 46 27 70 This command ends emphasized printing.
ESC G Sets double strike printing. (IBM, EPSON) ASCII Code Hexadecimal Value Decimal Value ESC G 1B 47 27 71 This command starts double-strike printing. ESC G must be canceled by ESC H. ESC g Sets 15 CPI. (EPSON) ASCII Code Hexadecimal Value Decimal Value ESC g 1B 67 27 103 Subsequent data will be printed at 15 cpi. This command is accepted at any position within the line. This command resets the horizontal motion index (HMI) set with the ESC c command.
ESC I Selects printing type for resident and DLL characters. (IBM) ASCII Code Hexadecimal Value Decimal Value ESC I n 1B 49 n 27 73 n This command selects the resident or the download font in Draft o LQ printing mode. It is ignored if you select a font that has not been downloaded or has been overwritten.
ESC M Selects 10.5 point, 12 cpi. (EPSON) ASCII Code Hexadecimal Value Decimal Value ESC M 1B 4D 27 77 This command selects 10.5-point, 12-cpi character printing. It resets the horizontal motion index (HMI) set with the ESC c command. If you change the pitch during proportional mode (selected with the ESC p command) the change takes effect when the printer exits proportional mode. ESC P Selects 10.5 point, 10 cpi.
ESC P Sets or cancels proportional printing. (IBM) ASCII Code Hexadecimal Value Decimal Value ESC P n 1B 50 n 27 80 n This code is a terminator code; when received it causes all data in the print buffer to be printed out. Then if n parameter is equal to 1, the subsequent data is printed in proportional mode. If n parameter is equal to 0, proportional mode is reset.
It resets the horizontal motion index (HMI) set with the ESC c command. The changes made to the fixed-pitch setting with ESC P, ESC M or ESC g commands during proportional mode take effect when the printer exits proportional mode. The printer automatically switches to LQ mode when the printer exits proportional mode. ESC q Selects character style.
ESC S Sets subscript or superscript printing. (IBM, EPSON) ASCII Code Hexadecimal Value Decimal Value ESC S n 1B 53 n 27 83 n Selects the subscript or the superscript printing. See the following table: n Selection 1 0 Subscript Print enabled Superscript Print enabled The proportional printing of the subscript or superscript characters is performed at 2/3 of the proportional character width. Use the ESC T command to cancel super/subscript printing.
ESC SI Selects condensed mode. (IBM, EPSON) ASCII Code ESC SI Hexadecimal Value 1B 0F Decimal Value 27 15 This command selects the condensed mode in which character width is reduced as follows: 10 CPI → 17.14 CPI 12 CPI → 20 CPI Proportional → ½ width DC2 code cancels the condensed printing. This command resets the horizontal motion index (HMI) set with the ESC c command. ESC SO Sets double width printing (one line).
ESC T Cancels subscript or superscript printing. (IBM, EPSON) ASCII Code Hexadecimal Value Decimal Value ESC T 1B 54 27 84 This command cancels subscript or superscript printing selected by ESC S command. ESC W Sets or cancels double width printing. (IBM, EPSON) ASCII Code Hexadecimal Value Decimal Value Range ESC W n 1B 57 n 27 87 n 0
ESC w Sets or cancels double height printing. (EPSON) ASCII Code Hexadecimal Value Decimal Value Range ESC w n 1B 77 n 27 119 n 0 < n < 255 Enables or disables the double-height printing of all characters. The first line of a page is not doubled if the ESC w command is sent on the first line; all following lines are printed at double-height. See the following table: n Selection 1 0 Double Height Printing enabled Double Height Printing disabled ESC X Selects font by pitch and point.
Where m defines the pitch: m = 0 maintains current density m = 1 sets proportional spacing m > 5 selects fixed pitch equal to 360/m cpi This command overrides the current pitch setting. This command selects the point (default value 10.5) attributes of the font according to the following formula: Point size = (n2 x 256) + n1 2 n1 and n2 define size by point (1 point equals 1/72 inch). (point size) x 2 n2 = INT 256 (point size) x 2 n1= MOD 256 The point sizes available are the following: 8, 10, (10.
n Selection 0 1 Draft printing Letter Quality printing If you select proportional spacing with the ESC p command during Draft printing, the printer prints an LQ font instead. When you cancel proportional spacing with the ESC p command, the printer returns to Draft printing. SI Sets condensed printing. (IBM, EPSON) ASCII Code Hexadecimal Value Decimal Value SI OF 15 This command selects the condensed mode in which character width is reduced as follows: 10 CPI → 17.
SO Sets double width printing (one line). (IBM, EPSON) ASCII Code Hexadecimal Value Decimal Value SO 0E 14 This code causes subsequent data in the same line to be printed as double width characters. It is canceled by the LF, FF, VT, DC4, ESC W codes o when the buffer is full. This command is not canceled by the VT command when it functions the same as a CR command. Character Set ESC ( ^ Prints data as characters. (EPSON) ASCII Code Hexadecimal Value Decimal Value Range ESC ( ^ n1 n2 d1 ….
Where n2 is equal to: INIT k 256 Where n1 is equal to: MOD k 256 The printer ignores data if no character is assigned to that character code in the currently selected character table. ESC ( t Assigns character table.
d2 d3 1 1 3 4 5 6 7 8 9 10 11 12 13 14 x 0 16 0 0 0 0 0 0 0 0 0 0 0 0 x PC 437 PC 437 G PC850 PC851 PC853 PC855 PC860 PC863 PC865 PC852 PC857 PC858 PC864 PC866 PC862 d2 d3 15 25 x x 29 29 29 29 29 29 29 29 29 29 0 0 x x 1 2 3 4 5 6 7 8 9 15 PC867 PC877 GOST TASS 8859/1 8859/2 8859/3 8859/4 8859/5 8859/6 8859/7 8859/8 8859/9 8859/15 ESC [ T Selects a Code page. (IBM 2391 only) ASCII Code Hexadecimal Value Decimal Value ESC [ T 4 0 0 0 HC L.
To calculate Hc Lc for a code page that is not shown. Divide the code page number, such as 437, by 256. • The whole number result is the Hc value • The remainder is the Lc value. If your code page has an alphabetic character, such as 437G, add 10,000 to the code page number, then divide by 256.
ESC \ Prints characters from all characters table. (IBM) ASCII Code Hexadecimal Value Decimal Value Range ESC \ n1 n2 1B 5C n1 n2 27 92 n1 n2 0 < n1 < 255 0 < n2 < 255 This command prints the next n1 + n2 x 256 characters from the table of all printable characters. The total number of characters that will be printed from the table of all printable characters is equal to n1 + (n2 x 256). For example, to print 300 characters from the table of all printable characters: n1 = 44, n2 = 1.
ESC 6 Enables Upper Control Codes. (EPSON) ASCII Code Hexadecimal Value Decimal Value ESC 6 1B 36 27 54 This command enables the printing of upper control codes (from 128 to 159). These codes are treated as printable characters instead of control codes. This command has no effect when the italic character table is selected and remains in effect even if you change the character table. ESC 7 Selects the Character Set 1.
ESC k Selects LQ fonts. (EPSON) ASCII Code Hexadecimal Value Decimal Value ESC k n 1B 6B n 27 107 n Selects one of the available fonts in Letter Quality mode. See the following table: n Types 0 1 2 3 4 5 6 7 11 Courier Gothic Courier Prestige Script OCR-B OCR-A Presentor Boldface If the Draft mode is selected when this command is sent, the new LQ font will be selected when the printer returns to LQ printing.
ESC R Selects an international character set. (EPSON) ASCII Code Hexadecimal Value Decimal Value Range ESC R n 1B 52 n 27 82 n 0 < n < 12 This code causes the national character set to be selected according to the parameter n. See the following table: n 0 1 2 3 4 5 6 n USA France Germany United Kingdom Denmark-I Sweden Italy 7 8 9 10 11 12 Spain-I Japan Norway Denmark-II Spain-II Latin America ESC t Selects characters table.
Selects the character table to be used for printing from among the four character tables described below: n Character Tables 0 1 2 3 Standard Italic Character Set PC437 User-defined characters PC437 Download Character ESC % Selects user-defined character set.
ESC & Defines user-defined characters. (EPSON) The format for this command depends on whether you are defining draft characters or LQ characters.
n and m The n and m parameters are two decimal numbers that define the first and the last characters to be replaced in the character set in use. a0 It sets space to the left of each proportional user-defined character. a1 Actual width of user-defined characters. a2 It sets space to the right of each proportional user-defined. d1 ...dn They are the character data that is printed.
The following attributes are reflected in the copied font: Typeface, international character set, size (super/subscript or normal), quality (draft/quality). Before copying ROM characters to RAM, cancel italics with the ESC 5 command. After copying you can italicize characters by sending the ESC 4 command. ESC = Defines downloaded characters.
Byte 1, 2 The absolute address of the character definition. Byte 3 : - Bit 7 1: indicates that the character is a graphic character (connects at 6 lpi) 0: indicates that the character is an alphanumerical character - Bit 6 0: indicates a DLL character 1: indicates a resident character - Bit 5 to 0 These 6 bits indicate the effective number of dot columns of the character shape stored in memory.
- Bit 5 to 9 Compression mask description. It is used to optimize the memory occupation and it is based on the concept that a dot column on its left is not stored. You can calculate the compression mask of a character only after designing the entire character. Every bit is associated with a dot column with the bit 7 of byte 5 associated with the leftmost column. The bit is set to {1}, if the column is equal to the preceding one; otherwise, it is set to {0}.
Bit-Image ESC ( G Selects Graphics Mode. (EPSON) ASCII Code Hexadecimal Value Decimal Value Range ESC ( G m n1 n2 1B 28 47 m n1 n2 27 40 71 m n1 n2 m = 1, 49 n1 = 1 n2 = 0 This command selects graphics mode and allows you to print raster graphics. This command clears all user-defined characters and tab settings. Only the following commands are available in graphics mode, the printer ignores all other commands: LF, FF, CR, ESC EM, ESC . , ESC @, ESC ( c, ESC ( C, ESC ( V, ESC ( v, ESC \, ESC $, ESC U, ESC
m Specifies the dot density n1, n2 Specify the total number of columns of graphics data according to the formula: number of dot columns = (n1 + (n2 x 256)) n2 = INT n1 = MOD d1 … (number of dot columns) 256 (number of dot columns) 256 dx Bytes of graphics data; x is determined by multiplying the total number of columns times the number of bytes required for each column.
ESC . Print Raster Graphics. (EPSON) ASCII Code Hexadecimal Value Decimal Value Range ESC . c v h m n1 n2 d1 d2 … dk 1B 2E c v h m n1 n2 d1 d2 … dk 27 46 c v h m n1 n2 d1 d2 … dk c = 0,1 v = 10, 20 h = 10, 20 0 < m < 24 0 < n1 < 255 0 < n2 < 127 0 < d < 255 This command prints dot graphics in raster format (row by row, left to right) and can be used only during graphics mode entered by sending the ESC ( G command. It allows compression of graphics data during raster graphics printing.
k d1 … dk total number of data bytes, according to the following formula: (n2 x 256) + n1 + 7 k = m x INT 8 During full graphics mode: graphics data. During compressed mode: the first data byte is treated as a counter.
m n 0 1 2 3 (K): ESC K graphic command (L): ESC L graphic command (Y): ESC Y graphic command (Z): ESC Z graphic command ESC [ g High Resolution Graphics. (IBM) ASCII Code Hexadecimal Value Decimal Value ESC [ g n m data 1B 5B 67 n m data 27 91 103 n m data This command sends data for dot matrix graphics to the printer and allows the selection of eight modes for both 8-wire graphics and 24-wire graphics.
Mode Horizontal Density Wires Description 0 1 2 3 8 9 11 12 60 120 120 240 60 120 180 360 8 8 8 8 24 24 24 24 Same as ESC K graphic command Same as ESC L graphic command Same as ESC Y graphic command Same as ESC Z graphic command High resolution for ESC K High resolution for ESC L data The graphic data is organized by byte. For 8-wire modes, it is arranged and mapped to the wires identically to ESC K.
ESC K Normal density dot graphics printing (60 dpi). (IBM, EPSON) ASCII Code Hexadecimal Value Decimal Value Range ESC K n1 n2 p1 p2... px 1B 4B n1 n2 p1 p2... px 27 75 n1 n2 p 1 p2 ... px 0 < n1 < 255 0 < n2 < 31 0 < p < 255 Terminator code. This command prints dot graphics at 60 horizontal dot per inch by 60 vertical dpi. The parameter values should be calculated as follows: n1 Remainder of the number of column divided by 256. n2 Integer result of the previous division.
ESC L Double density dot graphics printing (120 dpi). (IBM, EPSON) ASCII Code Hexadecimal Value Decimal Value Range ESC L n1 n2 p1 p2... px 1B 4C n1 n2 p1 p2... px 27 76 n1 n2 p 1 p2 ... px 0 < n1 < 255 0 < n2 < 31 0 < p < 255 Terminator code. This command prints dot graphics at 120 horizontal dot per inch by 60 vertical dpi. The parameter values should be calculated as follows: n1 Remainder of the number of column divided by 256. n2 Integer result of the previous division.
ESC Y Double density dot graphics printing at double-speed graphics (120 virtual dpi). (IBM, EPSON) ASCII Code Hexadecimal Value Decimal Value Range ESC Y n1 n2 p1 p2... px 1B 59 n1 n2 p1 p2... px 27 89 n1 n2 p 1 p2 ... px 0 < n1 < 255 0 < n2 < 31 0 < p < 255 Terminator code. This command prints dot graphics at 120 horizontal dot per inch by 60 vertical dpi. The parameter values should be calculated as follows: n1 Remainder of the number of column divided by 256.
ESC Z Quadruple density dot graphics printing (240 virtual dpi). (IBM, EPSON) ASCII Code Hexadecimal Value Decimal Value Range ESC Z n1 n2 p1 p2... px 1B 5A n1 n2 p1 p2... px 27 90 n1 n2 p 1 p2 ... px 0 < n1 < 255 0 < n2 < 31 0 < p < 255 Terminator code. This command prints dot graphics at 240 horizontal dot per inch by 60 vertical dpi. The parameter values should be calculated as follows: n1 Remainder of the number of column divided by 256. n2 Integer result of the previous division.
Data Input Control CAN Cancels line. (EPSON) ASCII Code Hexadecimal Value Decimal Value CAN 18 24 This code clears all printable characters and bit-image graphics on the current line. This code moves the print position to the left-margin position. CAN Cancels data. (IBM) ASCII Code Hexadecimal Value Decimal Value CAN 18 24 This code clears all data stored in the preceding print buffer but does not change the current print position.
DC1 Selects printer. (IBM) ASCII Code DC1 Hexadecimal Value 11 Decimal Value 17 This command causes the printer to be enabled after it has been disabled by the ESC Q command. DC1 Selects printer. (EPSON) ASCII Code DC1 Hexadecimal Value 11 Decimal Value 17 This command causes the printer to be enabled after it has been disabled by the DC3 command. DC3 Deselects printer. (EPSON) ASCII Code DC3 Hexadecimal Value 13 Decimal Value 19 This code deselects the printer.
DEL Deletes the last character. (EPSON) ASCII Code Hexadecimal Value Decimal Value DEL 7F 127 This command causes the printer to delete the last printable character sent to the printer. Printer control codes are not affected. The printer ignores this command if it follows a command that moves the horizontal print position (ESC $, ESC \ or HT). ESC # Cancels MSB control.
ESC > Sets MSB to 1. (EPSON) ASCII Code Hexadecimal Value Decimal Value ESC > 1B 3E 27 62 This command sets the Most Significant bit (bit number 7) of all incoming data to 1. All data is affected including graphics data. ESC Q Deselects Printer. (IBM) ASCII Code ESC Q n Hexadecimal Value 1B 51 n Decimal Value 27 81 n This sequence tells the printer not to accept data from the host. The host must reset the printer or select the printer by using DC1 (Select Printer) to accept data.
Miscellaneous BEL Buzzer. (EPSON) ASCII Code BEL Hexadecimal Value 07 Decimal Value 7 This code sounds the printer’s buzzer. BS Print and space back one position. (IBM, EPSON) ASCII Code Hexadecimal Value Decimal Value BS 08 8 This code causes the printing to be continued from one column to the left of the current carriage position. The printer ignores this command if it would move the print position to the left of the left margin.
ESC @ Initializes the printer. (EPSON) ASCII Code Hexadecimal Value Decimal Value ESC @ 1B 40 27 64 This sequence causes the printer to be initialized. This command, inserted in the input buffer, will be executed during data processing, so that data preceding this command will be printed according to the previous setting.
ESC [ K Sets initial conditions. (IBM 2391 only) ASCII Code Hexadecimal Value Decimal Value ESC [ K n1 n2 init id 1B 5B 4B n1n2 init id 27 91 75 n1n2 init id This command causes the printer to reset to its initial status: n1 and n2 init The n1 and n2 parameters specify the number of bytes in the escape sequence normally, n1 = 2 and n2 = always 0. The init parameter specifies to which condition the printer should initialize, normally init = 0,1,4,5,254,255: 0 Initializes printer to user-default settings.
5 id parm1 Initializes printer to factory settings. The download font is initialized. If parameters are specified, they will overwrite the default settings. This command will only copy the default settings from ROM, add parameter changes, if any, and store in working RAM; the data stored in the macro’s nonvolatile RAM will not be affected. 254 Initializes printer to user-default settings. The download font is initialized. If parameters are specified, they will overwrite the default settings.
parm2 Specifies the following functions: Bit Not set 7 Discard byte Process this byte 6 Pass over from CP437 CP437-CP850 5 Reserved 4 Reserved 3 Reserved 2 Reserved 1 Line length 13.6 inch 0 Reserved Set Ignore this byte CP850 8 inch ESC U Sets printing direction.
COMPUPRINT Mode This printer according to the Native COMPUPRINT Mode supports the following printer commands. Format Control DC4 DC4 ESC 3 1 Sets vertical spacing 12 lines/30 mm. (Compuprint) ASCII Code Hexadecimal Value Decimal Value DC4 DC4 ESC 3 1 14 14 1B 33 31 20 20 27 51 49 This command sets vertical spacing to 12 lines per 30 mm. DC4 DC4 ESC 3 3 Sets vertical spacing to 3 lines/30 mm.
DC4 DC4 ESC 3 4 Sets vertical spacing 4 lines/30 mm. (Compuprint) ASCII Code Hexadecimal Value Decimal Value DC4 DC4 ESC 3 4 14 14 1B 33 34 20 20 27 51 52 This command sets vertical spacing to 4 lines per 30 mm. DC4 DC4 ESC 3 6 Sets vertical spacing 6 lines/30 mm. (Compuprint) ASCII Code DC4 DC4 ESC 3 6 Hexadecimal Value 14 14 1B 33 36 Decimal Value 20 20 27 51 54 This command sets vertical spacing to 6 lines per 30 mm. DC4 DC4 ESC 3 8 Sets vertical spacing 8 lines/30 mm.
DC4 DC4 ESC A Sets the horizontal spacing to 15, 17, 20, 24 CPI. (Compuprint) ASCII Code Hexadecimal Value Decimal Value DC4 DC4 ESC A n 14 14 1B 41 n 20 20 27 65 n This is terminator code and therefore causes the current contents of the print buffer to be printed out. Then, the subsequent characters will be printed at the horizontal spacing specified by the n parameter.
Native Character Set DC4 DC4 ESC g Selects LQ fonts (Compuprint). ASCII Code Hexadecimal Value Decimal Value n Setting 1 2 3 4 5 6 7 182 Gothic Courier Prestige Script OCR-B OCR-A Presentor DLL DC4 DC4 ESC g n 14 14 1B 67 n 20 20 27 103 n If the down-line loading is selected, the command is stored and will be activated as soon as the down-line loading will be canceled.
DC4 DC4 ESC S Selects character set ISO Character Sets or Code Pages.
n Character Set 137 138 139 140 141 142 145 146 147 148 149 199 CP 852 Eastern Europe CP 876 OCR-A CP 877 OCR-B CP 855 Cyrillic CP 866 Russian GOST Cyrillic CP 437G Greek CP 853 Turkish CP 857 Turkish CP 867 Turkish CP 858 Euro PC Multilingual 96 Greek 97
Bar Codes DC4 DC4 ESC ! Bar Code Selection ASCII Code Hexadecimal Value Decimal Value DC4 DC4 ESC ! h t f F r o q b s B S i EM 14 14 1B 21 h t f F r o q b s B S i EM 20 20 27 33 h t f F r o q b s B S i EM h = Bar Code Height at n/6”, 1 < h < 30 t = Standard Bar Code to use t Name 1 2 3 4 5 6 7, 8, 9 10 11 12 13 14 15 16 8-digits European Article Numbering 13-digits European Article Numbering Universal Product Code Type A Universal Product Code Type E UPC/EAN 2 Digit Supplement UPC/EAN 5 Digit Supplemen
t Name 17 Code 2 of 5 Interleaved C25-INT 18 Code 2 of 5 Industrial C25-IND 19 20 21 22 23 24 Code 2 of 5 Matrix Code 3 of 9 8-digits European Article Numbering Codabar (all types) Code 128 USPS-PostNet C25-MTX Code-39 EAN-8 CODABAR CODE-128 POSTNET f = Readable character printing f = 1 printing enabled f = 0 printing disabled F = Font selection for the printable characters F Selection 0 1 2 3 4 Selected font by r value Default font for text Special font for OCR-A o OCR-B bar codes according t
r = Bar code rotation r Selection 0 1 2 3 4 No rotation Rotation at 0° Rotation at 90° Rotation at 180° Rotation at 270° o = Check digit inserted as last character of the received string according to the bar code q = Horizontal graphic density of the bar code q Selection 0 1 1/60” 1/180” b = Narrow bar width in n/180”, 3 < b < 18 s = Narrow space width in n/180”, 3 < s < 18 B = Wide bar width in n/180”, 6 < B < 72 S = Wide space width in n/180”, 6 < S < 72 i = Spacing between characters in n/180”, 3
Bar Code Description EAN-8 DC4 DC4 ESC! n 1 p EM The EAN-8 bar code data field must only contain numeric data, and must be eight bytes long, check digit included. The EAN-8 character repertoire provides 0 to 9 ASCII numeric figures. n indicates the bar code height in units of 1/6 inch and must be in the range 1 to 12. p must be NUL (hex. 00) if no Human Readable Characters are to be printed, and 1 (hex. 01) if they are to be printed. The range of values for n and p parameters can be increased of 32 dec.
UPC-E DC4 DC4 ESC! n 4 p EM UPC-E bar code data fields contain numeric data only: question marks will be printed in place of HRC string otherwise, if possible. If 12-digit strings will be received within a DC4 DC4 ESC (...
LEFT and RIGHT delimiters, the System-Digit and the Check-Digit will be printed as descending bars to make a field to host a 6-digits HRC string and the System-Digit HRC to the left of LEFT delimiter (at about the middle of the symbol) when f field is missing or set to 1; in this case, the Check-Digit will show in HRC to the right of the RIGHT delimiter (at about the middle of the symbol), when o field takes values 2 or 3: it will never show on HRC string otherwise.
UPC-EAN 5 DC4 DC4 ESC ! n 6 p EM ADD ON-5 bar code data fields contain numeric data only: question marks will be printed in place of HRC string otherwise, if possible. If 6-digit strings will be received within a DC4 DC4 ESC (...
CODE GP DC4 DC4 ESC ! n 10 p EM CODE-GP bar code allows bar codes to be constructed from the two basic elements (BAR and SPACE) by sending 0,1 digits: digit 0 produces a BAR and digit 1 produces a SPACE. These two elements may be combined in any sequence, thus giving the possibility of producing bars and spaces of any width that is a multiple of the basic element width. Default bar/spaces width is 1/60” (q = 0,1) but these values may be set by the user according to its specific needs.
Code BCD DC4 DC4 ESC ! n 12 p EM CODE-BCD bar code data fields do not have a defined format length and contain numeric data only: question marks will be printed in place of HRC string otherwise, if possible. No internal check digit algorithm is available for this standard: o field is meaningless. MSI Plessey DC4 DC4 ESC ! n 13 p EM MSI bar code data fields do not have a defined format length and must contain numeric data only: question marks will be printed in place of HRC string otherwise, if possible.
2 Print the bar code symbol with both 6 Print the bar code symbol with both check digits generated by the printer check digits generated by the printer and put at the end of the data. The and put at the end of the data. The nd 2nd check digit is IBM Modulus-10, 2 check digit is IBM Modulus-10; the 1st check digit is IBM Modulusthe 1st check digit is the complement 10 also. to 11 of IBM Modulus-11 algorithm applied to the received string: if the modulus is 0 or 1 check digit is 0.
Code 11 DC4 DC4 ESC ! n 14 p EM CODE-11 bar code fields do not have a defined format length and contain data belonging to the following character set: 0 1 2 3 4 5 6 7 8 9 Question marks will be printed in place of HRC string otherwise, if possible. This bar-code type defines a variable WIDE/NARROW ratio. This bar code is printed at 1/180” horizontal and vertical graphical printing resolution, to ensure high readability rate.
Code 93 DC4 DC4 ESC ! n 15 p EM CODE-93 bar code fields do not have a defined format length and contain data belonging to the standard ASCII character set including control codes. Since GS and EM control codes used within COMPUPRINT DC4 DC4 ESC (... EM “Print bar-code” control sequence are part of the supported character set, the host application must SET THE HIGHER-ORDER BIT of the above control codes, to allow the printer distinguish between encodable data and string terminators.
2 of 5 DC4 DC4 ESC! n 16 p EM Bidirectional BID-25 bar code data fields do not have a defined format length and contain numeric data only: question marks will be printed in place of HRC string otherwise, if possible. If o check digit option field takes 1 value an internally generated check digit will be added to the encoded string, that however will not show on the required HRC string. 2 of 5 DC4 DC4 ESC! n 17 p EM Interleaved The 2/5-INTERLEAVED bar code does not have a defined format length.
Code 39 DC4 DC4 ESC ! n 20 p EM The CODE 39 bar code. Data format length is variable and must always start and end with an asterisk. It can contain the alphanumeric character listed below: 0 1 2 3 4 5 6 7 8 9 ABCDEFGHIJKLMNOPQRSTUVWXYZ + % * ( as start / stop character) -. SPACE $ / The parameter indicates the bar code height in units of 1/6 inch and must be in the range 1 to 12. The p parameter must be NUL (hex. 00) if no Human Readable Characters are to be printed, and 1 (hex.
CODE 128 DC4 DC4 ESC ! n 23 p EM The CODE-128 bar code data fields do not have a defined format length and contain data belonging to the standard ASCII character set, including control codes. Since GS and EM control codes used within the Compuprint DC4 DC4 ESC (...EM ”Print Bar Code” control sequence are part of the supported character set, the host application must SET THE HIGHER-ORDER BIT of the above control codes to allow the printer distinguish between encodable data and string terminators.
DC4 DC4 ESC (GS Prints bar code symbols (Compuprint) ASCII Code Hexadecimal Value Decimal Value Range DC4 DC4 ESC (GS n1 data GS n2 data ... EM 14 14 1B 28 1D n1 data ... 19 20 20 27 40 29 n1 data... 25 1 < n < 12 0
DC4 DC4 ESC J Sets amplification factor. (Compuprint) ASCII Code Hexadecimal Value Decimal Value DC4 DC4 ESC J h v 14 14 1B 4A h v 20 20 27 74 h v This command sets the required amplification factor to be applied to the current font. h It is the horizontal amplification factor, the value range is 1 to 4. It is applied to the basic symbols. v It is the vertical amplification factor, the value range is 1 to 255.
DC4 DC4 ESC R String rotation. (Compuprint) ASCII Code Hexadecimal Value Decimal Value DC4 DC4 ESC R n string EM 14 14 1B 52 n string EM 20 20 27 82 n string EM This command is used to set the string rotation. n Selection 0 1 2 3 4 No rotation Rotation at 0° Rotation at 90° Rotation at 180° Rotation at 270° DC4 DC4 ESC r Digit rotation.
n Selection 0 1 2 3 4 No rotation Rotation at 0° Rotation at 90° Rotation at 180° Rotation at 270° DC4 DC4 ESC Y Selects emulation.
DC4 DC4 ESC Z Makes AGA in column. (Compuprint) ASCII Code Hexadecimal Value Decimal Value DC4 DC4 ESC Z n 14 14 1B 5A n 20 20 27 90 n The parameter n is the column number at 10 cpi where the AGA (Automatic Gap Adjustment) is made. DC4 DC4 ESC u Selects the program setups.
DC4 DC4 ESC X Reads the id of the cut sheets. (Compuprint) ASCII Code Hexadecimal Value Decimal Value DC4 DC4 ESC X n x y l 14 14 1B 58 n x y l 20 20 27 88 n x y l This command reads the markers of the cut sheets. n x y l Number of markers. (1 < n < 32) Horizontal position from the center of the first marker in mm from the first prints position. Vertical position from the center of the markers in mm from the upper page margin. Distance between the markers in mm.
DC4 DC4 ESC DC4 Printer functions. ASCII Code Hexadecimal Value Decimal Value n = (n1) +256* (n2) DC4 DC4 ESC DC4 n1 n2 function arguments 14 14 1B 14 n1 n2 function arguments 20 20 27 20 n1 n2 function arguments the character number that composes the command (function character included). function = the function that performs the command.
Function Description 0x05 DC4 DC4 ESC DC4 n1 n2 0x05 arguments Sends the message to the printer display. This function is only available with the printer models with the LCD display. n1, n2: the n1 and n2 parameters specify the number of characters that composes the command. n= 17 function: 0x05 arguments: the message shown in the display is composed by 16 characters. 0x06 DC4 DC4 ESC DC4 n1 n2 0x06 arguments Sets the buzzer.
0x07 DC4 DC4 ESC DC4 n1 n2 0x07 arguments Selects the Cut Sheet Ejection Side. n1, n2 : The n1 and n2 parameters specify the number of characters that composes the command. n = 2 function: 0x07 arguments: side: 0 : cut sheet ejection towards the front 1 : cut sheet ejection towards the rear 0x08 DC4 DC4 ESC DC4 n1 n2 0x08 arguments Sets/Resets the Security Mode. n1, n2 : The n1 and n2 parameters specify the number of characters that composes the command.
0x09 DC4 DC4 ESC DC4 n1 n2 0x09 arguments Set Passbook Parameters. n1, n2 : The n1 and n2 parameters specify the number of characters that composes the command.
Character Sets PC Standard Character Sets.......................................... 124 CS1................................................................................. 124 CS2................................................................................. 125 EPSON National Variations............................................ 126 IBM National Variations.................................................. 127 USA (CP 437)................................................................
PC Standard Character Sets CS1 124
CS2 125
EPSON National Variations 126
IBM National Variations USA (CP 437) 127
Greek (CP437-G) 128
Multilanguage (CP850) 129
Greek (CP851) 130
Latin2 (CP852) 131
Turkish (CP853) 132
Russian (CP855) 133
Turkish (CP857) 134
Euro PC Multilingual (CP858) 135
Portuguese (CP860) 136
Hebrew (CP862) 137
French/Canadian (CP863) 138
Arabic (CP864) 139
Norwegian (CP865) 140
Cyrillic (CP866) 141
Turkish (CP867) 142
OCR-A (CP876) 143
OCR-B (CP877) 144
TASS (Cyrillic) 145
96Greek 146
ISO 8859/1 (Latin 1) 147
ISO 8859/2 (Latin 2) 148
ISO 8859/3 (Latin 3) 149
ISO 8859/4 (Latin 4) 150
ISO 8859/5 (Latin/Cyrillic) 151
ISO 8859/6 (Latin/Arabic) 152
ISO 8859/7 (Latin/Greek) 153
ISO 8859/8 (Latin/Hebrew) 154
ISO 8859/9 (Latin 5) 155
ISO 8859/15 (Latin 9) 156