Home
Programmer`s Manual
Contents
1. m TT op 2 A N gt So y n l A N gt 50 OE SP o 2101 IDEL SI o O SI OF 166 ANSI Emulation Character Set 1 Enabled 8 Bit Control Disabled ONE 1 ESC L j 167 ANSI Emulation Character Set 1 Enabled 8 Bit Control Enabled 00 10 20 30 40 50 60 70 80 90 AO BO CO DO EO FO 168 ANSI Emulation Character Set 2 Enabled 10 20 30 40 50 60 70 80 90 AO BO CO DO EO FO 169 Character Code Tables CP 437 USA Western Europe 00 10 20 30 ao 50 60 70 so 90 ao Bo co DO EO FO 00 9 olelrl plcl la alila lolal or 6 lt 1 11 al Ql al qg l l di LV ANN amp 4 olalilolaolelr ib rl elel6 I Alolsl s 03 v 3 C S s 3 A p 04 1 4 D T d t A 8 o 5 E vu e u o ul 6 s 06 A amp 6 F V f v a a q u 07 7 G W g w x t Y 08 T 8 H X h x e y F 09 9 Y i y E 1 T oa gt J Z j z e x o o o lt kirl kl tl Je l ef I l
2. ie CP 864 Arab DN Ara ic a AT i CP 864E Arabic aaa Miscellaneous CP 865 Denmark Norway 181 Native Extension Escape Sequences ee Glo Va EE NER EHE EEE SER in e ANSI Emulation Commands 124 CP 867 Turkish Bi sedan 183 ANSI Command Descriptions Mazowia Polish u 184 Character Set Control tree Turkish la decian 185 Character Pitch and Print Modes GEK ET 186 Horizontal Movements cocos KamenicV iia 187 ISO 8859 1 ISO 8859 2 ISO 8859 3 ISO 8859 4 ISO 8859 5 ISO 8859 6 ISO 8859 7 ISO 8859 8 Hebrew a uuu ISO 8859 9 Western Europe 2 ISO 8859 15 Western Europe National Variations Epson National Variations u ANSI National Variations a Character Generator Tables Character Generator Table 1 4 Character Generator Table 2 4 Character Generator Table 3 4 Character Generator Table 4 4 USA Western Europe 191 Eastern Europe ne Southern Europe Northern Europe
3. Cyrillic u Q u uE ua e ATI ici GIO sa vart SS Hexadecimal to Decimal Table 207 o det 208 The Parallel Interface 208 The Serial Interface 211 Commands This section provides information about the commands supported by the printer The commands are organized by function groups Each command has both a brief and a detailed description General Overview This appendix provides information about the commands supported by the printer The commands are organized by function groups Each command has both a brief and a detailed description Each command has the following structure e Name and function description Information about protocol e The hexadecimal and decimal codes for the command n represents variable parameters of the command The functions of these parameters are explained in its corresponding command description Command Summary in Alphabetical Order EPSON Emulation Commands ACK BEL BS CAN CR DC1 DC2 DC3 DC4 DEL ESC ESC n ESC ESC n1 n2 ESC n ESC amp NUL nm a0 a di dx ESC tn1 n2 d1 d2 d3 ESC m n1 n2 p1 p2 px ESC n ESC mn ESC ESC n1 n2 m dit d2 ESC n1 n2 mim2 m3 m4 ESC p1 p2 SP ESC T ni n2 mi m2 m3 m4 ESC un ESC vnm ESC V n1 n2 ESC n ESC lt ESC ESC
4. i 1 4 4 4 4 474444444444 3 1 N L i lt OC 1 n s T 5 3 m M OD 3 i 8 1 m n N 4242 44 44 T ee ee a o o gt OE x B Y trp ta ttt tt tt tt z z o o or 193 ISO 8859 4 Northern Europe 10 20 30 40 50 60 70 80 90 AO BO CO DO EO FO 00 a a D o p l P 0 4 44 i 2 4 47 4 4 gt 00 D y A a A 4 44 444 44 444 44444 q l a 9 A 1 01 l 5 k a 6 K 6 A l l lt F K B a r 5 b c R s B C 2 3 tom e 44444444444 4444 a ppt 02 93 D T d t 4 4 4 44 44444444444 4 04 05 6 E 1 I v f r Vv F 6 amp 06 i x 1 w g W G 7 07 Ey 4 42 4 44 444444444 gt d x h 4 4 4 4 44444444444 X H 8 I 08 u u
5. i v Qe DO FO 200 National Variations Epson National Variations 35 36 60 62 64 91 92 93 94 96 105 123 124 125 126 dec USA lt gt 1 7 gt 3 1 7 FRANCE lt gt 58 7 i Q GERMANY lt gt 5 K 6 Ur i 6 UNITED KINGDOM ES lt gt DU V J i pg DENMARK 1 lt gt Q E A i a p a SWEDEN H lt gt K O A O i 6 ITALY es lt gt N 6 t i SPAIN 1 R lt gt i R i J 7 JAPAN lt gt 0 Y L T up NORWAY H lt gt EQ A U i e q a DENMARK 2 lt gt EQ A i e 9 SPAIN 2 lt gt i i 6 LATIN AMERICA lt gt c i 6 i KOREA lt gt 8 i l 1 7 LEGAL lt gt b 5 q i o m NETHERLANDS lt 2 FH NT EE jr ANGLO UNIVERSAL lt gt i 7 SPANISH AMERICA lt gt GER g i A i PORTUGAL lt gt K 6 S i 8 7 AFRICA E amp lt gt nee dG f 3 7 SWITZERLAND 68 8 J 6 TURKEY h it o6stg1i g 6 s GREECE lt gt 16 2 iG 3 B YUGOLSLAVIA lt gt 2 DOC 2 i de CYRILLIC Kg O A NTN EN J 23 24 26 27 2A 3B 40 5B 5C5D 5E 60 71 7B7C 7D ZE hex 201 ANSI National Variations 33 35 36 38 39 42 59 64 91 92 93 94 96 113 123 124 125 126 de
6. ASCII Code ESC pi Pn lt ST gt Hexadecimal Value 1B 5D p 3B pn 9C Decimal Value 27 93 p 59 p 156 This command allows specifing a substitution within a character set The parameters are described in the following table p DESCRIPTION p Must be 9 D Control identifier 0 Download new definition This will install a new definition 1 Erase definition Other Reserved D Select ID A numeric value indicating the identifier of the substitution set This value will be used in the host selection sequence Pa Ps Pe Reserved p Reserved D ID Message A literal string that identifies the substitution as a printable message Ps P Character substitution triads Each substitution will be a triad of values identifying 1 Definition character The character position to be substituted 2 Source character The character to substitute into the destination location See Character Generator addresses 3 Reserved a zero or semicolon separator is required 154 Graphics Control Functions ESC piq Select graphics mode density GENGRM ASCII Code ESC p q Hexadecimal Value 1B 5B pi 71 Decimal Value 27 91 p 113 This command selects the density of the graphics mode p DPI Horizontal Image dpi vertical AGM N AGM Y 72 60 real 72 1 144 120 real 72 216 180 real 72 10 180 180 real 180 11 360 360 virtual 180 bytes dot column 1 6 bit mode 1 1 i 1 1 1 4 24 bit mode 4 1 1 1
7. 122 ESC xn Selects national character set ASCII Code ESC x n Hexadecimal Value 1B 5B 5B 78 n Decimal Value 27 9191 120 n Selects Epson national character set indicated by parameter n where n is equivalent to the parameter in the E pson ESC R n command ESC y n n2 Sets IBM Code Page ASCII Code ESC y ny N2 Hexadecimal Value 1B 5B 5B 79 ni n2 Decimal Value 27 91 91 121 ni n2 Selects IBM code page indicated by parameters n n where n n are equivalent to the parameters m m in the IBM ESC T n n m m m m In Embedded Sheet Feeder commands ASCII Code In Hexadecimal Value 2F 2F n 2F 2F Decimal Value 47 47 n 47 47 Control Sheet Feeder as indicated by n as follows n ACTION n ACTION 31H Selects Bin 1 for future use 43H Selects Binl for first feed then selects Bin 2 thereafter or until a new command is issued 32H Selects Bin 2 for future use 52H Ejects current sheet Indeterminate Conditions a new sheet is loaded in response to FF or at the end of form via LF VT 123 ANSI Emulation Commands The following printer commands are supported by this printer according to the GENICOM ANSI emulation Most dimensional parameters in ANSI protocol are expressed in decipoints For example 1 decipoint 1 720 inch 72 decipoints 1 10 inch 120 decipoints 1 6 inch 720 decipoints 1 inch 2880 decipoints 4 inches All parameter values must be expressed as ASCII
8. Decimal Value 27 69 7 bit or 133 8 bit This command causes the paper to be positioned down one line space as indicated by the current line spacing value The column counter is reset to the left margin value ESC K or PLD Partial line down ASCII Code ESC K or PLD Hexadecimal Value 1B 4B 7 bit or 8B 8 bit Decimal Value 27 75 7 bit or 139 8 bit This command causes the paper to be positioned down one half line space at the current line spacing value This may create an appearance of subscripting This sequence is also used after an ESC L partial line up sequence to recover the original active vertical position ESC L or PLU Partial line up ASCII Code ESC L or PLU Hexadecimal Value 1B 4C 7 bit or 8C 8 bit Decimal Value 27 76 7 bit or 140 8 bit This command causes the paper to be positioned up one half line space at the current line spacing value This may create an appearance of superscripting This sequence is also used after an ESC K partial line down sequence to recover the original active vertical position 136 ESC M or RI Reverse index ASCII Code ESC M or RI Hexadecimal Value 1B 4D 7 bit or 8D 8 bit Decimal Value 27 77 7 bit or 141 8 bit This command causes the paper to be positioned up one line space at the current line spacing value ESC pid Vertical position absolute VPA ASCII Code ESC pid Hexadecimal Value 1B 5B p 64 Decimal Value 27 91 p 100 This com
9. Px Range ny 0 255 no 0 6 This code is a terminator code and therefore causes the current contents of the print buffer to be printed out then sets double density normal speed graphics printing which allows the printing of 120 horizontal dots per inch For more detailed information see the description of ESC K command 97 ESC Z ni No p Px Quadruple density graphics ON ASCII Code ESC Z ny Na pi Px Hexadecimal Value 1B 5A nj np Px Decimal Value 27 90 ni no pi Px Range ni 0 255 no 0 12 This code is a terminator code and therefore causes the current contents of the print buffer to be printed out then sets quadruple density half speed graphics printing which allows the printing of 240 horizontal dots per inch See the ESC K command description ESC m ni Na Pi Pa Px Selects bit image mode ASCII Code ESC m ni Na pi Pe Px Hexadecimal Value 1B 2A m ni n2 pi P2 Px Decimal Value 27 42 m ni no pi po Px Range m 0 1 2 3 4 6 7 8 32 33 34 35 36 38 39 40 0 lt ni n gt lt 255 0 lt p lt 255 If the IBM Proprinter XL 24 is selected in the System Menu check under EMULATION that the EMUL IBMXL24e function is selected please refer to the User s Manual on the CD Rom you can select 8 wire or 24 wire bit image mode The parameter m determines the horizontal density as well as the number of wires to be fired For 8 wire images the total number of data bytes p to be sen
10. 03 6 4 4 4 4 EOS y a t d T D 4 04 a ep pt A HB Y u e U E 5 05 3 ae d E 1 v f v F 6 amp 06 x w g w G 4 4 4 44444444444 7 07 e E x 4 4 4 44444444444 h X H 8 08 O toc Y i Y I 9 i 09 9 a z 3 r z J OA a O t ik K r 4 4 4 4 444 444444444 oB 4 4 4 444444444444 i OC 1 i t t te tot a 4444444444444 m l l M OD S i 9 a 4 4 44444444444 1 n a N gt OE y Ho tt tt LE o O u I or 199 ISO 8859 15 Western Europe 20 0 1 2 tt 3 4 5 6 amp 7 8 9 A B c r D E F 30 40 50 60 70 80 90 AO 0 Q P ine 188 BO CO A A 2 3 u A 1 E i 1 2
11. 8 g 8 E x h x H 8 I 08 w t Q I H EE tpt ta ta tt ta ttt Y i Y I 9 09 x Y K T z j 4 4 T Z J l x OA l I 1 t OB 6 R amp M 0 4 44 4 44 4444444444 q 1 N L lt oc v 4 44 4444444444444 N m M oD amp E c Er 4 T n a N gt OE o L 0 R O 4 4 444444444444 l l OF 197 ISO 8859 8 Hebrew 10 20 30 40 50 60 70 80 90 AO BO CO DO EO FO 00 tt tt 1 b p P e 0 EH A A e tt q sq 00 b 3 q a Q A 1 Y l 01 y a 2 r b 44 4444 4444444444 R B 2 02 g 5 7 4 4 4 4 44 444444 444 44 4 4 444444444444 3 HB s t c d S T C D 3 4 03 04 r rv I RB Y tt tf u e U E 5 amp 05 3 t l 1 4 4 4 4 4424444444
12. 9 P p 32 JE 1121128 144 Q q bs E pa 81 97 113 129 145 16711177 193 130 2 j 131114 132 133 1 134 i i 125 141 157 173 203 Character Generator Table 2 4 ene Hegre A a e n B 257 EN 209 305 s 337 m ES ses a 417 REA ne des 4811497 A a 282 278 234 7 2 5 7 z 5 r 281 u 268 309 495 v t 357 sm NA Rs 421 fe 46a pA 485 501 i x 13 ans 425 243 as Be P BB ES E e a 442 458 a 450 506 2 feel 380 396 ai 428 444 480 476 492 508 x 334 asno 430 446 462 aTa 494 510 p 271 287 303 319 335 351 387 3831399 415 4311447146314791495 511 204 Character Generator Table 3 4 421758 31759 4 760 51761 461762 736 74 7 74 74 74 7 Tel tro ra aa paa li 725 72 E 7 Lebel x 98 6 667 EE R 640 a 641 T 643 1 645 646 n 647 b 648 1 650 651 630 0 4 61 61 UPPER NIBBLES 26 27 74 7491765 o 732 733 734 6 m 700 7014717 687 703 719 735 751 767 684 668 ne 652 653 e SCEICIEIEIEIE gt 5 ro En ES sr o a o E gt aa t N P amp Ho no o o 19 in io 19 19 to 19 o o O co o o y N m ur o m o an o a E En E u E oe w us a Ho ms h mm o 2 aa 536 620 637 E P 750 um 585 670 622 20
13. End of transmission ASCII Code ETX Hexadecimal Value 03 Decimal Value 3 This code is used in conjunction with ACK for the ETX ACK protocol This protocol is enabled disabled in the Systen Menu see in the System Menu under SERIAL OPTIONS the SER ETX ACK function SER ETX ACK gt Y SER ETX ACK gt N please refer to the User s Manual on the CD Rom The host transmits a block of characters followed by an ETX character The host should transmit no more characters until it receives an ACK character from the printer However the host may choose to transmit multiple blocks of data terminated with ETX even though the printer has not transmitted ACK The data source is responsible for ensuring that it does not transmit a string of data that exceeds the capacity of the printer s receive buffer ACK Acknowledge ASCII Code ACK Hexadecimal Value 06 Decimal Value 6 This code is used in conjunction with ETX for the ETX ACK protocol This protocol is enabled disabled in System Menu see in the System Menu under SERIAL OPTIONS the SER ETX ACK function SER ETX ACK gt Y SER ETX ACK gt N please refer to the User s Manual on the CD Rom The printer will transmit ACK at the currently selected baud rate and bit parity selection Transmission of the ACK is delayed until an ETX has been removed in the input buffer An ACK will be transmitted for each ETX received even if there are multiple ETX in the buffer Throughput may be reduced when th
14. DC3 XOFF ASCII Code DC3 Hexadecimal Value 13 Decimal Value 19 In the serial interface this code is sent from the printer to the host to indicate that it is not ready to receive data XOF F It may be caused by any one of the following conditions 1 Input buffer full 2 Online Offline from operator panel 3 Online Offline due to printer error condition a Out of paper b Carriage Error c Other printer error conditions In the serial and parallel mode a received DC3 is ignored ESC j Stops printing ASCII Code ESC j Hexadecimal Value 1B 6A Decimal Value 27 106 Used primarily for diagnostic purposes this command causes the printer to print the data remaining in the print buffer sound the audible alarm and go offline Additionally the ON LINE led should blink on and off continuously Depressing the ON LINE key will put the printer back on line 119 ESC 6 Selects character set 2 ASCII Code ESC 6 Hexadecimal Value 1B 36 Decimal Value 27 54 Enables character printing and disables control code execution in the range 03H 06H 15H 80H 9FH See expanded character set also known as Character Set 2 ESC 7 Selects character set 1 ASCII Code ESC 7 Hexadecimal Value 1B 37 Decimal Value 2755 Enables control code execution and disables character printing in the range 03H 06H 15H 80H 9FH See expanded character set also known as Character Set 2 120 ESC p p2 SP Selects emulat
15. ESC p1 pn lt ST gt ESC p1 p2 p3 data lt ST gt ESC c ESC D or IND ESC E or NEL ESC H or HTS Acknowledge Bell Back space Carriage return Selects printer Data Control 1 Deselects printer Data Control 3 Delete Enquiry Escape Horizontal position relative HPR Sets mode SM Vertical position absolute VPA Select graphics mode density GENGRM Resets mode RM Sets vertical tab stops at specified positions Multiple Vertical Tab Set GENVTS Horizontal position absolute HPA Vertical position backward VPB Selects national character set Select National Characters GENSNO Horizontal and vertical position absolute HVP Selects emulation GENEMU Customer setup save unsave GENCSX Unidirectional printing GENUPD Sets bar code parameters GENBC Vertical position relative VPR Horizontal position backward HPB Special print mode Oversize Expanded Bar code Mode GENSPM Sets the line character spacing Left right margin set GENSLR Graphic size modification GSM Form definition GENFD Tab clear TBC Assign source for forms GENASP Select graphics rendition SGR String terminator User defined character substitution GENUDS Operating system command Load Mode OSG Resets to initial state RIS Index Next line Horizontal tab setting 143 145 132 132 144 144 145 143 145 133 147 137 155 148 140 133 138 125 138 148 1
16. ESC T MODE 310 LPRINT 320 LPRINT ESC CHRS 1 UNDERLINE MODE 330 LPRINT ESC CHR 0 BACK TO NORMAL 340 LPRINT 350 LPRINT 0 J 2 3 351 LPRINT 4 5 6 360 LPRINT 0123456789012345678901234567890 361 LPRINT 123456789012345678901234567890 370 LPRINT 380 LPRINT ESC x CHRS 0 DRAFT PRINT MODE 390 LPRINT ESC a CHRS 3 400 LPRINT ESC 1 CHR 10 410 LPRINT ESC O CHR 40 420 LPRINT LEFT MARGIN NOW BEGINS AT 10TH COLUMN 421 LPRINT AND RIGHT MARGIN NOW ENDS AT 40TH COLUMN 430 LPRINT ESC 1 CHR 0 440 LPRINT ESC Q CHRS 136 450 LPRINT LEFT MARGIN NOW BEGINS AT OTH COLUMN 451 LPRINT AND RIGHT MARGIN NOW ENDS AT 136TH COLUMN 460 LPRINT 470 LPRINT ESC x CHR 1 ESC k CHR 3 LO PRINT 471 LPRINT MODE Prestige 480 LPRINT 490 LPRINT ESC 2 500 FOR I 1 TO 3 510 LPRINT 1 6 INCH LINE FEED 520 NEXT I 530 LPRINT 540 LPRINT ESC 0 550 FOR J 1 TO 3 560 LPRINT 1 8 INCH LINE FEED 570 NEXT I 580 LPRINT ESC 2 NOW 1 6 INCH LINE FEED 590 LPRINT A FORMFEED lt FF gt FOLLOWS THIS LINE CHRS 12 600 END 65 Basic Program Printed Output FOLLOWING ARE SOME OF THIS PRINTER S FEATURES USING THE EPSON EMULATION 10 CPI PICA 12 CPI ELITE 15 CPI 10 CPI PROPORTIONAL MODE BACK TO NORMAL DOUBLE WIDE MODE BACK TO NORMAL EMPHASIZED PRINTING BACK TO NORMAL DOUBLE STRIXE PRINTING BACK TO NORMAL MEPERMONIPT auassorret KODE UN
17. User s Manual on the CD Rom is found to be at a logic O condition when a CR is received then a line feed will occur ESC d Ni N2 Relative move in line forward ASCII Code ESC dni na Hexadecimal Value 1B 64 n n Decimal Value 27 100 ni n2 Range 0 lt n lt 255 It causes the print position to move to the right by n Hn 256 120 inch If the value exceeds the right margin then the actual distance move will be to the right margin In line move space is underlined or overscored if these modes are enabled It is valid in all print modes 103 Vertical Movements LF Line feed ASCII Code LF Hexadecimal Value OA Decimal Value 10 Position the paper down one line space as indicated by the current value of the line spacing increment This code is a line terminator This code will terminate the double width printing mode initiated by a received SO code If the positioning causes the next line to exceed the form length then the print head will move to the next top of form position ESC 4 Set top of form ASCII Code ESC 4 Hexadecimal Value 1B 34 Decimal Value 27 52 Sets the top of form at the current print line position Vertical tab settings and perforation skip length are not affected by this command 104 ESC 5n Automatic line feed ASCII Code ESC5n Hexadecimal Value 1B35n Decimal Value 2753n Range 0 lt n lt 255 When n is odd the printer will execute an automatic linefeed upon processing a received C
18. 21 92 ISO 8859 4 NORTHERN EUROPE 21 93 ISO 8859 5 CYRILLIC 21 94 ISO 8859 6 ARABIC 21 95 ISO 8859 7 GREEK 21 96 ISO 8859 8 HEBREW 21 97 ISO 8859 9 WESTERN EUROPE 2 17 1B ISO 8859 15 WESTERN EUROPE Euro symbol included MSCP MICROSOFT CODE PAGE EPCP EPSON CODE PAGE See Character Code Tables for Code Page and ISO Code Pages 89 ESC kn Selects LQ font ASCII Code ESC kn Hexadecimal Value 1B6Bn Decimal Value 27 107 n This command selects either the resident font or font card fonts based on the value of n This command will also accommodate fonts in the Optional CG chip n FONTS 0 Roman font card 1 Gothic 2 Courier 3 Prestige 4 Script 5 OCR B 6 OCR A 7 Orator 8 Presentor font card 9 Script C font card 10H Option font 1 11H Option font 2 12H Option font 3 13H Option font 4 If a font card font or an Option font is not found then the Courier resident font will be selected If in draft mode at the time the command is received the style will be used on the next selection of LQ mode 90 ESC In Font selection print mode ASCII Code ESCIn Hexadecimal Value 1B 49n Decimal Value 27 73n This escape sequence is used to mix printing with internal fonts and with downloaded fonts See ESC for information on font downloading This escape sequence will override the selection of print mode from the operator panel The allowed parameters have the following def
19. 3 13 13 13 21 2 14 14 14 22 1 15 15 15 23 0 16 16 16 24 3 7 17 17 NOTE 6 18 18 Only 2 Bytes are required for super subscri pt 5 19 19 characters 4 20 20 3 21 21 2 22 22 1 23 23 0 24 24 60 If a data bit has a value of 01H then the corresponding wire is fired If a data bit has a value of 00H then the wire is not fired In general the user of this feature must be careful that the number of bytes of download information is equal to 3 x width of the character being defined a or the results will be unpredictable Only one print mode type may be downloaded at a time That is if draft characters have been downloaded Then selecting Letter quality and downloading characters will cause the draft download characters to be cleared This applies similarly to script characters ESC NUL n NUL Copies resident font to download RAM ASCII Code ESC NUL n NUL Hexadecimal Value 1B 3A 00 n 00 Decimal Value 27580n0 If LQ mode is active then this command causes the resident font specified by n to be copied into the Download buffer RAM where values of n are as specified in the ESC k command If DRAFT mode is active then resident draft font is copied into the download buffer RAM 61 ESC lt Immediate carriage return ASCII Code ESC lt Hexadecimal Value 1B 3C Decimal Value 27 60 Causes the print head to move to the left margin position effectively causing unidirectional left to right printing for one line
20. A q a Q A 1 01 A N 44 444444444 44444 A r b R B 2 02 A 44244 4444444444444 1 E s c s C 3 03 A H t a l 4 D T 04 4 44 47 4 444444444444 l 4424444444444 44444 05 06 x tf w g w G 7 ll 07 r R 44444 444444 4444444 8 H x h x 08 gt s r p ba S m Zt rele i oe ad AA T 1 1 m at ad TT 1 ee dt I I I l I I l I Il I 1 I I t I I l t t 1 l I NE 4 I l A L IS I I I I I pr gt x I I t y ops I l 1 l I mix I t l I I l t l I I 1 l 1 i I I I I I F 4 mn lt m O o Oo Y y Y s t 2 2 1 m L M lt oc op t 47 42 4444 44444444444 T 1 2 n a N gt OE a 2 D B 4
21. ESC Jn ESC jn ESC kn ESC K ni n2 p1 px ESC In ESC L n1 n2 pi px ESC M ESC Nn ESC O ESC P ESC pn ESC qn ESCQn ESC rn ESC Rn ESC Sn ESC sn ESC T ESC tn ESC Un ESC Wn ESC wn ESC xn ESC Y n1 n2 pl px ESC Z n1 n2 pi px ESC N ESC NUL n NUL Cancels italics print mode Enables expanded character set Enables control code execution Sets text line spacing Selects text alignment Sets vertical tabs in VFU channels Vertical tabs Sets page length lines per page Sets page length inches per page Sets horizontal tab stops Selects emphasized printing Selects deselects Automatic Sheet Feeder ASF Cancels emphasized printing Selects 15 CPI Selects double strike printing Cancels double strike printing Single variable line feed Reverse n 180 Selects font style Single density graphics ON Sets left margin Double density graphics ON Selects 12 CPI Sets skip perforation Disables the skip perforation Selects 10 CPI Selects proportional mode Selects character style Sets right margin Selects a color ribbon band Selects international character sets Selects subscript or superscript printing Selects full half speed printing Cancels subscript or superscript printing Selects character table Unidirectional printing ON OFF Selects or cancels double width printing Selects double high mode Selects print mode Double density graphics ON
22. GENBC ASCII Code ESC pi Pn Hexadecimal Value 1B 5B pi 3B p 7D Decimal Value 27 91 pi 59 p 125 This command allows selection of the bar code characteristics such as style height symbol rotation and so on The command ESC 3 t enables the bar code mode while ESC 0 t disables the mode p Bar code style p FUNCTION 0 Interleaved 2 of 5 1 Bidirectional 2 of 5 2 Matrix 2 of 5 3 Industrial 2 of 5 4 Code 3 of 9 default 5 EAN 8 6 EAN 13 7 Code 11 9 Codabar default start stop a t 10 Codabar default start stop b n 11 Codabar default start stop c 12 Codabar default start stop d e 13 UPC A 14 UPC E 15 Code 93 158 p FUNCTION 16 Code 128 subset A B and C 17 Code 128 subset A B and C 18 Code 128 subset A B and C 19 MSI 20 UPC 2 Supplemental 21 UPC 5 Supplemental 22 EAN 2 Supplemental 23 EAN 5 Supplemental 50 Postnet p Barcode Height p FUNCTION 1 Minimum bar code height 1 12 inch 120 Maximum bar code height 10 inches 12 Default bar code height 1 inch p Human Readable Input HRI p FUNCTION 0 Disables printing of the HRI 1 Enables printing of the HRI default p Narrow Bar Default width value 2 120 144 and 180 dpi p Wide Bar Width Default width value 3 120 144 dpi 4 180 dpi p Narrow Space Width Default width value 6 120 144 and 180 dpi 159 p Wide Space Width Default width value
23. M2 m my This command selects double high doublewide and double line feed options The following parameter values are allowed n always 4 n always O m always O m always O m character height and line feeds Character Height Unch Single Double LineFeeds Unch 0 1 2 Single 16 17 18 Double 32 33 34 m character width O current value 1 single wide 2 double wide 77 ESC E Selects emphasized printing ASCII Code ESC E Hexadecimal Value 1B 45 Decimal Value 2769 This command will cause subsequent character printing to be emphasized Emphasized printing is defined as printing a dot twice with 1 360 inch horizontal spacing between dots ESC F Cancels emphasized printing ASCII Code ESC F Hexadecimal Value 1B 46 Decimal Value 27 70 Cancels the emphasized printing mode started by ESC E ESC G Selects double strike printing ASCII Code ESC G Hexadecimal Value 1B 47 Decimal Value 27 71 This command will cause subsequent character printing to be double strike Double strike is accomplished by making two passes of the same printable data with no displacement between dots of the first and second pass 78 ESC H Cancels double strike printing ASCII Code ESC H Hexadecimal Value 1B 48 Decimal Value 2772 Cancels the double strike printing mode started by ESC G ESC n Continuous overstrikes ASCII Code ESC n Hexadecimal Value 1B5Fn Decimal Value 2795n
24. Range 0 lt n lt 255 This escape sequence will cause all subsequent characters to be over struck if n is an odd parameter and will end continuous overstrike if n is an even parameter ESC Sn Selects subscript or superscript printing ASCII Code ESC Sn Hexadecimal Value 1B 53n Decimal Value 27 83n Range 0 lt n lt 255 Enables the super or subscript printing mode If the parameter is an even value such as NUL then superscripting will be done If it is an odd value such as SOH then subscripting will be done In each of these modes the characters will be shortened to half height and then positioned in the upper superscript or lower subscript half of the print line These modes are mutually exclusive of each other and therefore the last one received is active 79 ESC T Cancels subscript or superscript printing ASCII Code ESC T Hexadecimal Value 1B 54 Decimal Value 27 84 Cancels the super or subscript printing mode Characters return to their prior size at the previous baseline position ESC b Selects the Black top 1st color band ASCII Code ESC b Hexadecimal Value 1B 62 Decimal Value 27 98 Selects the Black top band of a color ribbon or one of the black bands of a Red Black ribbon for printing This required that the order of colors in the color ribbon be predetermined This command will not override the automatic ribbon shift in effect when the Black ribbon and Red Black ribbon is installed and selecte
25. Space ASCII Code SP Hexadecimal Value 20 Decimal Value 32 This code will position one character space to the right of the print head position 132 ESC pi Horizontal position absolute HPA ASCII Code ESC pi Hexadecimal Value 1B 5B pi 60 Decimal Value 27 91 p1 96 This command causes the print position to be moved to the decipoint location specified by p This sequence can be used to print within the left top and bottom margins ESC p1 Horizontal position relative HPR ASCII Code ESC pa Hexadecimal Value 1B 5B pi 61 Decimal Value 27 91 p 97 This command causes the print position to be moved to the right relative to the current position The p parameter specifies the number of decipoints This command cannot be used to move beyond the right margin ESC pi p2 S Left right margin set GE NSLR ASCII Code ESC pi pos Hexadecimal Value 1B 5B pi 3B po 73 Decimal Value 27 91 p 59 p gt 115 This command sets the left and right margin values The p parameter specifies the deci point value of the left margin The p parameter specifies the deci point value of the right margin value The default value for the left margin is O while for the right margin it is the maximum width supported by the printer configuration that is 13 6 720 9792 133 ESC pi j Horizontal position backward HPB ASCII Code ESC pi j Hexadecimal Value 1B 5B p 6A Decimal Value 27 91 p 106 This command
26. Turkish 10 20 30 40 50 60 70 80 90 AO BO CO DO EO FO 00 185 Greek 10 20 30 40 50 60 70 80 90 AO BO CO DO EO FO 00 186 Kamenicky DO EO FO 90 AO BO CO 80 30 40 50 60 70 BODOG 20 10 00 eee a Pee ERES ASAS e Sos es te OSO ae ee eo le NNN T al fr 187 CWI 00 01 02 03 04 05 06 07 08 09 OA OB oc op GE OF DO EO 70 BO ep p EEEL CEEE CORNEA EEES MESA eee eee P 5 nD aa e ate CO ae AMOO Ciara OMA ECOS AMES EA 5 AA NN NE CK VERN ER pel MENN See REN 188 Roman 8 0123456789ABCODEF 189 IN2 00 01 02 03 04 05 06 07 08 09 OA OB oc oD OE OF 190 ISO 8859 1 USA Western Europe BO CO DO EO FO 90 AO 20 30 40 50 60 70 80 A 4 44 4444 e TT 10 00 l l p N A o P q a P 9 R A tanto ton po tt tt tt tp pet l T YY 0 1 l 1 00 01 r 2 r b 2 B 02 6 A 3 s c S C 3 tt pet 03 6 4 4 4 4 4 4 4444444 pt A a t
27. d T D 4 I 04 6 l a A H u e U E 5 E A RE DEL AE e 05 E q Vv f V F 6 amp 447 444 444444444444 06 gt 7 l x G 4 44 4 4 pp tp pt w g W G 7 07 g x h x H 8 4 44 4 44444444444 08 y i Y I 9 l 09 a z j z J OA 4 4 4 44 444744444444 OB i vs 4 44 44444444444 oc y b Y P t 1 5 A l 3 m n M N gt l i OD og y 424 444 444444 44444 B Y o l o OF 191 ISO 8859 2 Eastern Europe BO CO DO EO FO EA A A tao e tt A O A rm 90 AO 10 20 30 40 50 60 70 80 00 a p K _ o P P l 0 00 A 4244 444 424444444444 a
28. subsets A B C 17 Code 128 18 Code 128 19 MSI 20 UPC 2 Supplemental 21 UPC 5 Supplemental 22 EAN 2 Supplemental 23 EAN 5 Supplemental 50 Postnet This barcode implementation differs from the A NSI implementation in two ways The parameter values above are binary values ASCII in ANSI mode The set parameters command permits changing of only one parameter at a time 85 Character Set Selection ESC n m id sa sa h d n Defines downloaded characters table ASCII Code ESC n m id sa sa h d dh Hexadecimal Value 1B 3D n m id sa sa h d d n Decimal Value 27 61 n m id sa sa h di dy Downloads character data lookup table data and the font descriptor byte n m 256 Count of number of bytes included in sequence data beyond count value will be printed as normal data id Must be 23H Sa Sa Starting address low high respectively for position the character data when defining downloaded characters position of lookup table data defined when defining lookup table data paid Character or lookup table data defined as follows dd Starting address low high of character s image in character memory attrl Attribute byte defined as follows Bit 7 1 Bit 70 Bit 6 1 Bit 6 0 Bits 5 0 attr2 Bit Ww ct u indicates block graphic character indicates normal character indicates downloaded character indicates resident character number of character data
29. 4 Y 8 n OD CR M m CR i Y OE sO gt N In so lt i e OF S 0 o DEL S gt i u n sp 163 Character Set 2 CS2 00 10 20 30 40 50 60 70 80 90 ao BO Co DO EO FO 00 NUL sp 0 el r j p LITA p alhl 01 pci 1 AJQla ql lel A N 8 J 4 02 DC2 2 BIR b rl E G6 1 A O G o3 v DC3 3 c s c s Ja ul AJl p o4 DC4l 4 D T d t 6 l ls ol e l 81 5 E Ulelu l a al o o NIiu A l s gt 06 4 8 6 FI Iv fl vl l al a 1 l l ul 07 BEL 7 G W g w G E x t os BS CAN 8 H Xx h x j yle F 09 HT plolilylilylelol 2 U T OA LF J z j ze o OB VT ESC K k li gt a v oc FF lt LIA tlelululilol l8l nm OD CR M m Re if i i i OE SO gt SINI n P lt yu e or sI ojb A JENTEN EP 164 IBM All Character Sets 10 20 30 40 50 60 70 80 90 AO BO CO DO EO FO 00 ada RE coi lll AA oe NN MT PEPR EEA 5 A PR e 165 EPSON Italic Character Set BO CO DO EO FO 90 AO 4 4 4 447474444 4444444 10 20 30 40 50 60
30. 4 4 44 44444444 4444 2 o O f OF 192 ISO 8859 3 Southern Europe DO EO FO 90 AO BO CO 20 30 40 50 60 70 80 trp pa tpn 4 44 tp ppt 10 00 A o p P l 10 4 4 4 4444444444444 00 h H q a Q 44 4444 444444444 A 1 01 A 2 r b R B 2 LA La EE 4444 02 l 6 3 s c S C 3 03 4 4 44 4444444 4 444 4 4 44 444 44444 444 A H t l d T D 4 04 g 4 4 4 4 444444444444 H u e U E 5 05 4 4 47 4 4 44474 444 444 el 06 y x 4 4 4 47 44444444444 S w g W G 7 07 9 tt pn Y gt x h x H 8 08 1 i Y i Y I 9 09 s 9 z j y Z J OA 0 g amp tem 4 4 4444444444 T t k K 0B
31. 7 120 144 dpi 8 180 dpi p Intercharacter Space Width Default width value 3 120 144 dpi 4 180 dpi p Rotation P FUNCTION 0 O degrees using current font 1 O degrees using special HRI font 2 90 degrees using special HRI font 3 180 degrees using special HRI font 4 270 degrees using special HRI font Po Horizontal Print Density for Bar Codes Printed Po FUNCTION 1 120 dpi horizontal density 2 144 dpi horizontal density Reserved 3 180 dpi horizontal density py Check Digit Pa FUNCTION 0 No check digit requested default 1 Check digit requested p Human Readable Font Reserved p Bar Code Height in 1 24th inch increments Reserved 160 Basic Program Sample 100 110 120 121 130 140 150 160 170 180 190 200 210 220 230 240 250 260 270 280 290 300 310 320 330 340 350 360 370 371 380 381 399 409 410 429 439 449 441 459 460 479 471 480 490 500 510 520 530 540 550 560 570 580 590 600 610 620 DEFSTR FR RSC CHRS 27 Define Escape character WIDTH LPT1 255 LPRINT LPRINT LPRINT LPRINT LPRINT LPRINT LPRINT LPRINT LPRINT LPRINT LPRINT LPRINT LPRINT LPRINT LPRINT LPRINT LPRINT LPRINT LPRINT LPRINT LPRINT LPRINT LPRINT T PRTNT LPRINT LPRINT LPRINT LPRINT LPRINT LPRINT LPRINT LPRINT REM LPRINT REM LPRINT LPRINT LPRINT REM LPRINT LPRINT LPRINT LPRINT LPRINT LPRINT FOR I 1 LP
32. 70 80 00 101121 l pl INUL P P 4 4 4 4 4 444444444 4 e NUL SP O 00 I Ql a 4 1 4 47 4 4 4 44 T DCi 7 q Q A 1 DC1 01 ir IDC2 1 21 FIL Z P T 2 DC2 02 17 CHI S ci s IDC3 tp ca s c 5 C 3 l IDC3 03 IDC4 1 Z 21 7 ai zi t A 4444444444444 IDC4 4 l 04 5 Z Z el ul u e U E 5 l 4 4 4 444444444444 05 IEI Z Vi FI vi amp v f V F 6 amp 4 4 44 44444474444 06 I Zl Gl zl vw BEL w g w G 4 4 4 444 44444 44444 7 BEL 07 x I h I BSICANI 2 ZI X s 8 BSICANI 08 y 4 44 a tt tt pan E Da 19127 Fila 2 HT Y i Y I 9 HT 09 171217121 x LF z j 2 4 4 4 4 4 4444444444 z J x LF OA I ZI l ZI 4 VTIESC t Iki K VTIESC 4 4 4 4 4 444444444 OB l Z Z lt P FF l 1 N L lt l FF l ta ac MV Jl ml Z CRI m 11 M CR
33. AO BO CO DO EO FO CODAE r 175 CP 858 Euro PC Multilingual 20 0 1 t 2 3 4 5 6 amp 7 8 9 A B C D E E F 30 40 50 60 70 0 P 80 90 C E a 6 6 y i i x A f 10 IG x gt 1 7 a L 8 p r F A 1 E f p TE rm Ti x m FO 176 CP 860 Portugal 00 10 20 30 40 50 60 70 80 90 AO BO CO DO EO FO 177 CP 863 Canada France O AO Bo CO DO EO FO 9 80 70 60 50 0 40 3 20 10 00 PAP A RNA D D oi ENE 178 CP 864 Arabic 00 10 20 30 40 50 60 70 80 90 AO BO CO DO EO FO JL gt El 179 CP 864E Arabic EO FO CO DO BO 90 AO 10 20 30 40 50 60 70 80 00 00 01 02 03 q 04 05 06 07 08 09 OA OB oc q oD OE OF 180 CP 865 Denmark Norway 00 10 20 30 40 50 60 70 80 90 AO BO CO DO EO FO 181 CP 866 Cyrillic 00 10 20 30 40 50 60 70 80 90 AO BO CO DO EO FO 00 a s j FFE K Ecs nc Piece OE e n MODO ac AO ES EE EL ERR 07 08 OD OE OF 182 CP 867 Turkish 2 10 20 30 40 50 60 70 80 90 AO BO CO DO EO FO 00 ERRARE E 183 Mazowia Polish 10 20 30 40 50 60 70 80 90 AO BO CO DO EO FO 00 184
34. All Character Sets a 1 165 Character Set Selection EPSON Italic Character Set 166 Dot Graphics ae ee ANSI Emulation Character Set 1 Enabled 8 Bit Control Horizontal Movement errar Disabled ta 167 Vertical Movements renan ANSI Emulation Character Set 1 Enabled 8 Bit Control MSN Enabled sao ert rer 168 Basic Program Sample csccsssssssesssseesessesesseseesesteseesesteseenes ANSI Emulation Character Set 2 Enabled 169 Basic Program Printed Output sisters Character Code Tables 170 IBM Emulation Commands ccccccccccccccocecececcccceceee 67 CP 437 USA Western Europe 170 IBM Command Descriptions u CP 850 Multilingual u uu uuu uu u uq 171 Setting Form Length aa 2 pd a 172 Setting Character and Line Spacing Eastern Europe A 173 CP 853 Turkish a S l een 174 Setting Print Attributes i CP 855 Russian era 175 BarCode Selection Character Set Selection erre CP 858 Euro PC Multilingual aan 176 CP 860 Portugal l u Dot Graphics U CP 863 Canada France Horizontal Movements
35. CD Rom ESC 6 E nables expanded character set ASCII Code ESC 6 Hexadecimal Value 1B 36 Decimal Value 27 54 Enables character printing and disables control code execution in the range 03H 06H 15H 80H 9FH This command is recognized only if the Graphic set is enabled That is control codes are always executed if the italics set is enabled See expanded character set table also known as Character Set 2 57 ESC 7 Enables control code execution ASCII Code ESC 7 Hexadecimal Value 1B 37 Decimal Value 2755 E nables control code execution and disables character printing in the range 03H 06H 15H 80H 9FH See expanded character set table also known as Character Set 2 ESC Cancels MSB control ASCII Code ESCH Hexadecimal Value 1B 23 Decimal Value 2735 This command sets most significant bit MSB control selected by the ESC gt MSB 1 and MSB 0 commands 58 ESC amp NUL n m a a d d Defines the 24 pin Download Characters ASCII Code ESC amp NUL nm as a d dx Hexadecimal Value 1B2600nma a d dx Decimal Value 27 38 0 n m ao a d dx Range O lt n lt 127 O lt m lt 127 0 lt d lt 255 ao a1 do This escape sequence is used to download fonts into the printer Once fonts have been downloaded they can be selected by ESC Parameter n is the character position of the first character and parameter m is the character position of the last character to be downloa
36. Code Page 863 8593 ISO 8859 3 Southern Europe 864 Code Page 864 8594 ISO 8859 4 Northern Europe 865 Code Page 865 8595 ISO 8859 5 Cyrillic 866 Code P age 866 8596 ISO 8859 6 Arabic 867 Code Page 867 8597 ISO 8859 7 Greek 5915 ISO 8859 15 8598 ISO 8859 8 Hebrew Euro symbol included 8570t08575 Reserved 8599 ISO 8859 9 Southern Europe 2 8576 Mazowia 8600 to 8700 Reserved for other ISO Tables 8577 Turkish 8701 to 32737 Reserved for other 8 bit Tables 8578 Greek See Character Cade Tahles 126 Character Pitch and Print Modes ESC p i pn m Select graphics rendition SGR ASCII Code ESC p pnm Hexadecimal Value 1B 5B pi 3B p 6D Decimal Value 27 91 pi 59 p 109 This command selects fonts pitch print modes character styles and colors according to the parameter settings DEFINITION Normal Print Mode Bold Print Mode Subscript Mode Superscript M ode Underline Mode Expanded M ode Proportional Italic Mode 9 Reserved 10 Draft Font at 10 cpi 11 Draft Font at 10 cpi 12 LQ Gothic at 10 cpi 13 Draft Font at 10 cpi Ke ON OU Q N FE O 127 p DEFINITION 14 LQ Courier at 10 cpi 15 Draft Italic at 10 cpi 16 LQ Gothic Italic at 10 cpi 17 Draft Italic at 10 cpi 18 LQ Courier Italic at 10 cpi 19 Draft at 10 cpi 20 Reserved 21 Double Underline Mode 22 Cancel Bold Mode 23 Reserved 24 Cancel Underline Mode Single Double 25 Cancel Expanded M ode 26 Cancel Propor
37. ESC Sets MSB equal to zero 0 ASCII Code ESC Hexadecimal Value 1B 3D Decimal Value 27 61 This command sets the most significant bit MSB of received data to zero regardless of the logic state of the bit at the time it is received Cancels the ESC and ESC gt commands ESC gt Sets MSB equal to one 1 ASCII Code ESC gt Hexadecimal Value 1B 3E Decimal Value 27 62 This command sets the most significant bit MSB of received data to one regardless of the logic state of the bit at the time it is received Cancels the ESC Hand ESC commands 62 ESC ni nom di d gt Selects the score line ASCII Code ESC ni nz m d d2 Hexadecimal Value 1B 5B 2D n n2 m d d2 Decimal Value 27 91 45 n nom di d Range n 03H n OH m 01H Selects the type of score that overwrites characters d SPECIFIES SCORE LOCATION 01H Underline position 02H Strike through position 03H Overline position To select type d SPECIFIES SCORE STYLE OH Cancel current score 01H Single continuous line 02H Double continuous line 05H Single discontinuous line 06H Double discontinuous line 63 ESC p p2 SP Selects emulation ASCII Code ESC p p2z SP Hexadecimal Value 1B 5B pi 3B pa 20 7E Decimal Value 27 91 pi 59 p2 32 126 This sequence will switch the emulation of the printer to another available emulation p Emulation identifier This parameter will select
38. ESC A setting If AGM is enabled IBM AGM MODE gt Y and if ESC 2 is received then 1 6 inch spacing is set Illegal parameters will cause the sequence to be ignored ESC 2 Sets ESC A text line spacing ASCII Code ESC 2 Hexadecimal Value 1B 32 Decimal Value 27 50 Sets the line spacing to the value supplied by the last ESC A sequence If the AGM is enabled see in the System Menu under IBM OPTIONS the IBM AGM MODE gt Y function please refer to the User s Manual on the CD Rom then ESC 2 is not used to enable text line spacing but will set line spacing to 6 Ipi If no ESC A sequence was received prior to this command then the line spacing will change to 1 6 inch spacing 6 Ipi 72 ESC 1 Sets 7 72 inch line spacing ASCII Code ESC 1 Hexadecimal Value 1B 31 Decimal Value 21 49 Sets the spacing between lines to 7 72 inch Not available when IBM AGM MODE gt Y is selected in the System Menu please refer to the User s Manual on the CD Rom ESC 3n Sets graphics line spacing ASCII Code ESC 3 Hexadecimal Value 1B 33 n Decimal Value 27 51n Range 0 lt n lt 255 Decimal Sets the line spacing increments of n 180 inch if AGM enabled or VSU 1 180 n 216 inch if AGM disabled or VSU 1 216 See in the System Menu under IBM OPTIONS the IBM AGM MODE gt Y N functions please refer tothe User s Manual on the CD Rom 73 ESC n n M m m3 M Sets vertical units ASCII Code ESC Ny N2 M M2 M3 M4 H
39. Hexadecimal Value 1B 5B p 74 Decimal Value 27 91 p 116 This sequence selects deselects oversize expanded or bar code mode according to the pi parameter value See the table below p FUNCTION 0 Cancel special mode 1 Select oversize mode 2 Select expanded mode 3 Select bar code mode It can select just one special print mode at a time 130 SO Shift out ASCII Code SO Hexadecimal Value OE Decimal Value 14 This code enables E xpanded Oversize mode as determined by the last received ESC pl t command SI Shift in ASCII Code SI Hexadecimal Value OF Decimal Value 15 This code disables the E xpanded Oversize modes determined by the last received ESC pl t command ESC pi Pn Unidirectional printing GENUPD ASCII Code ESC pi Pn Hexadecimal Value 1B 5B pi 3B p 7B Decimal Value 27 91 p 59 pn 123 This command selects the unidirectional or bi directional printing according to the p parameter values FUNCTION Cancel unidirectional printing Print unidirectional LQ and DP Print unidirectional Dot Graphics p 0 1 2 131 Horizontal Movements BS Back space ASCII Code BS Hexadecimal Value 08 Decimal Value 8 The BS code moves the print head one character to the left at the current cpi CR Carriage return ASCII Code CR Hexadecimal Value OD Decimal Value 13 This code causes the print head to be moved to the left margin on the current line SP
40. I e x h X 44 44 44447444 H 8 I 08 a Y i 4 4 4 4 444444444444 Y I 9 09 o x OA E 4 4 4 44 4444444441 lt t l IK Ik 4 44 4444444444444 OB al Fam 4 4 444 444 4444 444 1 N L lt oc Q 3 m do 444444444444 OD 4 44 4 4 4 4 444444444 l m n A N gt OE gt o o 4 4 444444444444 OF 196 ISO 8859 7 Greek 10 20 30 40 50 60 70 80 90 AO BO CO DO EO FO 00 r T ttt T o VU A A O A A A A ttt n t o p P oO 00 p a P A q a Q A 1 44 4444 EE ttt 01 S B 44 44 4444 4444444 B 2 i r b R B 2 02 c T gt r 3 4 4 4744744444444 s c S C 3 03 T T A A t d 4 44 444444444444 T D 4 ts 04 u E T E u e U E 5 4 4 4 et et 4 ttt ttt tt os t o ttt ttt Z A v f v F 6 amp 06 x n x H t 4 4 4 4 44 w g W G 7 07 Y 4 44 4444444444444
41. MODE BACX TO NORMAL BOLD PRINTING BACK TO NORMAL BOLD PRINTING BACK TO NORMAL PARTIAL LINE UP PARTIAL LINE DOWN BACE TO NORMAL UNDERLINE MODE HACK TO NORMAL 1 2 3 4 5 5 123456789012345678901234557890123455789012345578901234567890 DRAFT PRINT MODE LEFT MARGEN NOW BEGINS AT 1 IN CH AND RIGHT MARGIN NOW ENDS T 4 INCHES LEFT MARGIN NOW BEGING AT O INCH AND RIGHT MARGIN NOW ENDS AT 13 6 INCHES LQ PRINT MODE Prestige 1 6 INCH LINE FEED 176 INCH LINE FEED 1 6 INCH LINE FEED 1 8 INCH LINE FEED 1 8 INCH LINE FEED 1 8 INCH LINE FEED NOW 1 6 INCH LINE FEED A FORMFEED lt FF gt FOLLOWS THIS LINE 162 Tables This section contains the character sets and the hexadecimal to deci mal conversion table Character Sets Character Set 1 CS1 00 10 20 30 40 50 60 70 80 90 AO BO CO DO EO FO 00 NUL sp o P i p NUL 5 a 01 DC1 1 AJ Q a q DC1 8 02 DC2 2 B R b r DC2 O 03 DC3 3 C s c s DC3 3 A P 04 DC4 4 D T d t DC4 A 8 05 5 E U e u u 8 06 amp 6 F v f v a O 07 BEL 7 G w g w BEL 5 x t 08 BS CAN 8 H x h x BS CAN amp F 09 HT 9 I Y i y HT a 1 T OA LF J Z j z LF 5 o 0B VT ESC K k vr ESC a v OC FF lt L FF
42. SP Hexadecimal Value 1B 5B pi 3B pa 20 7E Decimal Value 27 91 pi 59 po 32 126 This sequence selects the emulation according to p values Parameter p is an emulation identifier value while p is a reset control value p p gt FUNCTION 0 GENICOM ANSI 1 20 Reserved 21 IBM Proprinter XL24 XL 24E 22 EPSON LQ 1050 0 Hold values default The current settings remain valid after changing the printer emulation 1 Full reset The status of such parameters reverts to defaults dependent on the selected emulation To select ANSI mode from the Proprinter XL24 mode and maintaining the parameters the sequence would be lt ESC gt 0 0 lt SP gt Leading zeros and defaulting parameters are not guaranteed to be parsed and therefore should not be used by the application Parameter p p will be expressed as ASCII not binary values In the example above 0 is 30H not 00H 148 ESC pi P2 ps SP Customer setup save unsave GENCSX ASCII Code ESC p4 P2 ps SP Hexadecimal Value 1B 5B pi 3B p2 3B p 20 7C Decimal Value 27 91 pi 59 p2 59 ps 32 124 This sequence allows saving amp restoring page and print definitions into or out of the current User Format Parameter p defines the general operation Parameter p specifies the User Format to read from or to write as indicated by pi Parameter p is not required If p 0 the contents of the User Format specified by p overwrites the current one
43. Value 1B 5B pi 3B p gt 3B ps 72 Decimal Value 27 91 pi 59 p2 59 ps 114 This command sets the page length top and bottom margins The p pa and ps parameters specify the decipoint values p FUNCTION p Page Length D Top Margin Position F rom the Beginning of the Page D Bottom Margin Position From the End of the Page The maximum page lenoth value is 15840 decipoints 22 inches ESC pi pa lt SP gt G Sets the line character spacing ASCII Code ESC pi pa lt SP gt G Hexadecimal Value 1B 5B pi 3B p 20 47 Decimal Value 27 91 p4 59 p232 71 This command sets the spacing between lines p1 parameter and the horizontal character pitch p gt parameter in decipoints If the vertical spacing value exceeds the current form length this setting will be ignored 141 Interface Control NUL Ignored ASCII Code NUL Hexadecimal Value NUL Decimal Value 00 This code is ignored ETX End of transmission ASCII Code ETX Hexadecimal Value 03 Decimal Value 3 This code is used in conjunction with ACK for the ETX ACK protocol This protocol is enabled disabled in the menu see in the System Menu under SERIAL OPTIONS the SER ETX ACK function SER ETX ACK gt Y SER ETX ACK gt N please refer to the User s Manual on the CD Rom The host transmits a block of characters followed by an ETX character The host should transmit no more characters until it receives an ACK character from the printer Howe
44. data ASCII Code CAN Hexadecimal Value 18 Decimal Value 24 This code will cause all printable data received since the last line terminator to be deleted This code is a line terminator The current print position will be retained Printer response to this code is enabled disabled by the CAN CODE selection see in the System Menu under OTHER OPTIONS the OPT CAN CODE function OPT CAN CODE gt Y OPT CAN CODE gt N please refer to User s Manual on the CD Rom ESC Kn no init ID m m Printer setup ASCII Code ESC K n no init ID m m2 Hexadecimal Value 1B 5B 4B n n init ID m m2 Decimal Value 27 91 75 n n gt init ID m m2 Range 0 lt n lt 255 This escape sequence causes the printer to reset to its initial state according to the parameters If the user specifies a value of 0 1 or 254 and parameters are specified the parameter overwrites the current menu setting If the user specifies a value of 4 5 or 255 and parameters are specified the parameter overwrites the printer function setting set by the factory 113 Number of parameter bytes that follow n Kn 256 05H ID Specifies reset condition init values that are not supported are recognized as 00 The printer is initialized to the user default setting The downloaded font is not deared If the user specifies parameters they overwrite current Operational Menu setting The printer is initialized to the user default setting The downloaded font i
45. horizontal tab stops in columns as indicated by parameters There can be a maximum of 28 tab stops at any given time The parameters must come in ascending order The list of tab stops must be terminated by the NUL code Parameters are column numbers at which tab stops are to be set Any column that is not referenced in the list is cleared by this command Therefore using this sequence without any parameters will clear all horizontal tab stops The default tab setting from power up is a tab set in column nine and every eight columns thereafter unless tabs are previously set by host and stored in NVRAM ESC D NUL will clear all horizontal tab settings If more than 28 tabs are sent to be set the 28 tab setting automatically causes an exit from the tabs set mode and subsequent data is interpreted as normal text data Any parameter that found in descending order would be ignored Transition from one character pitch to another e g 10 to 12 cpi will result in tab stops that are in the ninth column as indicated by the ESC D sequence parameters 101 ESC X ny N2 Sets horizontal margin ASCII Code ESC X ni n gt Hexadecimal Value 1B 58 n n Decimal Value 27 88 n n2 Range 0 lt n lt 255 Sets left n1 and right n2 margin positions Units of n are the character spacing increment when the command is received The parameter n and n are eight bit binary coded values The current pitch setting is used so margins set by ESC X 10 50 wou
46. initiated by a SO code and returns to the previously selected print compression SO or ESC SO Selects double width printing ASCII Code SO or ESC SO Hexadecimal Value OE or 1B OE Decimal Value 14 or 27 14 This code will enable double width printing for subsequent characters until a line terminator a DC4 code or an ESC W sequence is received Character printing will cause each character to be printed twice its current width by printing a given dot column twice at the current DPI CPI in effect The characters are expanded to take up two character spaces each but the tab positions are not changed That means that for the power up default tabs only four doublewide characters can be printed between tab stops If twelve CPI print is invoked then double wide is invoked the character will print at six CPI ESC Wn Selects or cancels double width printing ASCII Code ESC Wn Hexadecimal Value 1B 57n Decimal Value 27 87 n Range n 00H 01H This command will enable continuous double width printing for subsequent characters If n is O1H character printing will have each character elongated to twice its current width If n is OOH then double width printing mode is canceled The double wide by ESC W 1 is equivalent to ESC Indeterminate Conditions If the double width print mode is already active by use of the SO code the shift out mode is canceled and the ESC W sequence will have the control ESC Ny N2 mma ms ma Selects doub
47. l 98 b m u n 4 4 444444444444 b Y i Y I 9 I 09 Ib b K b K Bb z j po e q to tt ta tpt ttt Z J OA h 4 44 444444444444 HH JI bl JI h k K 0B S K d 4 4 q mm mm tap pai pe tt ooo b 3 M H b 3 M H K 3 1 m N L M lt 4 44 444444 444444 oc OD y u 10 4 44 ta tt tp ttn tt tot ttt A o n l K A O o II y H 195 n o a N O gt 2 l l OE OF ISO 8859 6 Arabic BO CO DO EO FO 90 AO 10 20 30 40 50 60 70 80 00 444444444444 5 p P 4 4 4 444444444444 e l l O 00 w los 2 44 4444444444444 01 e l T 18 r b R B 2 42 44444444 444444 S l 02 J o 5 c S C 4 4 4 4 4 4 444444444 3 03 J l 3 t d T D 4 l 4 4 4 4444444444 04 e l c A u e U E 5 l l ttt tt th tt tt 05 alelos 4 4 44 aaaea v f v F 6 amp 06 L L rl w g W hm A A 4444444 G 7 07 2 Is
48. level signal Indicates printer out of paper Printer enters WAIT state until paper is reloaded and the ON LINE key is pressed SELECT 13 PRT Active HIGH level Indicates that the printer is ready to receive and print data It is not active when the printer is in WAIT or in FAULT state or upon Software Deselect Command AUTOFEEDXT 14 HOST Must be low for at least 50 ms before and after a CR 209 Signal Name Pin Number Source Description Signal Wire Return Wire 15 34 Not used GND 16 33 Common Signal Ground CHASSIS 17 Frame ground GROUND 5VDCO PT 18 PRT D C voltage supplies 100 mA max 250 mA later on for LAN adapters It is not installed as default and it is installable only by Technician INIT 31 HOST Active LOW level Causes the printer to initialize BUSY signal is forced high ERROR 32 5 PRT Active LOW level Indicates that the printer is disabled WAIT state because of a paper out condition or a printer malfunction FAULT state 5V 35 PRT Pulled up signal 33 k ohm SELECTIN 36 HOST Active LOW level It enables the printer A jumper can connect it to ground 210 The Serial Interface This printer provides both RS 232 C and RS 422 A electrical serial interfaces The interface mode is selected via menu see in the System Menu under INTERFACE the I F TYPE function I F TYPE BOTH I F TYPE PARALL and I F TYPE SERI
49. mode is selected via menu see in the System Menu under INTERFACE the I F TYPE function I F TYPE BOTH I F TYPE PARALL and I F TYPE SERIAL values please refer to the User s Manual on the CD Rom An alternate connector will be available on an optional board providing connector 1284 type C miniature 36 pin connector e DriveCapability 15 feet 5 m on AWG26 min wire size of twisted conductors on TTL receiver e Printer Connector Type AMPHENOL 57 40360 12 D56 or equivalent e Cable Connector AMPHENOL 57 30360 12 or equivalent Interface e Signals The interface pin assignment is described in the table on the following page 208 Signal Name Pin Number Source Description Signal Wire Return Wire STROBE 1 19 HOST Active LOW level signal Clock signal which controls data transmission The pulse width must not be less than 0 5 usec at the input ACK 10 28 PRT Active LOW level signal Indicates that the data has been received and stored in the input buffer DATA BIT 1 2 20 HOST Represents transmitted data logical 1 is DATA BIT 2 3 21 represented by HIGH level signal Logical DATA BIT 3 4 22 0 is represented by LOW level signal DATA BIT 4 5 23 DATA BIT 1 pin 2 is the least significant DATA BIT 5 6 24 bit DATA BIT 6 7 25 DATA BIT 7 8 26 DATA BIT 8 9 27 BUSY 11 29 PRT An active HIGH level signal that indicates that the printer cannot accept data or control codes PE 12 30 PRT Active HIGH
50. numeric rather than binary values Parameters within commands with multiple parameters must be separated by a semicolon See BASIC Program Sample and result printed by the printer on 124 ANSI Command Descriptions Character Set Control ESC pi x Selects national character set Select National Characters GENSNC ASCII Code ESC p x Hexadecimal Value 1B 5B p 78 Decimal Value 27 91 p 120 This command selects the national character set table according to the p parameter value See the following tables 7 bit Substitution P NATION p NATION 0 USA 13 Swedish Finnish A 1 Germany 14 Swedish Finnish B 2 French A 15 Swedish Finnish C 3 French B 16 Swedish Finnish D 4 French Canadian 17 Switzerland 5 Netherlands 18 USA ISO 6 Italian 19 Yugoslavia 7 United Kingdom 20 United Kingdom A 8 Spanish 21 Turkey 9 Danish Norwegian A 22 Greece 10 Danish Norwegian B 25 Cyrillic 11 Danish NorwegianC 90t099 Downloaded Substitution Sets all fonts 12 Danish Norwegian D See ANSI National Variation table 125 8 bit Substitution p CHARACTER SETS p CHARACTER SETS 437 Code Page 437 8579 Kamenicky 850 Code Page 850 8580 CWI 851 Code P age 851 8581 Roman 8 852 Code P age 852 8582 IN2 853 Code P age 853 8583 Code Page 864E 855 Code P age 855 8584 to 8590 Reserved 858 Code Page 858 8591 ISO 8859 1 Western Europe Euro symbol included 860 Code Page 860 8592 ISO 8859 2 Eastern Europe 863
51. printer In serial interface this code is sent from the printer to the host to indicate that the printer is ready to receive data DC3 Deselects printer Data Control 3 ASCII Code DC3 Hexadecimal Value 13 Decimal Value 19 In parallel interface this code causes the printer to enter the standby condition until a DC1 code is received In serial interface this code is sent from the printer to the host to indicate that it is not ready to receive data 144 Operating System Control BEL Bell ASCII Code BEL Hexadecimal Value 07 Decimal Value 7 This code causes the buzzer to sound for about 0 5 second DEL Delete ASCII Code DEL Hexadecimal Value 7F Decimal Value 127 In parallel interface this code causes the last received character to be deleted ESC E scape ASCII Code ESC Hexadecimal Value 1B Decimal Value 27 This code is used as an escape sequence introducer 145 ESC or ST String terminator ASCII Code ESC or ST Hexadecimal Value 1B 5C 7 bit or 9C 8 bit Decimal Value 27 92 7 bit or 156 8 bit This command closes the other escape sequences including the operating system UDS command and det graphics commands ESC Q or PU1 Executes Selftest ASCII Code ESC Q or PU1 Hexadecimal Value 1B 51 7 bit or 91 8 bit Decimal Value 27 81 7 bit or 145 8 bit In serial interface upon receipt of this command the printer will transmit 1B 50 30 1B 5C ESC c Resets to ini
52. will be converted to an absolute distance based on the current line spacing value see ESC A n When form length is changed by ESC C NUL N o ESC C n the skip perforation is reset only if in the Systen Menu under OTHER OPTIONS the CLEAR MARGINS function is selected with the OPT CLR MRGN gt Y value please refer to the User s Manual on the CD Rom This command overrides menu selection if in the Operational Menu the PAGE SETUP function is selected with the PAGE BOT MARGIN value please refer to the User s Manual on the CD Rom Indeterminate Conditions A value of zero will leave the previous value unaltered A VT or LF into the skip area will cause the printer to move to the first line of the next form ESC O Disables the skip perforation ASCII Code ESC O Hexadecimal Value 1B 4F Decimal Value 2779 Resets the skip perforation value to zero It overrides menu selection if in the Operational Menu the PAGE SETUP function is selected with the PAGE BOT MARGIN value please refer to the User s Manual on the CD Rom 11 Setting Character and Line Spacings ESC P Selects 10 CPI ASCII Code ESC P Hexadecimal Value 1B 50 Decimal Value 21 80 Selects 10 CPI pica printing If condensed mode is also active then the pitch will change to 17 1 CPI ESC M Selects 12 CPI ASCII Code ESCM Hexadecimal Value 1B 4D Decimal Value 27 77 Selects 12 CPI elite printing If condensed mode is also active then the pitch will cha
53. 0 6 This code is a terminator code and therefore causes the current contents of the print buffer to be printed out then sets double density half speed graphics printing which allows the printing of 120 horizontal dots per inch For more detailed information see the description of the ESC K command ESC Y ni na p Px Double density graphics ON ASCII Code ESC Y ni Na P Px Hexadecimal Value 1B 59 ni n2 p Px Decimal Value 27 42 ni no pi Px Range n 0 255 n2 0 6 This code is a terminator code and therefore causes the current contents of the print buffer to be printed out then sets double density normal speed graphics printing which allows the printing of 120 horizontal dots per inch For more detailed information see the description of the ESC K command ESC Z ni No p Px Quadruple density graphics ON ASCII Code ESC Z ni No pi Px Hexadecimal Value 1B 90 ni n2 p Px Decimal Value 27 90 ni No pi Px Range n 0 255 na 0 12 This code is a terminator code and therefore causes the current contents of the print buffer to be printed out then sets quadruple density half speed graphics printing which allows the printing of 240 horizontal dots per inch For more detailed information see the description of the ESC K command 39 ESC m n Na Pi Pa Px Selects bit image mode ASCII Code ESC m nj n gt Pi P2 Px Hexadecimal Value 1B 2A m ni N2 pi Po Px Decimal Value 27 42
54. 15 131 147 163 179 195 211 227 243 04 4 20 36 52 68 84 100 116 132 148 164 180 196 212 228 244 05 5 21 37 53 69 85 101 117 133 149 165 181 197 213 229 245 06 6 22 38 54 70 86 102 118 134 150 166 182 198 214 230 246 07 7 23 39 55 71 87 103 119 135 151 167 183 199 215 231 247 08 8 24 40 56 72 88 104 120 136 152 168 184 200 216 232 248 09 9 25 41 57 73 89 105 121 137 153 169 185 201 217 233 249 OA 10 26 42 58 74 90 106 122 138 154 170 186 202 218 234 250 OB 11 27 43 59 75 91 107 123 139 155 171 187 203 219 235 251 OG 12 28 44 60 76 92 108 124 140 156 172 188 204 220 236 252 OD 13 29 45 61 77 93 109 125 141 157 173 189 205 221 237 253 OE 14 30 46 62 78 94 110 126 142 158 174 190 206 222 238 254 OF 15 31 47 63 79 95 111 127 143 159 175 191 207 223 239 255 207 Interfaces This appendix provides technical information for the parallel and serial interfaces The Parallel Interface The parallel interface is available on a specific 36 pin connector type AMPHENOL 57 40360 12 D56 or equivalent This corresponds to the IEEE 1284 connector type B The interface
55. 3 Y i 42 4 44 444444444 Y I 9 09 a 4 4 4 4 444444 E z j z J OA a 0 G k tre ton 4 4 tt tt te pt tt 0B T E l t T 1 N OC l SE OO ds y oD 1 hi2 z 4744 47 44 T OE i B i n O O 2 OF 194 ISO 8859 5 Cyrillic FO 10 20 30 40 50 60 70 80 90 AO BO CO DO EO 00 p a P A 4 44 4444444444444 p 4 4 P e A 0 00 b r e c T Y 6 B r A C T y p B B T A Bb 4 4 4 4444444444444 r 4 4 4 44 4444 444444 q r s t a b c d 4 4 44 4444444444 Q R s T B C D 1 2 3 4 l 4 ra Y 01 02 03 04 s x e x E 4 4 4 ar Td S u e U E 5 05 i u x H x I V f Vv F 6 4 44 4444444444444 amp 06 i 44 444444444444 u 3 q 3 1 w g W G 7 07 j dd 4444444444 H u H J x h x H 8
56. 444 v f v F 6 amp 06 P n w g w G 7 07 4 4 4 4 aaia a tt 4 4 4 b gt x 4 447 444 444444444 h x H 8 08 LA gt I 1 4 ta 44 4 OS Y i Y I 9 I 09 n J x z j Y Z J OA 3 y k 44 44 4444 44444444 K fr oB gt x 1 N L gt lt T oc a l m I M 4 4 4 4 44444 444 4444 oD n A n A N l gt toot 4 4444444444444 OE vil vm 4 4 4 44 4444444444 o o z or 198 ISO 8859 9 Western Europe 2 EO FO CO DO 10 20 30 40 50 60 70 80 90 AO BO 4 47 4 44 44444444444 00 g a amp A 4 4 4 4 EO oo o p P 0 00 hom nt pt pe tpt a q a Q A t p 1 01 a 2 r b R B 2 02 6 3 A A pp ft pt s c S C 3
57. 49 131 158 137 134 130 141 133 130 141 139 152 127 146 154 150 146 135 136 134 ESC J or VTS ESC k ESC K or PLD ESC L or PLU ESC Mor RI ESC P data ESC Q or PU1 ESC p1 pn u ETX FF HT LF NUL Sl SO SP VT Vertical tab setting Prints test character GENPTC Partial line down Partial line up Reverse index Enter dot graphics mode Device Control String Executes Selftest Sets horizontal tab stops at specified positions multiple horizontal tab set GENHTS End of transmission Form feed Horizontal tab Line feed Ignored Shift in Shift out Space Vertical tab 140 147 136 136 137 156 146 135 142 140 134 135 142 131 131 132 139 EPSON Emulation Commands The following printer commands are supported by this printer according to the Epson LQ 1050 emulation EPSON Command Descriptions See BASIC Program Sample and result printed by the printer on Setting Form Length ESC Cn Sets page length lines per page ASCII Code ESCCn Hexadecimal Value 1B 43n Decimal Value 27 67 n Range 1 lt n lt 127 Sets the forms length to a size specified by the parameter n in lines When this command is recognized the forms length is converted to an absolute value based on the current line spacing Therefore future changes of line spacing will not effect the forms length This command will reset the perforation skip value to zero only if in the System Manu the CL
58. 5 Character Generator Table 4 4 UPPER NIBBLES 913 929 945 961 977 993 Se F De gt al a gt 80118171833 849 865 914 930 946 9621978 m 3 A s b 2 gt E 773 789 805 821 s r 8531869 885 90119177 933 949 96519811997 gt a v N So o am m es ob N og jz og OG WG co ant o o Sb o I Nat N Due o o NU ev co Sa 2 ta O u 2 ee y A 775 791 857 823 A a A ar alas 951 967 983 e 777 733 809 825 841 857 873 889 905 921 937 953 985 afo 826 842 858 874 890 906 BA A 95419701986 DER 891 827 823 859 875 891 987 955 1971 987 x amp vw amp Jj 1 gt 781 797 813 182918451861 8771893 925 941 957 973 989 gt 78217981814 830 s 852 aJs 894 910 9261942 974 lt lt 847 863 879 895 9T1 927 943 959 975 991 ti to t t ma Z 206 Hexadecimal to Decimal Table 00 10 20 30 40 50 60 70 80 90 AO BO CO DO EO FO 00 O 16 32 48 64 80 96 112 128 144 160 176 192 208 224 240 01 1 17 33 49 65 81 97 113 129 145 161 177 193 209 225 241 02 2 18 34 50 66 82 98 114 130 146 162 178 194 210 226 242 03 3 19 35 51 67 83 99 1
59. 55 ESC P data Enter dot graphics mode Device Control String ASCII Code ESC P data Hexadecimal Value 1B 50 data Decimal Value 2780 This command causes the dot graphics mode to be enabled The density is selected according to the GENGRM command The line spacing value automatically changes if 72 dpi resolution 6 bit mode is active The line spacing value for 180 dpi resolution 24 bit mode must be selected prior to entering graphics mode In 6 bit mode only 6 bits of a data byte are required to determine which wires are fired Therefore only one byte is required for each graphics dot column In 24 bit mode 24 bits of four data bytes are required to determine which wires are fired Only 6 bits of each byte are used Therefore four bytes are required for each graphics dot column 6 bit mapping 6 BITS IN 1 BYTE PRINT HEAD WIRE DATA BIT 12 amp 3 0 3 4 amp 5 1 6 7 amp 8 2 8 9 10 3 11 12 13 4 13 14 15 5 Since bits 6 amp 7 are ignored wires 16 24 are not used The state 0 or 1 of bits 6 and 7 must be conditioned so as to make the entire byte fall within the range 20H through 7EH 24 bit mapping 24 BITS IN 1BYTE BYTE PRINT HEAD WIRE DATA BIT 1 0 2 1 1 3 2 4 3 5 4 6 5 7 0 8 1 9 2 2 10 3 11 4 12 5 13 0 14 1 15 2 3 16 3 17 4 18 5 19 0 20 1 21 2 4 22 3 23 4 24 5 157 Barcode Functions ESC pi Pn Sets bar code parameters
60. 6Cn Decimal Value 27 108n Range 0 lt n lt 255 Sets the left margin at the print column speafied by parameter n that is in columns at the current pitch The column value is converted to inches therefore subsequent changes of pitch will leave the column width unchanged The limits of the left margin setting are as follows where LM left margin PITCH LIMITS 10 LM gt 134 12 LM gt 160 15 LM gt 201 17 LM gt 229 20 LM gt 255 ESC Ni N2 Absolute dot position ASCII Code ESC ni n2 Hexadecimal Value 1B 24 n n2 Decimal Value 27 36 ni n gt Range 0 lt n na lt 255 Causes printing to be continued at the horizontal dot position n 4n 256 60 inch from the left margin Indeterminate Conditions It is active for one line only Multiple commands may be executed on the same line However if the text printed after the command causes an auto wrap condition then subsequent ESC command will be executed on the next line Since the position is absolute if the left margin changes then any new ESC commands would be relative to the new left margin If the position exceeds the physical right margin then the command is ignored 43 CR Carriage return ASCII Code CR Hexadecimal Value OD Decimal Value 13 The carriage return will position the print head to the left margin for subsequent printable data to be printed This code is a line terminator A LF is executed based upon the AUTO LF selection see in
61. 7 ESC An Prints from all characters set ASCII Code ESC n Hexadecimal Value 1B5En Decimal Value 27 94n Range 0 lt n lt 255 The next character after this escape sequence is printed even if it is hidden under the control codes from 1 to IF and the characters from 80 to 9F hex See IBM All Character Sets table ESC T nm N2 m mo Ms M4 Selects Code Page or ISO Code tables ASCII Code ESC T Ny n m M2 ms Ma Hexadecimal Value 1B 5B 54 ni no m m Ma ma Decimal Value 27 91 84 ni n2 mi m2 ms ma Range O lt n lt 255 Selects code page and or I SO code table See the following table n Number of parameter bytes that follow n1Hn2 256 m m must be 00H m m Code page number m m 256 except for ISO table 00 00 No change from current setting 01 B5 Code page 437 MSCP 437 03 52 Code page 850 MSCP 850 03 53 Code page 851 EPCP 851 03 54 Code page 852 MSCP 852 88 03 55 Code page 853 EPCP 853 03 57 Code page 855 MSCP 855 03 5A Code page 858 Euro PC Multilingual Euro symbol included 03 5C Code page 860 MSCP 860 03 5F Code page 863 MSCP 863 03 60 Code page 864 EPCP 864 03 61 Code page 865 MSCP 865 03 62 Code page 866 MSCP 866 03 63 Code page 867 EPCP 867 21 80 Mazowia Polish 21 81 Turkish 21 82 Greek 21 83 Kamenicky 21 84 CWI 21 85 Roman 8 21 86 IN2 21 87 Code page 864E 21 8F ISO 8859 1 WESTERN EUROPE 21 90 ISO 8859 2 EASTERN EUROPE 21 91 ISO 8859 3 SOUTHERN EUROPE
62. 8 Rotation 0 4 0 9 Horizontal print density 1 120 2 144 3 180 1 10 Check digit 0 1 0 11 Human Readable font 0 4 12 Barcode height 0 240 1 24 increment 0 27 Barcode Styles Supported m STYLE 0 Interleaved 2 of 5 1 Bi directional 2 of 5 2 Matrix 2 of 5 3 Industrial 2 of 5 4 Code 3 of 9 default 5 EAN 8 6 EAN 13 7 Code 11 9 Codabar default start stop a t 10 Codabar default start stop b n 11 Codabar default start stop c 12 Codabar default start stop d e 13 UPC A 14 UPC E 15 Code 93 16 Code 128 subsets A B C 17 Code 128 18 Code 128 19 MSI 20 UPC 2 Supplemental 21 UPC 5 Supplemental 22 EAN 2 Supplemental 23 EAN 5 Supplemental 50 Postnet This barcode implementation differs from the A 1 The parameter values above are binary valu NSI implementation in two ways es ASCII in ANSI mode 2 The Set Parameters command permits to change of only one parameter at a time 28 Character Set Selection ESC T Ny N2 My M2 Mx M4 Selects Code Page or ISO Code tables ASCII Code Hexadecimal Value Decimal Value ESC T ny n mi m mz M4 1B 5B 54 Ny n m M2 ms Ma 27 91 84 n n m m m m Range O lt n lt 255 Selects code page and or I SO code table See the following table n Number of parameter bytes that follow n Hn 256 m m must be 00H m m Code page number m m 256 except for SO table 00 00 No change from curren
63. AL values please refer to the User s Manual on the CD Rom Transmission Type Data is sent and received in start stop asynchronous transmission Character Format Each character is transmitted in the following format 1 START BIT 8 DATA BITS 1 PARITY BIT 1 STOP BIT The least significant bit of the data bits is sent first after the start bit The number of data bits is selected via menu see in the System Menu under SERIAL OPTIONS the SER DATA BITS function please refer to the User s Manual on the CD Rom The parity bit when present follows the data bits The start bit is a logical 0 and the stop bit is a logical 1 The start and stop bits are used as character framing bits Printer Connector ANSLEY 609 255 or equivalent connector with 25 female contacts and male shell in accordance with SO 1S2110 mechanical characteristics 211 e DriveCapability Min 50 feet 15 m for all supported data rates e Cable Connector AMP 205208 1 or equivalent connector with 25 male contacts and female shell in accordance with ISO IS2110 mechanical characteristics e InterfaceSignals Thetable on the following page lists the RS 232 C interface signals full duplex interface 212 Signal Pin Local Remote ISO RS232 C Description Name Name Cnt Cnt CCITT circuit Source Source circuit FRAME 1 101 AA This printer is shipped with pin 1 connected to GND the frame ground protectiv
64. C NUL n Hexadecimal Value 1B 4300 n Decimal Value 27670n Range 1 lt n lt 225 Decimal Sets the form length to a size specified by the parameter n in inches This command will reset the perforation skip value to zero only if in the System Menu the CLEAR MARGINS function under OTHER OPTIONS is selected OPT CLR MRGN gt Y value and will set a new Top of Form at the current line position The 1 line of a form is line 1 This command has precedence over menu selection of form length All values are allowed greater than 85 are not recommended a value of zero will leave the previous value in force If the page length to be set is smaller than the current line spacing setting then the command is ignored ESC Nn Sets skip perforation ASCII Code ESC Nn Hexadecimal Value 1B4En Decimal Value 27 78n Range 1 lt n lt 255 Decimal With continuous forms this command allows setting a bottom margin region normally used to avoid printing on the perforation The parameter is presented in rows lines to skip It will be converted to an absolute distance based on the current VMI value When form length is changed the skip perforation is reset only if in the Systen Menu the CLEAR MARGINS function under OTHER OPTIONS is selected OPT CLR MRGN gt Y value This command overrides menu selection see in the Operational Menu under PAGE SETUP the PAGE BOT MARGIN value please refer to the User s Manual on the CD Rom A parameter value of zero
65. Character printing will cause each character to be printed twice its current width by printing a given dot column twice at the current DPI CPI in effect The characters are expanded to take up two character spaces each but the tab positions are not changed That means that for the power up default tabs only four doublewide characters can be printed between tab stops If 12 cpi print is invoked then double wide is invoked the character will print at 6 cpi 75 ESC Wn Selects or cancels double width printing ASCII Code ESC Wn Hexadecimal Value 1B 57n Decimal Value 27 87 n Range 0 lt n lt 255 This command will enable continuous double width printing for subsequent characters with any odd parameter value such as SOH Character printing will have each character elongated to twice its current width Any even parameter value such as NUL will disable the double width printing mode The double wide by ESC 4 0 0 0 0 2 is equivalent to double wide by ESC W1 The code to cancel double wide by ESC 4 0 0 0 0 1 is equivalent to ESC WO These codes may be used interchangeably and have the same effect The parameters that choose double high and double line feed have no effect on double wide whether it is chosen by this escape sequence or by ESC W n 76 ESC O nm N2 m mo Ms M4 Selects double high printing ASCII Code ESC O Ny n M Ma ms Ma Hexadecimal Value 1B 5B 40 ni n Mi m m ma Decimal Value 27 91 64 ny N2 Mm
66. DERLINE MODE BACK TO NORMAL 1 2 3 4 5 6 0123456789012345678901234567890123456789012345678901234567890 DRAFT PRINT MODE LEFT MARGIN NOW BEGINS AT 10TH COLUMN AND RIGHT MARGIN MW E NDS AT 40TH COLUMN LEFT MARGIN NOW BEGINS AT OTH COLUMN AND RIGHT MARGIN NOW ENDS AT 136TH COLUMN LQ PRINT MODE Prestige 1 6 INCH LINE FEED 1 6 INCH LINE FEED 1 6 INCH LINE FEED INCH LINE FEED NOW 1 6 INCH LINE FEED A FORMFEED FF gt FOLLOWS THIS LINE 66 IBM Emulation Commands The following printer commands are supported by this printer according to the IBM XL 24E XL 24 emulation IBM Command Descriptions Setting Form Length ESCCn Sets page length lines per page ASCII Code ESCCn Hexadecimal Value 1B43n Decimal Value 27 67 n Range lt n lt 225 Decimal Sets the forms length to a size specified by the parameter n in lines When this command is recognized the form length is converted to an absolute value based on the current line spacing Therefore future changes of line spacing will not effect the forms length This command will reset the perforation skip value to zero only if in the System Menu the CLEAR MARGINS function under OTHER OPTIONS is selected OPT CLR MRGN gt Y value and will set a new Top of Form at the current line position The first line of a form is line 1 This command has precedence over menu selection of form length 67 ESC C NUL n Sets page length inches per page ASCII Code ESC
67. EAR MARGINS function under OTHER OPTIONS is selected OPT CLR MRGN gt Y value please see the User s Manual on the CD Rom and will set a new Top of Form at the current line position The first line of a form is line 1 This command has precedence over menu selection of form length Indeterminate Conditions A parameter of zero is another sequence See ESC C NUL n ESC C NUL n Sets page length inches per page ASCII Code ESC C NUL n Hexadecimal Value 1B 43 00 n Decimal Value 27670n Range 1 lt n lt 22 Sets the forms length to a size specified by the parameter n in inches This command will reset the perforation skip value to zero only if in the System Menu the CLEAR MARGINS function under OTHER OPTIONS is selected OPT CLR MRGN gt Y value please see the User s Manual on the CD Rom and will set a new Top of Form at the current line position The first line of a form is line 1 This command has precedence over menu selection of form length Indeterminate Conditions A value of zero will leave the previous value in force If the page length to be set is smaller than the current line spacing setting then the command is ignored 10 ESCNn Sets skip perforation ASCII Code ESCNn Hexadecimal Value 1B4En Decimal Value 27 78n Range 1 lt n lt 255 With continuous forms this command allows setting a bottom margin region normally used to avoid printing on the perforation The parameter is presented in rows lines to skip It
68. ESC mn Re defines graphics mode ASCII Code ESC mn Hexadecimal Value 1B3Fmn Decimal Value 27 63mn Re defines the graphics mode n K L Y Z to the graphics mode m found in the ESC m command The limits of parameter m are the same as the limits of parameter m in the ESC m command Subsequent activation of the re defined graphics mode ESC K L Y Z requires that the correct number of data bytes per the ESC m are received ESC K ni Na pj px Single density graphics ON ASCII Code ESC K ni n gt pj Px Hexadecimal Value 1B 4B ni np Px Decimal Value 27 75 ni N2 Pj Px Range ny 0 255 no 0 3 BIT VALUE 7 128 Add up the numbers corresponding to the dots that you want in each column 6 64 For example if you want a dot in the 7 4 and 1 pins the count is 146 128 16 2 5 32 4 16 3 8 2 4 1 2 0 1 37 These numbers replace the parameter p to p in the escape sequence where p is the n corresponding to the 1 graphics pattern column and p refers to the last column 8 dot is expanded to 24 dot data 8 bits in 1 byte Byte Print Head Pin Data Bit 1 7 2 7 1 3 4 6 5 6 6 7 5 8 5 9 10 4 11 4 12 13 3 14 3 15 16 2 17 2 18 19 1 20 1 21 22 0 23 0 24 38 ESC L ni n gt pi px Double density graphics ON ASCII Code ESC L nj Na p4 Px Hexadecimal Value 1B 4C ni nopi Px Decimal Value 27 76 N N p p Range n1 0 255 n gt
69. For example if you want a dot in the 7 4 and 1 pins the count is 146 128 16 2 64 32 16 8 4 2 1 O F N G U O These numbers replace the parameter p to p in the escape sequence where p is the number corresponding to the first column of the graphics pattern and p refers to the last column Eight bits are expanded to 24 dot data 95 If the IBM Proprinter XL 24 is selected in the System Menu check under EMULATION that the EMUL IBMXL24e function is selected please refer to the User s Manual on the CD Rom 20 pins from 24 pins of the print head simulate 8 dot data 8BITS IN 1BYTE BYTE PRINT HEAD PIN DATA BIT 1 7 2 7 1 3 7 amp 6 4 6 5 6 6 5 7 5 8 5 amp 4 9 4 10 4 11 3 12 3 13 3 amp 2 14 2 15 2 16 1 17 1 18 180 19 0 20 0 96 ESC L ni Na p Px Double density graphics ON ASCII Code ESC L nj Na pj Px Hexadecimal Value 1B 4C n No pi Px Decimal Value 27 76 ni nopi Px Range n 0 255 no 0 6 This code is a terminator code and therefore causes the current contents of the print buffer to be printed out then sets double density half speed graphics printing which allows the printing of 120 horizontal dots per inch For more detailed information see the description of ESC K command ESC Y ni na p Px Double density graphics ON ASCII Code ESC Y ni nopi Px Hexadecimal Value 1B 59 ni nopi Px Decimal Value 27 42 ni N2 P1
70. Hexadecimal Value 1B52n Decimal Value 2782n Range O lt n lt 255 Selects the international character set according to the parameter n See the table in the following page 31 n CHARACTER SET 0 US ASCII 1 France 2 Germany 3 United Kingdom 4 Denmark I 5 Sweden 6 Italy 7 Spain 8 J apan 9 Norway 10 Denmark II 11 Spain l 12 Latin America 13 Korea 64 Legal 70 Netherlands 71 Anglo Universal 72 Spanish America 73 Portugal 74 Africa 75 Switzerland 76 Turkey 17 Greece 78 Yugoslavia 79 Cyrillic See Epsan National Variatians table 32 ESC kn Selects font style ASCII Code ESC kn Hexadecimal Value 1B6Bn Decimal Value 27107 n This command selects either the resident font or font card fonts based on the value of n This command will also accommodate fonts in the Optional CG chip FONTS Roman font card Gothic Courier Prestige Script OCR B OCR A Orator Presentor font card Script C font card 10 Option font 1 11 Option font 2 12 Option font 3 13 Option font 4 O O O QI Z QQ N O S 33 ESC q n Selects character style ASCII Code ESC qn Hexadecimal Value 1B 71n Decimal Value 27113n This command selects character style and is valid for normal text only that is is not valid for graphic characters n CHARACTER STYLE 0 Normal 1 Outline 2 Shadow 3 Outline with Shadow ESCtn Selects character table ASC
71. II Code ESCtn Hexadecimal Value 1B 74n Decimal Value 27116n Causes the characters printed for received data from 80H to FFH to be printed from one of the three character sets according to the parameter n See the following table page n CHARACTER SET 0 Epson Set Italics 1 IBM Set Character Graphics dependent upon ESC 6 or ESC 7 IfESC 6 or ESC 7 not previously received then defaults to Set 1 2 Remaps DLL Character Set from position O 127 to 128 255 34 ESC xn Selects print mode ASCII Code ESC xn Hexadecimal Value 1B 78 n Decimal Value 27 120 n This command selects various print modes See the table below n PRINT MODE 0 Draft 1 Letter Quality 35 ESC tn No d d ds Assigns a character set to active character set number Oto 3 ASCII Code ESC tn no di do ds Hexadecimal Value 1B 28 74 n n do ds Decimal Value 27 40 116 ni n2 d d2 ds Range n 3 n 0 dj 1 d d CHARACTER SET 0 0 Italic 0 127 1 0 Code Page 437 USA 3 0 Code Page 850 Multilingual 4 0 Code Page 851 Greek 5 0 Code Page 853 Turkish 6 0 Code Page 855 Cyrillic 44 0 Code Page 858 Euro PC Multilingual 7 0 Code Page 860 Portuguese 8 0 Code Page 863 Canada F rench 9 0 Code Page 865 Norway 10 0 Code Page 852 East European 11 0 Code Page 857 Turkish 13 0 Code Page 864 Arabic 14 0 Code Page 866 Russian 1 16 Greek 29 15 ISO 8859 15 36 Dot Graphics
72. If pi 1 the current User Format is saved into the User Format specified by p If p is not specified the default is the last selected Format FUNCTION Format 1 NVRAM Format 2 NVRAM Format 3 NVRAM Format 4 NVRAM ROM resident memory defaults N SO Q N 149 ESC p p gt ps data lt ST gt Operating system command Load Mode OSC ASCII Code ESC p1 p2 p3 data lt ST gt Hexadecimal Value 1B 5D p 3B p2 3B ps 3B data 7 bit 9D p 3B p gt 3B ps 3B data 8 bit Decimal Value 27 93 pi 3B p2 3B ps 3B data 7 bit 157 p 3B p2 3B ps 3B data 8 bit This command is used to initiate the loading of auxiliary memory areas that can include auxiliary font definitions and stored graphics information It must be terminated by an lt ST gt control string The data format restricts the character set allowed within the sequence to the CR LF FF HT and VT control codes and the ASCII character codes between 20H and 7EH inclusive Pp P p DATA DESCRIPTION 0 5 Data up to lt ST gt must be ignored 6 1 0 01 Menu Lock If data 1 then MENU key is locked If data 0 then MENU key is enabled Displays Key Locked whenever key is depressed NVRAM is updated to reflect command 6 2 0 01 ONLINE Lock If data 1 then ONLINE key is locked If data 0 then ONLINE key is enabled Displays Key Locked whenever key is depressed NVRAM is updated to reflect command 7 1 O data LCD message data is immedia
73. Model 3850 Programmer s Manual GENICOM GEK 01003 Table of Contents Table of Contents ccccccccccccccccccccccecesccecsecenessueneseenes ii Vertical Movements 135 Interface Control a 142 Commands de de dat ett ELSE 1 Operating System Control aa 145 General ENE nenne 1 Paper Path Selection een 152 Command Summary in Alphabetical Order 2 User Defined Character Substitution 154 EPSON Emulation Commands 2 Graphics Control Functions 155 IBM Emulation Commands wid Barcode Functions 158 ANSI Emulation CommanaS II I II II aI aT 7 Basic Program Sample a 161 EPSON Emulation Command pecececececocccccoccceceee 9 Basic Program Printed Output 162 EPSON Command Descriptions SEE EEE Musee Tables a 163 Setting Form Length nino cnn cnn cnn cancer cacaos Character Sel Rn a Sasia saa 163 Setting Character and Line Spacings Character Set 1 CS1 re 163 Setting Print Attributes eterna Character Set 2 CS2 nennen 164 Bar Codes Selection aa a aa IBM
74. N CODE gt N please refer to the User s Manual on the CD Rom 53 DC1 Selects printer or XON ASCII Code DC1 Hexadecimal Value 11 Decimal Value 17 In the parallel interface mode after the printer has been de selected by DC3 this control code will set the parallel interface signals SLCT to a logic one condition and enable the printer to resume printing and cancel the STANDBY status This code is enabled by menu see in the System Menu under PARALLEL OPTIONS the PAR RCV DC1 DC3 function please refer to the User s Manual on the CD Rom This implementation is different from the standard Epson printer in the following way this printer does not use SLCTIN to use or not DC1 DC3 When in the serial interface mode this code is sent from the printer to the host to indicate that the printer is ready to receive data XON caused by any of the following conditions Input buffer empty or Offline Online from control panel after printer error conditions are cleared NUL NUL ASCII Code NUL Hexadecimal Value 00 Decimal Value 0 This code does not have an action associated with it when by it It is used by other sequences i e ESC B to terminate a list of parameters It can also serve as a valid parameter in certain escape sequences ESC S NUL would cause superscripting to occur It may also be used to indicate that no wires be fired in a column of dot graphics mode 54 ETX End of transmission ASCII Code ETX He
75. N gt PROCESS value in the User s Manual on the CD Rom 82 BarCode Selection ESC un Activates cancels barcode mode ASCII Code ESC un Hexadecimal Value 1B5B75n Decimal Value 27 91 117n Range O lt n lt 255 Activates Barcode mode if n odd value Cancels Barcode mode if n even value ESC vnm Sets barcode parameters ASCII Code ESC vnm Hexadecimal Value 1B5B76nm Decimal Value 2791 118nm Sets barcode parameters according tothe table in the following page Parameter values that are not supported result in the command being ignored 83 n Parameter Description m Parameter Limits Value 0 Barcode style See below 4 1 Barcode height 1 120 1 12 increments 12 2 Human Readable line O disable 1 enable 1 3 Narrow bar width 2 255 3 4 Wide bar width 2 255 7 5 Narrow space width 2 255 3 6 Wide space width 2 255 7 7 Intercharacter space width 2 255 3 8 Rotation 0 4 0 9 Horizontal print density 1 120 2 144 3 180 1 10 Check digit 0 1 0 11 Human Readable font 0 4 12 Barcode height 0 240 1 24 increment 0 84 Barcode Styles Supported m STYLE 0 Interleaved 2 of 5 1 Bi directional 2 of 5 2 Matrix 2 of 5 3 Industrial 2 of 5 4 Code 3 of 9 default 5 EAN 8 6 EAN 13 7 Code 11 9 Codabar default start stop a t 10 Codabar default start stop b n 11 Codabar default start stop c 12 Codabar default start stop d e 13 UPC A 14 UPC E 15 Code 93 16 Code 128
76. Quadruple density graphics ON Selects print mode Copies resident font to download RAM 22 57 58 14 25 48 47 10 42 20 50 20 12 20 21 47 48 33 37 43 39 12 di 14 12 14 34 45 24 31 21 49 21 34 56 18 19 35 39 39 23 61 3 ETX FF HT LF NUL Sl or ESC SI SO or ESC SO SP VT End of transmission Form Feed Horizontal tab Line Feed NUL Enables compressed printing Selects double width printing Space Vertical tab IBM Emulation Commands tl nl ACK BEL BS CAN CR DC1 DC2 DC3 DC4 ESC ESC m n1 n2 p1 p2 px ESC ESC Vn1 n2 m1 m2 m3 m4 ESC Inf n2 mi m2 m3 m4 m5 ESC K n1 n2 init ID mi m2 ESC p1 p2 SP ESC un ESC vnm ESC n1 n2 m1 m2 m3 m4 ESC 3n ESC xn ESC y n1 n2 ESC V n1 n2 ESC n ESC n mid sal sa h d1 dn ESC 0 ESC 1 ESC 2 ESC 3n ESC 4 Embedded Sheet Feeder commands Acknowledge Sounds the buzzer Backspace Cancels data Carriage return Selects printer or XON Cancels compressed printing XOFF Cancels double width printing Escape control sequence introducer Selects bit image mode Selects 12 cpi Sets vertical units Selects font Printer setup Selects emulation Activates cancels barcode mode Sets barcode parameters Selects double high printing Sets metric line spacing Selects national character set Sets IBM Code Page Prints from all characters set Prin
77. R This escape sequence takes precedence over AUTO LF function see in the System Menu under OTHER OPTIONS the OPT AUTO LF function please refer to the User s Manual on the CD Rom FF Form feed ASCII Code FF Hexadecimal Value OG Decimal Value 12 The form feed command will position the print head to the top of the next form at the left margin This code is a line terminator 105 VT Vertical tab ASCII Code VT Hexadecimal Value 0B Decimal Value 11 The vertical tab command advances the paper vertically to the next preprogrammed vertical tab position Maximums of 64 vertical tab positions are allowed per form A CR is executed based upon the AUTO CR function see in the System Menu under IBM OPTIONS the IBM AUTO CR function please refer to the User s Manual on the CD Rom This code is a line terminator If no tab is set beyond the current line a vertical tab will position the paper down one line spacing When a vertical tab would cause the printer to exceed the current form length taking into account any perforation skip distance the vertical tab will act as a linefeed If no tab has been set by ESC B command then VT will act as a linefeed Tabs previously set by host and stored in NVRAM will be recalled upon power up 106 ESC B Ni No Nk NUL Vertical tabs ASCII Code ESC B ni no Nk NUL Hexadecimal Value 1B 42 n no Nk NUL Decimal Value 27 66 n No Nk NUL Range 1 lt n lt 255 1 lt n l
78. RINT NEXT 1 LPRINT LPRINT FOR J 1 LPRINT NEXT LPRINT LPRINT END FOGLOWNLNG ARE SOME OF THIS PRINTER S FEATURES USING THE ANSI 3MULATION ESC 72 O 10 CPI PICA ESC 60 G 12 CPI ELITE ESC 48 G 15 CPI BSC 72 G 10 CPI ESC 6m PROPORTIONAL MODE ESC Om BACK TO NORMAL ESC 5m DOUBLE WIDE MODE ESC Om BACK TO NORMAL ESC Lim BOLD PRINTING ESC Om BACK TO NORMAL ESC 1m BOLD PRINTING ESC Om BACK TO NORMAL ESC L PARTIAL LINZ UP ESC K n ESC K PARTIAL LINZ DOWN ESC L BACK TO NORMAL RSC 4m UNDRRT TNE MODR ESC 0n BACK TO NORMAL 1 2 ar ri 5 He 223456 7890123456 789012345678901234567890 12345678901234567890 ESC 10m DRAFT PRINT MODE ESC 720 28809 LEFT MARGIN NOW BEGINS AT 1 INCH AND RICHT MARCIN NOW ENDS AT 4 INCHES ESC 0 97928 LEFT MARGIN NOW BEGINS AT O INCH AND RIGHT MARGIN NOW ENDS AT 13 6 INCHES ESC 62m LQ PRINT MODE Frestige ESC 1120 G TO 3 1 6 INCH LINE FEED ESC 90 TC 3 1 8 INCH G LINE FEED ESC 120 G NOW 1 6 INCH LINE FEED A FORMFEED FF FOLLOWS THIS LINE CHRS 12 161 Basic Program Printed Output FOLLOWING ARE SOME OF THIS PRINTER S FEATURES USING THE ANSI EMULATION 10 CPI PICA 12 CPI ELITE 15 CPI 10 CPI PROPORTIONAL MODE BACK TO NORMAL DOUBLE WIDE
79. ady occiIQIAL lt uy y le u _Ie n OD M m i y i Ya 2 OE np A gt N lon P lt p 4 i e oclvwlvls l gt lol lols l Ios ee 170 CP 850 Multilingual oo 10 20 30 ao 50 60 70 so 90 ao Bo co DO EO FO 00 gt olelPrP p o 6 01 4 1 A Q a q i 02 a 1 l2 B R bl r l E _ 03 v 3 Cc s c s 2 E 04 q 4 D T d t 1 05 5 E U e u o 1 o 5 06 a amp 6 F v f v a H 07 t 7 G w g w i b 08 t 8 H x h x l y O E b 09 4 9 Y i y 1 U oa gt J Z j z e U 2 A K k li olz gt U 1 oc O lt LIN i 4 1 4 ly 3 OD gt M m 1 i t Y E OE pn A gt N In x i 2 oclwvlvis l gt lol lola lf gt la 171 CP 851 Greek CO DO EO FO BO 90 AO 10 20 30 40 50 60 70 80 00 172 CP 852 Eastern Europe 00 10 20 30 40 50 60 70 80 90 AO BO CO DO EO FO 173 CP 853 Turkish 20 50 AO ppp CO DO EO FO 00 01 02 03 04 05 wm 06 07 174 CP 855 Russian
80. alue 1B 47 Decimal Value 27 71 This command will cause subsequent character printing to be double strike Double strike is accomplished by making two passes of the same printable data with no displacement between dots of the first and second pass 20 ESC H Cancels double strike printing ASCII Code ESC H Hexadecimal Value 1B 48 Decimal Value 27 72 Cancels the double strike print mode started by ESC G ESC S n Selects subscript or superscript printing ASCII Code ESC Sn Hexadecimal Value 1B 53n Decimal Value 27 83n Range n 00H 01H Enables the super or subscript printing mode If the parameter is OOH NUL then superscripting will be done If the parameter is 01H SOH then subscripting will be done In each of these modes the characters will be shortened to half height and then positioned in the upper superscript or lower subscript half of the print line These modes are mutually exclusive of each other and therefore the last one received is active ESC T Cancels subscript or superscript printing ASCII Code ESC T Hexadecimal Value 1B 54 Decimal Value 27 84 Cancels the super or subscript printing mode Characters return to their prior size at the previous baseline position 21 ESC 4 Selects italics print mode ASCII Code ESC 4 Hexadecimal Value 1B 34 Decimal Value 27 52 Enables printing of text characters in italics mode ESC 5 Cancels italics print mode ASCII Code ESC 5 Hexa
81. c USA Isa j EV 1 q l y 7 German LHS amp w 3 S AGU q A 6 k B French A WHE amp OR AS ge IBS gt 6 de c French B ai e a v Q q I French Canadian f 6 3 a t 6 q e q Netherlands Pe fF amp ES I l q j Italian 8 S 6 q o i United Kingdom LES amp N1 q l 7 Spanish R amp 3 i NE q 7 fF FF Danish Norwegian A amp E 0 A q a A Danish Norwegian B n amp E A q p Danish Norwegian C amp E E Q AU q e Danish Norwegian D O29 amp E BORA U S q ti Swedish Finnish A amp AGA q 6 ar Swedish Finnish B 2 amp K GA q a Swedish Finnish C 8 K 6 A U q 6 Swedish Finnish D 4H amp K 6 A U q Switzerland LHS amp g g 6 tt USA ISO amp JE 1 q t lI 7 Yugoslavia amp SD AGS d United Kingdom A amp 1 q 1 Turkey E amp t 60 gs 1 86 Greece r A A E w ZE YV Q qg I I 7 Cyrillic 14 I s amp toro EV EE Zee 21 23 24 26 27 2A3B 40 5B 5C 5D SE 60 71 7B 7C 7D ZE hex 202 Character Generator Tables Character Generator Table 1 4 gr NIBBLE 8
82. causes the current horizontal position to be moved backwards as specified by the p parameter decipoints HT Horizontal tab ASCII Code HT Hexadecimal Value 09 Decimal Value 9 This code causes the print head to be moved to the next tab stop ESC Hor HTS Horizontal tab setting ASCII Code ESC Hor HTS Hexadecimal Value 1B 48 7 bit or 88 8 bit Decimal Value 27 72 7 bit or 136 8 bit This command causes a horizontal tab stop to be set to the decipoint value of the current print position 134 ESC pi Pn U Sets horizontal tab stops at specified positions multiple horizontal tab set GENHTS ASCII Code ESC pi Pn u Hexadecimal Value 1B 5B pi 3B p 75 Decimal Value 27 91 p 59 pn 117 This command sets up to 22 horizontal tab stops at each decipoint position specified by p parameters When specifying more than one position enter the parameters in ascending order Vertical Movements LF Line feed ASCII Code LF Hexadecimal Value OA Decimal Value 10 This code positions the paper one line space as indicated by the current line spacing value ESC D or IND Index ASCII Code ESC D or IND Hexadecimal Value 1B 44 7 bit or 84 8 bit Decimal Value 27 68 7 bit or 132 8 bit This command causes the paper to be positioned down one line space as indicated by the current line spacing value 135 ESC E or NEL Next line ASCII Code ESC E or NEL Hexadecimal Value 1B 45 7 bit or 85 8 bit
83. cted if in the System Menu under OTHER OPTIONS the OPT CONFIRM PARK function is selected with the OPT CNFRM PARK gt Y value please refer to the User s Manual on the CD Rom then prior to park current path the paper will move to the tear off position and the LCD will display PLEASE TEAR OFF Push the TEAR key or PARK PATH key to enable subsequent parking of the form If CONFIRM PARK IS not selected if in the System Menu under OTHER OPTIONS the OPT CONFIRM PARK function is selected with the OPT CNFRM PARK gt N value please refer to the User s Manual on the CD Rom then parking will be attempted without your intervention Space ASCII Code SP Hexadecimal Value 20 Decimal Value 32 The space character will position the print head one character space to the right in normal Character printing mode 52 DEL Deletes character ASCII Code DEL Hexadecimal Value 7F Decimal Value 127 This code causes the printer to delete the character received immediately prior to the DEL code from the print input buffer CAN Cancels data ASCII Code CAN Hexadecimal Value 18 Decimal Value 24 This code will cause all printable data received since the last line terminator to be deleted This code is a line terminator The current print position will be retained Printer response to this code is enabled disabled by the CAN CODE selection see in the System Menu under OTHER OPTIONS the OPT CAN CODE function OPT CAN CODE gt Y OPT CA
84. d by menu see in the Systen Menu under OTHER OPTIONS the OPT RIBBON TYPE function please refer to the User s Manual on the CD Rom The color order is as follows PROCESS RIBBON RED BLACK RIBBON TOP 1 Black Red 2 Cyan Black 3 Magenta Black BOTTOM 4 Yellow Black Ignored if Black ribbon selected by the System Menu OPT RBN gt BLACK value selected 80 ESC c Selects the Cyan 2nd color band ASCII Code ESC c Hexadecimal Value 1B 63 Decimal Value 21 99 Selects the 2 color band of color process ribbon See ESC b for details Ignored if process ribbon not selected by System Menu see under OTHER OPTIONS the RIBBON TYPE function OPT RBN gt PROCESS value in the User s Manual on the CD Rom ESC m Selects the Magenta 3rd color band ASCII Code ESC m Hexadecimal Value 1B 6D Decimal Value 27 109 Selects the 3rd band of color process ribbon and red band of Red black ribbon for printing See ESC b for details Ignored if process ribbon not selected by System Menu see under OTHER OPTIONS the RIBBON TYPE function OPT RBN gt PROCESS value in the User s Manual on the CD Rom 81 ESC y Selects the Yellow 4th color band ASCII Code ESC y Hexadecimal Value 1B 79 Decimal Value 27 121 Selects the 4th band of color process ribbon for printing See ESC b for details Ignored if process ribbon not selected by System Menu see under OTHER OPTIONS the RIBBON TYPE function OPT RB
85. decimal Value 1B 35 Decimal Value 27 53 Cancels italic printing enabled by the ESC 4 command ESC n Selects or cancels underlined printing ASCII Code ESC n Hexadecimal Value 1B 2D n Decimal Value 27 45n Range 0 lt n lt 255 If the parameter n is an odd 8 bit value such as 01 Hex then underlining will be enabled Underlining will be done to all printable characters and spaces subsequent to the command to the last printable character on the line or the command to terminate underlining If the parameter n is an even 8 bit value such as 00 Hex then underlining will be disabled 22 ESC N Selects print mode ASCII Code ESCIN Hexadecimal Value 1B21n Decimal Value 2733n Range O lt n lt 255 This command is used to select any valid combination of the printing attributes See the following table PRINT ENHANCEMENT 0 10 CPI 1 12 CPI 2 Proportional 4 Condensed 8 E mphasized 16 Double strike 32 Double width 64 Italic 128 Underline 23 ESC rn Selects a color ribbon band ASCII Code ESC rn Hexadecimal Value 1B72n Decimal Value 27 144 n Selects the color ribbon band n for printing according to the following table This requires that the order of colors in the color ribbons be predetermined Therefore the color order of the ribbons is as follows PROCESS RIBBON Top 1 Black 2 Cyan 3 Magenta Bottom 4 Yellow The ribbon band number or combinations of band numbers t
86. ded For example to download character RST the user would specify n 52H and m 54H Characters must be downloaded to consecutive positions after the first character The parameter a a and a must be sent for each character being downloaded and are known as the attribute bytes Parameter a specifies the n of dot columns to be added before the character Parameter a spedfies the width of the character Parameter a speafies the n of dot columns to add after the character The parameters d d represent the dot column data being downloaded for each character 2 or 3 data bytes represent 1 column of dots depending upon the print modetype as shown below LQ DRAFT 10cpi 12cpi 15cpi Prop Script Norm Script a 29 23 15 39 23 9 7 apta ta 36 30 24 42 36 12 12 Draft Letter Quality and Super Subscript fonts can be downloaded It is necessary to select the desired print mode prior to sending the download data Each dot column has a width of 1 120 in draft and 1 360 in Letter Quality Following are limits of parameters a a and a for LQ DRAFT and Super Subscript print modes at various character pitches 59 The mapping of data bits to wires is as follows LQ DRAFT SUPER SCRIPT SUB SCRIPT BYTE BIT m m WIRE WIRE 1 7 1 1 1 9 6 2 2 2 10 5 3 3 3 11 4 4 4 4 12 3 5 5 5 13 2 6 6 6 14 1 7 7 7 15 0 8 8 8 16 2 7 9 9 9 17 6 10 10 10 18 5 11 11 11 19 4 12 12 12 20
87. dot columns stored in memory 76 00 shading character 01 line drawing character 10 underscore character 1 not supported 5 0 number of dot columns of character printed minus 1 86 Cmprsn Compression mask One bit per dot column with bit 7 of byte 5 mapping 5 9 to the leftmost column For a character with 36 dot columns when decompressed bit 4 of byte O would map to the rightmost column All zeros indicate that a character is not compressed lf a proportional character has more dot columns than compression mask bits then the remaining dot columns must be stored without compression Only 39 dot columns can be compressed Bit 40 of the compression mask is reserved data Download data where each dot column requires three bytes to define it ESC Ni N2 Prints from all characters set ASCII Code ESC ni na Hexadecimal Value 1B 5C n n2 Decimal Value 27 92 n n gt Range O lt n lt 255 This escape sequence is used to print the characters hidden under the control codes from 1 to 1F hex and the characters from 80 to 9F hex The parameter n and n control the total number of bytes printed from the control sticks If n and n are less than the number of control codes that is desired to print then the control codes after the count expires will be treated as control codes and will not print the hidden characters If n and n both equal zero the escape sequence will be ignored See IBM All Character Sets table 8
88. e 0A Decimal Value 10 Position the paper down one line space as indicated by the current value of the line spacing increment at the left margin This code is a line terminator This code will terminate the double width printing mode initiated by a received SO code If the positioning causes the next line to exceed the form length then the print head will move to the next top of form position VT Vertical tab ASCII Code VT Hexadecimal Value 0B Decimal Value 11 The vertical tab command advances the paper vertically to the next preprogrammed vertical tab position at the left margin Eight Vertical Format Unit VFU channels are available and in each a maximum of 16 VT positions are allowed This code is a line terminator 46 ESC B n no Nk NUL Vertical tabs ASCII Code ESC B ni no Nk NUL Hexadecimal Value 1B 42 n no nk NUL Decimal Value 27 66 ni No Nk NUL Range 1 lt n lt 255 1 lt n lt 16 Sets vertical tab stops as indicated by parameter n The parameters must be received in ascending order The list of tab stops must be terminated by the NUL code Tab stops are defined as line numbers at the current line spacing Any line that is not referenced as a parameter within the command is cleared Therefore using this sequence without any parameters will clear all vertical tab stops There can be a maximum of 16 tab stops at any given time The vertical tabs must be established by the user as there are no vertical tabs s
89. e ground SIGNAL 7 102 AB This pin is the common OV of the power supply GND TXD 2 PRT PRT 103 BA Transmitted Data Signal an output from printer A MARK condition is held during the IDLE communication state An indeterminate state is present when printer is powered off RXD 3 HOST DATA 104 BB Received data signal an input to printer SET RTS 4 PRT PRT 105 CA Request to Send Signal an output from printer Active HIGH level signal until printer is powered off then an indeterminate state is present CTS 5 DATA 106 CB Clear to Send an input to printer Active SET HIGH level signal Indicates that the host or data set s ready to receive data DSR 6 DATA 107 CC Data Set Ready Active HIGH level signal SET Indicates that the host or data set is ready to be connected to the printer and for data transfer DCD 8 DATA 109 CF Data Carrier Detector Active HIGH level signal SET Indicates that the host is transmitting or the data set is receivingthe Data Carrier signal 2ndRTS 11 PRT 120 SCA Functionally equivalent to the DTR signal DTR 20 PRT PRT 108 CD Data Terminal Ready Normally HIGH ON Indicates printer initiate a connection is ready to 213 This table lists the RS 422 A interface signal full duplex interface ground of the printer via a suitable jumper ISO Circuit ID Signal Source Description Pin Number T A PRINTER Transmit Mark sig
90. ect and the Front2 path is loaded Same as n 13 11 Selects and loads Frontl path continuous forms The current paper path will park or eject and the Front1 path is loaded Same as n 12 12 Selects and loads Frontl path continuous forms The current paper path will park or eject and the Front1 path is loaded Same as n 11 13 Selects and loads Front2 path continuous forms The current paper path will park or eject and the Front2 path is loaded Same as n 10 14 Reserved 15 Selects ASF bin 1 The current path will park and ASF bin 1 is loaded 16 Selects ASF bin 2 The current path will park and ASF bin 2 is loaded 17 Selects ASF bin 3 The current path will park and ASF bin 3 is loaded Values of n 1 2 3 C R are ignored if the ASF PATH has not been selected via n 15 16 17 or from the operator panel 110 NOTE Between the time a form page is parked ejected and the next path is loaded the interface will indicate a paper out condition However during loading from Front1 path or Front2 path or ASF path if a paper out condition is detected then the interface will indicate paper out Selection of the Push P ull path if in the System Menu the PATH TRACTOR function under PATH OPTIONS is selected PATH TRACT gt PSHPL value please refer to the User s Manual on the CD Rom will prevent selection of the Front1 Front2 or ASF paths by this command If CONFIRM PARK is selected if in the System Me
91. et when the printer is turned on resulting in a vertical tab being executed as a linefeed unless tabs previously set by host and stored in NVRAM FF Form Feed ASCII Code FF Hexadecimal Value OG Decimal Value 12 The form feed command will position the print head to the top of the next form at the left margin This code is a line terminator ESCJn Single variable line feed ASCII Code ESC J Hexadecimal Value 1B4An Decimal Value 27n The print position will be moved the page n 180 or n 216 47 ESC b cn Nk NUL Sets vertical tabs in VFU channels ASCII Code ESC b cn n NUL Hexadecimal Value 1B 62 cn Nk NUL Decimal Value 27 98 cn Nk NUL Range 0 lt c lt 7 0 lt n lt 255 1 lt k lt 16 Sets vertical tabs in the channel C at the position n The parameter n must be received in ascending order The list of tab stops must be terminated by the NUL code Tab stops are defined as line numbers at the current line spacing Any line that is not referenced as a parameter within the command is deared Therefore using this sequence without any parameters will dear all vertical tab stops in that channel There can be a maximum of 16 tabs per channel at any given time The vertical tabs must be established by the user as there are no vertical tabs set when the printer is turned on resulting in a vertical tab being executed as a linefeed ESC jn Reverse n 180 ASCII Code ESC jn Hexadecimal Value 1B6An Dec
92. exadecimal Value 1B 5B 5C ni n Mi m mz ma Decimal Value 27 91 92 ny n2 Mm m m my This escape sequence sets the base vertical or line spacing increment for the ESC A ESC J and ESC 3 commands n n specify number of parameter bytes that follow m m specify text ESC A only line m m specify graphics ESC 3 ESC J line spacing increment spacing increment 00 00 no change from current setting 00 00 no change from current setting 00 30 1 48 increment 00 30 1 48 increment 00 48 1 72 increment 00 48 1 72 increment 00 60 1 96 increment 00 60 1 96 increment 00 78 1 120 increment 00 78 1 120 increment 00 90 1 144 increment 00 90 1 144 increment 00 B4 1 180 increment 00 B4 1 180 increment 00 D8 1 216 increment 00 D8 1 216 increment 00 FO 1 240 increment 00 FO 1 240 increment 00 AO 1 1440 increment 00 AO 1 1440 increment 74 Setting Print Attributes DC4 Cancels double width printing ASCII Code DC4 Hexadecimal Value 14 Decimal Value 20 Cancels double width printing initiated by a SO code and returns to the previously selected print compression SO Selects double width printing ASCII Code SO Hexadecimal Value OE Decimal Value 14 This code will enable double width printing for subsequent characters until a line terminator a DC4 code or an ESC W sequence is received
93. f there are multiple ETX s in the buffer 55 ESC O Resets printer ASCII Code ESC O Hexadecimal Value 1B 40 Decimal Value 2764 Causes the printer to reset all functions and print modes to their power on default state ESCUn Unidirectional printing ON OFF ASCII Code ESCUn Hexadecimal Value 1B55n Decimal Value 2785n Causes printing to occur from left to right only If n is 01H then unidirectional printing is activated The escape sequence to print unidirectional will take effect at the point in the line where the escape is Characters before the escape sequence may be printed left to right only If n is OOH then unidirectional printing is canceled The escape sequence to cancel should be the first thing in a line to be printed bi directional If both the command to start and stop unidirectional print are in the same line the printer will act on the last one received 56 DC3 Deselects printer or XOFF ASCII Code DC3 Hexadecimal Value 13 Decimal Value 19 In the parallel interface this control code will set the parallel interface signals SLCT to logic zero condition and disable the printer from printing received data This is called the STANDBY status and the ON LINE led will flash 50 50 until you press the ONLINE key twice or until DC1 is received This code is enabled by System Menu see in the System Menu under PARALLEL OPTIONS the PAR RCV DC1 DC3 function please refer to the User s Manual on the
94. gt ESC 0 ESC 1 ESC 2 ESC 3n ESC 4 Acknowledge Sounds the buzzer BACK SPACE Cancels data Carriage return Selects printer or XON Cancels the compressed printing Deselects printer or XOFF Cancels double width printing Deletes character Escape control sequence introducer Selects or cancels underlined printing Cancels MSB control Absolute dot position Selects internal downloaded characters Defines the 24 pin Download Characters Assigns a character set to active character set number 0 to 3 Selects bit image mode Selects Vertical Format Unit Channel Re defines graphics mode Resets printer Selects the score line Selects double high printing Selects emulation Selects Code Page or ISO Code tables Activates cancels barcode mode Sets barcode parameters Sets relative dot position Sets n 360 inch line spacing Immediate carriage return Sets MSB equal to zero 0 Sets MSB equal to one 1 Sets 1 8 inch line spacing Sets vertical spacing to 7 72 inch Sets 1 6 inch text line spacing Sets graphics line spacing Selects italics print mode 55 50 41 53 44 54 13 57 17 53 49 22 58 43 31 59 36 40 49 37 56 63 18 64 29 26 26 45 16 62 62 62 15 15 14 15 22 2 ESC 5 ESC 6 ESC 7 ESC An ESC an ESC b c n1 nk NUL ESC B n1 n2 nk NUL ESC Cn ESC C NUL n ESC D n1 n2 nk NUL ESC E ESC EM n ESC F ESC g ESC G ESC H
95. imal Value 27 106 n Range 0 lt n lt 255 Causes a reverse line feed of n 180 or n 216 see in the System Menu under OTHER OPTIONS the OPT EPSON OGM function selected with the OPT EPSON OGM gt N n 180 OPT EPSON OGM gt Y n 216 values please refer to the User s Manual on the CD Rom after printing the data stored in the print buffer Does not affect the current forward line spacing value This command may be ignored if the Automatic Sheet Feeder is installed 48 ESC n Selects Vertical Format Unit Channel ASCII Code ESC n Hexadecimal Value 1B2Fn Decimal Value 2747n Range 0 lt n lt 7 Selects vertical format unit VFU channel Subsequent VT codes will execute the vertical tabs by the ESC B and ESC b commands Miscellaneous ESC Escape control sequence introducer ASCII Code ESC Hexadecimal Value 1B Decimal Value 27 This code is used as a control sequence introducer It implies that subsequent code s will define a given action of the printer ESC sn Selects full half speed printing ASCII Code ESC sn Hexadecimal Value 1B 73 n Decimal Value 27115n If the value of parameter n 1 then print speed will be reduced to half of the normal speed If the value of parameter n 0 then the print speed will be normal 49 BEL Sounds the buzzer ASCII Code BEL Hexadecimal Value 07 Decimal Value 7 Buzzer is sounded for approx 0 5 sc If a serie of bell codes is sent to the printer successively the
96. imal Value 27 65n Range O lt n lt 128 Sets the spacing between lines to n 60 or n 72 see in the System Menu under OTHER OPTIONS the OPT EPSON OGM gt N n 60 0PT EPSON OGM gt Y n 72 values please refer to the User s Manual on the CD Rom ESC 2 Sets 1 6 inch text line spacing ASCII Code ESC 2 Hexadecimal Value 1B 32 Decimal Value 27 50 Sets the spacing between lines to 1 6 inch 14 ESC 0 Sets 1 8 inch line spacing ASCII Code ESC 0 Hexadecimal Value 1B 30 Decimal Value 27 48 Sets the spacing between lines to 1 8 inch 8 LPI ESC 1 Sets vertical spacing to 7 72 inch ASCII Code ESC 1 Hexadecimal Value 1B 31 Decimal Value 27 49 Sets the spacing between lines to 7 72 inch ESC 3n Sets graphics line spacing ASCII Code ESC 3n Hexadecimal Value 1B 33n Decimal Value 2751n Range 0 lt n lt 255 Decimal Sets the spacing between lines to n 180 inch or n 216 see in the System Menu under OTHER OPTIONS the OPT EPSON OGM gt N n 180 0PT EPSON OGM gt Y n 216 values please refer to the User s Manual on the CD Rom 15 ESC n Sets n 360 inch line spacing ASCII Code ESC n Hexadecimal Value 1B2Bn Decimal Value 2743n Range 0 lt n lt 255 Sets line spacing in increments of n 360 inch according to the parameter n 16 Setting Print Attributes DC4 Cancels double width printing ASCII Code DC4 Hexadecimal Value 14 Decimal Value 20 Range Cancels double width printing
97. initions n DEFINITION 0 Draft at 10 cpi 2 LQ at 10 cpi 3 Proportional LQ 4 Draft Download at 10 cpi 6 LQ Download at 10 cpi 7 Proportional LQ Download 8 Draft at 12 cpi 10 LQ at 12 cpi 12 Draft Download at 12 cpi 14 LQ Download at 12 cpi 16 Draft at 17 cpi derived from 10 cpi draft 18 LQ at 17 cpi derived from 10 cpi LQ 20 Draft at 17 cpi derived from downloaded 10 cpi draft 22 LQ at 17 cpi derived from downloaded 10 cpi LQ 91 ESC xn Selects print mode ASCII Code ESCxn Hexadecimal Value 1B 78n Decimal Value 27 120n This command selects various print modes see the table below n PRINT MODE 0 Draft 1 Letter Quality ESC nm N2 m Mo Ms Ma M5 Selects font ASCII Code ESC n na mi m M3 M4 ms Hexadecimal Value 1B 5B 49 ny n mi m mz M4 M5 Decimal Value 27 91 73 ny nam m2 Mz M4 ms Range 0 lt n lt 255 Escape sequence changes the font style and the print mode is in LQ See the tables in the following page 92 n n number of parameter bytes that follow n Hn 256 m m font id n Hn 256 00 OB Courier 00 55 Courier 00 FF Gothic 00 OC Prestige 00 OD Roman font card 00 OE Script 00 OF OCRA 00 10 OCR B 00 11 Orator 00 12 Presentor font card 00 13 Script C font card m m font width m m 256 1440 00 00 No change from current setting 00 54 17 cpi 00 60 15 cpi 00 78 12 cpi 00 90 10 c
98. ion ASCII Code ESC p1 p2 SP Hexadecimal Value 1B 5B pi 3B pa 20 7E Decimal Value 27 91 pi 59 p2 32 126 This sequence will switch the emulation of the printer to another available emulation There are two parameters defined in the sequence which are as follows p Emulation identifier This parameter will select the particular emulation by a reference number that can be found in the description of the table p Reset control The parameters of the printer tabs margins page length etc to be reset or defaulted are controlled by this parameter See the following tables p EMULATION 0 GENICOM ANSI 23 IBM Proprinter XL 24 XL 24E 24 EPSON LQ 1050 p SWITCH CONDITION Printer parameters maintained 1 Printer parameters reset to defaults 121 Native Extension Escape Sequences These native extension escape sequences are valid if enabled via menu see in the System Menu under OTHER OPTIONS the OPT NATIVE COMND function please refer to the User s Manual on the CD Rom ESC 3 n Sets metric line spacing ASCII Code ESC 3n Hexadecimal Value 1B 5B 5B 33 n Decimal Value 279191 51n Sets the spacing between lines as indicated by parameter n as follows n SPACING INCREMENT 33H 3 lines on 30 mm 34H 4 lines on 30 mm 36H 6 lines on 30 mm 38H 8 lines on 30 mm 31H 12 lines on 30 mm This sequence overrides the current line spacing increment Other values are ignored
99. is protocol is enabled Does not affect function of DC1 DC3 protocol Not valid in parallel interface protocol 117 ESCUn Unidirectional print ON OFF ASCII Code ESCUn Hexadecimal Value 1B55n Decimal Value 2785n Range 0 lt n lt 255 decimal Causes printing to occur from left to right only If n is 01H then unidirectional printing is activated The escape sequence to print unidirectional will take effect at the point in the line where the escape is Characters before the escape sequence may be printed left to right only If n is OOH then unidirectional printing is canceled The escape sequence to cancel should be the first thing in a line to be printed bi directional If both the command to start and stop unidirectional print are in the same line the printer will act on the last one received ESCQn Deselects printer ASCII Code ESCQn Hexadecimal Value 1B 51n Decimal Value 2781n Range n 23 24 35 36 decimal When this escape sequence is sent to the printer the printer will set the parallel interface signals SLCT to a logical zero condition and disable printing of received data In the serial interface mode this sequence causes the printer to disable printing of received data Printing can be resumed by resetting the printer or sending DC1 to the printer or depressing the ON LINE key on the operator panel twice Indeterminate Conditions If the third byte is not hex 23 or 24 the escape sequence is ignored 118
100. ld not be the same positions on the page if set in normal or compressed mode Send a CR immediately after this escape sequence in order to position the print head at the new left margin Margin settings are stored as absolute distances from the physical left print limit therefore they will not change if it is chosen double wide or compressed print An automatic LF and CR will occur at the right margin AUTO WRAP function enabled see in the System Menu under OTHER OPTIONS the OPT AUTO WRAP function selected with the OPT AUTO WRAP gt Y value please refer tothe User s Manual on the CD Rom ESC R Sets tabs to default setting ASCII Code ESCR Hexadecimal Value 1B 52 Decimal Value 27 82 It resets all horizontal tabs to every eighth character spacing beginning with character space nine It cancels vertical tabs 102 CR Carriage return ASCII Code CR Hexadecimal Value OD Decimal Value 13 The carriage return will position the print head to the left margin for subsequent printable data to be printed This code is a line terminator A LF is executed based upon the AUTO LF selection see in the System Menu under OTHER OPTIONS the OPT AUTO LF function OPT AUTO LF gt Y please refer to the User s Manual on the CD Rom or upon the ESC 3 command If the parallel interface signal AFXT pin 14 selected in the System Menu see in the System Menu under PARALLEL OPTIONS the PAR AFXT function PAR AFXT gt Y please refer to the
101. le density graphics ON Double density graphics ON Selects the Magenta 3rd color band Sets skip perforation Disables the skip perforation Selects or cancels proportional mode Deselects printer Sets tabs to default setting Selects subscript or superscript printing Cancels subscript or superscript printing Unidirectional print ON OFF Selects or cancels double width printing Selects print mode Sets horizontal margin Selects the Yellow 4th color band Double density graphics ON Quadruple density graphics ON Selects Code Page or ISO Code tables Continuous overstrikes End of transmission Form feed Horizontal tab 105 120 120 72 80 107 81 67 68 103 101 78 109 78 69 78 79 91 119 108 90 94 97 81 68 69 71 118 102 79 80 118 76 92 102 82 97 98 88 79 117 105 100 LF NUL SI SO SP VT Line feed NUL Enables compressed printing Selects double width printing Space character Vertical tab 104 116 70 75 112 106 ANSI Emulation Commands ACK BEL BS CR DC1 DC3 DEL ENQ ESC ESC pla ESC pt pnh ESC pid ESC p1q ESC p1 pnl ESC p1 pn v ESC p1 ESC plk ESC pl x ESC p1 p2f ESC p1 p SP ESC p1 p2 p SP ESC p1 pn ESC p1 pn ESC pie ESC pl j ESC p1 t ESC p1 p2 lt SP gt G ESC p1 p2 s ESC p1 p2 SPB ESC p1 p2 pa r ESC p1 png ESC p1 pn p ESC p1 pn m ESC or ST
102. le high printing ASCII Code ESC O N1 n M1 Ma ms Ma Hexadecimal Value 1B 5B 40 ny n Mi m ms ma Decimal Value 27 91 64 ny n Mi M2 M3 my This command selects double high double wide and double line feed options The following parameter values are allowed n always 4 n always O m always O m always O 18 m character height and line feeds see the chart in the following page m Character Width 0 current value 1 single wide 2 double wide Character Height Unch Single Double Line F eed Unch 0 1 2 Single 16 17 18 Double 32 33 34 ESC wn Selects double high mode ASCII Code ESC wn Hexadecimal Value 1B 77n Decimal Value 27119n Range n 00H 01H If the value of parameter n 01H then characters printed following the command will be printed twice as high as normal If the value of parameter n 00H then this mode is canceled ESC E Selects emphasized printing ASCII Code ESC E Hexadecimal Value 1B 45 Decimal Value 2769 This command will cause subsequent character printing to be emphasized Emphasized printing is defined as printing a dot twice with 1 360 inch horizontal spacing between dots ESC F Cancels emphasized printing ASCII Code ESC F Hexadecimal Value 1B 46 Decimal Value 27 70 Cancels the emphasized print mode started by ESC E ESC G Selects double strike printing ASCII Code ESC G Hexadecimal V
103. mand causes the current vertical position to be set to the decipoint value specified by the p parameter relative to the top most line of the current form length This sequence can be used to print within the top and the bottom margins ESC pie Vertical position relative VPR ASCII Code ESC pi e Hexadecimal Value 1B 5B pi 65 Decimal Value 27 91 p 101 This command causes the current vertical position to be advanced to the position specified by the pl parameter in decipoints relative to the current print line position 137 ESC pi p gt f Horizontal and vertical position absolute HVP ASCII Code ESC pi p f Hexadecimal Value 1B 5B pi 3B po 66 Decimal Value 27 91 pi 59 p gt 102 This command causes the current print position to be moved to the vertical p and horizontal p decipoint locations specified relative to the top left corner of the page This sequence can be used to print within the right left top and bottom margins ESC pi k Vertical position backward VPB ASCII Code ESC pi k Hexadecimal Value 1B 5B p 6B Decimal Value 27 91 p 107 This command causes the current vertical position to be moved backwards as specified by the p parameter decipoints relative to the current print line position 138 ESC P1 Pn 9 Tab clear TBC ASCII Code Hexadecimal Value Decimal Value ESC pi pn 9 1B 5B p 3B p 67 27 91 p 59 pn 103 This command clears horizontal amp vertical tab s
104. mn1n2p1p2 px Range m 0 1 2 3 4 6 7 8 32 33 34 35 36 38 39 40 O lt ny n2 lt 255 0 lt px lt 255 Select 8 wire or 24 wire bit image mode according to the table below The parameter m determines the horizontal density as well as the number of wires to be fired For 8 wire images the total number of data bytes p to be sent is determined by the following formula n Xn x256 For 24 wire images by the following formula 3x n Kn x256 m DPI WIRES DENSITY NAME 0 60 8 Single density 1 120 8 Double density 2 120 8 Double high speed 3 240 8 Quadruple density 4 80 8 CRT Graphic I 6 90 8 CRT Graphic I I 7 180 8 Triple density 8 360 8 Hex density 32 60 24 Single density 33 120 24 Double 34 120 24 Double high speed 35 240 24 Quadruple density 36 80 24 CRT Graphic I 38 90 24 CRT Graphic I I 39 180 24 Triple density 40 360 24 Hex density 40 Horizontal Movements BS BACK SPACE ASCII Code BS Hexadecimal Value 08 Decimal Value 8 The back space command will move the print head one character width to the left based on the current CPI in effect This means that a horizontal tab followed by a backspace will move the carriage only one character space and will not have the effect of canceling the horizontal tab HT Horizontal tab ASCII Code HT Hexadecimal Value 09 Decimal Value 9 This code will position the print head right to the next horizontal tab stop position Power up default is t
105. n the result will be a continuous buzzing sound approx the number of seconds long corresponding tothe number of bell codes sent It is required that other printer operations do not cease while the bell is sounding Bell response can be modified by menu see in the System Menu under OTHER OPTIONS the OPT BELL ENABLE function selected with the OPT BELL ENBL gt Y OPT BELL ENBL gt N values please refer tothe User s Manual on the CD Rom ESC EM n Selects deselects Automatic Sheet Feeder ASF ASCII Code ESC EM n Hexadecimal Value 1B19n Decimal Value 27 115n Controls optional ASF paths for parking loading amp ejecting See the table in the following page 50 n ASF 0 Reserved 1 Selects Bin 1 for use after ejecting current sheet 2 Selects Bin 2 for use after ejecting current sheet 3 Selects Bin 3 for use after ejecting current sheet 4 Enables ASF printer online C Selects and loads from Bin then loads from Bin 2 thereafter R Ejects paper without loading another sheet Printer will remain Online indicating Paper in condition Incoming data will cause sheet to load from currently selected bin 8 Parks current path The maximum reverse distance is one form length for continuous forms The current sheet is ejected for the ASF cut sheet forms See NOTE below 9 Loads currently selected path See NOTE below 10 Selects and loads Front2 Push path continuous forms The current paper path will park or eject and
106. nal is present when printer 13 is not sending data T B Transmit Return 14 R A HOST Receive A Mark level is expected when sender is 16 in idle state R B Receive return 19 G Signal Ground Always connected to the 0 Volt of 7 the power supply SHIELD Cable Shield Optionally connected to the frame 1 214
107. nge to 20 CPI ESC g Selects 15 CPI ASCII Code ESC g Hexadecimal Value 1B 67 Decimal Value 27 103 Selects 15 CPI printing SI or ESC SI E nables compressed printing ASCII Code Sl or ESC SI Hexadecimal Value 1B OF Decimal Value 2715 This code will enable the compressed printing mode Character printing will be changed to 17 16 cpi 20 cpi ignored or to condensed proportional spacing provided 10 cpi 12 cpi 15 cpi or proportional spacing is the currently selected cpi respectively Double wide by both SO and ESC W and compressed print will produce the equivalent of the current compressed density DC2 Cancels the compressed printing ASCII Code DC2 Hexadecimal Value 12 Decimal Value 18 Cancels the compressed printing mode the printing will resume at 10 cpi 12 cpi or proportional spacing if the currently selected condensed print mode is 17 16 cpi 20 cpi or condensed proportional spacing respectively ESCpn Selects proportional mode ASCII Code ESCpn Hexadecimal Value 1B 70n Decimal Value 27 112n Range n 00H 01H If the value of n 01H then proportional spacing mode or condensed proportional spacing mode is enabled if the current print mode is normal or condensed respectively Each character has a proportional space width according to the Epson emulation If the value of n 00H then proportional mode is disabled ESCAn Sets text line spacing ASCII Code ESCAn Hexadecimal Value 1B 41n Dec
108. nu the OPT CONFIRM PARK function under OTHER OPTIONS is selected OPT CNFRM PARK gt Y value please refer to the User s Manual on the CD Rom then prior to park current path the paper will move to the tear off position and the LCD will display PLEASE TEAR OFF Push the TEAR key or PARK PATH key to enable subsequent parking of the form If CONFIRM PARK is not selected if in the System Menu the OPT CONFIRM PARK function under OTHER OPTIONS is selected OPT CNFRM PARK gt N value please refer to the User s Manual on the CD Rom then parking will be attempted without your intervention 111 BEL Sounds the buzzer ASCII Code BEL Hexadecimal Value 07 Decimal Value 7 The printer s buzzer is sounded for approximately 0 5 second If a series of bell codes is sent to the printer successively then the result will be a continuous buzzing sound approximately the number of seconds long corresponding to the number of bell codes sent It is required that other printer operations do not cease while the bell is sounding Bell response can be modified by menu see in the System Menu under OTHER OPTIONS the OPT BELL ENABLE function OPT BELL ENBL gt Y OPT BELL ENBL gt N please refer to User s Manual on the CD Rom SP Space character ASCII Code SP Hexadecimal Value 20 Decimal Value 32 The space character will position the print head one character space to the right in normal character printing mode 112 CAN Cancels
109. o be printed is determined by the parameter n as follows n BAND PROCESS COLOR 0 1 Black 1 3 Magenta 2 2 Cyan 3 2 amp 3 Violet 4 4 Yellow 5 4 amp 3 Orange 6 4 amp 2 Green 24 ESCan Selects text alignment ASCII Code ESCan Hexadecimal Value 1B 61n Decimal Value 27 97 n Causes text justification according to parameter n as follows JUSTIFICATION Left flush align text with left margin default Centering center text Right flush align text with right margin Full justify align text with left amp right margins UNPOIS 25 Bar Codes Selection ESC un Activates cancels barcode mode ASCII Code ESC un Hexadecimal Value 1B5B75n Decimal Value 27 91 117n Range 0 lt n lt 255 Ifn odd value activates Barcode mode If n even value cancels Barcode mode ESC vnm Sets barcode parameters ASCII Code ESC vnm Hexadecimal Value 1B5B76nm Decimal Value 279 118nm Sets barcode parameters according tothe table in the following page Parameter values that are not supported result in the command being ignored 26 n Parameter Description m Parameter Limits Value 0 Barcode style Seethetablein the following page 4 1 Barcode height 1 120 1 12 increments 12 2 Human Readable line O disable 1 enable 1 3 Narrow bar width 2 255 3 4 Wide bar width 2 255 7 5 N arrow space width 2 255 3 6 Wide space width 2 255 7 7 Intercharacter space width 2 255 3
110. o have a tab in the ninth character position and every eighth position thereafter unless tabs are previously set by host and stored in NVRAM Upto 32 horizontal tabs may be set by the ESC D command 41 ESC D Ni No Nk NUL Sets horizontal tab stops ASCII Code ESC D ni n nk NUL Hexadecimal Value 1B 44 n no Nk NUL Decimal Value 27 68 n no Nk NUL Sets horizontal tab stops in columns as indicated by parameters Parameters are column numbers of which tab stops are to be set There can be a maximum of 32 tab stops at any given time The parameters must come in ascending order Any parameter that found in descending order would be ignored Thelist of tab stops must be terminated by the NUL code Any column that is not referenced in the list is cleared by this command Therefore using this sequence without any parameters will clear all horizontal tab stops The default tab setting from power up is a tab set in column nine and every eight columns thereafter unless tabs previously set by host and stored in NVRAM ESC d NUL will clear at horizontal tab settings If more than 32 tabs are sent to be set the 32nd tab setting automatically causes an exit from the tabs set mode and subsequent data is interpreted as normal text data Transition from one character pitch to another e g 10 to 12 cpi will not affect physical position of tabs 42 ESC In Sets left margin ASCII Code ESC In Hexadecimal Value 1B
111. on but will still move the print head position to the left margin if enabled by menu selection 108 Miscellaneous ESC Escape control sequence introducer ASCII Code ESC Hexadecimal Value 1B Decimal Value 27 This code is used as a control sequence introducer It implies that subsequent code s will define a given action of the printer ESC EM n Auto Sheet Feeder ASF amp Paper Path Control ASCII Code ESC EMn Hexadecimal Value 1B19n Decimal Value 27 115n Controls optional ASF and other Paper paths for paper parking loading and ejecting The ASF must be installed and selected This command supersedes operator panel selection of paper paths 109 n PAPER PATH CONTROL 0 Reserved 1 Selects Bin 1 for use after ejecting current sheet 2 Selects Bin 2 for use after ejecting current sheet 3 Selects Bin 3 for use after ejecting current sheet 4 Enables ASF printer online C Selects and loads from Bin then loads from Bin 2 thereafter R Ejects paper without loading another sheet Printer will remain Online indicating Paper in condition Incoming data will cause sheet to load from currently selected bin 8 Parks current path The maximum reverse distance is one form length for continuous forms The current sheet is ejected for ASF cut sheet forms See NOTE below 9 Loads currently selected path See NOTE below 10 Selects and loads Front2 path continuous forms The current paper path will park or ej
112. pi m spacing attribute 0 No change from current setting 1 Change to fixed pitch indicated by m m 2 Change to proportional spacing 93 Dot Graphics ESC K ni Na pj Px Single density graphics ON ASCII Code ESC K ni n gt pj Px Hexadecimal Value 1B 4B ni n pi Px Decimal Value 27 75 ni No Pj Px Range ni 0 255 no 0 3 This is a terminator code and when received causes the current content of the print buffer to be printed out then selects dot graphics at normal density which allows printing of 60 horizontal dots per inch Dot graphics text may also be mixed with text data on the same line After printing data the printer goes back to Draft or Quality printing according to the selection made before e Parameter n amp n specify the number of columns of dot graphics e Parameter p p specify which dots in each column are to be printed If your graphics pattern has fewer than 256 columns then n is equal to number of columns and n is equal to 0 If your graphics pattern has more than 256 columns then n is equal to remainder of the number of columns divided by 256 and n is equal to integer result of the number of columns divided by 256 The data that will exceed the position of the right margin is discarded 94 To calculate from p to p assign the value of each bit for each column BIT VALUE 7 128 Add up the numbers corresponding to the dots that you want in each column
113. re stored in columns Margins previously set by the ESC X are not affected by this command Margins established after the SI command will be based upon the compressed CPI values DC2 Cancels compressed printing ASCII Code DC2 Hexadecimal Value 12 Decimal Value 18 Cancels the compressed printing mode The printing will resume at 10 or 5 cpi double width as previously selected 70 ESC 0 Sets 1 8 inch line spacing ASCII Code ESCO Hexadecimal Value 1B 30 Decimal Value 27 48 Sets the spacing between lines to 1 8 inch 8 Ipi ESC Pn Selects or cancels proportional mode ASCII Code ESC Pn Hexadecimal Value IB 50 n Decimal Value 27 80n Range 0 lt n lt 255 When n is odd proportional spacing is started When n is even proportional spacing is stopped Any pitch change will also cancel proportional spacing If proportional spacing is enabled and an ESC P n odd sequence is received then the previously selected mode and cpi will be selected upon exiting proportional spacing 71 ESCAn Stores text line spacing ASCII Code ESCAn Hexadecimal Value 1B41n Decimal Value 2765n Range 1 lt n lt 85 Sets the spacing between lines to n 60 if AGM enabled to n 72 if AGM not enabled See in the System Menu under IBM OPTIONS the IBM AGM MODE gt Y N functions please refer to the User s Manual on the CD Rom If AGM is not enabled IBM AGM MODE gt N then an ESC 2 sequence must be received in order to set the
114. rm length 11 form length 12 form length 1 Zero slash Normal zero Slashed zero 0 Char set CS1 CS2 m Specifies which Operational Menu setting is ON or OFF as follows BIT ITEMS OFF 0 ON 1 7 Discard byte Process this byte Ignore this byte 6 Selects CG Selects USA National set Selects Multilingual 5 Reserved 4 Reserved 3 Reserved 2 Reserved 1 Line length 13 6 8 115 DC1 Selects printer or XON ASCII Code DC1 Hexadecimal Value 11 Decimal Value 17 In the parallel interface mode after the printer has been de selected by ESC Q 23 or 24 this control code will set the parallel interface signals SLCT to a logic one condition and enable the printer to resume printing When in the serial interface mode this code is sent from the printer to the host to indicate that the printer is ready to receive data XON caused by any of the following conditions Input buffer empty or Offline Online from control panel after printer error conditions are deared NUL NUL ASCII Code NUL Hexadecimal Value 00 Decimal Value 0 This code does not have an action associated with it when by it It is used by other sequences ex ESC B to terminate an action such as a list of parameters It can also serve as a valid parameter in certain escape sequences i e ESC S NUL would cause superscripting to occur It may also be used to indicate that no wires be fired in a column of dot graphics mode 116 ETX
115. s cleared The code page is initialized as set by System Menu value If the user specifies parameters they overwrite current Operational Menu setting The printer is initialized to the factory default setting The downloaded font is not cleared If the user specifies parameters they overwrite factory IBM Operational Menu setting The code page is initialized as set by ISU value 10 cpi draft font is selected The printer is initialized to the factory default setting The downloaded font is cleared The code page is initialized as set by ISU value If the user specifies parameters they overwrite the factory IBM Operational Menu setting 10 cpi draft font is selected When the user specifies this value the printer performs the same function as 01H and the parameters that follow are saved in Non volatile memory EEPROM as updated user default settings When the user specifies this value the printer performs the same function as 05H and the parameters that follow are saved in NVM memory as updated user default settings Specifies the printer 23H 24H Command honored and acted upon according to init m m 114 m Specifies which Operational Menu setting is ON or OFF as follows BIT ITEMS OFF 0 ON 1 7 Discard byte Process this byte Ignore this byte 6 Reserved 5 Alarm Enables alarm Disables alarm 4 Auto CR No CR on vertical movement CR on vertical movement 3 Auto LF NO LF with CR Auto LF with CR 2 Fo
116. t 16 Sets vertical tab stops as indicated by parameters The parameters are line numbers at the current line spacing when tab stops are to be executed The list of tab stops must be terminated by the NUL code Tab stops are defined as line numbers at the current line spacing Any line that is not referenced in the list is cleared by this command Therefore using this sequence without any parameters will clear all vertical tab stops There can be a maximum of 64 tab stops at any given time The parameters must come in ascending order Tabs stops are indications of the printable position that the character printed after moving to that tab If a tab is set at line 8 a tab and print will print the character in the eighth line The vertical tabs must be established by the user as there are no vertical tabs set when the printer is turned on unless tabs previously set by host and stored in NVRAM 107 ESC Jn Single variable line feed ASCII Code ESC Jn Hexadecimal Value 1B4An Decimal Value 27 74n Range 0 lt n lt 255 The print position will be moved down the page in increments of n 180 if AGM disabled or VSU setting 1 180 n 216 if AGM enabled or VSU setting 1 216 If CR following LF is enabled by menu see in the System Menu under IBM OPTIONS the IBM AUTO CR function please refer to the User s Manual on the CD Rom then carriage return will also occur Zero It is a valid parameter value that will produce no vertical moti
117. t is determined by the following formula n n x256 For 24 wire images the total number is determined by 3x n n x256 98 m DPI WIRES DENSITY NAME 0 60 8 Single 1 120 8 Double 2 120 8 Double high speed 3 240 8 Quadruple 4 80 8 CRT Graphic I 6 90 8 CRT Graphic I I 7 180 8 Triple 8 360 8 Hex 32 60 24 Single 33 120 24 Double 34 120 24 Double high speed 35 240 24 Quadruple 36 80 24 CRT Graphic I 38 90 24 CRT Graphic I I 39 180 24 Triple 40 360 24 Hex 99 Horizontal Movements BS Backspace ASCII Code BS Hexadecimal Value 08 Decimal Value 8 The backspace command will move the print head one character width to the left based on current cpi in effect This means that a horizontal tab followed by a backspace will move the carriage only one character space and will not have the effect of canceling the horizontal tab HT Horizontal tab ASCII Code HT Hexadecimal Value 09 Decimal Value 9 This code will position the print head right to the next horizontal tab stop position Power up default is to have a tab in the ninth character position and every eighth position thereafter unless tabs are previously set by host and stored in NVRAM Up to 28 horizontal tabs may be set by the ESC D command 100 ESC D Ni No Nk NUL Sets horizontal tab stops ASCII Code ESC D ni n Nk NUL Hexadecimal Value 1B 44 n no Nk NUL Decimal Value 27 68 n n Nk NUL Sets
118. t setting 01 B5 Code page 437 MSCP 437 03 52 Code page 850 MSCP 850 03 53 Code page 851 EPCP 851 03 54 Code page 852 MSCP 852 03 55 Code page 853 EPCP 853 03 57 Code page 855 MSCP 855 03 5A Code page 858 Euro PC Multilingual Euro symbol included 03 5 Code page 860 MSCP 860 03 5F Code page 863 MSCP 863 03 60 Code page 864 EPCP 864 03 61 Code page 865 MSCP 865 03 62 Code page 866 MSCP 866 03 63 Code page 867 EPCP 867 21 80 Mazowia Polish 29 m m Code page number m m 256 except for SO table 21 81 Turkish 21 82 Greek 21 83 Kamenicky 21 84 CWI 21 85 Roman 8 21 86 IN2 21 87 Code page 864E 21 8F ISO 8859 1 WESTERN EUROPE 21 90 ISO 8859 2 EASTERN EUROPE 21 91 ISO 8859 3 SOUTHERN EUROPE 21 92 ISO 8859 4 NORTHERN EUROPE 21 93 ISO 8859 5 CYRILLIC 21 94 ISO 8859 6 ARABIC 21 95 ISO 8859 7 GREEK 21 96 ISO 8859 8 HEBREW 21 97 ISO 8859 9 WESTERN EUROPE 2 17 1B ISO 8859 15 WESTERN EUROPE Euro symbol included MSCP MICROSOFT CODE PAGE EPCP EPSON CODE PAGE See pages Tables for Code Page and ISO Code Pages 30 ESC n Selects internal downloaded characters ASCII Code ESC n Hexadecimal Value 1B25n Decimal Value 27 37n Range n 00H 01H If the parameter n 00H then the resident internal characters are selected for printing If n 01H then the downloaded characters are selected for printing ESCRn Selects international character sets ASCII Code ESCRn
119. tely displayed on the LCD Max length 16 characters 150 DATA DESCRIPTION data data data data data data Name for Active Format data is displayed on the LCD instead of previous format message and stored in NVRAM Max length 16 characters Name for Format 1 data is displayed on the LCD instead of previous format message and stored in NVRAM Max length 16 characters Name for Format 2 data is displayed on the LCD instead of previous format message and stored in NVRAM Max length 16 characters Name for Format 3 data is displayed on the LCD instead of previous format message and stored in NVRAM Max length 16 characters Name for Format 4 data is displayed on the LCD instead of previous format message and stored in NVRAM Max length 16 characters Answerback message stored in NVRAM and data is transmitted to host via serial I F in response to ENQ code The max length is 30 ASCII characters User Defined Substitutian 151 Paper Path Selection ESC pi Pn p Assign source for forms GENASF ASCII Code ESC p13 Pn P Hexadecimal Value 1B 5B pi 3B pn 70 Decimal Value 27 91 p 59 pn 112 This command controls the modes of the optional Automatic Sheet Feeder and other paths for parking loading and ejecting paper The p parameter is an ASCII value See the following table p PAPER PATH CONTROL 0 Reserved 1 Load from ASF bin 1 at
120. the Front2 Push path is loaded Same as n 13 11 Selects and loads Frontl Push path continuous forms The current paper path will park or eject and the Front1 path is loaded Same as n 12 12 Selects and loads Frontl Push path continuous forms The current paper path will park or eject and the Front1 path is loaded Same as n 11 13 Selects and loads Front2 Push path continuous forms The current paper path will park or eject and the Front2 path is loaded Same as n 10 14 Reserved 15 Selects ASF bin 1 The current path will park and ASF bin 1 is loaded 16 Selects ASF bin 2 The current path will park and ASF bin 2 is loaded 17 Selects ASF bin 3 The current path will park and ASF bin 3 is loaded Values of n 1 2 3 C R are ignored if the ASF PATH has not been selected via n 15 16 17 or from the operator panel 51 NOTE SP Between the time a form page is parked ejected and the next path is loaded the interface will indicate a paper out condition However during loading from Front1 path or Front2 path or ASF path if a paper out condition is detected then the interface will indicate paper out Selection of the Push P ull path if in the System Menu under PATH OPTIONS the PATH TRACTOR function is selected with the PATH TRACT gt PSHPL value please refer to the User s Manual on the CD Rom will prevent selection of the Front1 Front2 or ASF paths by this command If CONFIRM PARK is sele
121. the System Menu under OTHER OPTIONS theAUTO LF function selected with the oPT AUTO LF gt Y value please refer to the User s Manual on the CD Rom If the parallel interface signal AF XT pin 14 selected in the System Menu see in the System Menu under PARALLEL OPTIONS the PAR AFXT function selected with the PAR AFXT gt Y value please refer to the User s Manual on the CD Rom is found to be at a logic O condition when a CR is received then a line feed will occur 44 ESC Qn Sets right margin ASCII Code ESC Qn Hexadecimal Value 1B 51n Decimal Value 2781n Range 1 lt n lt 255 Sets the right margin at the print column specified by parameter n Parameter n is in columns at the current pitch The column value is converted to inches therefore subsequent changes of pitch will leave the column width unchanged The limits of the right margin setting are as follows where LM left margin RM right margin PITCH LIMITS 10 LM 2 gt RM gt 136 12 LM 3 gt RM gt 163 15 LM 3 gt RM gt 204 17 LM 4 gt RM gt 233 20 LM 4 gt RM gt 255 ESC Ni N2 Sets relative dot position ASCII Code ESC ni n2 Hexadecimal Value 1B 5C ni n2 Decimal Value 27 92 ni No Range 0 lt n na lt 255 Causes the next print position to be moved to the right by the distance n n 256 120 inches in draft mode and n n 256 180 inches in LQ mode 45 Vertical Movements LF Line Feed ASCII Code LF Hexadecimal Valu
122. the next form boundary 2 Load from ASF bin 2 at the next form boundary 3 Load from ASF bin 3 at the next form boundary 4 Eject current sheet without a new paper loading The printer is ONLINE and a new sheet will be loaded when data is received 5 7 Reserved Park paper in the current path Fanfold can be moved backwards for two form lengths This creates a Paper Out fault condition that exists until paper is loaded from the control panel 9 Load paper from the selected paper path 10 Select and load paper from the Front2 The current paper will be parked or ejected 152 p PAPER PATH CONTROL 11 Select and load paper from the Front1 The current paper will be parked or ejected 13 Select and load paper from the Front2 The current paper will be parked or ejected 14 Reserved 15 Select ASF Bin 1 The current paper will be parked and a new sheet will be loaded from Bin 1 of the ASF 16 Select ASF Bin 2 The current paper will be parked and a new sheet will be loaded from Bin 2 of the ASF 17 Select ASF Bin 3 The current paper will be parked and a new sheet will be loaded from Bin 3 of the ASF If ASF has not been selected n 15 16 17 or via operator panel then n 1 4 is ignored The appropriate path option must be selected from the System Menu in order for the sheet feeder to work 153 User Defined Character Substitution ESC pi Pn lt ST gt User defined character substitution GENUDS
123. the particular emulation by a reference number that can be found in the description of the table Po Reset control The parameters of the printer tabs margins page length etc to be reset or defaulted are controlled by this parameter p EMULATION 0 GENICOM ANSI 23 IBM Proprinter XL 24 XL 24E 24 EPSON LQ 1050 2550 p SWITCH CONDITION 0 Printer parameters maintained 1 Printer parameters reset to defaults Indeterminate Conditions If no emulation parameter is supplied the emulation will remain in the current state and the rest of the sequence ignored Other parameter values and other parameters are reserved 64 Basic Program Sample 100 DEFSTR E ESC CHR 27 Define Escape character 110 WIDTH LPT1 255 120 LPRINE FOLLOWING ARE SOME OF THIS PRINTER S 121 LPRINT FEATURES USING THE EPSON EMULATION 130 LPRINT ESC P 10 CPI PICA 140 LPRINT ESC M 12 CPI ELITE 150 LPRINT ESC g 15 CPI 150 LPRINT ESC P 10 CPI 170 LPRINT 180 LPRINT ESC p CHRS 1 PROPORTIONAL MODE 190 LPRINT ESC p CHRS 0 BACK TO NORMAL 200 LPRINT 210 LPRINT CHR 14 DOUBLE WIDE MODE 220 LPRINT CHR 20 BACK TO NORMAL 230 LPRINT 240 LPRINT ESC E EMPHASIZED PRINTING 250 LPRINT ESC F BACK TO NORMAL 260 LPRINT ESC G DOUBLE STRIKE PRINTING 270 LPRINT ESC H BACK TO NORMAL 280 LPRINT 290 LPRINT ESC S CHR 0 SUPERSCRIPT ESC T 300 LPRINT ESC S CHR 1 SUBSCRIPT
124. tial state RIS ASCII Code ESC c Hexadecimal Value 1B 63 Decimal Value 2799 This command will write into the current format the printer parameters from the stored format assigned to the current path 146 ESC k Prints test character GENPTC ASCII Code ESC k Hexadecimal Value 1B 6B Decimal Value 27 107 This sequence causes one line of the print head test character to be printed ESC p Pn N Sets mode SM ASCII Code ESC p pnh Hexadecimal Value 1B 5B pi 3B p 68 Decimal Value 27 91 pi 59 pn 104 This command sets a specific print mode according to the parameter value If the first parameter p is preceded by a gt symbol then all parameters will be interpreted as proprietary defined parameters If the gt character is not specified all parameters will be interpreted as ANSI defined parameters The proprietary defined parameter values are p MNEMONIC MODE FUNCTION 1 GENPRM Proportional Print Mode 3 GENCSI Single Character CSI Mode 4 GENBLD Bold Mode 5 GENCS2 Character Set 2 Mode The ANSI defined parameter values are p MNE MONIC MODE FUNCTION 0 I gnored 20 LNM Auto CR on LF 147 ESC ps Pal Resets mode RM ASCII Code ESC p phl Hexadecimal Value 1B 5B pi 3B pn 6C Decimal Value 27 91 pi 59 pn 108 This sequence resets the print mode s indicated by the p1 pn parameter s ESC ps p2 SP Selects emulation GE NE MU ASCII Code ESC pi pa
125. tional Mode 30 Select black all ribbons 31 Mix yellow amp magenta Process Ribbon Select red Red black Ribbon 32 Select yellow cyan Process Ribbon 33 Select yellow Process Ribbon 34 Mix magenta cyan Process Ribbon 35 Select magenta Process Ribbon 36 Select cyan Process Ribbon 50 53 55 Reserved 128 p DEFINITION 60 High speed draft at 10 cpi 61 LQ Roman at 10 cpi 62 LQ Prestige at 10 cpi 63 LQ Script at 10 cpi 64 LQ OCR A at 10 cpi 65 LQ OCR B at 10 cpi 66 LQ Orator at 10 cpi 67 LQ Presentor at 10 cpi 68 LQ Script C at 10 cpi 70 LQ Option style 1 at 10 cpi 71 LQ Option style 2 at 10 cpi 72 LQ Option style 8 at 10 cpi 73 LQ Option style 4 at 10 cpi Subscript and Superscript modes are enabled via System Menu ANSI OPTIONS S SCRIPT gt Y Refer to the User s Manual on the CD Rom 129 ESC pi p2 SP B Graphic size modification GSM ASCII Code ESC pi p2 SP B Hexadecimal Value 1B 5B pi 3B p gt 20 42 Decimal Value 27 91 pi 59 p2 32 66 This command sets the height and or width of expanded and oversized characters The p and p parameters are the percentages by which the height and width respectively will be multiplied The default value of pi and p is 100 The maximum expansion factor is 4200 and 800 for oversize mode and expanded respectively ESC pit Special print mode Oversize E xpanded Bar code Mode GE NSPM ASCII Code ESC pt
126. tops If no parameter is present the horizontal tab stop at the current position is cleared default p DESCRIPTION 0 default Clear horizontal tab at current position 1 Clear vertical tab at current position 3 Clear all horizontal tab stops 4 Clear all vertical tab stops VT Vertical tab ASCII Code VT Hexadecimal Value 0B Decimal Value 11 This code causes printing to be moved to the left margin at the next vertical tab stop 139 ESC J or VTS Vertical tab setting ASCII Code ESC J or VTS Hexadecimal Value 1B 4A 7 bit or 8A 8 bit Decimal Value 27 74 7 bit or 138 8 bit This command causes a vertical tab stop to be set to the decipoint value of the current vertical position ESC pi Pn V Sets vertical tab stops at specified positions Multiple Vertical Tab Set GENVTS ASCII Code ESC pi Pn V Hexadecimal Value 1B 5B pi 3B p 76 Decimal Value 27 91 p 59 p 118 This command sets up to 12 vertical tab stops at each decipoint position specified by p parameters The tab stops are measured from the top of the page When specifying more than one position enter the parameters in ascending order FF Form feed ASCII Code FF Hexadecimal Value OG Decimal Value 12 This code causes the data in the print buffer to be printed out and then advances the paper to the top of the next form 140 ESC pi P2 ps r Form definition GENFD ASCII Code ESC pi Ps P I Hexadecimal
127. ts from all characters set Defines downloaded characters table Sets 1 8 inch line spacing Sets 7 72 inch line spacing Sets ESC A text line spacing Sets graphics line spacing Set top of form 55 47 41 46 54 13 17 52 46 123 117 112 100 113 103 116 70 119 75 109 98 69 74 92 113 121 83 83 77 122 123 123 87 88 86 71 73 fa 73 104 ESC5n ESC 6 ESC 7 ESCAn ESCb ESC B n1 n2 nk NUL ESC c ESCCn ESC C NUL n ESC d n1 n2 ESC D n1 n2 nk NUL ESG E ESC EM n ESC F ESC g ESC G ESC H ESC In ESC j ESC Jn ESCkn ESC K n1 n2 p1 px ESC L n1 n2 pi px ESC m ESC Nn ESC O ESC P n ESC Qn ESC R ESC Sn ESC T ESC Un ESC Wn ESC xn ESC X n1 n2 ESC y ESC Y n1 n2 p1 px ESC Z n1 n2 p1 px ESC T n1 n2 mi m2 m3 m4 ESC_n ETX FF HT Automatic line feed Selects character set 2 Selects character set 1 Stores text line spacing Selects the Black top 1st color band Vertical tabs Selects the Cyan 2nd color band Sets page length lines per page Sets page length inches per page Relative move in line forward Sets horizontal tab stops Selects emphasized printing Auto Sheet Feeder ASF 8 Paper Path Control Cancels emphasized printing Selects 15 cpi Selects double strike printing Cancels double strike printing Font selection print mode Stops printing Single variable line feed Selects LQ font Sing
128. ver the host may choose to transmit multiple blocks of data terminated with ETX even though the printer has not transmitted ACK The data source is responsible for ensuring that it does not transmit a string of data that exceeds the capacity of the printer s receive buffer 142 ACK Acknowledge ASCII Code ACK Hexadecimal Value 06 Decimal Value 6 This code is used in conjunction with ETX for the ETX ACK protocol This protocol is enabled disabled in the menu see in the System Menu under SERIAL OPTIONS the SER ETX ACK function SER ETX ACK gt Y SER ETX ACK gt N please refer to the User s Manual on the CD Rom The printer will transmit ACK at the currently selected baud rate and bit parity selection Transmission of the ACK is delayed until an ETX has been removed in the input buffer An ACK will be transmitted for each ETX received even if there are multiple ETX in the buffer Throughput may be reduced when this protocol is enabled Does not affect function of DC1 DC3 protocol Not valid in parallel interface protocol ENQ Enquiry ASCII Code ENQ Hexadecimal Value 05 Decimal Value 5 This code is used to request the message string defined by the OSC command when parameter p1 8 is transmitted to the host 143 DC1 Selects printer Data Control 1 ASCII Code DC1 Hexadecimal Value 11 Decimal Value 17 In parallel interface after the printer has been deselected by DC3 code this code will select again the
129. will leave the previous setting unaltered A VT or LF into the skip area will cause the printer to move to the first line of the next form 68 ESC O Disables the skip perforation ASCII Code ESC O Hexadecimal Value 1B 4F Decimal Value 27 79 Resets the skip perforation value to zero It overrides menu selection see in the Operational Menu under PAGE SETUP the PAGE BOT MARGIN value please refer to the User s Manual on the CD Rom Setting Character and Line Spacing ESC Selects 12 cpi ASCII Code ESC Hexadecimal Value 1B 3A Decimal Value 2758 Sets printing mode at 12 cpi Receipt of a doublewide command will cause printing to change to 6 cpi Receipt of a DC2 will cause the printer to resume printing at 10 or 5 cpi This command has precedence over SI code ESC y Selects 15 cpi ASCII Code ESC y Hexadecimal Value 1B 67 Decimal Value 27 103 Selects printing mode at 15 cpi 69 SI Enables compressed printing ASCII Code Sl Hexadecimal Value OF Decimal Value 15 This code will enable the compressed printing mode Character printing will be changed to 17 16 20 or 24 cpi dependent upon the menu selection see in the Systen Menu under IBM OPTIONS the IBM COMP CHR function please refer to the User s Manual on the CD Rom Double wide by both SO and ESC W and compressed printing will produce the equivalent of 1 2 the current compressed density The spacing of the tab is compressed because they a
130. xadecimal Value 03 Decimal Value 3 This code is used in conjunction with ACK for the ETX ACK protocol This protocol is enabled disabled see in the System Menu under SERIAL OPTIONS the SER EXT ACK function SER EXT ACK gt Y SER EXT ACK gt N please refer to the User s Manual on the CD Rom The host transmits a block of characters followed by an ETX character The host should transmit no more characters until it receives an ACK character from the printer However the host may choose to transmit multiple blocks of data terminated with ETX even though the printer has not transmitted ACK The data source is responsible for ensuring that it does not transmit a string of data that exceeds the capacity of the printer s receive buffer Throughput may be reduced when this protocol is enabled It does not disable function of DC1 DC3 protocol Not valid in parallel protocol ACK Acknowledge ASCII Code ACK Hexadecimal Value 06 Decimal Value 6 This code is used in conjunction with ETX for the ETX ACK protocol This protocol is enabled disabled in System Menu see in the System Menu under SERIAL OPTIONS the SER EXT ACK function SER EXT ACK gt Y SER EXT ACK gt N please refer to the User s Manual on the CD Rom The printer will transmit ACK at the currently selected baud rate and bit parity selection Transmission of the ACK is delayed until an ETX has been removed in the input buffer An ACK will be transmitted for each ETX received even i
Download Pdf Manuals
Related Search
Related Contents
Untitled - BlackVue Benutzerhandbuch CONVISION CC Décollez et ne manquez pas de souffle Radio Shack 61-2425 User's Manual Redfield Rebel 10x50mm Magic 600.book Konica Minolta Photo World: www.konicaminoltaphotoworld.com Catalogue installation entretien pompes série 4670 Brodit 513405 holder prime 3 Copyright © All rights reserved.
Failed to retrieve file