Home

Siemens 9015 E User's Manual

image

Contents

1. U26169 J Z716 1 7600 Programmer Reference Guide Character set tables IBM code pages Page 850 3 4 5 6 7 8 1 2 0 9 B D JE 10 4 lt nio N o o ux lt U26169 J Z716 1 7600 Programmer Reference Guide Character set tables IBM code pages Page 858 3 4 5 6 7 8 1 2 0 9 B D JE PIE MINIME EEEk fe foo fed ft lt U26169 J Z716 1 7600 Programmer Reference Guide Character set tables IBM code pages Page 860 4 5 6 7 8 1 2 0 9 B JD JE H I VI JH a e e Ee lt a fole r gt gt _ _ _ _ u o z o fo fale fe fof 4 lt nio lN o o iojo lt U26169 J Z716 1 7600 Programmer Reference Guide Character set tables IBM code pages Page 863 9
2. Additional commands Command replacement Control character Hexadecimal Decimal BEL 07 07 This control character has no effect Control character Hexadecimal Decimal NUL 00 00 This control character has no effect Conirol sequence Hexadecimal Decimal 24 24 36 36 This command replaces the control character sequence ESC hexadecimal B 5B decimal 27 91 Command replacement Control sequence Hexadecimal Decimal 24 24 2 36 36 47 This command replaces the control character sequence ESC hexadecimal B decimal 27 Programmer Reference Guide U26169 J Z716 1 7600 Miscellaneous commands Epson LQ 2550 emulation Macro selection Conirol sequence Hexadecimal Decimal ESC P2 SPr 1B 5B p 3B p 20 72 27 91 p 59 p 32 114 p1 can have the values 1 to 4 p2 selects the emulation po 2 IBM Proprinter po IBM Proprinter AGM Po 4 Epson LQ 2550 Programmer Reference Guide U26169 J Z716 1 7600 ESC P2 Commands Epson LQ 2550 emulation ESC P2 Commands e Set page format e Set page length in defined units e Set absolute vertical print position e Set relative vertical print position e Select font by pitch and point e Set unit e Set horizontal motion index HMI e Assign character table e Select character table e Print data as characters e Select graphics mo
3. D 3 4 5 6 7 8 1 2 0 H I VI JH a mae elc aos s lt o o s 1 _ _ _ a fole r gt _ _ _ _ o z o fo lele ololei nio lN o o lt U26169 J Z716 1 7600 Programmer Reference Guide Character set tables IBM code pages Page 865 4 5 6 7 8 1 2 0 9 B JD H I VI JH a e o o 1 1505 ftal _ a fole r 5 _ _ _ _ fu o z o fo o o ____ f blc fe fof aft lt I gt lt U26169 J Z716 1 7600 Programmer Reference Guide Character set tables Epson EXT GCT 4 5 6 7 8 1 2 0 9 B D H I a SHIP PUES SISSE S e s o
4. Set reset double height mode Conirol sequence Hexadecimal Decimal ESC wp 1B 77 p4 27 119 p The characters are printed with double height p1 sets resets the double height mode Valid parameter values Dec Hex Meaning 0 00 Reset double height mode 1 01 Set double height mode 48 30 Reset double height mode 49 31 Set double height mode Programmer Reference Guide U26169 J Z716 1 7600 Font design Epson LQ 2550 emulation Select print mode combinations Conirol sequence Hexadecimal Decimal 1B 21 p The following characters are printed using the print mode combinations defined by parameter p1 The command can be used with all fonts and font sizes p4 Print mode combinations interpreted bitwise Bit position Bit set bit 1 Bit reset bit 0 0 12 cpi 10 cpi 1 Set proportional mode Reset proportional mode 2 Set condensed mode Reset condensed mode 3 Set boldface mode Reset boldface mode 4 Set double strike mode Reset double strike mode 5 Set expanded mode Reset expanded mode 6 Set italics mode Reset italics mode 7 Set underscore mode Reset underscore mode Set reset underscore mode Conirol sequence Hexadecimal Decimal ESC 27 45 p4 The characters are underscored p1 sets resets the underscore mode Valid parameter values Dec Hex Meaning 0 00 Reset underscore mode 1
5. Programmer Reference Guide U26169 J Z716 1 7600 Epson LQ 2550 emulation Set condensed mode Control sequence Hexadecimal Decimal SI OF 15 ESC SI 1B OF 27 15 The two commands are identical in function The characters are printed in compressed form The resulting character pitch depends on the current character pitch Current character pitch in cpi Compressed character pitch in cpi 10 12 15 Proportional 17 20 Unchanged Proportional compressed Reset condensed mode Conirol character Hexadecimal Decimal DC2 12 18 Set expanded mode for one line Conirol sequence Hexadecimal Decimal SO OE 14 ESC SO 1B OE 27 14 The two commands are identical in function The characters are printed with double width in one line The function is terminated by the LF CR VT FF DC4 and ESC W 0 commands Programmer Reference Guide U26169 J Z716 1 7600 Font design Epson LQ 2550 emulation Set reset expanded mode Conirol sequence Hexadecimal Decimal In the expanded mode the characters are printed with double width p1 sets resets the expanded mode Valid parameter values Dec Hex Meaning 0 00 Reset expanded mode 1 01 Set expanded mode 48 30 Reset expanded mode 49 31 Set expanded mode Reset expanded mode Control character Hexadecimal Decimal DC4 14 20
6. Programmer Reference Guide U26169 J Z716 1 7600 Programming examples Barcodes UPC E Add on 2 Programming Barcode header Example Set barcode mode Data 1 This letter is a small L Printout ESC n2 n8 n4 n5 SP z ESC 209 ESC 0h 0123456512 Reset barcode mode 89 3 1 SP 2 ESC 01 123456 12 UPC E Add on 5 Programming Barcode header Example Set barcode mode Data Reset barcode mode 1 This letter is a small L Printout ESC n2 n8 n4 5 SP z ESC 5 209 5 8 1 SP z ESC 0h 0123456586104 ESC 01 123456 Programmer Reference Guide U26169 J Z716 1 7600 Programming examples Barcodes UPC A Programming Barcode header Example Set barcode mode Data 1 This letter is a small L Printout ESC n2 n3 4 n5 SP z ESC 210 ESC 0h 012345678905 Reset barcode mode 8 1 SP 2 ESC 01 12345 67890 UPC A Add on 2 Programming Barcode header Example Set barcode mode Data Reset barcode mode 1 This letter is a small L Printout ESC n2 n3 4 5 SP z ESC 210 5 8 1 SP z ESC 0h 01234567890512 01 12345 67890 Programmer Reference Guide U26169 J Z716 1 7600 Programming examples Barcodes UPC A Add on 5
7. Pi P2 Selectgraphics ESC Gp 1B 2847p 27 40 71 page 132 mode Po Po P1 P2 Print raster ESC p po 1B2Ep po 27 46 po page 133 graphics P3 Ps Pe P3 5 Pe P4P5 Pe Programmer Reference Guide U26169 J Z716 1 7600 Character set tables IBM all character set VI lt MIH SISIE lt 2 U26169 J Z716 1 7600 Programmer Reference Guide Character set tables IBM set 1 IBM set 1 9 4 5 6 7 8 0 D SP n 1 SI CER eee F 5 U26169 J Z716 1 7600 Programmer Reference Guide IBM set 1 Character set tables National versions of IBM set 1 Character Code Hex 23 24 40 5 5 5D 5E 60 7B 7C 7D 7E 1 USA 2 FRANCE 3 GERMANY 4 U K 5 DENMARK 6 SWEDEN T ITALY 8 SPAIN 9 JAPAN 10 NORWAY 11 DENMARK 2 12 SPAIN 2 13 LATIN AM 14 TURKEY Pt 5 j cs 5 s A je fa a 5 y Programmer Reference Guide U26169 J Z716 1 7600 Character set tables IBM set 2 IBM set 2 0
8. console Programmer Reference Guide U26169 J Z716 1 7600 Connection options of the 901x 12 printers The 901x 12 printers can be connected via the serial and parallel interface Serial interface V 24 RS 232 C The 901x 12 printers can be connected with the following systems via the V 24 interface RS 232 C Quattro BNC 886x systems systems Primergy systems Parallel Centronics interface The 901x 12 printer can be connected with the following systems via the Centronics interface Primergy systems Programmer Reference Guide U26169 J Z716 1 7600 Description of the IBM Proprinter emulation With the IBM Proprinter emulation the 9014 9015 9015 E and 9016 printers behave like the 4207 and 4208 XL24 printers from IBM The commands are divided into the following command groups e Initial condition e Forms transport mechanism e Forms layout e Forms transport e Print carriage movements e Font design e Bitmap graphics e Miscellaneous commands Programmer Reference Guide U26169 J Z716 1 7600 Initial condition IBM Proprinter emulation Initial condition After power on the printer is in the following condition Printer buffer cleared All vertical tab stops reset Proportional spacing mode reset Horizontal tab stops set in every eighth column Print direction bidirectional Boldface mode off Double strike mode off Subscript superscript mode off
9. Programming Barcode header ESC n2 n3 n4 5 SP 2 Example ESC 5 210 8 1 SP 2 Set barcode mode ESC 0h Data 01234567890586104 Reset barcode mode ESC 01 1 This letter is a small L Printout 12345 67890 Code 128 Programming Barcode header ESC n2 n38 n4 5 SP 2 Example ESC 5 241 8 1 51 SP z Set barcode mode ESC 0h Data Code 128 Reset barcode mode ESC 01 1 This letter is a small L Printout Code 12 8 Programmer Reference Guide U26169 J Z716 1 7600 Programming examples Barcodes EAN 128 Programming Barcode header ESC n2 n4 5 SP 2 Example ESC 211 8 1 51 SP z Set barcode mode ESC 0h Data Reset barcode mode ESC 01 1 This letter is a small L Printout 1 100340123451234567895 1 00340123451234567895 POSTNET Programming with DPBC delivery point barcode Barcode header ESC n2 n3 4 5 SP 2 Example ESC 112 SP 2 Set barcode mode ESC 0h Data 12345678901 Reset barcode mode ESC 01 Data CRLF LF Mark Pollan CR LF 101 Main St CR LF Anytown US 12345 6789 1 This letter is a small L Printout Programmer Reference Guide U26169 J Z716 1 7600 Programming examples Barcodes The following examples use blank zones befo
10. U26169 J Z716 1 7600
11. 0 Manual single form feed 1 bis ASF bin 1 to 3 p 6 Ignored 1 7 Tractor p 8 ASF bin 1 or 2 9 ASF bin 2 or 3 p 10 ASF bin 1 or 2 or 3 Po 0 AGC automatic gap control 1 bis 6 PCC programmable copy control Print gap for 1 to 6 ply copies 0 Cut off sheets in upper tray 1 Paper exit front side confirmed by start stop key 2 Paper exit front side not confirmed by start stop key but controlled by application 3 Batch output rear side Programmer Reference Guide U26169 J Z716 1 7600 Forms transport mechanism IBM Proprinter emulation e 9015 Printer 01 0103 Ignored 1 6 Upper tractor py 7 Lower tractor p 8 to 10 Ignored 1 15 Selection of both tractors upper and lower Po 0 AGC automatic gap control 02 1106 programmable copy control Print gap for 1 to 6 ply copies Cut off sheets in upper tray Ignored Ignored Sheets in stack default Cut off feature off default 1 Cut off feature on Programmer Reference Guide U26169 J Z716 1 7600 Forms transport mechanism IBM Proprinter emulation e 9015 E Printer 0 Manual single form feed py 1 to Ignored 1 6 Upper tractor py 7 Lower tractor 1 810 10 Ignored py 15 Selection of both tractors upper and lower Po 0 AGC automatic gap control 1 bis 6 PCC programmable copy control Print gap for 1 to 6 ply cop
12. Control sequence Hexadecimal Decimal ESC2 1B 32 27 50 The line spacing preset with the ESC A pl command is set Set n 216 or n 180 inch line spacing mode Control sequence Hexadecimal Decimal 1B 33 7 51 A line spacing of 546 or g9 inch is set depending on the line spacing unit see Set line spacing unit The default is 54g inch Line spacing 54 amp or inch increments Range X01 lt py lt X FF Programmer Reference Guide U26169 J Z716 1 7600 Forms transport IBM Proprinter emulation Set line spacing unit Control sequence Hexadecimal Decimal NUL ESC A EOT NUL NUL NUL 5B 5C 04 00 00 00 p 00 P1 00 27 91 92 04 00 00 00 This command sets the line spacing unit to either 1 246 inch or 1 489 inch The preset line spacing unit only affects the two commands ESC 3 and ESC J p p4 Line spacing unit Valid parameter values Dec Hex Meaning 180 B4 Line spacing 1 inch 216 D8 Line spacing 1 2 e inch Line feed LF Control character Hexadecimal Decimal LF 0A 10 A line feed is performed using the current line spacing The contents of the line buffer are printed This control character terminates the expanded mode for one line mie A carriage return is also performed depending o
13. Every transparent print data byte is interpreted as an individual character code If no character is defined for a character code a space is printed Po define the number of transparent print data bytes Number 256 Automatic line feed Control sequence Hexadecimal Decimal 1B 35 p 07 53 p This command sets resets the automatic line feed function p4 Automatic line feed Valid parameter values Dec Hex Meaning 0 00 Reset CR CR 1 01 Set CR CR LF 48 BO Reset CR CR 49 B1 Set CR CR LF Programmer Reference Guide U26169 J Z716 1 7600 Miscellaneous commands IBM Proprinter emulation Set printer online Control character Hexadecimal Decimal DC1 11 17 Sets an offline printer online mio Set printer offline The command is ineffective if the printer was set offline with the ONLINE button Control sequence Hexadecimal Decimal ESC Q 1B 51 23 27 81 35 ESC 1 51 24 27 81 36 Sets the printer offline All following data is ignored except for the Set printer online command Clear line buffer Delete character Control character Hexadecimal Decimal CAN 18 24 Clears the whole contents of the line buffer Control character Hexadecimal Decimal DEL 7F 127 Deletes the character received last
14. NUL l VI T e z o lt 9 0 u e IQ 414 5 gt o 1 lt ja U26169 J Z716 1 7600 Programmer Reference Guide IBM set 2 Character set tables National versions of IBM set 2 Character Set Code Hex 23 24 40 5B 5C 5D 5E 60 7 7C 7D 7E 9 9D 1 USA 2 FRANCE cae epe eh S GERMANY fs j 0 8 lo fe 4 UK eis Je t 5 5 e j 6 SWEDEN 0 f fe 6 fe rm s fe fa fe fe 8 SPAIN i fe n p 9 n r c p je to NonwaY 5 e p o 11 DEMARK2 v p sran 8 e e fe 13 LATINAM i N Je fe 0 i fo fe 14 TURKEY i G 0 8 l Js Ju Je Programmer Reference Guide U26169 J Z716 1 7600 Character set tables IBM code pages IBM code pages Page 437 9 D 3 4 5 6 7 8 2 H i VI 4 a 9mm EH eel lt
15. Programmer Reference Guide U26169 J Z716 1 7600 EAN 8 and 13 Barcodes Codabar The character complement of the Codabar Monarch code comprises 10digits 0123456789 6 special characters Start stop characters b n c d e The number of characters is variable The start stop characters are programmed with the characters b n c d e In the plain text line these characters are printed for start stop The symbol layout is self checking A check digit is not required and is rarely used The check digit must be programmed in the application The check digit method is modulo 16 In practice modulo 10 with a weighting of 3 or modulo 11 are also used The ratio of wide to narrow elements should be between 2 0 and 3 0 A ratio of 2 5 is recom mended for applications The barcode height should be 25 of the barcode length or 20 mm whichever is greater The blank zone before and after the barcode symbol should be at least 10 times the width of a narrow element EAN 8 and EAN 13 The EAN 8 and EAN 13 codes have a character set of 10 digits The number of characters is fixed and is 8 for EAN 8 and 13 for EAN 13 Layout of EAN 8 Two digits for the manufacturer s country Five digits for small sized products One check digit Programmer Reference Guide U26169 J Z716 1 7600 EAN 8 and EAN 13 Barcodes Layout of EAN 13 Two digits for the manufacturer s countr
16. 0 No change in pitch p 1 Selects proportional spacing 18 24 30 36 42 48 60 oder 72 Selects fixed pitch equal to 360 p1 cpi p P2 256 p Point size in 0 5 points po p3 256 1 point 2 1 72 Zoll p 0 No change in point size p 16 21 24 28 32 36 40 44 48 52 56 60 64 Programmer Reference Guide U26169 J Z716 1 7600 ESC P2 Commands Epson LQ 2550 emulation Set unit Conirol sequence Hexadecimal Decimal This command defines the unit used for positioning in n 3600 inches This definition is valid for the following commands Set page format ESC py po P3 P4 ps Set page length in defined units ESC po Set absolute vertical print position ESC P2 Set relative vertical print position ESC v py P2 p 01 00 Po 10 20 30 40 50 60 3600 Standard po 10 Set horizontal motion index Conirol sequence Hexadecimal Decimal ESC p2 1B 63 p p2 27 99 py Po Selects pitch in steps of n 360 HMI po 256 HMI max 3 Zoll Programmer Reference Guide U26169 J Z716 1 7600 ESC P2 Commands Epson LQ 2550 emulation Assign character table Conirol sequence Hexadecimal Decimal ESC P2 P4 P5 1B 28 74 p1 P2 ps P4 ps 27 40 116 py P2 P3 P4 p123 0 Character table selected via p4 and ps range P4 P5 character
17. Addition of the numbers in the odd positions 4 1 3 5 0 7 20 Addition of the numbers in the even positions 0 2 4 2 3 5 16 Multiplication by 3 of the sum in 2 16 3 48 Addition of the results of 1 and 3 48 20 68 Modulo 10 check digit difference from the nearest multiple of 10 70 68 2 Programmer Reference Guide U26169 J Z716 1 7600 Command overview of the IBM Proprinter emulation Forms transport mechanisms Command Control Hexa Decimal Remark See sequence decimal page Eject sheet ESC lt s 1B5B3C 2791 60 73 115 Select paper ESC gt p 1B5B3E 2791 62 17 source and po ps p4S p13Bpo 59 p2 ejection 59 59 number of 73 p4 115 copies cut off mode Programmer Reference Guide U26169 J Z716 1 7600 Forms layout IBM Proprinter emulation Forms layout Command Control Hexa Decimal Remark See sequence decimal page Set form ESC 1843 2767p X 01 lt lt 7 22 length in lines Set form ESCCNUL 1B0043 27 0067 01 lt lt 16 23 length in Py Py Py inches Set perfo ESC Np 1 4 2778 X 00 lt p lt 23 ration skip in lines mode Reset perfo ESC 1B 4F 27 79 24 ration skip mode Set first print ESC 4 1B 34 27 52 First print line 24 line corresponds to top of form Set left ESC 1B 27 59 24 margin Setleftand ESC
18. E IF JH I J K L 1 2 4 5 le 7 9 10 11 12 13 14 15 16 17 18 19 20 21 M IN Pla 5 ju lv Iw X fy 7 splg 7 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 143 44 45 46 Programmer Reference Guide U26169 J Z716 1 7600 Code 93 Barcodes Example of check digit calculation Plain text Check character Check digit C Check digit K Information char seq Reference values Weighting factors for check digit C Weighting factors for check digit K Sum of products for check digit C Modulo 47 Check digit C Sum of products for check digit K Modulo 47 Check digit K D SP 9 3 W W weighting of 1 2 10 1 2 from right to left weighting of 1 2 15 1 2 from right to left D E SP 9 3 12 41 24 41 13 41 14 38 93 10 9 8 7 6 5 4 3 2 1 11 10 9 8 7 6 5 4 3 2 1 12 10 41 9 24 8 41 7 13 6 41 5 14 4 38 3 9 2 3 1 1442 1442 mod 47 32 1442 47 30 remainder 32 W W corresponds to the reference number 32 12 11 41 10 24 9 41 8 13 7 41 6 1475 38 4 9 3 3 2 32 1 1710 1710 mod 47 18 1770 47 36 remainder 18 I corresponds to the reference number 18 The following characters a
19. ESCAp 1B 41 p 7 65 p A line spacing of gg is set The defined line spacing is activated directly in the AGM mode P1 sets the gq inch line spacing mode Range X 01xp x 55 Set n 216 or n 180 inch line spacing mode Control sequence Hexadecimal Decimal ESC 3 p 1B 38 p 27 51 p A line spacing of 54 amp or go inch is set depending on the line spacing unit see table Set line spacing unit The AGM mode default is inch P1 Line spacing 54g or g9 inch increments Range X 01xp xXFF Programmer Reference Guide U26169 J Z716 1 7600 Alternative graphics mode AGM IBM Proprinter emulation Relative vertical tabulation forward Control sequence Hexadecimal Decimal 1B 4A p 7 74 The vertical print position is moved down 5 6 or inch depending on the line spacing unit see Set line spacing unit The AGM mode default is inch Py Relative vertical shift in 54 amp inch increments Range X 00 lt p lt XFF Programmer Reference Guide U26169 J Z716 1 7600 Alternative graphics mode AGM IBM Proprinter emulation Select graphics mode Control sequence Hexadecimal Decimal ESC p po data 1B 2A p po data 27 42 po data The graphics data is transferred in columns A column contains either 8 or 24 individual v
20. Text left justified User defined character set inactive and cleared Normal character style Italics mode off Boldface mode off Double strike mode off Subscript superscript mode off Condensed mode off Expanded mode off Normal character height Underscore mode off Line marking mode off Character enlargement mode off Reassign graphics mode off Delete MSB default Programmer Reference Guide U26169 J Z716 1 7600 Initial condition Epson LQ 2550 emulation The following functions depend on the menu setting Form length Perforation skip mode Left margin Right margin Line spacing Font type style Print quality DRAFT LQ NLQ Character set National version Character pitch Paper source Reset to initial condition Conirol sequence Hexadecimal Decimal ESC 1B 40 27 64 This command sets the printer to the initial condition The user defined character set is not reset by this command Programmer Reference Guide U26169 J Z716 1 7600 Forms transport mechanism Epson LQ 2550 emulation Forms transport mechanism The printer is always equipped with two continuous forms tractors The last sheet of a conti nuous forms stack can be printed on up to the end of the form The capability of the printer to feed paper from different sources is optimally supplemented by the option that automatically adjusts the distance between the print head and the print pla
21. W g w 7 8 BS CAN 8 X h x 8 9 HT 9 Y y 9 ILF SUB J Z z B IVT ESC K k l 154 lt Ik J l D 1153 M m E 150 152 gt IN F SI 151 O o 0 1 2 3 4 5 6 7 The letter has the code 41 ISO 7 bit code Programmer Reference Guide U26169 J Z716 1 7600 Code tables Meaning of the control characters in the code tables NUL SOH STX ETX EOT ENQ ACK BEL BS HT LF VT FF CR SO SI SP DLE DC1 2 DC4 NAK SYN ETB CAN EM SUB ESC IS4 IS3 152 151 DEL Filler Start of header Start of text End of text End of transmission Enquiry Positive acknowledgment Audible alarm Backspace Horizontal tabulation Line feed Vertical tabulation Form feed Carriage return Shift out Shift in Space Data link escape Device control character 1 Device control character 2 Device control character 3 Device control character 4 Negative acknowledgment Synchronize End of transmission block Cancel End of message end mark Substitute Escape Information separator 4 Information separator 3 Information separator 2 Information separator 1 Delete Programmer Reference Guide U26169 J Z716 1 7600 Code tables Hexadecimal gt decimal conversion and vice versa 0 1 2 3 4 5 6 7 8 9 C JE FF 00 16 32 48 64 80 96 1112 128 144 160 176 192 208 224
22. lt X 03 Programmer Reference Guide U26169 J Z716 1 7600 Print carriage movements Epson LQ 2550 emulation Set horizontal tab stops Conirol sequence Hexadecimal Decimal ESC D p p NUL 1B 44 p Pk 00 27 68 p 00 This command sets horizontal tab stops Up to 32 horizontal tab stops can be defined Previously set horizontal tab stops are reset The horizontal tab stops must be defined in ascending order in multiples of the current character pitch The absolute horizontal tab stop locations depend on the current character pitch The set horizontal tab stops are not affected by later changes of the character pitch The default is every eighth column All horizontal tab stops are reset if no parameter is specified ESC D NUL Horizontal tab stops in multiples of the character pitch 1 lt k lt 32 Range lt pk lt X FF Horizontal tabulation Control character Hexadecimal Decimal HT 09 09 The control character may be located anywhere within a line and causes the next horizontal tab stop to be accessed Repeating this control character causes horizontal tab stops to be skipped HT HT HT HT for example causes the fourth horizontal tab stop to be accessed Conditions for horizontal tabulation e Atleast one horizontal tab stop must be set e The printer ignores the control character if no horizontal tab stops are set or if the end of the lin
23. o o lt lt e sla _ _ a ofe zx lt m o o o ale L fol o j ol s iovolj r o oj imijoi anmqju Jj U26169 J Z716 1 7600 Programmer Reference Guide Epson EXT GCT Character set tables National versions of Epson EXT GCT Character Code Hex 23 24 40 5B 5C 5D 5E 60 7B 7C 7D 7E 1 USA de Pekkie soem eek x ____ some jejej sswow ems sw hp www 11 DENMARK 2 5 U f 0 www rper 13 LATINAM f 5 JN o fe n Jo 14 TURKEY fe j s U Ja J ls 15 LEGAL 8 f JO t Programmer Reference Guide U26169 J Z716 1 7600 Character set tables Epson ITALIC 9 JD 4 5 6 7 8 1 2 0 5 0 P FE ELTE ELT pepe Pe pr ele 7 5 SP 0 lt 2 Jj
24. 01 Set underscore mode Programmer Reference Guide U26169 J Z716 1 7600 Font design Epson LQ 2550 emulation Set reset line marking mode Conirol sequence Hexadecimal Decimal ESC p1 P2 P4 P5 1B282Dp paps 27 40 45 po P4 ps The following characters are printed with an additional line mark fixed value P2 X 00 fixed value X01 fixed value defines the position of the line mark Valid parameter values Dec Hex Meaning 1 01 Underscore 2 02 Cross out 3 03 Overscore 05 defines the type of line mark Valid parameter values Dec Hex Meaning 0 00 Deactivates the line mark selected with p 1 01 Single solid line 2 02 Double solid line 5 05 Single dashed line 6 06 Double dashed line Programmer Reference Guide U26169 J Z716 1 7600 Font design Epson LQ 2550 emulation Additional commands Graphical change of sizes Conirol sequence Hexadecimal Decimal ESC 1 po SPB 1B 5B p p 20 42 27 91 59 po 32 66 Valid values 100 2 100 Normal height normal width p 200 200 Double height Double width 300 po 300 Triple height Triple width p4 400 po 400 Quadruple height Quadruple width Pp and po max 800 in steps of 100 Graphical change of size for DATA LARGE 100 po 100 Normal height
25. 02 X FFFF07 X 000000 X 010204 X 000000 X 010704 X 000000 X 010004 X 000000 X 010004 Set draft mode Set 10 cpi Define character from code location 33 X 21 to code location 33 X 21 i e one character in this code location 1 leading blank column 9 dot columns and 2 trailing blank columns Data containing the dot information Hex In this representation three bytes of a dot column are combined for clarity Programmer Reference Guide U26169 J Z716 1 7600 Font design Epson LQ 2550 emulation Select print quality Conirol sequence Hexadecimal Decimal ESC xp 1B 78 p 27 120 DRAFT or LQ NLQ is selected In the initial condition the print quality is defined by the menu setting see 2 p1 defines the print quality Valid parameter values Dec Hex Meaning 0 00 DRAFT mode 1 01 NLQ or LQ mode 48 30 DRAFT mode 49 31 NLQ or LQ mode Select character style Control sequence Hexadecimal Decimal ESC q p 1B 71 p 27 113p The character style can be selected with this command p1 defines the character style Valid parameter values Dec Hex Meaning 0 00 Normal character style 1 01 Outline 2 02 Shadow 3 03 Outline shadow Programmer Reference Guide U26169 J Z716 1 7600 Font design Epson LQ 2550 emulation Set italics mode Reset italics mode Set bo
26. 123 456 667 891 8 Programming Barcode header ESC n2 n4 5 SP 2 Example ESC 205 8 1 SP 2 Set barcode mode ESC 0h Data 40123455 Reset barcode mode ESC 01 1 This letter is a small L Printout 4012 3455 Programmer Reference Guide U26169 J Z716 1 7600 Programming examples Barcodes EAN 8 Add on 2 Programming Barcode header Example Set barcode mode Data 1 This letter is a small L Printout ESC n2 n8 n4 n5 SP z ESC 205 ESC 0h 4012345512 Reset barcode mode 8 1 SP 2 01 4012 3455 EAN 8 Add on 5 Programming Barcode header Example Set barcode mode Data Reset barcode mode 1 This letter is a small L Printout ESC n2 n3 4 5 SP z ESC 5 205 5 8 5 1 SP z ESC 0h 4012345586104 EsC 01 4012 3455 Programmer Reference Guide U26169 J Z716 1 7600 Programming examples Barcodes EAN 13 Programming Barcode header ESC n2 n8 4 5 SP z Example ESC 5 206 5 8 1 SP 2 Set barcode mode ESC 0h Data 4123456789018 Reset barcode mode ESC 01 1 This letter is a small L Printout 3456 789 EAN 13 Add on 2 Programming Barcode header ESC n2 n38 n4 5 SP 2 Example ESC 5 206 5 8 1 SP 2 Set barcode mode
27. 4F 27 79 Control sequence Hexadecimal Decimal ESC 4 1B 34 27 52 The current print line is defined as the first print line top form The first print line should be selected so that at least 4 6 inch remain as print area The set form length is not affected by this command Set left margin Control sequence Hexadecimal Decimal ESC 1B 27 59 The current print column defines the first printable character in the line and thus the left margin The set left margin is not affected by later changes of the character pitch The left margin should be selected so that at least inch remain as print area between the left and right margins 1 This function should not be used in new applications Programmer Reference Guide U26169 J Z716 1 7600 Forms layout IBM Proprinter emulation Set left and right margins Control sequence Hexadecimal Decimal ESC p2 1B 58 p p2 27 88 po The parameters define the first and last print columns of a line at the current character pitch and thus define the left and right margins The first print column of a line is column 1 The set margins are not affected by later changes of the character pitch The margin setting should be selected so that at least 0 inch remain as print area between the left and right margins This command must be located at the beginning of the line If you specify 0
28. 59 inch increments in DRAFT mode Space in 1 inch increments in LQ NLQ mode Range X 00 x py lt X 7F Absolute horizontal tabulation Control sequence Hexadecimal Decimal ESC p p2 1B 24 p Po 27 36 Po The print head is moved to the specified print position The specified position is based on the set left margin and is defined 1 60 inch increments Po define the absolute horizontal position Horizontal position p4 po 256 160 inch Range X 00 x p lt X FF Range X 00 x p x X 03 Programmer Reference Guide U26169 J Z716 1 7600 Print carriage movements Epson LQ 2550 emulation Relative horizontal tabulation Conirol sequence Hexadecimal Decimal ESC Po 1B 5C Po 27 92 Po The print head moves right or left the defined amount The shift is based on the current print position and is defined in Po define the shift 1 120 DRAFT 1 inch increments Po lt X 80 causes a right shift Shift Shift 256 1 459 inch DRAFT mode P2 256 1 inch LQ NLQ mode po X 80 causes a left shift Shift Shift Range Draft Range NLQ LQ 65536 py Po 256 1 420 inch DRAFT mode 65536 pa 256 180 inch LQ NLQ mode X 00 p lt X 00 lt po X 03 X 00 lt p lt XFF X 00 lt po
29. 60 ESCK 1 01 Double density 8 120 60 ESCL 2 02 Double density and 8 120 60 ESC Y high speed 1 3 Quadruple density 8 240 60 ESCZ 4 04 CRT 1 8 80 60 6 06 CRT2 8 90 60 B2 20 Single density 24 60 180 B3 21 Double density 24 120 180 B8 26 CRT 3 24 90 180 39 27 Triple density 24 180 180 40 Sixfold density 1 B60 180 1 p ps define the number of columns Number of columns po 256 Data Data bytes containing the dot information In this mode printing in adjacent columns is not possible Programmer Reference Guide U26169 J Z716 1 7600 Description of the Epson LQ 2550 emulation With the Epson LQ 2550 emulation the 9014 9015 9015 E and 9016 printers behave like the Epson LQ 2550 The commands are divided into the following command groups e Initial condition e Forms transport mechanism e Forms layout e Forms transport e Print carriage movements e Font design e Bitmap graphics e Miscellaneous commands e ESC P2 commands Programmer Reference Guide U26169 J Z716 1 7600 Initial condition Epson LQ 2550 emulation Initial condition After power on the printer is in the following initial condition Printer buffer cleared Tab stops in all vertical tabulation channels reset Vertical tabulation channel 0 selected Proportional spacing mode reset Character spacing zero Horizontal tab stops set in every eighth column Print direction bidirectional
30. 7600 Bitmap graphics Epson LQ 2550 emulation Bitmap graphics Command Control Hexa Decimal Remark See sequence decimal page Select ESC p 1 2 2742p p4 Graphics 117 graphics P3 P2 P2 mode mode data data data Number of columns Reassign ESC 1B3Fp 2763p p4 Graphics 120 graphics command mode po po Graphics mode Miscellaneous commands Command Control Hexa Decimal sequence decimal page Control ESC 7 1B 37 27 55 121 characters between X 80 and X 9F Printing ESC 6 1B 36 27 54 121 characters between X 80 and X 9F Reset MSB ESC 1B 3D 27 61 122 to zero Set MSB ESC gt 1B 27 62 122 to one Delete MSB ESC 1B 23 27 35 122 default Set printer DC1 11 17 123 online Programmer Reference Guide U26169 J Z716 1 7600 Miscellaneous commands Epson LQ 2550 emulation Command Control Hexa Decimal Remark See sequence decimal page Set printer DC3 13 19 123 offline Clear line CAN 18 24 123 buffer Delete DEL 7F 127 123 character Audible signal BEL 07 07 124 NUL function NUL 00 00 124 Additional 124 commands Command 24 24 36 36 replacement Command 24 24 2F 36 36 47 124 replacement Macro ESC 1B5Bp 27 91 p 59 125 selection SPr po 20 72 po 32 114 Set barcode ESC 2 1B5B3B 279159p
31. 96 left justified Epson LQ 2550 96 right justified Epson LQ 2550 96 top of form Epson LQ 2550 79 80 IBM Proprinter 22 23 24 transparent print data one character IBM Proprinter 61 several characters IBM Proprinter 62 U underscore Epson LQ 2550 110 IBM Proprinter 44 V vertical tab stops EpsonLQ 2550 86 IBM Proprinter 30 in channel Epson LQ 2550 87 vertical tabulation cause Epson LQ 2550 88 cause IBM Proprinter 30 relative forward Epson LQ 2550 85 relative forward IBM Proprinter AGM mode 66 relative forward IBM Proprinter 29 relative reverse Epson LQ 2550 85 vertical tabulation channel Epson LQ 2550 85 Programmer Reference Guide U26169 J Z716 1 7600 Siemens AG User Documentation OEC XS QM 4 33094 Paderborn Germany Fax 05251 815248 Comments Suggestions Corrections Submitted by Comments on 9014 9015 9015 E 9016 Printer Epson and IBM Proprinter Emulation U26169 J Z716 1 7600 Siemens AG Courses Training Center Consulting Service 81730 Munich Consulting Germany S Fax 49 89636 52003 Self tuition media The Siemens Training Center offers consulting for in service training courses and self tuition media on almost all aspects of information technology either on your premises or at a Training Center near you Write to us for information and course programs Submitted by Please send me information course programs on the following topics
32. CRT 1 8 80 60 6 06 CRT 2 8 90 60 32 20 Single density 24 60 180 33 21 Double density 24 120 180 38 26 CRT 3 24 90 180 39 27 Triple density 24 180 180 40 28 Sixfold density 24 360 180 1 In this mode printing in adjacent columns is not possible Po define the number of columns Number of columns po 256 Data Data bytes containing the dot information Programmer Reference Guide U26169 J Z716 1 7600 Bitmap graphics Epson LQ 2550 emulation Reassign graphics mode Conirol sequence Hexadecimal Decimal ESC p po 1B p Po 27 63 Po This command assigns new graphics modes to the commands ESC K pl p2 data ESC L pl p2 data ESC Y pl p2 data ESC Z pl p2 data p4 defines the graphics command Valid parameter values Dec Hex Graphics command 75 4B ESCK 76 4C ESCL 89 59 ESCY 90 5A ESCZ po defines the graphics mode Valid parameter values Dec Mode Number dpi of hori verti needles 7ontal cal 0 00 Single density 8 60 60 1 01 Double density 8 120 60 02 Double density and 8 120 60 high speed 1 3 03 Quadruple density 8 240 60 4 04 CRT 1 8 80 60 6 06 CRT 2 8 90 60 32 20 Single density 24 60 180 33 21 Double density 24 120 180 38 26 CRT 3 24 90 180 39 27 Triple density 24 180 180 40 28 Sixfold density 24 360 180 1 In this mode printing in adjacent col
33. ESC 0h Data 412345678901812 Reset barcode mode ESC 01 1 This letter is a small L Printout 1 Programmer Reference Guide U26169 J Z716 1 7600 Programming examples Barcodes EAN 13 Add on 5 Programming Barcode header ESC n2 n3 n4 nb SP 2 Example ESC 5 206 5 8 1 SP 2 Set barcode mode ESC 0h Data 412345678901886104 Reset barcode mode ESC 01 1 This letter is a small L Printout IM 123456 789018 Code 93 Programming Barcode header ESC n2 n3 n4 5 SP 2 Example ESC 5 207 8 1 1 SP z Set barcode mode ESC 0h Data Reset barcode mode 1 This letter is a small L Printout aC O D E93WIe 01 0 93W Programmer Reference Guide U26169 J Z716 1 7600 Programming examples Barcodes MSI Mod 10 10 Programming Barcode header ESC n2 4 5 SP 2 Example ESC 208 8 1 51 SP z Set barcode mode ESC 0h Data 123456741 Reset barcode mode ESC 01 1 This letter is a small L Printout 123456741 UPC E Programming Barcode header ESC n2 n3 n4 5 SP 2 Example ESC 209 5 8 1 SPz Set barcode mode ESC 0h Data 01234565 Reset barcode mode 01 1 This letter is a small L Printout 123456
34. Expanded mode off Normal character height Underscore mode off Overscore mode off Character enlargement mode off The following functions depend on the menu setting Form length Perforation skip mode Left margin Right margin Line spacing Font type style Print quality DRAFT LQ NLQ Character set National version IBM code page Character pitch Paper source Programmer Reference Guide U26169 J Z716 1 7600 Forms transport mechanism IBM Proprinter emulation Forms transport mechanism The printer is always equipped with two continous forms tractors The last sheet of a conti nuous forms stack can be printed to the end of the form Additional commands Eject sheet Control sequence Hexadecimal Decimal ESC lt s 1B 5B 73 27 91 60 115 This command causes a vertical form feed to the beginning of the next page Select paper source and ejection number of copies cut off mode SPS or SPSIF Control sequence Hexadecimal Decimal ESC gt P P2 P3 P4S B5B3Ep P7 91 62 p 59 po 59 59 py p 73 115 The control character should only be used if an indent or a form feed FF is to be performed to 1 is only available for the 9015 printer with cut off feature Programmer Reference Guide U26169 J Z716 1 7600 Forms transport mechanism IBM Proprinter emulation e 9014 Printer p
35. Programmer Reference Guide U26169 J Z716 1 7600 Miscellaneous commands IBM Proprinter emulation NUL function Additional commands Command replacement Control character Hexadecimal Decimal NUL 00 00 This control character has no effect Control sequence Hexadecimal Decimal 24 24 36 36 This command replaces the control sequence ESC hexadecimal B 5B decimal 27 91 Command replacement Control sequence Hexadecimal Decimal 24 24 2F 96 36 47 This command replaces the control sequence ESC hexadecimal B decimal 27 Macro selection Control sequence Hexadecimal Decimal ESC p4 SP r 1B 5B p p 20 72 27 91 p4 59 po 32 114 1 can have the values 1 to 4 p2 selects the emulation Po 2 IBM Proprinter 2 3 IBM Proprinter AGM Po 4 Epson LQ 2550 Programmer Reference Guide U26169 J Z716 1 7600 Alternative graphics mode AGM IBM Proprinter emulation Alternative graphics mode AGM The alternative graphics mode can be selected in the menu see 2 In the alternative graphics mode the functions of the commands described below change Set a inch line spacing mode Set 546 or inch line spacing mode Relative vertical tabulation forward Select graphics mode Set n 60 inch line spacing mode Control sequence Hexadecimal Decimal
36. This is why barcodes with small elements widths should be avoided The barcode symbol must fully fit on the logical page and must not exceed the page bound aries The number of characters including control start and stop characters for a barcode symbol is limited to 50 Most barcode specifications and barcode reading systems accept far fewer characters per symbol It is recommended to check barcode applications and reading systems for compatibility The original printouts of all barcode symbols in the programming examples have been checked with commercially available barcode readers Code 39 The character complement of the Code 39 comprises 10digits 0123456789 26letters ABCDEFGHIJKLMNOPQRSTUVWXYZ 7 special characters Space 96 1 start stop character The extended Code 39 allows the entire ASCII character set to be represented by combining one of the special characters with a letter The number of characters is variable The start stop characters are programmed with the special character In the plain text line the character is printed for start stop The symbol layout is self checking A check digit is not required If a check digit is to be used it must be programmed in the application and must be modulo 43 The Code 39 has the safest and most reliable structure among the industrial barcodes The ratio of wide to narrow elements should be between 2 0 and 3 0 A ratio of 2 5 is recom mended
37. U26169 J Z716 1 7600 Forms transport mechanism Epson LQ 2550 emulation 1 10 ASF bin 1 or 2 or 3 Po 0 AGC automatic gap control 1106 PCC programmable copy control Print gap for 1 to 6 ply copies Cut off sheets in upper tray Paper exit front side confirmed by start stop key Paper exit front side not confirmed by start stop key but controlled by application Batch output rear side Programmer Reference Guide U26169 J Z716 1 7600 Forms transport mechanism Epson LQ 2550 emulation e 9015 printer 01 0103 Ignored 1 6 Upper tractor py 7 Lower tractor p 8 to 10 Ignored 1 15 Selection of both tractors upper and lower Po 0 AGC automatic gap control 02 1106 programmable copy control 0 Cut off sheets in upper tray 1 Ignored 2 Ignored Sheets in stack default Cut off feature off default Cut off feature on Programmer Reference Guide U26169 J Z716 1 7600 Forms transport mechanism Epson LQ 2550 emulation e 9015 E printer 0 Manual single form feed 1 to Ignored 6 Upper tractor py 7 Lower tractor 1 810 10 Ignored py 15 Selection of both tractors upper and lower Po 0 AGC automatic gap control 02 1106 programmable copy control Print gap for 1 to 6 ply copies 0 Ignored 1 Paper exit front side confirmed by start stop key 2 Paper exit front s
38. Xp 1B58 27 88 p4 Left margin 25 right margins po p1 Po p1 Po Po Right margin in columns Programmer Reference Guide U26169 J Z716 1 7600 Forms transport IBM Proprinter emulation Forms transport Command Control Hexa Decimal See sequence decimal page Set 8 Ipi ESC 0 1B 30 27 48 26 Set 7 75 inch ESC 1 1B 31 27 49 26 line spacing mode Preset 1 72 ESCA 1 41 27 65 X 01 lt lt X 55 27 inch line spacing mode Set preset line ESC 2 1B 32 27 50 27 spacing Set 16 or ESC 3 1B 33 27 51 X 01 lt lt X FF 27 Ago inch line spacing mode Set line ESC 1B5B5C 279192 p Linespacing 28 spacing unit NUL 0400 04 00 unit NUL 0000 00 00 p NUL p 00 p 00 Line feed LF LF 0A 10 28 Reverse line ESC M 1B 4D 2777 29 feed Form feed FF 0C 12 29 FF Relative ESC J p 1B4Ap 2774 X 00 lt p lt X FF 29 vertical in 54g inch tabulation or in 1 inch forward increments Setverticaltab ESC 1B 42 27 66 30 stops Pk P1 Pk P1 Pk NUL 00 00 Vertical VT 0B 11 30 tabulation Programmer Reference Guide U26169 J Z716 1 7600 Forms transport IBM Proprinter emulation Command Control Hexa Decimal See sequence decimal page Additional 17 commands Load line ESC 1B5Bp 27
39. all incoming data to one This command restricts parameters to the range from 128 to 255 Delete most significant bit MSB default Conirol sequence Hexadecimal Decimal ESC 1B 23 27 35 This command deletes the default MSB specification Programmer Reference Guide U26169 J Z716 1 7600 Miscellaneous commands Epson LQ 2550 emulation Set printer online Control character Hexadecimal Decimal DC1 11 17 Returns the printer to the online mode after the Ser printer offline command p o Set printer offline The command is ineffective if the printer was set offline with the online button Control character Hexadecimal Decimal DC3 13 19 Sets the printer offline All following data is ignored except for the Set printer online command mie Clear line buffer The printer cannot be set online with the online button Control character Hexadecimal Decimal CAN 18 24 Deletes the contents of the line buffer to the next control character Delete character Control character Hexadecimal Decimal DEL 7F 127 Deletes the character received last Programmer Reference Guide U26169 J Z716 1 7600 Miscellaneous commands Epson LQ 2550 emulation Audible signal NUL function
40. emulations of the 9014 9015 9015 E and 9016 printer Dieses Handbuch beschreibt die Steuerzeichen der folgenden Epson und IBM Proprinter Emulationen der Drucker 9014 9015 9015 E 9016 e Epson LQ 2550 1060 and ESC P2 e Proprinter emulations IBM printers 4207 4208 XL24 The ECMA emulation is described in further Programmer s Reference Guides see 1 4 References in the text consist of numbers enclosed in square brackets The full titles of the referenced publications and manuals are given in the References chapter Programmer Reference Guide U26169 J Z716 1 7600 Notational conventions Preface Notational conventions In this manual the following conventions have been used Italics Monospace Monospace bold Quotation marks gt AN Names of files programs commands variables options and screen texts such as input fields text fields menus etc in plain text System output such as error messages other messages notes excerpts from files User input in examples References to other chapters or manuals Keys or key combinations in plain text User activities Additional information notes and tips Warnings that must be observed Programmer Reference Guide U26169 J Z716 1 7600 Technical data and printer options 9014 printer interface modules The 9014 printer with IBM Proprinter and Epson LQ 2550 emulation is equipped with the
41. for applications The barcode height should be 25 of the barcode length or 20 mm whichever is greater A barcode should consist of no more than 20 characters Programmer Reference Guide U26169 J Z716 1 7600 2 out of 5 Industrial Barcodes The blank zone before and after the barcode symbol should be at least 10 times the width of a narrow element Reference table for check digit calculation 01234567 8 9 C JE JH J IK JL 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 N JQ IR IS T JU WX 7 J 5 8 J 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 Example of check digit calculation modulo 43 Information characters CODE 39 Sum of reference digits 12 24 13 14 38 3 9 113 Modulo 43 113 mod 43 27 113 43 rem 27 Check digit 27 Printable character 27 2 out of 5 Industrial The character complement of the 2 out of 5 Industrial code comprises 10 digits 0123456789 Start stop characters lt The number of characters is variable The start stop characters are programmed with the characters and Alternatively the characters lt and can be used as start stop characters In the plain text line the characters and or lt and are printed for start stop The symbol layout is self check
42. mode for one line Set reset ESC 1B57p 2787p 1 00 30 109 expanded Reset mode XO01 X 31 Set Reset DC4 14 20 109 expanded mode Set reset ESC wp 1B77p 27 119 00 X 30 109 double height Reset mode py X01 X31 Set Select print ESC p 1B21p 127 33 110 mode combi nation Set reset ESC p 1B2Dp 2745p 00 30 110 underscore Reset mode py X01 X31 Set Programmer Reference Guide U26169 J Z716 1 7600 Font design Epson LQ 2550 emulation Command Control Hexa Decimal Remark See sequence decimal page Set resetline ESC 1B 28 2D 274045 Line position 111 marking ETX NUL 03 00 01 03 0001 mode p P1 P2 P1 P2 p2 Line type Additional commands Graphical ESC 1B5Bp 27 91 py 112 change of P2 SP B p 20 59 po 32 sizes 42 66 Set national ESC p 1B5Bp 27 91 p 113 version p 77 59 119 Set national ESC p 1 5B 2791 113 version 77 119 Set code ESC 1858 27 91 59 114 po 77 po 119 Setcharacter ESC p 1B5Bp 2791 115 pitch and Po X po 78 59 po 120 select font Select font ESC p x 1B5Bp 1B 5Bp 116 78 78 Set print ESC p 1B5Bp 2791p 116 quality NLQ SP X 20 58 32 88 LQ Programmer Reference Guide U26169 J Z716 1
43. normal width and po max 9900 in steps of 100 Programmer Reference Guide U26169 J Z716 1 7600 Font design Epson LQ 2550 emulation Set national version and code page Conirol sequence Hexadecimal Decimal ESC 1B 5B p 3B p 77 27 91 p 59 p 119 1 15 For national version EPSON EXT GCT p 1 USA p 2 France 3 Germany p 4 UK p 5 Denmark 1 6 Sweden 7 italy 8 Spain1 p 9 Japan 10 Norway 11 Denmark 2 py 12 Spain2 13 Latin AM p 14 Turkey 15 Legal digit code of the code table Po do d three digits 0 6 1 IBM set 1 0 6 2 IBMset2 0 6 3 IBMcode page 0 7 1 Epson EXT GCT Programmer Reference Guide U26169 J Z716 1 7600 Font design Epson LQ 2550 emulation Set national version Conirol sequence Hexadecimal Decimal ESC w 1B 5B p 77 27 91 p 119 See the command Set national version and code page for the setting of p Set code page Control sequence Hexadecimal Decimal ESC pow 1B 5B p 77 27 91 59 po 119 See the command Set national version and code page for the setting of p2 Programmer Reference Guide U26169 J Z716 1 7600 Font design Epson LQ 2550 emulation Set character pitch and select font Conirol sequence Hexade
44. of 3 as in UPC A because UPC E is a compressed form of UPC A The check digit must be programmed in the application The check digit of the UPC E symbol is calculated on the non zero suppressed digit sequence The principle of check digit calculation is described in the section EAN 8 and EAN 13 The code can be printed in the three sizes SC3 SC6 and SC9 The height of the symbol is variable but should be programmed to approximately match the width of the symbol The blank zone before and after the barcode symbol should be at least 0 1287 inch for SC3 at least 0 1755 inch for SC6 and at least 0 234 for SC9 UPC A and UPC E Add on UPC A and UPC E with a two or five digit add on are printed automatically if two or five additional digits are programmed in the application The check digit calculation ignores the add on digits Code 128 EAN 128 The Code 128 has a character set of 128 ASCII characters four control characters FNC1 FNC2 FNC3 FNC4 and four special characters CODE A CODE B CODE C SHIFT The number of characters is variable The three start characters the stop character and the special characters are automatically generated by the printer to optimize the information density Programmer Reference Guide U26169 J Z716 1 7600 POSTNET Barcodes All printable ASCII characters are printed in the plain text line All other characters start stop control and special characters and the check digit are replace
45. print data for p po P1 P2 P1 P2 several characters Automatic ESC 5 1B35p 2753p X 00 X 30 62 line feed CR CR X 01 X 31 CR CR LF Set printer DC1 11 17 63 online Set printer ESC Q 185123 27 81 35 63 offline Set printer ESC Q 1B 5124 27 81 36 63 offline Clear line CAN 18 24 63 buffer Delete DEL 7F 127 63 character NUL function NUL 00 00 64 Additional 64 commands Command 24 24 36 36 replacement Command 24 24 2 36 36 47 64 replacement Programmer Reference Guide U26169 J Z716 1 7600 Miscellaneous commands IBM Proprinter emulation Command Control Hexa Decimal Remark See sequence decimal page Macro ESC p 1B5Bp 27 91 p 64 selection SPr 3B po 20 59 po 32 72 114 Set barcode 2 1B 5B 27 91 59 146 D3 D4 Ps P2 P2 59 SPz 3B p4 59 p4 59 ps ps 59 pe 20 7A 32 122 Set reset On 150 barcode ESC 0 1B 5B 3F 27 91 63 h 30 68 48 104 Off ESC 01 1B 5B 27 91 63 30 6C 48 108 Programmer Reference Guide U26169 J Z716 1 7600 Alternative graphics mode AGM IBM Proprinter emulation Alternative graphics mode AGM Command Control Hexa Decimal Remark See sequence decimal page 6 inch ESC 1B 41 p 2765p 01 lt lt 55 65 line spacing mode Set 16 or ESC 3 py 1B 33 P1 27 51 P1 X 0
46. table Kursiv 858 437 850 Multilingual PC 860 Portugal 863 French Canada 865 p4 and ps are Decimal characters Four character tables can be assigned 0 lt p3 lt 3 or 48 lt p3 lt 51 The command select character table will activate the assigned character table Select character table Control sequence Hexadecimal Decimal 1B 74 p 27 116 p p1 0 1 2 3 0 1 2 oder 3 This command selects one of the four character tables which are assigned by the command assign character table Programmer Reference Guide U26169 J Z716 1 7600 ESC P2 Commands Epson LQ 2550 emulation Print data as characters Conirol sequence Hexadecimal Decimal ESC p Po data 1B 28 5E po 27 40 94 p1 Po This command prints data as characters p P2 256 sum of data number of bytes which to be printed as characters not control codes Data p bytes of data to be printed as characters Select graphics mode Control sequence Hexadecimal Decimal ESC G p po 1B 28 47 po 27 4071 po 01 00 10r49 selects graphics mode Graphics mode may be reset by ESC Programmer Reference Guide U26169 J Z716 1 7600 ESC P2 Commands Epson LQ 2550 emulation Print raster graphics
47. the buffer size in the menu see 2 Programmer Reference Guide U26169 J Z716 1 7600 Font design Epson LQ 2550 emulation Define user defined characters Conirol sequence Hexadecimal Decimal data ESC 8 NUL p P4 Ps 18 26 00 P2 P4 Ps _ 27 38 00 po P3 P4 ps data data One or several characters can be defined If the current character set was loaded in the user defined character set beforehand the characters defined by this command are replaced P1 Po P4 05 Data specifies the code location of the first character to be defined Range X 00 to X 7F specifies the code location of the last character to be defined Range to X 7F specifies the number of leading blank columns of the character to be defined Range X 00 to X 2A 1 to 42 columns specifies the number of dot columns of the character to be defined Range X 00 to X 25 1 to 37 columns specifies the number of trailing blank columns of the character to be defined Range X 00 to 1 to 42 columns Data bytes containing the dot information Range X 00 to X FF any bit of a byte may be 1 dot or O no dot Programmer Reference Guide U26169 J Z716 1 7600 Font design Epson LQ 2550 emulation Meaning of parameters p3 p4 and ps Print mode Spacing P5 Horizontal resolution max max 10 cpi 12 9 DRAF
48. zero for a parameter the current margin setting is not affected p1 Left margin in columns at the current character pitch Range X 00xp lt po Right margin in columns at the current character pitch Range X 04 x po lt XFF Programmer Reference Guide U26169 J Z716 1 7600 Forms transport IBM Proprinter emulation Forms transport The following commands affect the paper movement e Set 8 lpi e Set 7 72 inch line spacing mode e Preset 7 inch line spacing mode e Set preset line spacing e Set 216 or go inch line spacing mode e Set line spacing unit e Line feed LF e Reverse line feed e Form feed FF e Relative vertical tabulation forward e Set vertical tab stops e Vertical tabulation e Additional commands Set 8 Control sequence Hexadecimal Decimal ESC 0 1B 30 27 48 The line spacing is set to 8 lines per inch Set 7 72 inch line spacing mode Control sequence Hexadecimal Decimal ESC 1 1B 31 27 49 A line spacing of 75 inch is set Programmer Reference Guide U26169 J Z716 1 7600 Forms transport IBM Proprinter emulation Preset n 72 inch line spacing mode Control sequence Hexadecimal Decimal 1B 41 p A line spacing of 75 is preset The defined line spacing is set by the ESC 2 command p1 Line spacing 1 72 inch increments Range Set preset line spacing X 01 lt p lt X55
49. 0 Print carriage movements Epson LQ 2550 emulation Command Control Hexa Decimal Remark See sequence decimal page Set unidirec ESC lt 1B 3C 27 60 95 tional print mode for one line Select text ESC ap 1B61p 2797p Valid values p 96 alignment 00 Left justif 01 Centered 02 Right justif X 03 Justified Programmer Reference Guide U26169 J Z716 1 7600 Font design Epson LQ 2550 emulation Font design Command Control Hexa Decimal See sequence decimal page Select ESC kp 1B6Bp 27 107 p Valid values 98 font X 00 Roman 01 Sans Serif X 02 Courier X 03 Prestige X 04 Script X 05 OCR B X 06 OCR A X 07 Orator C X 08 Orator X 10 Data Block Select ESCRp 1B52p 2782p 99 national version Select ESCtp 1B74p 27 116 p Valid values p4 100 cheracierasl X 00 Epson ITALIC X 01 Epson EXT GCT X 02 User def character set Set reset ESC 1B25p 2737p p 2 100 user defined Set character set 00 Reset Copy current ESC NUL 1 00 27 5800 Valid values p4 101 character set p NUL p 00 00 X 00 Roman into user X 01 Sans Serif defined X 02 Courier character set X 03 Prestige X 04 Script X 05 OCR B X 06 OCR A X 07 Orator C X 08 Orator 10 Data Block Programmer Reference Guide U26169 J Z716 1 7600 Font design Epson LQ 2550 emu
50. 1 lt X FF 65 nf 80 inch line spacing mode Relative ESC J p 1B 4A p 2774p X 00 lt p lt X FF 66 vertical in 1 1 inch tabulation or in 216 inch forward increments Select ESC p 1B 2A p 2742p4 Graphics 67 graphics P2 P2 P2 mode mode data data data P2 Number of columns Programmer Reference Guide U26169 J Z716 1 7600 Initial condition Command overview of the Epson LQ 2550 emulation Command Control Hexa Decimal Remark See sequence decimal page Reset to ESC 1B 40 27 64 72 initial condition Forms transport mechanism Command Control Hexa Decimal Remark See sequence decimal page Select ESC 1B 19p 2725 Ignored 7 single form feed Eject sheet ESC lt s 1B5B3C 2791 60 74 73 115 Select paper ESC p 1B 5 2791 62 74 source and po ps p4S po p 59 po ejection 3Bp43B 59 59 number of 73 p4 115 copies cut off mode Programmer Reference Guide U26169 J Z716 1 7600 Forms layout Epson LQ 2550 emulation Forms layout Command Control Hexa Decimal Remark See sequence decimal page Set form ESC 1B 48 p 2767p X 01 lt p lt X 7F 79 length in lines Set form ESC NUL 1B 4300 276700 01 lt lt 16 80 length in P1 P1 P1 inches Setperforation ESC 1B4E
51. 1 lt lt X7F The minimum form length is 3 inches and the maximum form length is 22 inches Programmer Reference Guide U26169 J Z716 1 7600 Forms layout Epson LQ 2550 emulation Set form length in inches Conirol sequence Hexadecimal Decimal ESC C NUL p 1B 43 00 p 27 67 00 p This command specifies the physical form length in inches and sets the current vertical position as the first print line top of form p4 Form length in inches Range lt p lt X16 The minimum form length is 3 inches and the maximum form length is 22 inches Set perforation skip mode Conirol sequence Hexadecimal Decimal The perforation area is specified in number of lines at the current line spacing The perforation area is not changed by later changes of the line spacing It is skipped at the end of every page The perforation area must be selected so that at least inch remain as print area The perforation skip mode is reset by changing the form length or by the Reset perforation skip mode command p4 Perforation area in lines at the current line spacing Range 01 lt lt X7F Programmer Reference Guide U26169 J Z716 1 7600 Forms layout Epson LQ 2550 emulation Reset perforation skip mode Conirol sequence Hexadecimal Decimal ESC 1B 4F 27 79 The perforation skip mode is reset Set left margin Conirol sequence Hexadecimal Deci
52. 240 01 17 33 49 65 81 97 113 1291145 161 177 193 209 225 241 02 18 34 50 66 82 98 1114 130 146 162 178 194 210 226 242 03 19 35 51 67 83 99 1115 131 147 163 179 195 211 227 243 04 20 36 52 68 84 100 116 132 148 164 180 196 212 228 244 05 21 37 53 69 85 101 117 133 149 165 181 197 213 229 245 06 22 38 54 70 86 102 118 134 150 166 182 198 214 230 246 07 23 39 55 71 87 103 119 135 151 167 183 199 215 231 247 08 24 40 56 72 88 104 120 136 152 168 184 200 216 232 248 09 25 41 57 73 89 105 121 137 153 169 185 201 217 233 249 10 26 42 58 74 90 106 122 138 154 170 186 202 218 234 250 11 27 43 59 75 91 1071123 139 155 171 187 203 219 235 251 12 28 44 60 76 92 108 124 140 156 172 188 204 220 236 252 13 29 45 61 77 93 109 125 141 157 173 189 205 221 237 253 14 30 46 62 78 94 110 126 142 158 174 190 206 222 238 254 15 31 47 63 79 95 1111127 143 159 175 191 207 223 239 255 al mlololwl pl olol olal al ol n alo olol oloa al o mn lo Programmer Reference Guide U26169 J Z716 1 7600 Interfaces The following describes the two interfaces provided on the 90152 12 interface module Serial V 24 RS 232 C interface General
53. 50 UPC A 143 UPC A Add on 144 UPC E 143 UPC E Add on 144 bitmap graphics Epson LQ 2550 117 IBM Proprinter 52 boldface Epson LQ 2550 106 IBM Proprinter 40 C carriage return Epson LQ 2550 89 IBM Proprinter 32 character complement 13 character height 12 IBM Proprinter 43 character pitch 10 cpi Epson LQ 2550 90 12 cpi Epson LQ 2550 90 15 cpi Epson LQ 2550 91 proportional Epson LQ 2550 91 character repetition 47 character set 98 copy Epson LQ 2550 101 define Epson LQ 2550 102 IBM set 1 IBM Proprinter 39 40 select Epson LQ 2550 100 user defined Epson LQ 2550 100 character size IBM Proprinter 43 character spacing Epson LQ 2550 92 character style Epson LQ 2550 105 character width 12 IBM Proprinter 43 clear line buffer Epson LQ 2550 123 IBM Proprinter 63 column width 12 command replacement 124 124 Programmer Reference Guide U26169 J Z716 1 7600 Index condensed mode Epson LQ 2550 108 D define user defined characters 102 delete character Epson LQ 2550 123 IBM Proprinter 63 double height mode reset Epson LQ 2550 109 set Epson LQ 2550 109 double strike Epson LQ 2550 106 IBM Proprinter 40 DTR protocol 214 E eject sheet 74 Epson LQ 2550 emulation 70 ESC P2 Befehle 126 expanded mode for one line Epson LQ 2550 108 for one line IBM Proprinter 42 reset Epson LQ 2550 109 reset IBM Proprinter 42 43 set Epson LQ 2550 109 set IBM Proprinter 42 F firs
54. 9014 9015 9015 E 9016 Printer Epson and IBM Proprinter Emulation Programmer Reference Guide Edition September 1999 Copyright and Trademarks Copyright Siemens AG 1999 All rights reserved Delivery subject to availability right of technical modifications reserved All hardware and software names used are trademarks of their respective manufacturers Preface This manual describes the IBM Proprinter emulation as well as the Epson LQ 2550 and ESC P2 emulation Brief description of the printer The 9014 9015 9015 E and 9016 printers are extremely fast 24 needle printers that emphasize convenient handling of paper and high performance The modern printer concept enables them to be used with Siemens data systems as workstation printers and for large print volumes The effective printing rate depends on various parameterizable functions such as for example form feed sheet insertion and ejection print modes etc Most printer functions can also be selected at the printer control panel Function selection is menu controlled Programmer Reference Guide U26169 J Z716 1 7600 Preface 9014 Needle Printer The 9014 printer is equipped with continuous forms tractor and manual single sheet insertion For automatic sheet feeding the printer can be equipped with up to three ASF Automatic Sheet Feeder cassettes Different types of paper handling are available with the 9014 printer s
55. 90142 12 interface module It contains a parallel Centronics compatible and a serial V 24 RS 232 C interface The 9014 printer with the 90142 12 interface module is referred to below as the 9014 12 printer There are two other interface modules with IBM Epson emulation 90142 13 with additional IGP functionality 90142 14 with additional East European character sets For network connections the following interface module is available 90142 LE2 Ethernet LAN connection for Epson LQ 2550 and IBM Proprinter emula tion The printer is also available with the ECMA emulation with one of the following interface modules 90142 11 with SS97 RS 422 A and V 24 RS 232 C 90142 15 with SS97 RS 422 A V 24 RS 232 C and BAM controller 90142 LE1 Ethernet LAN connection for ECMA emulation The functions of the ECMA emulation are described in a separate Programmer s Reference Guide 4 9015 9015 E printer interface modules The 9015 printer with IBM Proprinter and Epson LQ 2550 emulation is equipped with the 90152 12 interface module It contains a parallel Centronics compatible and a serial V 24 RS 232 C interface The 9015 printer with the 90152 12 interface module is referred to below as the 9015 12 printer There is another interface module with IBM Epson emulation 90152 13 with additional IGP functionality Programmer Reference Guide U26169 J Z716 1 7600 Technical data and printer option
56. 91 spacing 7B 123 Reset tab stop ESC p9 1B5Bp 2791p 31 67 103 Programmer Reference Guide U26169 J Z716 1 7600 Print carriage movements IBM Proprinter emulation Print carriage movements Command Control Hexa Decimal Remark See character decimal page sequence Carriage CR OD 13 32 return Print head to ESC lt 1B 3C 27 60 33 left margin Space SP 20 32 33 Backspace 85 08 08 33 Set 10 cpi DC2 12 18 33 Pica Set 12 cpi ESC 1B 27 58 34 Elite Set 17 1 cpi 51 OF 16 34 Set reset ESC Pp 1850 2780p p X 00 X 30 34 proportional Fixed spacing 1 X 01 X 31 mode Proportional Relative ESCdp 1B64p 27 100p increments 35 horizontal Po Po Po tabulation Set ESC D 18 44 27 68 36 horizontal Px tab stops NUL 00 00 Horizontal HT 09 09 37 tabulation Set print ESC Up 1855 2785p p 2 X 00 X 30 37 direction Bidirectional bidirectional 1 X 01 X 31 or unidirec Unidirectional tional Programmer Reference Guide U26169 J Z716 1 7600 Print carriage movements IBM Proprinter emulation Command Control Hexa Decimal Remark See character decimal page sequence Additional 38 commands Absolute ESC p 1B5Bp 2791 p horizontal 60 96 positioning Relative ESC p a 1B5Bp 27 91 38 hori
57. Conirol sequence Hexadecimal Decimal ESC P4 P2 P4 Pe 1B 2E py po 5 Pe 27 46 P2 0 graphics mode compressed 1 graphics mode compressed 5 10 20 vertical resolution in 3600 p gt dpi p3 5 10 20 horizontal resolution in 3600 dpi p4 vertical dot count range 1 lt lt 24 5 Pg 256 horizontal dot count The following combination is not possible Po 10 p4 20 Programmer Reference Guide U26169 J Z716 1 7600 Barcodes You can print the following barcodes with the 901x printer Code 39 2 out of 5 Industrial 2 out of 5 Interleaved Codabar Monarch EAN 8 and EAN 13 EAN 8 and EAN 13 Add on EAN Add On 2 and EAN Add On 5 Code 93 MSI Mod 10 10 UPC A and UPC E Code UPC A and UPC E Add on EAN Add On 2 and EAN Add On 5 Code 128 EAN 128 POSTNET Programming examples for the different barcode types are given on page 150 and up Programmer Reference Guide U26169 J Z716 1 7600 Code 39 Barcodes General information The print tolerance is smaller for horizontal barcodes than it is for vertical barcodes Horizontal barcodes are automatically printed in unidirectional mode to ensure maximum accuracy Vertically printed barcodes may be adversely affected by paper feed tolerances especially in the lower third of the last page of continuous form or on single sheets
58. ESC Z p po data 1B 5A p po data 27 90 p po data The graphics data is transferred in columns A column contains 8 individual vertical dots see Select graphics mode This command causes a graphics line to be printed The horizontal resolution is 240 dpi and the vertical resolution is 72 dpi p1 Po define the number of columns Number of columns po 256 Data Data bytes containing the dot information In this mode printing in adjacent columns is not possible Programmer Reference Guide U26169 J Z716 1 7600 Bitmap graphics IBM Proprinter emulation Select graphics mode expanded Control sequence Hexadecimal Decimal ESC 9 p po data 1B 5B 67 p2 data 27 91 103 p po data The graphics data is transferred in columns A column contains either 8 or 24 individual vertical dots Each graphics line begins with this command p and p2 define the amount of graphics data The definition of the graphics mode with p3 vertical and horizontal resolution follows 4 1 72 i inch B 7 O 4 4 4 4 Figure 3 Vertical dot de nsity 72 dpi Programmer Reference Guide U26169 J Z716 1 7600 Bitmap graphics IBM Proprinter emulation First Second Third data byte data byte
59. Industrial 103 203 303 403 2 out of 5 Inter leaved 104 204 304 404 Codabar 105 205 8 106 206 13 107 207 307 407 Code 93 108 208 308 408 MSI Mod 10 10 109 209 UPCE 110 210 111 211 311 411 Code 128 112 POSTNET Programmer Reference Guide U26169 J Z716 1 7600 Select barcode Barcodes Specification of bar height bar height p3 x 1A 2 inch A decimal whole number with one or two digits from 1 to 99 can be specified EAN and UPC codes with add on code EAN Add On 2 or EAN Add On 5 require a minimum height of 3 gt inch Value of P5 Pe decimal Width of bar Width of space Ratio of place wide to Code direction Code direction narrow horizontal vertical horizontal vertical 0 0 35 mm 0 28 mm 0 35 mm 0 28 mm 2 0 to 1 1 0 53 mm 0 42 mm 0 53 mm 0 42 mm 2 5 to 1 2 0 70 mm 0 56 mm 0 70 mm 0 56 mm 3 0 to 1 3 0 88 mm 0 70 mm 0 88 mm 0 70 mm 3 5 to 1 4 1 05 mm 0 85 mm 1 05 mm 0 85 mm 5 1 23 mm 0 99 mm 1 23 mm 0 99 mm 6 1 41 mm 1 12 mm 1 41 mm 1 12 mm 7 1 58 mm 1 27 mm 1 58 mm 1 27 mm These values change with the degree of saturation of the ribbon They thus only valid for a new ribbon The module width is standardized with the EAN and UPC codes The following values are valid for p6 when setting the barcode Dg 0 Size SC 31 Dg 1 Size SC 6 Dg 2 S
60. Set barcode mode Data Reset barcode mode 1 This letter is a small L Printout ESC n2 barcode symbol ESC 5201 8 1 351 ESC 0h CODE 39 ESC 01 n6 SP z 1 SP 2 The barcode must be selected before the barcode mode is activated While the barcode mode is on no other escape sequences are permitted No page break is CODE Programmer Reference Guide U26169 J Z716 1 7600 Programming examples Barcodes 2 out of 5 Industrial Programming Barcode header Example Set barcode mode Data Reset barcode mode 1 This letter is a small L ESC n2 n3 4 n5 SP z ESC 202 8 1 351 1 SP 272 ESC 0h 111234567890 ESC 01 Printout 12345667890 2 out of 5 Interleaved Programming Barcode header Example Set barcode mode Data Reset barcode mode 1 This letter is a small L Printout ESC n2 n3 4 n5 SP z ESC 203 8 1 1 1 SPz ESC 0h 111234567890 ESC 01 1234567890 Programmer Reference Guide U26169 J Z716 1 7600 Programming examples Barcodes Codabar Monarch Programming Barcode header ESC n2 n4 5 SP 2 Example ESC 204 8 1 1 1 SP z Set barcode mode ESC 0h Data 012345678901 Reset barcode mode ESC 01 1 This letter is a small L Printout
61. T 1 15g inch 12 cpi 12 9 10 cpi 36 29 LQ 1 360 inch 12 cpi 30 23 Proportional 42 37 459 inch The character information is transferred in 3 bytes per column The number of data bytes to be transferred is thus 3 x p4 bytes If you define more than one character parameters p3 p4 and p5 must be defined before the dot information of the characters i There must be sufficient memory space for the user defined character set see menu settings 2 The function is only valid with 8 bit data transfer for the menu setting see 2 Programmer Reference Guide U26169 J Z716 1 7600 Font design Epson LQ 2550 emulation Example Leading Dot columns Trailing blank columns of the character blank columns P4 Ps 1 123 45 678 9 12 20 21 22 lo First byte 324 3 25 29 27 o 20 o 21 22 23 Second byte 4 24 25 3 2s 27 o 20 21 22 Jo o 23 Third byte 4 24 5 Byte values FF 00 01 00 01 00 01 00 01 First byte for dot columns FF 00 02 00 07 00 00 00 00 Second byte Hex 07 00 04 00 04 00 04 00 04 Third byte To load this character in DRAFT and 10 cpi in code location X 21 decimal 33 the following control characters have to be sent to the printer ESCxO ESCP ESC amp NUL X 33 X 33 X 01 X 09 X
62. The text alignment defines the horizontal position of a print line relative to the set margins see Set left margin p1 defines the text alignment mode Valid parameter values Dec Hex Meaning 0 00 Left justified text alignment 1 01 Centered text alignment 2 02 Right justified text alignment 3 03 Justification left and right 1 Horizontal tabulation and backspaces are ignored except for left justified alignment Programmer Reference Guide U26169 J Z716 1 7600 Font design Epson LQ 2550 emulation Font design The following commands are available for font design Select font Select national version Select character set Set reset user defined character set Copy current character set into user defined character set Define user defined characters Select print quality Select character style Set italics mode Reset italics mode Set boldface mode Reset boldface mode Set double strike mode Reset double strike mode Set subscript superscript mode Reset subscript superscript mode Set condensed mode Reset condensed mode Set expanded mode for one line Set reset expanded mode Reset expanded mode Set reset double height mode Select print mode combination Set reset underscore mode Set reset line marking mode Additional commands Programmer Reference Guide U26169 J Z716 1 7600 Font design Epson LQ 2550 emulation Select font Conirol sequence Hexadecimal Decima
63. U26169 J Z716 1 7600 Programmer Reference Guide Epson ITALIC Character set tables National versions of Epson ITALIC 1 Character Code Hex 23 24 40 5B 5C 50 5 160 7B 7C 7D 7E 1 USA 2 FRANCE 3 GERMANY 4 U K 5 DENMARK 6 SWEDEN 7 ITALY 8 SPAIN 9 JAPAN 10 NORWAY 11 DENMARK 2 12 SPAIN 2 13 LATIN AM 14 TURKEY 15 LEGAL 5 heii te ae se 50 te 8 ae r0 se Programmer Reference Guide U26169 J Z716 1 7600 Epson ITALIC Character set tables National versions of Epson ITALIC 2 Character Code Hex 4 ra FC FE 1 USA 5 e prance fe ls fa 3 GERMANY 5 g 15 U o Ja Js 5 DENMARK s ly 6 SWEDEN 0 6 zmv j Jn ie 10 NORWAY J 2 0 j o 11 DENMARK2 5 2 j 12 SPAIN 2 WN le le f 6 fa 13 LATIN AM f n jo J 14 TURKEY li l JO 0 8 l ls Ja 15 LEGAL i 5 le i lo le P
64. aracter sets anywhere within the text In the initial condition the printer uses the character set selected in the menu p1 defines the character set Valid parameter values Dec Hex Meaning 0 00 Epson ITALIC 1 01 Epson EXT GCT 2 02 User defined character set Set reset user defined character set Control sequence Hexadecimal Decimal ESC 96 p 27 37 This command allows switching between the current character set and the user defined character set anywhere within the text p1 defines the character set Valid parameter values Dec Hex Meaning 0 00 1 01 Current character set User defined character set Programmer Reference Guide U26169 J Z716 1 7600 Font design Epson LQ 2550 emulation Copy current character set into user defined character set Conirol sequence Hexadecimal Decimal ESC NUL py NUL 1B 3A 00 p 00 27 58 00 p 00 This command copies the current character set into the user defined character set p1 defines the font of the current character set Valid parameter values to a value 32 Kbytes Dec Hex 0 00 1 01 San Serif 2 02 Courier 3 03 4 04 Script 5 05 OCR B 6 06 OCR A 7 07 Orator C 8 08 Orator There must be sufficient memory space for the user defined character set see 1 menu settings 2 This can be done by setting
65. ations Placing in service 3 9016 Printer Operating Manual Target group Users putting the printer in service Contents Putting in service error information upkeep Applications Placing in service Programmer Reference Guide U26169 J Z716 1 7600 Related publications 4 9014 Printer ECMA Emulation Programmer Reference Guide Ordering manuals Target group Programmers Contents Description of the control characters of the ECMA emulation Information on the operation of the printer with BS2000 SINIX and at workstations Zielgruppe Programmierer The manuals listed above can be ordered from your local Siemens branch Please apply to your local office for ordering the manuals Programmer Reference Guide U26169 J Z716 1 7600 Environmental protection Environmentally friendly product design and development This product has been designed in accordance with the Siemens standard environmentally friendly product design and development This means that the designers have taken into account decisive criteria such as durability selection of materials and coding emissions packaging the ease with which the product can be dismantled and the extent to which it can be recycled This saves resources and thus reduces the harm done to the environment Note on saving energy Devices that do not have to be switched on permanently should not be switched on until they are used and should be switched off du
66. b stops set previously in the specified channel are reset The vertical tab stops in the channel must be specified in ascending order in lines The absolute vertical tab stop locations depend on the current line spacing The line count begins with 1 at the first print line The set vertical tab stops are not affected by later changes of the line spacing All vertical tab stops set in the specified channel are reset if parameters p2 to pk are missing ESC b p1 NUL Vertical tabulation channel Range X 00 x pk X 07 po Vertical tab stops in lines 2 lt lt 17 Range X 01 lt pk lt X FF Programmer Reference Guide U26169 J Z716 1 7600 Forms transport Epson LQ 2550 emulation Vertical tabulation Control character Hexadecimal Decimal VT 0B 11 This control character causes vertical tabulation to the next vertical tab stop in the current vertical tabulation channel Vertical tabulation is possible anywhere within a line Repeating this control character causes tab stops to be skipped VT VT VT for example positions the print head to the third vertical tab stop If no tab stops are set this control character performs a line feed i A carriage return is also performed depending on the menu setting The expanded mode for one line is terminated by this control character Programmer Reference Guide U26169 J Z716 1 7600 Print carriage move
67. boldface mode e Reset boldface mode e Set double strike mode e Reset double strike mode e Setsubscript superscript mode e Reset subscript superscript mode e Set expanded mode for one line e Set reset expanded mode e Reset expanded mode e Set character size and line spacing e Set print quality and character pitch e Set reset underscore mode e Set reset overscore mode e Additional commands Select IBM character set 1 Control sequence Hexadecimal Decimal ESC 7 1B 37 27 55 In the initial condition the printer uses the character set specified in the menu Programmer Reference Guide U26169 J Z716 1 7600 Font design IBM Proprinter emulation Select IBM character set 2 Control sequence Hexadecimal Decimal ESC 6 1B 36 27 54 In the initial condition the printer uses the character set specified in the menu Set boldface mode Reset boldface mode Set double strike mode Control sequence Hexadecimal Decimal ESC 1B 45 27 69 Control sequence Hexadecimal Decimal ESC 1B 46 27 70 Control sequence Hexadecimal Decimal ESC G 1B 47 27 71 Reset double strike mode Control sequence Hexadecimal Decimal ESC H 1B 48 27 72 Programmer Reference Guide U26169 J Z716 1 7600 Font design IBM Proprinter emulation Set subscript superscript mode Control sequence Hexa
68. channel Range X00 lt p4 lt X07 Programmer Reference Guide U26169 J Z716 1 7600 Forms transport Epson LQ 2550 emulation Set vertical tab stops Conirol sequence Hexadecimal Decimal ESC B p py NUL 1B 42 p 00 27 66 p4 00 This command sets vertical tab stops in channel 0 see Select vertical tabulation channel and Set vertical tab stops in channel Up to 16 vertical tab stops can be defined per channel Vertical tab stops set previously are reset The vertical tab stops must be specified in ascending order in lines The absolute vertical tab stop locations depend on the current line spacing The line count begins with 1 at the first print line The set vertical tab stops are not affected by later changes of the line spacing All vertical tab stops are reset if no parameter is specified ESC B NUL Dk Vertical tab stops lines 1 lt lt 16 Range lt pk lt X FF Programmer Reference Guide U26169 J Z716 1 7600 Forms transport Epson LQ 2550 emulation Set vertical tab stops in channel Conirol sequence Hexadecimal Decimal ESC b p p NUL 1B 62 p 00 This command sets vertical tab stops in the specified channel see table Set vertical tab stops on page 86 Eight different vertical tabulation channels are available Up to 16 vertical tab stops can be defined per channel Vertical ta
69. cimal Decimal ESC Po x 1B 5B p 3B p 78 27 91 py 59 po 120 p 1 Data 2 Roman p 3 Sans Serif py 4 Courier p 5 Prestige p 6 Script pi 27 OCR B p 8 OCR A p 9 Orator C p 10 Orator p 11 Data Block 12 Data Large Po 1 10 cpi Po 2 12 cpi Po 3 15 cpi Programmer Reference Guide U26169 J Z716 1 7600 Font design Epson LQ 2550 emulation Po 4 Proportional Po 5 Proportional Po 6 14 4 cpi Po 7 18 cpi Po 8 17 1 cpi Po 9 20 cpi Select font Conirol sequence Hexadecimal Decimal ESC x 1B 5B p 78 27 91 p 120 See the command Set character pitch and select font for the setting of p Set print quality NLQ LQ Control sequence Hexadecimal Decimal ESC p SP X 1B 5B p 20 58 27 91 p 32 88 p 0 LQ 1 NLQ This is only valid if the NLQ type style is available Programmer Reference Guide U26169 J Z716 1 7600 Bitmap graphics Epson LQ 2550 emulation Bitmap graphics The following commands are available e Select graphics mode e Reassign graphics mode Select graphics mode Conirol sequence Hexadecimal Decimal ESC p P2 data 1B 2A p po data 27 42 p4 po ps data The graphics data is transferred in columns A column contains either 8 or 24 individual vertical dots Each graphics line begins wit
70. core mode Programmer Reference Guide U26169 J Z716 1 7600 Font design IBM Proprinter emulation Additional commands Set graphic settings Control sequence Hexadecimal Decimal ESC m 1B 5 6D 27 91 p 109 Valid values 0 Normal presentation all settings reset p 21 Bold p 3 Italics py 24 Underscored p 9 Crossed out 20 Double character width py 21 double underline p 22 Reset bold mode py 23 Reset italics mode py 24 Reset underscored mode py 29 Reset crossed out mode 1 30 to 36 Ignored p 53 Overscored p 55 Reset overscored mode Programmer Reference Guide U26169 J Z716 1 7600 Font design IBM Proprinter emulation Character repetition Control sequence Hexadecimal Decimal ESC b 1B 5B p 62 27 91 p 98 pl be a maximum of three digits Graphical change of sizes Control sequence Hexadecimal Decimal ESC 2 SPB 1B 5B p 3B po 20 42 27 91 p 59 po 32 66 Valid values 100 p 100 Normal height normal width p4 200 po 200 Double height Double width 300 po 300 Triple height Triple width p 400 po 400 Quadruple height Quadruple width and po max 800 in steps of 100 Graphical change of size for DATA LARGE 100 gt 100 Normal height normal width and po max 9900 in steps o
71. cter width Programmer Reference Guide U26169 J Z716 1 7600 Font design IBM Proprinter emulation Set print quality and character pitch Control sequence Hexadecimal Decimal 27 73 p This command defines the print quality and the character pitch p1 defines the print quality and the character pitch Valid parameter values Dec Hex Meaning 0 00 DRAFT quality 10 cpi 1 01 DRAFT quality proportional spacing 2 02 LQ NLQ quality 10 cpi B 03 LQ NLQ quality proportional spacing 08 DRAFT quality 12 cpi 10 LQ NLQ quality 12 cpi 16 10 DRAFT quality 17 1 cpi 18 12 LQ NLQ quality 17 1 cpi Set reset underscore mode Control sequence Hexadecimal Decimal ESC P1 7 45 p The characters are underscored p1 sets resets the underscore mode Valid parameter values Dec Hex Meaning 0 00 Reset underscore mode 1 01 Set underscore mode 48 30 Reset underscore mode 49 31 Set underscore mode Programmer Reference Guide U26169 J Z716 1 7600 Font design IBM Proprinter emulation Set reset overscore mode Control sequence Hexadecimal Decimal The characters are overscored p4 sets resets the overscore mode Valid parameter values Meaning Dec Hex 0 00 1 01 48 30 49 31 Reset overscore mode Set overscore mode Reset overscore mode Set overs
72. d automatic IBM Proprinter 62 Epson LQ 2550 84 IBM Proprinter 28 reverse IBM Proprinter 29 line marking mode Epson LQ 2550 111 line spacing 1 6 inch Epson LQ 2550 82 1 8 inch Epson LQ 2550 82 1 8 inch IBM Proprinter 26 7 72 inch IBM Proprinter 26 n 180 inch Epson LQ 2550 83 n 180 inch IBM Proprinter AGM mode 65 n 180 inch IBM Proprinter 27 n 216 inch IBM Proprinter AGM mode 65 n 216 inch IBM Proprinter 27 n 360 inch Epson LQ 2550 84 n 60 inch Epson LQ 2550 83 n 60 inch IBM Proprinter AGM mode 65 n 72 inch IBM Proprinter 27 line spacing unit IBM Proprinter 28 load line spacing 31 M macro selection 64 125 margin Epson LQ 2550 81 IBM Proprinter 24 25 micro column width 12 micro line spacing 12 MSB delete default Epson LQ 2550 122 set to one Epson LQ 2550 122 set to zero Epson LQ 2550 122 N national version Epson LQ 2550 99 NUL function Epson LQ 2550 124 IBM Proprinter 64 offline Epson LQ 2550 123 IBM Proprinter 63 online Epson LQ 2550 123 IBM Proprinter 63 overscore IBM Proprinter 45 P paper select source perforation Epson LQ 2550 80 IBM Proprinter 23 reset skip mode 81 perforation area Epson LQ 2550 80 IBM Proprinter 23 print carriage movements Epson LQ 2550 89 IBM Proprinter 32 print direction bidirectional Epson LQ 2550 95 bidirectional IBM Proprinter 37 unidirectional Epson LQ 2550 95 unidirectional IBM Proprinter 37 unidirec
73. d by a space The required check character is automatically generated by the printer The symbol layout is self checking If the barcode begins with FNC1 hexadecimal 5D 43 31 this identifies EAN 128 FNC2 hexadecimal 5D 43 32 controls the reader for multiple reads FNC3 hexadecimal 5D 43 33 is reserved for special reader functions FNC4 hexadecimal 5D 43 34 is reserved for special future applications The barcode height should be 1596 of the barcode length or 0 25 inch whichever is greater Example of check digit calculation Plain text with check digit 003401234 512345 67 89 5 Plain text w o check digit 003401234 512345 67 89 Weighting factors 313131313 131313 13 13 Products 009401631 532941 62 82 2 5 1 7 Sum of products 135 Modulo 10 135 modulo 10 13 remainder 5 Check digit 10 5 5 Check digit 5 POSTNET code has character set of ten digits The number of characters is fixed and depends on the application 5 Digit Zip Code A Field 5 digits plus check digit Zip 4 Code C Field 9 digits plus check digit Delivery Point Barcode C Prime Field 11 digits plus check digit The start stop characters and the check digit are automatically generated by the printer modulo 10 with a weighting of 1 This barcode has no plain text line Programmer Reference Guide U26169 J Z716 1 7600 Select barcode Barcodes The barcode is a fixed size The length varies with the number o
74. data Protocols DTR X ON X OFF Transfer rate 600 1200 2400 4800 9600 19200 baud Parity even odd none ignored Character length 7 bits 8 bits Stop bits send 2 stop bits receive 1 stop bit Programmer Reference Guide U26169 J Z716 1 7600 V 24 RS 232 C Interfaces Pin assignment Designation Explanation Direction Pin CCITT pner 1 AA E1 101 PG Protective Ground 2 BA D1 103 TXD Transmit Data X 3 BB D2 104 RXD Receive Data x 4 CA S2 105 RTS Request to Send x 5 CB M2 106 CTS Clear to Send X 6 CC M1 107 DSR Data Set Ready x 7 AB E2 102 SG Signal Ground 20 CD 51 2 108 2 Data Terminal Ready X Programmer Reference Guide U26169 J Z716 1 7600 V 24 RS 232 C Interfaces DTR protocol The following signal lines are used Designation Explanation Direction Pin DIN CCITT from to printer 1 AA E1 101 PG Protective Ground BB D2 104 RXD Receive Data X 7 AB E2 102 SG Signal Ground 20 CD 51 2 108 2 Data Terminal Ready X The printer sets the DTR signal to ON positive level as soon as it is ready to receive data after power on The printer sets the DTR signal to OFF when less than 256 bytes are free in the buffer or when the printer enters the Stop mode Further data is stored until the printer buffer is completely full any additional data is lost The DTR signal returns t
75. data byte di d2 d3 B qe 1 180 inch 180 inch 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 B B B B B B B B B B B B 4 2 4 2 4 2 5 3 5 3 5 3 Figure 4 Vertical dot density 180 dpi Programmer Reference Guide U26169 J Z716 1 7600 Bitmap graphics IBM Proprinter emulation p4 po define the number of graphics data bytes 1 Number of graphics data bytes p4 po 256 number of bytes column defines the graphics mode Valid parameter values Dec Hex Mode Number Compatible of hori Verti commands needles cal 0 00 Single density 8 60 72 ESCK 1 01 Double density 8 120 72 ESCL 02 Double density and high 8 120 72 ESC Y speed 1 3 Quadruple density 8 240 72 ESCZ 08 08 Single density 24 60 180 09 09 Double density 24 120 180 11 Triple density 24 180 180 12 Sixfold density 1 B60 180 1 Data Data bytes containing the dot information In this mode printing in adjacent columns is not possible Programmer Reference Guide U26169 J Z716 1 7600 Miscellaneous commands IBM Pr
76. de e Print raster graphics Set page format Control sequence Hexadecimal Decimal ESC P2 P4 P5 1B 28 63 P2 Ps 27 40 99 po pa ps This command sets top and bottom margins defined units 0400 im Po 256 tm top margin in defined units p4 p5 256 bm bottom margin in defined units Programmer Reference Guide U26169 J Z716 1 7600 ESC P2 Commands Epson LQ 2550 emulation Set page length in defined units Conirol sequence Hexadecimal Decimal ESC po 1B 28 43 p P2 ps 27 40 67 P1 P2 0200 256 pl number of defined units Set absolute vertical print position Conirol sequence Hexadecimal Decimal ESC P2 1B 28 56 p P2 27 40 86 py 02 00 p P2 256 p defines print position from top margin in defined units Programmer Reference Guide U26169 J Z716 1 7600 ESC P2 Commands Epson LQ 2550 emulation Set relative vertical print position Conirol sequence Hexadecimal Decimal ESC 1B 28 76 p P2 27 40 118 02 00 p P2 256 p moves the print position from top margin in defined units Select font by pitch and point Control sequence Hexadecimal Decimal ESC po 1B 58 pi po 27 88 P2 p1
77. de U26169 J Z716 1 7600 Forms transport Epson LQ 2550 emulation Command Control Hexa Decimal Remark See sequence decimal page Vertical VT 0B 11 88 tabulation Programmer Reference Guide U26169 J Z716 1 7600 Print carriage movements Epson LQ 2550 emulation Print carriage movements Command Control Hexa Decimal Remark See sequence decimal page Carriage CR 00 13 89 return Space SP 20 32 90 Backspace 08 08 90 Set 10 cpi ESC P 1B 50 27 80 90 Pica Set 12 cpi ESC M 1B 4D 2777 90 Elite Set 15 cpi ESC g 1B 67 27 103 91 Set reset ESCpp 1B70p 27112 p X 00 X 30 91 proportional Fixed spacing p1 X 01 X 30 mode Proportional Setcharacter ESC SP 1 20 27 32 499_Inchincs 92 spacing DRAFT mode Inch incs LQ NLQ Absolute ESC p 1B24p 2736p 1 0 Inch 92 horizontal Po Po Po increments tabulation Relative ESC 1B5Cp 2792 Inch 93 horizontal Po Po Po DRAFT tabulation Inch incs LQ NLQ Set ESC D 1B 44 27 68 94 horizontal tab stops NUL 00 00 Horizontal HT 09 09 94 tabulation Set print ESC Up 1B55p 27 85p p 00 30 95 direction Bidirectional bidirectional pi X01 X31 or unidirec Unidirectional tional Programmer Reference Guide U26169 J Z716 1 760
78. decimal Decimal ESC S p 1B 53 p This command causes reduced size characters to be superscripted exponents or subscripted indices Superscripted characters exponents are printed approx 115 line up Subscripted characters indices are only reduced in size and printed on the base line p1 defines subscript or superscript mode Parameter values Reset subscript superscript mode Dec Hex Meaning 0 00 Set superscript mode 1 01 Set subscript mode 48 30 Set superscript mode 49 31 Set subscript mode i The menu setting must be INDEX EXPONENT see 2 Control sequence Hexadecimal Decimal ESCT 1B 54 27 84 Programmer Reference Guide U26169 J Z716 1 7600 IBM Proprinter emulation Set expanded mode for one line Control sequence Hexadecimal Decimal SO OE 14 The characters in one line are printed with double width The function is terminated by LF CR VT FF DC4 and ESC W 0 Set reset expanded mode Control sequence Hexadecimal Decimal 1B 57 p 27 87 pi Characters are printed with double width when the expanded mode is active p1 sets resets Parameter values the expanded mode Dec Hex Meaning 0 00 Reset expanded mode 1 01 Set expanded mode 48 30 Reset expanded mode 49 31 Set expanded mode Reset expanded mode Cont
79. decimal Decimal ESC d p Po 1B 64 p4 po 27 100 p4 po The horizontal print position is moved right by the defined amount The specified shift begins at the current print position and has to be specified in di 20 inch increments Spaces are shown underscored overscored or crossed out if the function is active The defined right margin cannot be exceeded Po define the shift Shift 256 1 499 inch Range 00 lt py lt Range X 00 lt po lt XFF Programmer Reference Guide U26169 J Z716 1 7600 Print carriage movements IBM Proprinter emulation Set horizontal tab stops Control sequence Hexadecimal Decimal ESC D p NUL 1B 44 p 00 27 68 p Pk 00 This command sets horizontal tab stops A maximum of 32 horizontal tab stops can be set Previously set horizontal tab stops are reset The horizontal tab stops must be specified in ascending order in multiples of the current character pitch The absolute horizontal tab stop locations depend on the current character pitch The set horizontal tab stops are not affected by later changes of the character pitch The default horizontal tab stop locations are in every eighth print column All horizontal tab stops are reset if no parameter is specified ESC D NUL Horizontal tab stops in multiples of the character pitch 1 lt k lt 32 Range lt lt Pr
80. e expanded Select graphics mode Control sequence Hexadecimal Decimal ESC p po data 1B 2A p Po data 27 42 p4 po ps data The graphics data is transferred in columns A column contains either 8 or 24 individual vertical dots Each graphics line begins with this command which defines the graphics mode vertical and horizontal resolution A defined number of pixel data items follows The number of columns is defined by parameters p2 and p3 B7Bg Bs5B4IB4 B5B Bo 1 72 inch os INC lt 0 4 4 Figure 1 Vertical dot density 72 dpi Programmer Reference Guide U26169 J Z716 1 7600 Bitmap graphics IBM Proprinter emulation First Second Third data byte data byte data byte di d2 d3 B7 Bg Bo B7 Bg B B Bo 8185 84 83 88 Bo qe 1 180 inch 180 inch 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 Figure 2 Vertical dot density 180 dpi Programmer Reference Guide U26169 J Z716 1 7600 Bitmap grap
81. e Guide U26169 J Z716 1 7600 Print carriage movements IBM Proprinter emulation Additional commands Absolute horizontal positioning Control sequence Hexadecimal Decimal ESC 1B 5B p 60 27 91 p 96 pl defines the print position and consists of a maximum of three digits p7 0 and p 1 define the first print position and thus have the same meaning Relative horizontal positioning Control sequence Hexadecimal Decimal ESC p a 1B 5B p 61 27 91 p 97 1 defines the print position and consists of a maximum of three digits p 0 and p 1 define the first print position and thus have the same meaning Absolute vertical positioning Control sequence Hexadecimal Decimal ESC p d 1B 5B p 64 27 91 p 100 p1 defines the print line and consists of a maximum of three digits p 0 and p 1 define the first print line and thus have the same meaning Relative vertical positioning Control sequence Hexadecimal Decimal ESC p e 1B 5B p 65 91 p 101 p1 defines the number of print lines and consists of a maximum of three digits p 0 and pl 1 define the first print line and thus have the same meaning Programmer Reference Guide U26169 J Z716 1 7600 Font design IBM Proprinter emulation Font design The following commands are available for font design e Select IBM character set 1 e Select IBM character set 2 e Set
82. e would be exceeded e Ifthe print head is on a set horizontal tab stop the next horizontal tab stop is accessed Programmer Reference Guide U26169 J Z716 1 7600 Print carriage movements Epson LQ 2550 emulation Set print direction bidirectional or unidirectional Conirol sequence Hexadecimal Decimal Unidirectional printing should be used if high positioning precision is required e g in the graphics mode The default is bidirectional printing p1 defines the print direction Valid parameter values Dec Hex Meaning 0 00 Bidirectional print direction 1 01 Unidirectional print direction 48 30 Bidirectional print direction 49 31 Unidirectional print direction The command is ignored if the menu setting does not permit unidirectional printing see 2 Set unidirectional print mode for one line Conirol sequence Hexadecimal Decimal ESC lt 1B 3C 27 60 The unidirectional print mode should be used if high positioning precision is required e g in the graphics mode The default is bidirectional printing The command is ignored if the menu setting does not permit unidirectional printing 1 see 2 Programmer Reference Guide U26169 J Z716 1 7600 Print carriage movements Epson LQ 2550 emulation Select text alignment Conirol sequence Hexadecimal Decimal ESC 1B 61 p 27 97 p
83. ect vertical tabulation channel e Set vertical tab stops e Set vertical tab stops in channel e Vertical tabulation Set 8 Control sequence Hexadecimal Decimal ESC 0 1B 30 27 48 The line spacing is set to 8 lines per inch Set 6 Ipi Control sequence Hexadecimal Decimal ESC2 1B 32 27 50 The line spacing is set to 6 lines per inch Programmer Reference Guide U26169 J Z716 1 7600 Forms transport Epson LQ 2550 emulation Set n 60 inch line spacing mode Conirol sequence Hexadecimal Decimal ESC 1B 41 27 65 The line spacing is set g inch Line spacing in 1 60 inch increments Range X 00xp lt X7F Set n 180 inch line spacing mode Control sequence Hexadecimal Decimal ESC 3 p 1B 33 p 27 51 p The line spacing is set to g9 inch p1 Line spacing in 1 189 inch increments Range X 00 lt p4 lt XFF Programmer Reference Guide U26169 J Z716 1 7600 Forms transport Epson LQ 2550 emulation Set n 360 inch line spacing mode Conirol sequence Hexadecimal Decimal The line spacing is set to inch p4 Line spacing in 1 369 inch increments Range 00 lt py lt Line feed LF Control character Hexadecimal Decimal LF 0A 10 The line feed is performed using the current line spacing The contents of the line buffer are printed T
84. er decimal page sequence Setprint quality ESC Ip 1B49p 27 73 Valid values p1 44 ana characier X 00 DRAFT 10 cpi pitch X 02 LQ NLQ 10 cpi X 03 LQ NLQ prop X 08 DRAFT 12 cpi LQ NLQ 12 cpi X 10 DRAFT 17 cpi X 12 LQ NLQ 17 cpi Set reset ESC p 1B2Dp 2745p X 00 X 30 44 underscore Reset mode p XO01 X 31 Set Set reset ESC p 1B5Fp 2795p X 00 X 30 45 overscore Reset mode py 01 31 Set Additional 45 commands Set graphic ESC p 1B5Bp 2791p settings m 6D 109 Character ESC b 1B5Bp 2791 p 45 repetition 62 98 Graphical ESC 1B5Bp 27 91 p 45 change of size po SPB 3B p 20 59 po 32 42 66 Set national ESC 1 1B5Bp 27 91 p 45 version and Po W 77 59 po code page 119 Set national ESC p 1B5Bp 2791p 45 version 77 119 Set code page ESC p 1B 5B 27 91 59 49 w po 77 Po 119 Set character ESC p 1B 5 27 91 p 49 pitch and Po X 3B p 78 59 po select font 120 Programmer Reference Guide U26169 J Z716 1 7600 Font design IBM Proprinter emulation Command Control Hexa Decimal Remark See character decimal page sequence Select font ESC p x 1B5Bp 1B5Bp 51 78 78 Setprintquality ESC p4 1 5 2791 p 51 NLQ LQ SPX 20 58 32 88 Programmer Reference Guide U26169 J Z716 1 7600 Bitmap graphics IBM Proprinter emulat
85. ertical dots Each graphics line begins with the command that defines the graphics mode vertical and horizontal resolution A defined number of pixel items follows The number of columns is defined by parameters p2 and p3 7 6 B B B B B B B B lt 1 o 60 inc 4 4 o 4 4 od Figure 5 Vertical dot density 60 dpi Programmer Reference Guide U26169 J Z716 1 7600 Alternative graphics mode AGM IBM Proprinter emulation First Second Third data byte data byte data byte di d2 d3 B qe 1 180 inch 180 inch 4 ot oc o o o o o oq o o oq 4 4 4 4 4 4 4 4 4 B B B B B B B B B B B B 4 2 4 2 4 2 5 3 5 3 5 3 Figure 6 Vertical dot density 180 dpi Programmer Reference Guide U26169 J Z716 1 7600 Alternative graphics mode AGM IBM Proprinter emulation p4 defines the graphics mode Valid parameter values Dec Hex Meaning Number Compatible of ori Verti commands needles cal 0 00 Single density 8 60
86. f 100 Programmer Reference Guide U26169 J Z716 1 7600 Font design IBM Proprinter emulation Set national version and code page Control sequence Hexadecimal Decimal ESC p4 po 1B 5B p 3B 77 27 91 p 59 po 119 py 1 15 For national versions code pages p1 f r IBM SET 2 1 2 p 3 4 p 5 6 7 8 9 py 10 p 11 Py 12 py 13 py 14 U S A France Germany U K Denmark 1 Sweden Italy Spain 1 Japan Norway Denmark 2 Spain 2 Latin AM Turkey p1 for IBM CODE PAGE nm PAGE 437 PAGE 850 PAGE 860 PAGE 863 PAGE 865 PAGE 858 Euro character Programmer Reference Guide U26169 J Z716 1 7600 Font design IBM Proprinter emulation 2 dg do d three digits 0 0 0 0 6 6 6 7 1 2 3 1 IBM set 1 IBM set 2 IBM code page Epson EXT GCT Set national version Control sequence Hexadecimal Decimal ESC p4 w 1B 5B p4 77 27 91 p 119 See the command Set reset overscore mode for the setting of p Set code page Set character pitch and select font Control sequence Hexadecimal Decimal ESC pow 1B 5B 3B po 77 27 91 59 119 See the command Set reset overscore mode for the setting of p2 Contr
87. f digits The barcode pitch is 21 18 bars inch the bar is 0 021 inch nominal and the gap is 0 0255 inch The print quality LQ NLQ draft which determines the print speed can be programmed in the application using specific control characters Select barcode The following specifications are required before barcode symbols can be printed Barcode set selection Height and width of the bars and spaces Ratio of wide to narrow bars and spaces Barcode alignment horizontal vertical Current print position after printing Plain text line yes no These specifications can be made at ay time The information is retained until the printer is reset Normal text is not affected by these specifications The line pitch set for normal text remains unchanged The line pitch is set to 1 42 inch for the barcode to be printed Control char sequence Hexadecimal Decimal ESC P2 pa P4 05 p7 SP 2 1B 5B 3B pz p4 ps 3B pg 3B p 20 7A Programmer Reference Guide U26169 J Z716 1 7600 Select barcode Barcodes Po Specification of the barcode set whose characters are to be printed Values Horizontal Horizontal Vertical Vertical Barcode set barcode barcode barcode barcode without plain with plaintext without plain with plain text text text 101 201 301 401 Code 39 102 202 302 402 2 out of 5
88. h this command which defines the graphics mode vertical and horizontal resolution A defined number of pixel data items follows The number of columns is defined by parameters p2 and p3 Data B 7 IO o 4 4 ol Figure 7 Vertical dot density 60 dpi Programmer Reference Guide U26169 J Z716 1 7600 Bitmap graphics Epson LQ 2550 emulation First Second Third data byte data byte data byte di d2 d3 B7 Bg BsB4B4B5B4 Bo B7 Bg B B Bo 8185 84 83 88 Bo qe 1 180 inch 180 inch 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 Figure 8 Vertical dot density 180 dpi Programmer Reference Guide U26169 J Z716 1 7600 Bitmap graphics Epson LQ 2550 emulation p4 defines the graphics mode Valid parameter values Dec Hex Meaning Number dpi Compatible of hori verti commands needles 7ontal_ cal 0 00 Single density 8 60 60 ESC K 1 01 Double density 8 120 60 ESC L 02 Double density and 8 120 60 ESC Y high speed 1 3 03 Quadruple density 1 8 240 60 ESC Z 4 04
89. he expanded mode for one line is terminated by this control character mio Form feed FF A carriage return is also performed depending on the menu setting Control character Hexadecimal Decimal FF 0C 12 The paper is advanced to the next top of form position The contents of the line buffer are printed The expanded mode for one line is terminated by this control character mie A carriage return is also performed depending on the menu setting Programmer Reference Guide U26169 J Z716 1 7600 Forms transport Epson LQ 2550 emulation Relative vertical tabulation forward Conirol sequence Hexadecimal Decimal ESC J p4 1B 4A p4 27 74 p4 The vertical print position is moved down in g9 inch increments p1 Relative vertical movement in inch increments Range X 00xp lt XFF Relative vertical tabulation reverse Control sequence Hexadecimal Decimal The vertical print position is moved up in inch increments p4 Relative vertical movement in inch increments Range X 00xp lt Select vertical tabulation channel Control sequence Hexadecimal Decimal ESC 1B 2F p 27 47 pi This command selects the vertical tabulation channel that contains the vertical tab stops used by the Vertical tabulation command p4 Number of the vertical tabulation
90. hics IBM Proprinter emulation p4 defines the graphics mode Valid parameter values Dec Hex Mode Number Compatible of hori Verti commands needles cal 00 Single density 8 60 72 ESCK 1 01 Double density 8 120 72 ESCL 2 02 Double density and 8 120 72 ESC Y high speed 3 Quadruple density 8 240 72 ESCZ 4 04 CRT 1 8 80 72 5 05 Plotter 8 72 72 6 06 CRT 2 8 90 72 11 Double density 8 144 72 Plotter 1 32 20 Single density 24 60 180 B3 21 Double density 24 120 180 B8 26 CRT 3 24 90 180 39 27 Triple density 24 180 180 40 Sixfold density 1 B60 180 10 In this mode printing in adjacent columns is possible Po define the number of columns Number of columns po 256 Data Data bytes containing the dot information Programmer Reference Guide U26169 J Z716 1 7600 Bitmap graphics IBM Proprinter emulation Select single dot density graphics mode Control sequence Hexadecimal Decimal ESC K p po data 1B 4B p po data 27 75 py data The graphics data is transferred in columns A column contains 8 individual vertical dots see Select graphics mode This command causes a graphics line to be printed The horizontal resolution is 60 dpi and the vertical resolution is 72 dpi p1 Po define the number of columns Number of columns po 256 Data Data bytes containing the dot infor
91. ide not confirmed by start stop key but controlled by application Batch output rear side Programmer Reference Guide U26169 J Z716 1 7600 Forms transport mechanism Epson LQ 2550 emulation e 9016 printer Paper exit front side not confirmed by start stop key but controlled by application 1 0 Manual single form feed 1 bis 3 Ignored p 6 Ignored 1 7 Lower Tractor p42 8 bis 10 Ignored py 15 Ignored 2 0 AGC automatic gap control 02 1106 programmable copy control Print gap for 1 to 6 ply copies 0 Ignored 1 Paper exit front side confirmed by start stop key 2 3 Ignored Programmer Reference Guide U26169 J Z716 1 7600 Forms layout Epson LQ 2550 emulation Forms layout The dimensions of a form can be selected freely The following commands are available Set form length in lines Set form length in inches Set perforation skip mode Reset perforation skip mode Set left margin Set right margin Set form length in lines Conirol sequence Hexadecimal Decimal ESC C p 1B 43 p 27 67 This command specifies the physical form length in multiples of the current line spacing and sets the current vertical position as the first print line top of form The set form length is not affected by later changes of the line spacing P1 Form length in multiples of the current line spacing Range 0
92. ies 0 Ignored 1 Paper exit front side confirmed by start stop key Paper exit front side not confirmed by start stop key but controlled by application Batch output rear side Programmer Reference Guide U26169 J Z716 1 7600 Forms transport mechanism IBM Proprinter emulation e 9016 Printer Manual single form feed AGC automatic gap control PCC programmable copy control Print gap for 1 to 6 ply copies Paper exit front side confirmed by start stop key Paper exit front side not confirmed by start stop key but controlled by application 0 py 1 to Ignored 6 Ignored py 7 Lower tractor 1 810 10 Ignored py 15 Ignored Po 0 1 bis 6 0 Ignored 1 2 Programmer Reference Guide U26169 J Z716 1 7600 Forms layout IBM Proprinter emulation Forms layout The dimensions of the form can be selected freely The following commands are available Set form length in lines Set form length in inches Set perforation skip mode Reset perforation skip mode Set first print line Set left margin Set left and right margins Set form length in lines Control sequence Hexadecimal Decimal ESC C p 1B 43 p 27 67 pi This command specifies the physical page length in multiples of the current line spacing and sets the current vertical position as the first print line top of form The set page length i
93. ing A check digit is not required but should be used modulo 10 with a weighting of 3 The check digit must be programmed in the application The ratio of wide to narrow elements should be between 2 0 and 3 0 A ratio of 2 5 is recom mended for applications The code permits large tolerances between 15 and 20 The blank zone before and after the barcode symbol should be at least 10 times the width of a narrow element Programmer Reference Guide U26169 J Z716 1 7600 2 out of 5 Interleaved Barcodes 2 out of 5 Interleaved The character complement of the 2 out of 5 Interleaved code comprises 10 digits 0123456789 Start stop characters lt The number of characters is variable but must be even If the number of characters is odd a 0 is prefixed to make it even The start stop characters are programmed with the characters and Alternatively the characters and can be used as start stop characters In the plain text line the characters and or and are printed for start stop The symbol layout is self checking A check digit is not required If a check digit is to be used it must be programmed in the application and must be modulo 10 with a weighting of 3 The ratio of wide to narrow elements should be between 2 0 and 3 0 A ratio of 2 5 is recom mended for applications The blank zone before and after the barcode symbol should be at least 10 times the width of a narrow element
94. ingle sheet manual continuous forms tractor single sheet automatic envelope automatic Programmer Reference Guide U26169 J Z716 1 7600 Preface 9015 Needle Printer Convenient handling of paper is available with the 9015 printer Using tractor cassettes two continuous forms stacks can be inserted in a comfor table way A parking position for continuous forms handling is available There is no loss of sheets when you tear off continous forms Zero Tear Off Funk tion The printer offers a cut off feature Programmer Reference Guide U26169 J Z716 1 7600 Preface 9015 E Needle Printer The 9015 E needle printer offers the same attributes as the 9015 printer except from the cut off feature Additionally the 9015 E printer can optionally be equipped with a manual single sheet insertion Programmer Reference Guide U26169 J Z716 1 7600 Preface 9016 Needle Printer The fast high performance 9016 needle printer offers the handling of continouos forms tractor and optionally of single sheets manual insertion Programmer Reference Guide U26169 J Z716 1 7600 Target group Preface Target group The contents of this manual is intended for users who want to program printer output Familiarity with printer programming is required Summary of contents This manual describes the control characters of the following Epson and IBM Proprinter
95. ion Bitmap graphics Command Control Hexa Decimal Remark See sequence decimal page Select ESC 182 27 42 Graphics mode 52 graphics ps P2 Number of mode data data data columns Select single ESC Kp 1B4Bp 27 75 Number of 55 dot density data data data columns graphics mode Select double ESCL p 1 4 2776 4 p Number of 55 dot density data gt data data columns graphics mode Select double ESC 1859 27 89 po Number of 55 dot density data data data columns and double speed graphics mode Select ESC Zp 1B5Ap 27 90 Number of 57 quadruple data data data columns dot density graphics mode Select 9 1858 67 2791 103 p p Number of 58 graphics P1 P2 P2 P1 P2 P3 graphics data mode data data data bytes 1 expanded Graphics mode Programmer Reference Guide U26169 J Z716 1 7600 Miscellaneous commands IBM Proprinter emulation Miscellaneous commands Command _ Control Hexa Decimal Remark See sequence decimal page Set default ESC R 1B 52 27 82 61 tab stops Transparent ESC p 1B5Ep 27 94 Character 61 print data for code one character Transparent ESC 1B 5C 27 92 No 2 256 62
96. it 8 Code 93 The character complement of the Code 93 code comprises 10 digits 0123456789 26 letters ABCDEFGHIJKLMNOPQRSTUVWXYZ 7 special characters Space 96 4 control characters X 67 in ISO 7 bit or X 87 in EBCDIC X 68 in ISO 7 bit or X 88 in EBCDIC D X 69 in ISO 7 bit or X 89 in EBCDIC X 6A in ISO 7 bit or X 91 in EBCDIC 1 start character X 61 in ISO 7 bit or X 81 in EBCDIC X 65 in ISO 7 bit or X 85 in EBCDIC 1 stop character The number of characters is variable The start stop characters are programmed with the characters e g a e Programmer Reference Guide U26169 J Z716 1 7600 Code 93 Barcodes In the plain text line the special characters are printed for start stop All characters including the start stop control and check characters are also printed in the plain text line The symbol layout is not self checking Two check digits C and K are required and must be programmed in the application The modulo 47 check digit layout is for the check digit C with a weighting of 1 to 10 for the check digit K with a weighting of 1 to 15 The barcode height should be 15 of the barcode length or 0 25 inch whichever is greater The blank zone before and after the barcode symbol should be at least 10 times the width of a narrow element Reference table for check digit calculation 1 2 4 5 le 7 8 9 JA B C
97. ize SC 9 1 Dg 3 Size SC 31 1 SC 3 SC SC 9 refer to the DIN standard The ratio of wide to narrow is fixed with Code 93 MSI Mod 10 10 and Code 128 is thus not required and is ignored POSTNET does not require the parameters p4 and pg Programmer Reference Guide U26169 J Z716 1 7600 Barcodes pz Define the print direction uni or bi directional 0 uni directional printing standard uni directional printing in LQ p 2 bi directional printing in LQ p 3 uni directional printing in NLQ p7 4 bi directional printing in NLQ A If p7 is not defined the standard value uni directional is valid The parameter UNI DIRECT CMD needs to be set via operator panel or ESC sequence whenever a switch between uni directional and bi directio nal printing is intended In the following examples the parameter is not used So the printing direction is uni direc tional Programmer Reference Guide U26169 J Z716 1 7600 Set reset barcode mode Barcodes Set reset barcode mode Mode Control sequence Hexadecimal Decimal Set ESC 0h 1B 5B 3F 30 68 27 91 63 48 104 Reset ESC 01 1B 5B SF 30 6C 27 91 63 48 108 1 This letter is a small L The printing of barcode symbols is set or reset with this control character allowed within Programming examples Code 39 Programming Barcode header header Example
98. l The default character complement of the printer contains eleven fonts Further fonts can be plugged in with a PROM on the PM personality module p1 defines the font Valid parameter values Dec Hex Meaning 0 00 Roman 1 01 Sans Serif 2 02 Courier 3 03 Prestige 4 04 Script 5 05 OCR B 6 06 OCR A 7 07 Orator C 8 08 Orator The OCR A and OCR B fonts are machine readable fonts Machine readability is 1 ensured only if the character pitch is 10 cpi Programmer Reference Guide U26169 J Z716 1 7600 Font design Epson LQ 2550 emulation Select national version Conirol sequence Hexadecimal Decimal 1B 52 p 27 82 p This command allows switching between national versions anywhere within the text In the initial condition the printer uses the national version selected in the menu p1 defines the national version Valid parameter values Dec Hex Meaning 0 00 USA 1 01 France 2 02 Germany 3 03 Great Britain 4 04 Denmark 1 5 05 Sweden 6 06 Italy 7 07 Spain 1 8 08 Japan 9 09 Norway 10 0A Denmark 2 11 0B Spain 2 12 0C Latin America 13 OD Turkey 64 40 Legal Programmer Reference Guide U26169 J Z716 1 7600 Font design Epson LQ 2550 emulation Select character set Conirol sequence Hexadecimal Decimal 1B 74 p 27 116 p This command allows switching between ch
99. lation Command Control Hexa Decimal Remark See sequence decimal page Define user ESC 4 1B 26 00 27 3800 Code location 102 defined NUL First character characters P1 Po 05 P5 Po Code location P5 data data Last character data Leading blank columns Number of dot columns 05 Trailing blank columns data Dot information Select print ESC xp 1B78p 27120p p1 X 00 X 30 105 quality DRAFT pl XO01 X 31 LQ NLQ Select ESCqp 1B71p 27 113 p Valid values 105 character X 00 Normal style X 01 Outline 02 Shadow X O3 Outline shadow Set italics ESC 4 1B 34 27 52 106 mode Reset italics ESC 5 1B 35 27 53 106 mode Set boldface ESC E 1B 45 27 69 106 mode Reset ESCF 1B 46 27 70 106 boldface mode Set double ESCG 1B 47 27 71 106 strike mode Resetdouble ESC H 1B 48 27 72 106 strike mode Programmer Reference Guide U26169 J Z716 1 7600 Font design Epson LQ 2550 emulation Command Control Hexa Decimal sequence decimal page Set ESC 5 1B53p 2783p 00 30 107 subscript Superscript superscript py X01 X31 mode Subscript Reset ESC T 1B 54 27 84 107 subscript superscript mode Set Sl OF 15 108 condensed Escs 1BOF 2715 mode Reset DC2 12 18 108 condensed mode Set SO OE 14 108 expanded egcso 1BOE 2714
100. ldface mode Reset boldface mode Set double strike mode Conirol sequence Hexadecimal Decimal ESC 4 1B 34 27 52 Conirol sequence Hexadecimal Decimal ESC 5 1B 35 27 53 Control sequence Hexadecimal Decimal ESC 1B 45 27 69 Conirol sequence Hexadecimal Decimal ESC 1B 46 27 70 Conirol sequence Hexadecimal Decimal ESC G 1B 47 27 71 Reset double strike mode Conirol sequence Hexadecimal Decimal ESC H 1B 48 27 72 Programmer Reference Guide U26169 J Z716 1 7600 Font design Epson LQ 2550 emulation Set subscript superscript mode Conirol sequence Hexadecimal Decimal ESC Sp 1B 53 p This command causes reduced size characters to be superscripted i e printed as exponents or subscripted i e printed as indices Superscripted characters exponents are printed approx 15 line Subscripted characters indices are only reduced in size and printed on the base line p1 defines the subscript or superscript mode Parameter values Reset subscript superscript mode Dec Hex Meaning 0 00 Set superscript mode 1 01 Set subscript mode 48 30 Set superscript mode 49 31 Set subscript mode 1 The menu setting must be INDEX EXPONENT see 2 Conirol sequence Hexadecimal Decimal ESC T 1B 54 27 84 Resets the subscript superscript function
101. lute vertical tab location depends on the current line spacing The line count begins with one at the first print line see Set first print line The set vertical tab stops are not affected by later changes of the line spacing All vertical tab stops are reset if no parameters are specified ESC B NUL Dk Vertical tab stops in lines 1 lt k lt 64 Range X 01xpy lt X FF Vertical tabulation Control character Hexadecimal Decimal VT OB 11 This control character causes vertical tabulation to the next vertical tab stop Vertical tabulation is possible anywhere within a line Repeated specification of this control character causes vertical tab stops to be skipped If you transfer VT VT VT for example the printer positions the print head to the third vertical tab stop If no tab stops are set this control character causes a line feed This control character terminates the expanded mode for one line A carriage return is also performed depending on the menu setting Programmer Reference Guide U26169 J Z716 1 7600 Forms transport IBM Proprinter emulation Additional commands Load line spacing Control sequence Hexadecimal Decimal ESC 1B 5B p 7B 27 91 p 123 This command loads and sets the line spacing Valid values 1 2 3 4 6 8 12 16 24 48 60 72 90 144 180 360 Reset tab stop Control sequence He
102. mal The left margin is set to the right edge of the specified column The first column of a line is column 1 The set left margin is not affected by later changes of the character pitch The left margin must be selected so that at least 4 4 inch remain as print area between the left and right margins This command must be located at the beginning of the line p1 Left margin in columns at the current character pitch Range X00 lt p4 lt Set right margin Control sequence Hexadecimal Decimal ESC Q p 1B 51 p4 27 81 p4 The right margin is set to the right edge of the specified column The first column of a line is column 1 The set right margin is not affected by later changes of the character pitch The right margin must be selected so that at least ar o inch remain as print area between the left and right margins This command must be located at the beginning of the line p4 Right margin in columns at the current character pitch Range X 04 xp lt Programmer Reference Guide U26169 J Z716 1 7600 Forms transport Epson LQ 2550 emulation Forms transport The following commands affect paper movements e Set 8 lpi e Set6 e Set 50 inch line spacing mode e inch line spacing mode e 36 inch line spacing mode e Linefeed LF e Form feed FF e Relative vertical tabulation forward e Relative vertical tabulation reverse e Sel
103. mal ESC P 1B 50 27 80 The character pitch is set to 10 cpi Set 12 cpi Elite Conirol sequence Hexadecimal Decimal ESC 1B 4D 2777 The character pitch is set to 12 cpi Programmer Reference Guide U26169 J Z716 1 7600 Print carriage movements Epson LQ 2550 emulation Set 15 cpi Conirol sequence Hexadecimal Decimal ESC g 1B 67 27 103 The character pitch is set to 15 cpi Set reset proportional spacing mode Conirol sequence Hexadecimal Decimal ESC pp 1B 70p 27 112 p In the proportional spacing mode the character width differs An i for example is narrower than an m Proportional spacing is possible with all fonts except the OCR fonts When the proportional mode is reset the previously set character pitch becomes effective again p1 sets resets the proportional spacing mode Valid parameter values Meaning Dec Hex 0 00 1 01 48 30 49 31 Reset proportional spacing mode Set proportional spacing mode Reset proportional spacing mode Set proportional spacing mode Programmer Reference Guide U26169 J Z716 1 7600 Print carriage movements Epson LQ 2550 emulation Set character spacing mode Conirol sequence Hexadecimal Decimal ESC SP p 27 32 p This command sets the space between characters spaced mode The space depends on the selected print quality p4 Space in
104. mation Select double dot density graphics mode Control sequence Hexadecimal Decimal ESC L p po data 1B 4C p p data 76 py data The graphics data is transferred in columns A column contains 8 individual vertical dots see Select graphics mode This command causes a graphics line to be printed The horizontal resolution is 120 dpi and the vertical resolution is 72 dpi p1 Po define the number of columns Number of columns po 256 Data Data bytes containing the dot information Programmer Reference Guide U26169 J Z716 1 7600 Bitmap graphics IBM Proprinter emulation Select double dot density and double speed graphics mode Control sequence Hexadecimal Decimal ESC Y p po data 1B 59 p po data 89 p data The graphics data is transferred in columns A column contains 8 individual vertical dots see Select graphics mode This command causes a graphics line to be printed with double speed The horizontal resolution is 120 dpi and the vertical resolution is 72 dpi p1 Po define the number of columns Number of columns po 256 Data Data bytes containing the dot information In this mode printing in adjacent columns is not possible Programmer Reference Guide U26169 J Z716 1 7600 Bitmap graphics IBM Proprinter emulation Select quadruple dot density graphics mode Control sequence Hexadecimal Decimal
105. ments Epson LQ 2550 emulation Print carriage movements The following commands affect the print carriage movements Carriage return Space Backspace Set 10 cpi Set 12 cpi Set 15 cpi Set reset proportional spacing mode Set character spacing mode Absolute horizontal tabulation Relative horizontal tabulation Set horizontal tab stops Horizontal tabulation Set print direction bidirectional or unidirectional Set unidirectional print mode for one line Select text alignment Carriage return Control character Hexadecimal Decimal CR 0D 13 The print carriage moves to the beginning of the line left margin The character following CR is printed as the first character of the line i A line feed may be performed in addition to the carriage return depending on the menu setting When writing new application programs take care to terminate each line with LF and CR Programmer Reference Guide U26169 J Z716 1 7600 Print carriage movements Epson LQ 2550 emulation Space Control character Hexadecimal Decimal SP 20 32 A space is printed using the set or programmed character pitch In the expanded and spaced modes the space width is increased accordingly Backspace Control character Hexadecimal Decimal BS 08 08 The print head is backsaced one space width Set 10 cpi Pica Conirol sequence Hexadecimal Deci
106. mer Reference Guide U26169 J Z716 1 7600 Centronics Interfaces Parallel Centronics interface Pin assignment Pin Signal Explanation Direction name from to printer 1 STROBE When the signal is set to logical zero x data byte DATA 1 DATA 8 is stored in the printer buffer 2 DATA 1 Data line LSB X 3 DATA 2 Data line X 4 DATA 3 Data line X 5 DATA 4 Data line X 6 DATA 5 Data line X 7 DATA 6 Data line X 8 DATA 7 Data line X 9 DATA 8 Data line MSB X 10 ACKN The printer indicates that it has receiveda x character or a control character and that it is ready to receive another character by setting this signal to zero 11 BUSY The printer cannot accept further data when x this signal is 1 12 PE Is set to 1 under the following conditions X No paper Paper out Paper jam 13 SELECT This signal is always It indicates that x the printer is always online and ready 31 INIT When this signal goes to zero the ACKN X signal of the printer is set to one 32 FAULT This signal is always one It only goes to X zero when the printer is turned off Programmer Reference Guide U26169 J Z716 1 7600 Centronics Interfaces Protocol description After power on the PE signal goes to zero The SELECT signal and the FAULT signal become one Timing The host sets the data lines DATA 1 DATA 8 according to the character to be transferred Afte
107. n the menu setting Programmer Reference Guide U26169 J Z716 1 7600 Forms transport IBM Proprinter emulation Reverse line feed Control sequence Hexadecimal Decimal ESC 1B 5D 27 93 ESC M 1B 4D 27 77 The reverse line feed is performed using the current line spacing The contents of the line buffer are printed Form feed FF Control sequence Hexadecimal Decimal FF 0C 12 The paper is advanced to the next top of form position The contents of the line buffer are printed and a carriage return is performed This control character terminates the expanded mode for one line Relative vertical tabulation forward Control sequence Hexadecimal Decimal 7 74 The vertical print position is moved down by 16 inch depending on the line spacing unit see Set line spacing unit The default is 54g inch p4 Relative vertical movement in 546 inch gq inch increments Range X 00 lt p lt XFF Programmer Reference Guide U26169 J Z716 1 7600 Forms transport IBM Proprinter emulation Set vertical tab stops Control sequence Hexadecimal Decimal ESC B p p NUL 1B 42 p 00 27 66 p Pk 00 A maximum of 64 vertical tab stops can be set Previously set vertical tab stops are reset The vertical tab stops must be defined in ascending order in lines The abso
108. o ON when the printer exits from the Stop mode and at least 512 bytes are free in the printer buffer Programmer Reference Guide U26169 J Z716 1 7600 V 24 RS 232 C Interfaces X ON X OFF protocol The following signal lines are used AB E2 102 SG Signal Ground CD 51 2 108 2 DTR Data Terminal Ready X Designation Explanation Direction Pin EIA DIN CCITT Homo printer 1 AA E1 101 PG Protective Ground 2 BA D1 103 TXD Transmit Data X 3 BB D2 104 RXD Receive Data X 5 CB M2 106 CTS Clear to Send X 6 CC M1 107 DSR Data Set Ready x 7 20 After power on the DTR signal and the RTS signal are set to ON positive level When the host sets the DSR and CTS signals to ON the printer sends an X ON signal to the host The printer is then ready to receive The data flow is controlled with the control characters DC1 X ON and DC3 X OFF The printer sends the control character DC1 to the host when it is ready to receive Ready to receive means Power on 512 bytes free in the printer buffer The printer sends the control character DC3 to the output system 255 bytes before Printer buffer full If further data is sent to the printer after the control character it sends a second DC3 to the printer 128 bytes before buffer overflow The control characters are sent in the sequence DC1 DC3 DC1 DC3 etc The only exception in the sequence is the second DC3 before buffer overflow Program
109. ogrammer Reference Guide U26169 J Z716 1 7600 Print carriage movements IBM Proprinter emulation Horizontal tabulation Control character Hexadecimal Decimal HT 09 09 This control character may be located anywhere within a line and causes tabulation to the next horizontal tab stop Repeated specification of this control character causes horizontal tab stops to be skipped If you transfer HT HT HT HT for example the printer positions the print head to the fourth horizontal tab stop Conditions for horizontal tabulation e Atleast one horizontal tab stop must be set e The printer ignores the control character if no horizontal tab stops are set or if tabulation exceeds the end of the line e Ifthe printhead is on a set horizontal tab stop the next horizontal tab stop is accessed Set print direction bidirectional or unidirectional Control sequence Hexadecimal Decimal Unidirectional printing should be used if high positioning precision is required e g in the graphics mode The default is bidirectional printing p1 defines the print direction Valid parameter values Dec Hex Meaning 0 0 Bidirectional print direction 1 1 Unidirectional print direction 48 30 Bidirectional print direction 49 91 Unidirectional print direction The command is ignored if the menu setting does not permit unidirectional printing see 2 Programmer Referenc
110. ol sequence Hexadecimal Decimal ESC p4 P2 X 1B 5B p 3B p 78 27 91 py 59 p 120 pi 1 Data py 2 Roman py 3 Sans Serif py 4 Courier 75 Prestige Programmer Reference Guide U26169 J Z716 1 7600 Font design IBM Proprinter emulation p 6 Script py 77 OCR B p 8 OCR A p 9 Orator C p 10 Orator p 11 Data Block p 12 Data Large 1 10 cpi Po 2 12 cpi Po 3 15 cpi Po 4 Proportional P2 5 Proportional 2 6 14 4 cpi Do 7 18 cpi P2 8 17 1 cpi 2 9 20 cpi Programmer Reference Guide U26169 J Z716 1 7600 Font design IBM Proprinter emulation Select font Control sequence Hexadecimal Decimal ESC p x 1B 5B p 78 27 91 p 120 See the command Set character pitch and select font for the setting of p Set print quality NLQ LQ Control sequence Hexadecimal Decimal ESC p SP X 1B 5B p 20 58 27 91 p 32 88 p 0 LQ p 21 NLQ This is only valid if the NLQ type style is available Programmer Reference Guide U26169 J Z716 1 7600 Bitmap graphics IBM Proprinter emulation Bitmap graphics The following commands are available e Select graphics mode e Select single dot density graphics mode e Select double dot density graphics mode e Select double dot density and double speed graphics mode e Select quadruple dot density graphics mode e Select graphics mod
111. ons Multiplied by 2 Sum of digits Sum of the even positions of the original number and sum from the last step Modulo 10 Difference from 10 is the check digit Check digit UPC A and UPC E Co 2 4 6 4 2464 x 2 4928 4 9 2 8 23 1 3 5 7 23 39 39 mod 10 9 39 1110 3 rem 9 10 9 1 1 The number of characters in the UPC A and UPC E codes is fixed and is eight digits for UPC E and twelve digits for UPC A The border and separator characters are automatically generated by the printer UPC A The UPC A code has the following layout digit as the system identifier 0 Standard consumer goods 2 Goods marked in store 3 Pharmaceutical and medical supplies 5 Coupons Five digits for the manufacturer number Five digits for the product number One check digit Programmer Reference Guide U26169 J Z716 1 7600 Code 128 EAN 128 Barcodes UPC E The UPC E code is a compressed version of UPC A with zero suppression in specific digit sequences Suppression of four consecutive zeros begins from the sixth digit from the left Zero suppression must be performed by the application Example 012345000065 without zero suppression 01234565 with zero suppression All digits except the system identifier and check character are printed in plain text The symbol layout is self checking A check digit is required Check digit calculation is performed modulo 10 with a weighting
112. oprinter emulation Miscellaneous commands e Set default tab stops e Transparent print data for one character e Transparent print data for several characters e Automatic line feed e Set printer online e Set printer offline e Clear line buffer e Delete character e NUL function e Additional commands Set default tab stops Control sequence Hexadecimal Decimal ESC 1B 52 27 82 This command causes a horizontal tab stop to be set in every eighth column All set vertical tab stops are reset Transparent print data for one character Control sequence Hexadecimal Decimal ESC p1 1B 5E 94 1 The character in the specified code location is printed Characters defined non printing characters can also be printed e g characters between X 00 and X 20 Every transparent print data byte is interpreted as an individual character code If no character is defined for a character code a space is printed Programmer Reference Guide U26169 J Z716 1 7600 Miscellaneous commands IBM Proprinter emulation Transparent print data for several characters Control sequence Hexadecimal Decimal ESC p2 1B 5C p p2 27 92 p1 po This command enables printing the characters in all code locations Characters defined as non printing characters can also be printed e g characters between X 00 and X 20
113. p 2778p 1 lt lt 7F 80 skip mode in lines Reset perfo ESC O 1B 4F 27 79 81 ration skip mode Set left margin ESC p 1B6Cp 27108p X 00 lt p lt X FC 81 in columns Set right ESC 1B51p 2781 X 04 lt p lt X FF 81 margin in columns Programmer Reference Guide U26169 J Z716 1 7600 Forms transport Epson LQ 2550 emulation Forms transport Command Control Hexa Decimal Remark See sequence decimal page Set 8 Ipi ESC 0 1B 30 27 48 82 Set 6 Ipi ESC2 1B 32 27 50 82 Set go inch ESCAp 1B 41 p 27 65 X 00 lt py X 7F 83 line spacing mode Set 1 80 ESC 1B33p 27 51 py X 00 lt p4 X FF 83 inch line spacing mode Set 360 ESC p 1B2Bp 27 43 pt X 00 lt py X FF 84 inch line spacing mode Line feed LF 0A 10 84 Form feed FF 0 12 84 Relative ESC 1B4Ap 27 74 X 00 lt p4 lt X FF 85 vertical in 1gg inch tabulation increments forward Relative ESC 1B6Ap 27 106 00 lt lt X FF 85 vertical in 1gg inch tabulation increments reverse Select ESC p 1B 2 p 27 47 X 00 lt p4 lt X 07 85 vertical tabulation channel Set vertical ESC 1B 42 27 66 86 tab stops p4 NUL 00 00 Set vertical ESC bp 1B62p 27 98 87 tab stops in po Po Po Dk channel NUL 00 00 Programmer Reference Gui
114. r a timeout of 0 5 microseconds the host sends a STROBE pulse with a length of at least 0 5 microseconds The character is stored in the printer buffer and the printer sends a BUSY signal to the host When the data byte is stored completely in the printer buffer the printer sends BUSY and an ACKN signal to the host The ACKN signal informs the host that a data byte has been received and that the printer is ready to receive another character When the printer buffer is full the BUSY signal is not reset to stop the data stream from the host The BUSY signal is reset only when at least 256 bytes are free in the printer buffer When the Stop button is pressed the BUSY signal remains one and the ACKN signal is not sent If at least 256 bytes are free in the printer buffer pressing the Start button causes the BUSY signal to be reset and an ACKN signal to be sent to the host Programmer Reference Guide U26169 J Z716 1 7600 Centronics Interfaces DATA 1 8 STROBE BUSY ACKN DATA lt 0 515 lt 0 53 3501 MAX 4 0 5us gt Figure 9 Timing of the Centronics interface Programmer Reference Guide U26169 J Z716 1 7600 Use with two interfaces Interfaces Use with two interfaces The Both interfaces active mode can be selected in the menu see 2 In this mode the printer buffer is subdivided into two parts wi
115. re and after the barcode symbol The size of the blank zones is barcode specific The minimum sizes must be observed and must be provided by the application by positioning control functions before and after the barcode symbol Two horizontal barcode symbols side by side Programming Barcode header ESC n2 n3 n4 n5 SP 2 Example ESC 201 7 0 0 1 SP 2 Set barcode mode ESC 0h Data CODE 39 Reset barcode mode ESC 01 Blank zone SP SP SP Set barcode mode ESC 0h Data CODE 39 Reset barcode mode ESC 01 1 This letter is a small L Printout C ODE C OD E Programmer Reference Guide U26169 J Z716 1 7600 Programming examples Barcodes Two horizontal barcode symbols one beneath the other Programming Barcode header Example Set barcode mode Data Reset barcode mode Specify spacing Set barcode mode Data Reset barcode mode 1 This letter is a small L ESC n2 ESC 201 ESC 0h CODE 39 ESC 01 CRLF LF LF LF LF LF LF ESC 0h CODE 39 01 n3 n4 0 n5 SP 2 1 SP z Printout C ODE 3 9 C OD E 9 Programmer Reference Guide U26169 J Z716 1 7600 Programming examples Barcodes Two vertical barcode symbols side by side Programming Barcode header Example Set barcode mode Data Re
116. re provided for coding the start and stop characters Start character a b c d or s hexadecimal 61 62 63 64 or 73 Stop character e or f hexadecimal 65 or 66 Programmer Reference Guide U26169 J Z716 1 7600 MSI Mod 10 10 Barcodes The control characters are coded as follows hexadecimal 67 hexadecimal 68 hexadecimal 69 hexadecimal 6A The control characters are printed in plain text within a closed circle MSI Mod 10 10 The character complement of the MSI Mod 10 10 code comprises 10digits 0123456789 1 start character 5 X 3A in ISO 7 bit or in EBCDIC 1 stop character X 3B in ISO 7 bit or X 5E in EBCDIC The number of characters is variable The start stop characters are programmed with the characters and In the plain text line these characters are printed for start stop A check digit is required and must be programmed in the application and must be modulo 10 from a checksum generated in several stages The ratio of wide to narrow elements is fixed and is always 2 1 The blank zone before and after the barcode symbol should be at least 10 times the width of a narrow element Programmer Reference Guide U26169 J Z716 1 7600 UPC A and UPC E Barcodes Example of check digit calculation Plain text 1 3 6 1 Plain text w o check digit Check digit New number generated from odd positi
117. ring long breaks and on completion of work Note on dealing with consumables Please dispose of printer consumables and batteries in accordance with local government regulations Note on labeling plastic housing parts Please avoid sticking your own labels on plastic housing parts wherever possible since this makes it difficult to recycle them Take back recycling and disposal For details on take back and reuse of devices and consumables within Europe contact your Siemens branch office subsidiary or our recycling center in Paderborn Tel 49 5251 8180 10 Fax 49 5251 8180 15 Further information on environmental protection The Siemens AG representative for environmental protection will be pleased to answer any further questions you may have concerning environmental protection Siemens AG Environmental Protection Werner von Siemens StraBe 6 86159 Augsburg Tel 49 821 599 2999 Fax 49 821 599 3440 Programmer Reference Guide U26169 J Z716 1 7600 Index A absolute horizontal positioning 38 absolute horizontal tabulation Epson LQ 2550 92 absolute vertical positioning 38 AGM mode IBM Proprinter 65 automatic line feed IBM Proprinter 62 B backspace Epson LQ 2550 90 IBM Proprinter 33 barcode 2 out of 5 Industrial 135 2 out of 5 Interleaved 136 Codabar 137 Code 128 144 Code39 134 Code 93 139 EAN 128 144 EAN 13 137 EAN 13 Add on 139 EAN 8 137 EAN 8 Add on 139 POSTNET 145 select 146 set reset 1
118. rogrammer Reference Guide U26169 J Z716 1 7600 OCR A Character set tables Programmer Reference Guide U26169 J Z716 1 7600 Character set tables ISO 8859 1 ISO 8859 1 U26169 J Z716 1 7600 Programmer Reference Guide Code tables ISO 7 bit code international version 0 1 2 3 4 5 6 7 0 NUL IDLE SP 0 P 0 1 DC1 1 A q 1 2 STX DC2 2 B R b r 2 3 ETX DC3 3 C 5 5 3 4 EOT DC4 4 D T d t 4 5 ENQ NAK 5 E U 5 6 SYN amp 6 V f V 6 7 BEL ETB 7 W 7 8 BS 8 H X h X 8 9 HT EM 9 i y 9 A LF SUB J Z 2 B VT ESC K k B C FF 154 lt L CR IS3 M m D E SO 152 N n E F SI 151 O o DELF 0 1 2 3 4 6 7 Example The letter A has the code 41 ISO 7 bit code Programmer Reference Guide U26169 J Z716 1 7600 Code tables ISO 7 bit code German national version 0 1 2 3 4 5 6 7 0 NUL DLE SP o p 0 1 DC1 1 A q 1 2 STX DC2 2 B b ir 12 3 ETX DC3 3 5 3 4 EOT DC4 4 T 4 5 NAK 5 Je 5 6 ACK SYN amp 6 V f V 6 7 BEL ETB
119. rol sequence Hexadecimal Decimal DC4 14 20 This function only resets expanded mode set with the SO command Programmer Reference Guide U26169 J Z716 1 7600 Font design IBM Proprinter emulation Set character size and line spacing Control sequence Hexadecimal Decimal ESC 9 EOT NUL NUL NUL 1B 5B 40 04 00 00 00 27 91 64 04 00 00 00 P2 p1 P2 Pi 22 This command defines the line spacing the character height and the character width p1 The left half byte defines the line spacing and the right half byte the character height The left and right half bytes must be added Valid parameter values for the left half byte Dec Hex Meaning 00 00 No change of line spacing 16 10 Single character height line spacing B2 20 Double character height line spacing 48 BO Triple character height line spacing 64 40 Quadruple character height line spacing Valid parameter values for the right half byte Dec Hex Meaning 00 00 No change of character height 01 01 Single character height 02 02 Double character height 03 03 Triple character height 04 04 Quadruple character height Po defines the character width Valid parameter values Dec Hex Meaning 00 00 No change of character width 01 01 Single character width 02 02 Double character width 03 03 Triple character width 04 04 Quadruple chara
120. s For network connections the following interface module is available 90152 LE2 Ethernet LAN connection for Epson LQ 2550 and IBM Proprinter emula tion The printer is also available with the ECMA emulation with one of the following interface modules 90152 11 with SS97 RS 422 A and V 24 RS 232 C 90152 15 with SS97 RS 422 A V 24 RS 232 C and BAM controller 90152 LE1 Ethernet LAN connection for ECMA emulation The functions of the ECMA emulation are described in a separate Programmer s Reference Guide 1 9016 printer interface modules With the 9016 printer the serial RS 232 C RS 422 and the Centronics interface for the IBM Proprinter and Epson LQ 2550 emulation are integrated Since this equipment of the 9016 printer is equivalent to the 9014 12 and 90152 12 printer types the printer is referred to below as the 9016 12 Programmer Reference Guide U26169 J Z716 1 7600 Technical data Technical data and printer options Technical data The following table lists the major technical data of the printer that is relevant to programmers Printing system Print head with 24 needles Print direction Bidirectional with logic seeking Print matrix 24 x 36 letter quality LQ 12 x 36 near letter quality NLQ 12 x 12 draft DRAFT Printing rate characters per second 175 letter quality LQ 350 near letter quality NLQ 700 draft DRAFT Prin
121. s 146 i P4 5 P2 59 p3 59 p4 SP 2 p4 3B P5 3B 59 Ps 59 pe 20 7A 32 122 Set reset Set 150 barcode ESC 0h 1 5 30 27 91 63 68 48 104 Reset ESC 01 1B5B3F30 27 91 63 6C 48 108 Programmer Reference Guide U26169 J Z716 1 7600 Miscellaneous commands Epson LQ 2550 emulation ESC P2 commands Befehl Steuer Hexa Dezimal Bemerkung Beschrei zeichen dezimal bung folge Seite Set for 1B2863p 274099 page 127 mat P5 2 P3 Ps P2 P3 P5 Set page ESC Cp 1B2843p 274067p page 128 length in defi po P2 P2 ned units Set absolute ESC Vp 1B2856p 274086p page 128 vertical print Po P2 2 position Relative verti ESC vp 1 28 76 27 40 118 page 129 kale Druckpo Po P3 sition festlegen Select font by ESC X p 1B 58 p po 2788p4 po page 129 pitch and point po Set unit ESC Up 1B 2855p 274085p page 130 Po Po 02 Set horizontal ESC c p 1B 63 p p2 27 99 p po page 130 Motion Po index HMI Assign charac ESC tp 1B2874p 27 40 116 page 131 ter table Po Po P2 Select charac ESC t p 1B 74 p 27 116 page 131 ter table Print data ESC p 1B285Ep 27 40 94 page 132 characters po Daten
122. s not affected by later changes of the line spacing P1 Form length in multiples of the current line spacing Range X 01zp xX 7F The minimum valid form length is 3 inches and the maximum is 22 inches Programmer Reference Guide U26169 J Z716 1 7600 Forms layout IBM Proprinter emulation Set form length in inches Control sequence Hexadecimal Decimal ESC C NUL p 1B 43 00 p 27 67 00 p This command specifies the physical page length in inches and sets the current vertical position as the first print line top of form p4 Form length in inches Range lt lt 16 The minimum valid form length is 3 inches and the maximum is 22 inches Set perforation skip mode Control sequence Hexadecimal Decimal The perforation area is specified as a number of lines at the current line spacing It is skipped at the end of every page The perforation area is not affected by later changes of the line spacing The perforation area should be selected so that at least 4 inch remain as print area If you change the first line top of form the perforation area moves accordingly p4 Perforation area in lines at the current line spacing Range X 00xp xXFF Programmer Reference Guide U26169 J Z716 1 7600 Forms layout IBM Proprinter emulation Reset perforation skip mode Set first print line Control sequence Hexadecimal Decimal ESC 1B
123. set barcode mode SP SP SP ESC 0h CODE 39 Horizontal position Set barcode mode Data Reset barcode mode 1 This letter is a small L Printout ESC n2 n8 n4 n5 ESC 5401 7 0 50 ESC 0h CODE 39 ESC 01 5 701 F 1 SPz SP 2 3 9 C OD E 3 9 C OD E Programmer Reference Guide U26169 J Z716 1 7600 Programming examples Barcodes Two vertical barcode symbols one beneath the other Programming Barcode header Example Set barcode mode Data Reset barcode mode CRLF LF LF LF LF LF LF LF LF LF LF LF ESC 0h CODE 39 Specify spacing Set barcode mode Data Reset barcode mode 1 This letter is a small L Printout ESC n3 n4 ESC ESC 0h CODE 39 n6 SP 401 7 0 0 1 SP ESC 01 ESC 01 2 2 3_ 9 C ODE 3 9 C ODE Programmer Reference Guide U26169 J Z716 1 7600 Format of EAN number Barcodes Format of the 13 digit standard EAN number Example of the format of an EAN number European Article Numbering Country Standard company Manufacturer s Check digit code number bbn article number 40 12345 20375 2 FRG coorganization Company name Item and 99 center and address packing unit reliability Check digit generation in the above example 1
124. t print line IBM Proprinter 24 font 13 98 select Epson LQ 2550 98 font design Epson LQ 2550 97 IBM Proprinter 39 forms layout Epson LQ 2550 79 layout IBM Proprinter 22 length in inches Epson LQ 2550 80 length in inches IBM Proprinter 23 length in lines Epson LQ 2550 79 length in lines IBM Proprinter 22 transport Epson LQ 2550 82 transport IBM Proprinter 26 transport mechanism Epson LQ 2550 73 transport mechanism IBM Proprinter 17 G graphical change of sizes 47 graphics mode double dot density IBM Proprinter 55 double dot density and double speed IBM Proprinter 56 quadruple density IBM Proprinter 57 reassign Epson LQ 2550 120 select Epson LQ 2550 117 select expanded IBM Proprinter 58 select IBM Proprinter 52 single dot density IBM Proprinter 55 single dot density IBM Proprinter 55 H horizontal tab stops Epson LQ 2550 94 horizontal tabulation absolute Epson LQ 2550 92 cause Epson LQ 2550 94 cause IBM Proprinter 37 IBM Proprinter 36 relative Epson LQ 2550 93 relative IBM Proprinter 35 IBM Proprinter emulation 15 initial condition Epson LQ 2550 71 IBM Proprinter 16 interface 212 Centronics 216 module 10 11 V 24 RS 232 212 ISO 7 bit code international version 208 national version 209 italics Epson LQ 2550 106 Programmer Reference Guide U26169 J Z716 1 7600 Index L left margin Epson LQ 2550 81 IBM Proprinter 24 25 line fee
125. ten Select single form feed Conirol sequence Hexadecimal Decimal 27 25 p mie e 9014 printer EM 19 Form feed 1 1 ASF bin 1 or 2 1 2 ASF bin 2 or 3 1 3 ASF bin 1 or 2 or 3 1 82 or R 52 eject sheet e 9016 printer EM 19 Form feed 1 82 or R 52 eject sheet This control character is only available for the 9014 and 9016 printers because the other printers don t have the equipment for single form feed Programmer Reference Guide U26169 J Z716 1 7600 Forms transport mechanism Epson LQ 2550 emulation Additional commands Eject sheet Conirol sequence Hexadecimal Decimal ESC lt 5 1 5 73 27 91 60 115 This command causes vertical form feed to the beginning of the next page Select paper source and ejection number of copies cut off mode SPS or SPSIF Conirol sequence Hexadecimal Decimal ESC gt P4 P2 P3 P4 S 1B5B3Ep 3B p 2791 62 59 59 p3 59 p4 3B p4 73 115 The control character gt should only be used if an indent or a form feed FF is to be performed pi o p4 0 to 1 is only available for the 9015 printer with cut off feature pi o e 9014 printer 1 0 Manual single form feed 1 1 to 3 ASF bin 1 to 3 1 6 Ignored 1 7 Tractor 1 8 ASF bin 1 or 2 1 9 ASF bin 2 or 3 Programmer Reference Guide
126. ter buffer 16 Kbyte up to 48 Kbyte programmable Column width mm or inch Normal font 2 54 or 1 10 2 12 or 1 15 1 76 1 69 14s 1 49 or 147 1 41 or 4g 1 27 1 50 Micro column width inch 1 159 for DRAFT 80 for LQ NLQ Micro line spacing inch 360 Character height mm 2 42 to 3 3 and thereof double threefold fourfold up to eightfold height DATA LARGE up to 999 fold height Character width single width depends on the font and the selected character pitch thereof double threefold fourfold up to eightfold width DATA LARGE up to 999 fold width Programmer Reference Guide U26169 J Z716 1 7600 Character complement Technical data and printer options Character complement The standard character complement of the printers contains up to fifteen fonts with several character sets Some character sets can be used with different national versions Further information on fonts and character sets is given in the description of corresponding commands and in the tables for the character sets see Character set tables Options The following options are currently available e 9014 printer Automatic sheet feeder ASF Console e 9015 printer Tractor cassette Console with integrated paper rack e 9015 printer Tractor cassette Console with integrated paper rack e Drucker 9016 Manual single sheet insertion
127. th 256 bytes each After power on both interfaces are ready to receive data If a byte is received first at the serial interface the parallel interface is blocked by the BUSY signal The serial interface is active and uses the set protocol If a byte is received first at the parallel interface the serial interface is blocked by the DTR signal DTR OFF or depending on the protocol by transmission of XOFF A maximum of 256 bytes can be received at the serial interface even though the parallel interface is active All further bytes are lost except for the byte received last If the printer buffer of the serial interface is completely free and if no further data is received within 60 seconds both interfaces are again available If the printer buffer of the parallel interface is completely free and if no further data is received within 60 seconds the data of the printer buffer of the serial interface is processed and the serial interface is activated Programmer Reference Guide U26169 J Z716 1 7600 Related publications Ordering manuals 1 9015 Printer ECMA Emulation Programmer Reference Guide Target group Programmers Contents Description of the control characters of the ECMA emulation Information on the operation of the printer with BS2000 SINIX and at workstations 2 9015 Printer Operating Manual Target group Users putting the printer in service Contents Putting in service error information upkeep Applic
128. tional for one line Epson LQ 2550 95 print head to left margin IBM Proprinter 33 print modes combination Epson LQ 2550 110 print quality IBM Proprinter 44 select Epson LQ 2550 105 set 51 116 printer buffer 12 printer options 13 printing rate 12 proportional spacing Epson LQ 2550 91 IBM Proprinter 34 17 74 Programmer Reference Guide U26169 J Z716 1 7600 Index protocol X ON X OFF 215 R relative horizontal positioning 38 relative horizontal tabulation Epson LQ 2550 93 IBM Proprinter 35 relative vertical positioning 38 relative vertical tabulation forward Epson LQ 2550 85 forward IBM Proprinter AGM mode 66 forward IBM Proprinter 29 reverse Epson LQ 2550 85 reset tab stop 31 reset tab stop IBM Proprinter 61 reset to initial condition Epson LQ 2550 72 right margin Epson LQ 2550 81 IBM Proprinter 25 S select cut off mode 17 74 select font 49 51 115 116 select number of copies 17 74 set character pitch 49 115 setcode page 113 set graphic settings 46 set national version 48 113 set user defined character set Epson LQ 2550 100 space Epson LQ 2550 90 IBM Proprinter 33 spaced mode Epson LQ 2550 92 spacing 10 cpi IBM Proprinter 33 12 cpi IBM Proprinter 34 17 1 cpi IBM Proprinter 34 proportional IBM Proprinter 34 subscript Epson LQ 2550 107 IBM Proprinter 41 superscript Epson LQ 2550 107 IBM Proprinter 41 T technical data 12 text alignment centered Epson LQ 2550
129. umns is not possible Programmer Reference Guide U26169 J Z716 1 7600 Miscellaneous commands Control characters between X 80 and X 9F Printing characters between X 80 and X 9F e Reset most significant bit MSB to zero e Set most significant bit MSB to one e Delete most significant bit MSB default e Set printer online e Set printer offline e Clear line buffer e Delete character e Audible signal e NUL function e Additional commands Control characters between X 80 and X 9F Conirol sequence Hexadecimal Decimal ESC 7 1B 37 27 55 Codes X 80 to X 9F are replaced by control codes X 00 to X 1F Printing characters between X 80 and X 9F Conirol sequence Hexadecimal Decimal ESC 6 1B 36 27 54 The characters in this code table area are printing characters This command is ignored if the Epson ITALIC character set was selected see Select character set Miscellaneous commands Epson LQ 2550 emulation Reset most significant bit MSB to zero Conirol sequence Hexadecimal Decimal ESC 1B 3D 27 61 Resets the most significant bit of all incoming data to zero This command restricts parameters to the range from 0 to 127 Set most significant bit MSB to one Conirol sequence Hexadecimal Decimal ESC gt 1B 27 62 Sets the most significant bit of
130. xadecimal Decimal ESC pig 1B 5B p 67 27 91 p 103 Valid values p 0 Reset tab stop at the current position p 3 Reset all horizontal tab stops 24 Reset all vertical tab stops Programmer Reference Guide U26169 J Z716 1 7600 Print carriage movements IBM Proprinter emulation Print carriage movements The following commands control the print carriage movements Carriage return Print head to left margin Space Backspace Set 10 cpi Set 12 cpi Set 17 1 cpi Set reset proportional spacing mode Relative horizontal tabulation Set horizontal tab stops Horizontal tabulation Set print direction bidirectional or unidirectional Additional commands Carriage return Control character Hexadecimal Decimal CR 00 13 The print carriage moves to the beginning of the line The character following CR is printed as the first character in the line A line feed may be performed in addition to the carriage return depending on the menu setting When writing new application programs be sure to terminate each line with LF and CR Programmer Reference Guide U26169 J Z716 1 7600 Print carriage movements IBM Proprinter emulation Print head to left margin Control sequence Hexadecimal Decimal ESC lt 1B 3C 27 60 The print carriage moves to the beginning of the line Space Control character He
131. xadecimal Decimal SP 20 B2 The print head moves one space width using the set or programmed character pitch If an expanded mode is active the space width is increased accordingly Backspace Control character Hexadecimal Decimal BS 08 08 Reverse movement by the width of one space Set 10 cpi Control character Hexadecimal Decimal DC2 12 18 Set a character pitch of 10 cpi Programmer Reference Guide U26169 J Z716 1 7600 Print carriage movements IBM Proprinter emulation Set 12 cpi Set 17 1 cpi Control sequence Hexadecimal Decimal ESC 1B 27 58 Set a character pitch of 12 cpi Control sequence Hexadecimal Decimal SI OF 15 Set a character pitch of 17 1 cpi Set reset proportional spacing mode Control sequence Hexadecimal Decimal ESC P p 1B 50 p 27 80 p In proportional spacing mode the character width differs An i for example is narrower than an m Proportional spacing is possible with all fonts except the OCR fonts p1 sets resets proportional spacing Valid parameter values Dec Hex Meaning 0 0 Reset proportional spacing mode 1 1 Set proportional spacing mode 48 BO Reset proportional spacing mode 49 B1 Set proportional spacing mode Programmer Reference Guide U26169 J Z716 1 7600 Print carriage movements IBM Proprinter emulation Relative horizontal tabulation Control sequence Hexa
132. y Five digits for the manufacturer Five digits for the product One check digit The border and separator characters are automatically generated by the printer All characters are also printed as plain text The symbol layout is self checking A check digit is required The check digit must be programmed in the application and must be modulo 10 with a weighting of 3 The code can be printed in the three sizes SC3 SC6 and SC9 The height of the symbol is variable but should be programmed to approximately match the width of the symbol The following minimum blank zones should be observed Size Blank zones mm Left of symbol Right of symbol EAN 8 EAN 13 SC3 26 4 0 2 6 SC6 3 6 5 5 3 6 SC9 47 7 3 4 7 Programmer Reference Guide U26169 J Z716 1 7600 Code 93 Barcodes EAN 8 and EAN 13 Add on The EAN 8 and EAN 13 codes with a two or five digit add on are printed automatically if two or five additional digits are programmed in the application The check digit calculation ignores the add on digits Example of check digit calculation modulo 10 with a weighting of 3 Plain text 412345 67 89 01 8 Check digit 8 Information digit sequence 412345 67 89 01 Weighting factors 131313 13 13 13 Products 43294 1562182703 Sum of products 4 3 2 9 4 15 6 21 8 27 0 3 102 Modulo 10 102 mod 10 2 102 10 remndr 2 Difference from 10 is check digit 10 2 8 Check dig
133. zontal 61 97 positioning Absolute ESC p d 1B5Bp 2791 p 38 vertical 64 100 positioning Relative ESC p e 1B5Bp 2791 p 38 vertical 65 101 positioning Programmer Reference Guide U26169 J Z716 1 7600 Font design IBM Proprinter emulation Font design Command Control Hexa Decimal Remark See character decimal page sequence Select IBM ESC 7 1B 37 27 55 39 character set 1 Select IBM ESC 6 1B 36 27 54 40 character set 2 Set boldface 1 45 27 69 40 Reset boldface ESC 1B 46 27 70 40 mode Set double ESC 1B 47 27 71 40 strike mode Reset double ESC H 1B 48 27 72 40 strike mode Set subscrip ESC Sp 1B 53 2783p4 p X 00 X 30 41 superscript Superscript mode X 01 X 31 Subscript Reset ESCT 1B 54 27 84 41 subscript superscript mode Set expanded 50 OE 14 42 modeforone 5 50 180 2714 line Set reset ESC Wp 1B57p 2787p4 X 00 X 30 42 expanded Reset mode p4 X 01 X 31 Set Reset DC4 14 20 42 expanded mode Set character ESC 185840 27 91 64 Line spacing 43 size and line EOT NUL 04 00 04 00 and spacing NUL NUL 0000 00 00 character width Po P2 Po po Character height Programmer Reference Guide U26169 J Z716 1 7600 Font design IBM Proprinter emulation Command Control Hexa Decimal Remark See charact

Download Pdf Manuals

image

Related Search

Related Contents

未命名 -1  Vient De Paraître dans la Presse  Bilt User Manual  Ewent EW7041 USB powered storage enclosure  Lieferumfang Sicherheitshinweise Bedien  User Manual - Energy Sistem  Software User License Agreement  user manual  Sony CDX-M1000TF CD Player User Manual  

Copyright © All rights reserved.
Failed to retrieve file