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.
Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169E.K01 © Siemens Nixdorf Informationssysteme AG 1995 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.
9014 Needle Printer © Siemens Nixdorf Informationssysteme AG 1995 Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169E.K01 Preface 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.
9015 Needle Printer © Siemens Nixdorf Informationssysteme AG 1995 Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169E.K01 Preface Convenient handling of paper is available with the 9015 printer: Using tractor cassettes, two continuous forms stacks can be inserted in a comfortable 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-Funktion). The printer offers a cut-off feature.
9015 E Needle Printer © Siemens Nixdorf Informationssysteme AG 1995 Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169E.K01 Preface 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.
9016 Needle Printer © Siemens Nixdorf Informationssysteme AG 1995 Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169E.K01 Preface The fast high performance 9016 needle printer offers the handling of continouos forms (tractor) and, optionally, of single sheets (manual insertion).
Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169E.K01 © Siemens Nixdorf Informationssysteme AG 1995 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.
Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169E.K01 © Siemens Nixdorf Informationssysteme AG 1995 Notational conventions Preface Notational conventions In this manual, the following conventions have been used: Italics Names of files, programs, commands, variables, options and screen texts such as input fields, text fields, menus etc.
Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169E.K02 © Siemens Nixdorf Informationssysteme AG 1995 Technical data and printer options 9014 printer interface modules The 9014 printer with IBM Proprinter and Epson LQ-2550 emulation is equipped with the 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.
Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169E.K02 © Siemens Nixdorf Informationssysteme AG 1995 Technical data and printer options For network connections, the following interface module is available: – 90152-LE2 (Ethernet® LAN connection for Epson LQ-2550 and IBM Proprinter emulation) 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.
Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169E.K02 © Siemens Nixdorf Informationssysteme AG 1995 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.
Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169E.K02 © Siemens Nixdorf Informationssysteme AG 1995 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.
Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169E.K03 © Siemens Nixdorf Informationssysteme AG 1995 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.
Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169E.K04 © Siemens Nixdorf Informationssysteme AG 1995 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.
Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169E.
Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169E.K04 © Siemens Nixdorf Informationssysteme AG 1995 Forms transport mechanism IBM Proprinter emulation Forms transport mechanism The printer is always equipped with two continous forms tractors. The last sheet of a continuous forms stack can be printed to the end of the form. Additional commands Eject sheet Control sequence Hexadecimal Decimal ESC [ < s 1B 5B 3C 73 27 91 60 115 This command causes a vertical form feed to the beginning of the next page.
Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169E.
Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169E.
Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169E.
Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169E.
Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169E.K04 © Siemens Nixdorf Informationssysteme AG 1995 Forms layout IBM Proprinter emulation Forms layout The dimensions of the form can be selected freely.
Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169E.K04 © Siemens Nixdorf Informationssysteme AG 1995 Forms layout IBM Proprinter emulation Set form length in inches Control sequence Hexadecimal Decimal ESC C NUL p1 1B 43 00 p1 27 67 00 p1 This command specifies the physical page length in inches and sets the current vertical position as the first print line (top of form). p1 Form length in inches Range: X’01 ≤ p1 ≤ X’16 The minimum valid form length is 3 inches and the maximum is 22 inches.
Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169E.K04 © Siemens Nixdorf Informationssysteme AG 1995 Forms layout IBM Proprinter emulation Reset perforation skip mode Control sequence Hexadecimal Decimal ESC O 1B 4F 27 79 Control sequence Hexadecimal Decimal ESC 4 1B 34 27 52 Set first print line 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.
Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169E.K04 © Siemens Nixdorf Informationssysteme AG 1995 Forms layout IBM Proprinter emulation Set left and right margins Control sequence Hexadecimal Decimal ESC X p1 p2 1B 58 p1 p2 27 88 p1 p2 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.
IBM Proprinter emulation Forms transport The following commands affect the paper movement: © Siemens Nixdorf Informationssysteme AG 1995 Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169E.
Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169E.K04 © Siemens Nixdorf Informationssysteme AG 1995 Forms transport IBM Proprinter emulation Preset n/72 inch line spacing mode Control sequence Hexadecimal Decimal ESC A p1 1B 41 p1 27 65 p1 A line spacing of n /7 2 is preset. The defined line spacing is set by the ESC 2 command.
Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169E.K04 © Siemens Nixdorf Informationssysteme AG 1995 Forms transport IBM Proprinter emulation Set line spacing unit Control sequence Hexadecimal ESC [ \ EOT NUL NUL NUL 1B 5B 5C 04 00 00 00 p1 NUL p1 00 Decimal 27 91 92 04 00 00 00 p1 00 This command sets the line spacing unit to either 1 /2 1 6 inch or 1 /1 8 0 inch. The preset line spacing unit only affects the two commands ESC 3 p1 and ESC J p1 .
Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169E.K04 © Siemens Nixdorf Informationssysteme AG 1995 Forms transport IBM Proprinter emulation Reverse line feed Control sequence ESC ] Hexadecimal 1B 5D ESC M 1B 4D Decimal 27 93 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.
Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169E.K04 © Siemens Nixdorf Informationssysteme AG 1995 Forms transport IBM Proprinter emulation Set vertical tab stops Control sequence Hexadecimal Decimal ESC B p1 ... pk NUL 1B 42 p1 ... pk 00 27 66 p1 ... 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 absolute vertical tab location depends on the current line spacing.
Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169E.K04 © Siemens Nixdorf Informationssysteme AG 1995 Forms transport IBM Proprinter emulation Additional commands Load line spacing Control sequence Hexadecimal Decimal ESC [ p1 { 1B 5B p1 7B 27 91 p1 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 lpi.
Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169E.K04 © Siemens Nixdorf Informationssysteme AG 1995 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.
Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169E.K04 © Siemens Nixdorf Informationssysteme AG 1995 Print carriage movements IBM Proprinter emulation Print head to left margin Control sequence Hexadecimal Decimal ESC < 1B 3C 27 60 The print carriage moves to the beginning of the line. Space Control character Hexadecimal Decimal SP 20 32 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.
Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169E.K04 © Siemens Nixdorf Informationssysteme AG 1995 Print carriage movements IBM Proprinter emulation Set 12 cpi Control sequence Hexadecimal Decimal ESC : 1B 3A 27 58 Set a character pitch of 12 cpi. Set 17.1 cpi Control sequence Hexadecimal Decimal SI 0F 15 Set a character pitch of 17.1 cpi.
Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169E.K04 © Siemens Nixdorf Informationssysteme AG 1995 Print carriage movements IBM Proprinter emulation Relative horizontal tabulation Control sequence Hexadecimal Decimal ESC d p1 p2 1B 64 p1 p2 27 100 p1 p2 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 1 /1 2 0 inch increments.
Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169E.K04 © Siemens Nixdorf Informationssysteme AG 1995 Print carriage movements IBM Proprinter emulation Set horizontal tab stops Control sequence Hexadecimal Decimal ESC D p1 ... pk NUL 1B 44 p1 ... pk 00 27 68 p1 ... 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.
Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169E.K04 © Siemens Nixdorf Informationssysteme AG 1995 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.
Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169E.K04 © Siemens Nixdorf Informationssysteme AG 1995 Print carriage movements IBM Proprinter emulation Additional commands Absolute horizontal positioning Control sequence Hexadecimal Decimal ESC [ p1 ‘ 1B 5B p1 60 27 91 p1 96 p1 defines the print position and consists of a maximum of three digits. p1 = 0 and p1 = 1 define the first print position and thus have the same meaning.
Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169E.
Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169E.K04 © Siemens Nixdorf Informationssysteme AG 1995 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.
Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169E.K04 © Siemens Nixdorf Informationssysteme AG 1995 Font design IBM Proprinter emulation Set subscript/superscript mode Control sequence Hexadecimal Decimal ESC S p1 1B 53 p1 27 83 p1 This command causes reduced-size characters to be superscripted (exponents) or subscripted (indices). Superscripted characters (exponents) are printed approx. 1 /2 line up. Subscripted characters (indices) are only reduced in size and printed on the base line.
Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169E.K04 © Siemens Nixdorf Informationssysteme AG 1995 Font design IBM Proprinter emulation Set expanded mode for one line Control sequence Hexadecimal Decimal SO 0E 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 ESC W p1 1B 57 p1 27 87 p1 Characters are printed with double width when the expanded mode is active.
Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169E.K04 © Siemens Nixdorf Informationssysteme AG 1995 Font design IBM Proprinter emulation Set character size and line spacing Control sequence Hexadecimal Decimal ESC [ @ EOT NUL NUL NUL p1 p2 1B 5B 40 04 00 00 00 p1 p2 27 91 64 04 00 00 00 p1 p2 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.
Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169E.K04 © Siemens Nixdorf Informationssysteme AG 1995 Font design IBM Proprinter emulation Set print quality and character pitch Control sequence Hexadecimal Decimal ESC I p1 1B 49 p1 27 73 p1 This command defines the print quality and the character pitch.
Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169E.K04 © Siemens Nixdorf Informationssysteme AG 1995 Font design IBM Proprinter emulation Set/reset overscore mode Control sequence Hexadecimal Decimal ESC _ p1 1B 5F p1 27 95 p1 The characters are overscored.
Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169E.
Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169E.K04 © Siemens Nixdorf Informationssysteme AG 1995 Font design IBM Proprinter emulation Character repetition Control sequence Hexadecimal Decimal ESC [ p1 b 1B 5B p1 62 27 91 p1 98 p1 can be a maximum of three digits.
Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169E.K04 © Siemens Nixdorf Informationssysteme AG 1995 Font design IBM Proprinter emulation Set national version and code page Control sequence Hexadecimal Decimal ESC [ p1 ; p2 w 1B 5B p1 3B p2 77 27 91 p1 59 p2 119 p1 = 1 to 15 For national versions or code pages p1 für IBM SET 2: p1 = 1 : U.S.A p1 = 2 : France p1 = 3 : Germany p1 = 4 : U.K.
Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169E.K04 © Siemens Nixdorf Informationssysteme AG 1995 Font design IBM Proprinter emulation p2 = d3 d2 d1 (three digits) 0 6 1 IBM set 1 0 6 2 IBM set 2 0 6 3 IBM code page 0 7 1 Epson EXT GCT Set national version Control sequence Hexadecimal Decimal ESC [ p1 w 1B 5B p1 77 27 91 p1 119 See the command “Set/reset overscore mode” for the setting of p1.
Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169E.K04 © Siemens Nixdorf Informationssysteme AG 1995 Font design IBM Proprinter emulation p1 = 6 Script p1 = 7 OCR-B p1 = 8 OCR-A p1 = 9 Orator-C p1 = 10 Orator p1 = 11 Data Block p1 = 12 Data Large p2 = 1 10 cpi p2 = 2 12 cpi p2 = 3 15 cpi p2 = 4 Proportional p2 = 5 Proportional p2 = 6 14.4 cpi p2 = 7 18 cpi p2 = 8 17.
Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169E.K04 © Siemens Nixdorf Informationssysteme AG 1995 Font design IBM Proprinter emulation Select font Control sequence Hexadecimal Decimal ESC [ p1 x 1B 5B p1 78 27 91 p1 120 See the command “Set character pitch and select font” for the setting of p1. Set print quality (NLQ, LQ) Control sequence Hexadecimal Decimal ESC [ p1 SP X 1B 5B p1 20 58 27 91 p1 32 88 p1 = 0 LQ p1 = 1 NLQ This is only valid if the NLQ type style is available.
Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169E.
Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169E.
Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169E.
Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169E.K04 © Siemens Nixdorf Informationssysteme AG 1995 Bitmap graphics IBM Proprinter emulation Select single dot-density graphics mode Control sequence Hexadecimal Decimal ESC K p1 p2 data 1B 4B p1 p2 data 27 75 p1 p2 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.
Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169E.K04 © Siemens Nixdorf Informationssysteme AG 1995 Bitmap graphics IBM Proprinter emulation Select double dot-density and double-speed graphics mode Control sequence Hexadecimal Decimal ESC Y p1 p2 data 1B 59 p1 p2 data 27 89 p1 p2 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.
Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169E.K04 © Siemens Nixdorf Informationssysteme AG 1995 Bitmap graphics IBM Proprinter emulation Select quadruple dot-density graphics mode Control sequence Hexadecimal Decimal ESC Z p1 p2 data 1B 5A p1 p2 data 27 90 p1 p2 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.
Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169E.K04 © Siemens Nixdorf Informationssysteme AG 1995 Bitmap graphics IBM Proprinter emulation Select graphics mode (expanded) Control sequence Hexadecimal Decimal ESC [ g p1 p2 p3 data 1B 5B 67 p1 p2 p3 data 27 91 103 p1 p2 p3 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. p1 and p2 define the amount of graphics data.
Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169E.
Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169E.
Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169E.
Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169E.K04 © Siemens Nixdorf Informationssysteme AG 1995 Miscellaneous commands IBM Proprinter emulation Transparent print data for several characters Control sequence Hexadecimal Decimal ESC \ p1 p2 1B 5C p1 p2 27 92 p1 p2 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).
Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169E.K04 © Siemens Nixdorf Informationssysteme AG 1995 Miscellaneous commands IBM Proprinter emulation Set printer online Control character Hexadecimal Decimal DC1 11 17 Sets an offline printer online. i The command is ineffective if the printer was set offline with the ONLINE button. Set printer offline Control sequence Hexadecimal Decimal ESC Q # 1B 51 23 27 81 35 ESC Q $ 1B 51 24 27 81 36 Sets the printer offline.
Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169E.K04 © Siemens Nixdorf Informationssysteme AG 1995 Miscellaneous commands IBM Proprinter emulation NUL function Control character Hexadecimal Decimal NUL 00 00 This control character has no effect. Additional commands Command replacement $$ Control sequence Hexadecimal Decimal $$ 24 24 36 36 This command replaces the control sequence ESC [, hexadecimal 1B 5B, decimal 27 91.
Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169E.K04 © Siemens Nixdorf Informationssysteme AG 1995 Alternative graphics mode AGM IBM Proprinter emulation Alternative graphics mode AGM The alternative graphics mode can be selected in the menu (see [2]).
Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169E.K04 © Siemens Nixdorf Informationssysteme AG 1995 Alternative graphics mode AGM IBM Proprinter emulation Relative vertical tabulation forward Control sequence Hexadecimal Decimal ESC J p1 1B 4A p1 27 74 p1 The vertical print position is moved down n /2 1 6 or n /1 8 0 inch depending on the line spacing unit (see Set line spacing unit). The AGM mode default is n /1 8 0 inch.
Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169E.K04 © Siemens Nixdorf Informationssysteme AG 1995 Alternative graphics mode AGM IBM Proprinter emulation Select graphics mode Control sequence Hexadecimal Decimal ESC * p1 p2 p3 data 1B 2A p1 p2 p3 data 27 42 p1 p2 p3 data The graphics data is transferred in columns. A column contains either 8 or 24 individual vertical dots. Each graphics line begins with the command that defines the graphics mode (vertical and horizontal resolution).
Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169E.
Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169E.
Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169e.k05 © Siemens Nixdorf Informationssysteme AG 1995 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.
Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169e.
Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169e.
Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169e.k05 © Siemens Nixdorf Informationssysteme AG 1995 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 continuous forms stack can be printed on up to the end of the form.
Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169e.k05 © Siemens Nixdorf Informationssysteme AG 1995 Forms transport mechanism Epson LQ-2550 emulation Additional commands Eject sheet Control sequence Hexadecimal Decimal ESC [ < s 1B 5B 3C 73 27 91 60 115 This command causes a vertical form feed to the beginning of the next page.
Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169e.
Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169e.
Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169e.
Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169e.
Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169e.k05 © Siemens Nixdorf Informationssysteme AG 1995 Forms layout Epson LQ-2550 emulation Forms layout The dimensions of a form can be selected freely.
Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169e.k05 © Siemens Nixdorf Informationssysteme AG 1995 Forms layout Epson LQ-2550 emulation Set form length in inches Control sequence Hexadecimal Decimal ESC C NUL p1 1B 43 00 p1 27 67 00 p1 This command specifies the physical form length in inches and sets the current vertical position as the first print line (top of form). p1 Form length in inches Range: X’01 ≤ p1 ≤ X’16 The minimum form length is 3 inches and the maximum form length is 22 inches.
Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169e.k05 © Siemens Nixdorf Informationssysteme AG 1995 Forms layout Epson LQ-2550 emulation Reset perforation skip mode Control sequence Hexadecimal Decimal ESC O 1B 4F 27 79 The perforation skip mode is reset. Set left margin Control sequence Hexadecimal Decimal ESC l p1 1B 6C p1 27 108 p1 The left margin is set to the right edge of the specified column. The first column of a line is column 1.
Epson LQ-2550 emulation Forms transport The following commands affect paper movements: © Siemens Nixdorf Informationssysteme AG 1995 Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169e.
Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169e.k05 © Siemens Nixdorf Informationssysteme AG 1995 Forms transport Epson LQ-2550 emulation Set n/60 inch line spacing mode Control sequence Hexadecimal Decimal ESC A p1 1B 41 p1 27 65 p1 The line spacing is set to n /6 0 inch. p1 Line spacing in 1 /6 0 inch increments X’00 ≤ p1 ≤ X’7F Range: Set n/180 inch line spacing mode Control sequence Hexadecimal Decimal ESC 3 p1 1B 33 p1 27 51 p1 The line spacing is set to n /1 8 0 inch.
Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169e.k05 © Siemens Nixdorf Informationssysteme AG 1995 Forms transport Epson LQ-2550 emulation Set n/360 inch line spacing mode Control sequence Hexadecimal Decimal ESC + p1 1B 2B p1 27 43 p1 The line spacing is set to n /3 6 0 inch. p1 Line spacing in 1 /3 6 0 inch increments Range: X’00 ≤ p1 ≤ X’FF Line feed (LF) Control character Hexadecimal Decimal LF 0A 10 The line feed is performed using the current line spacing.
Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169e.k05 © Siemens Nixdorf Informationssysteme AG 1995 Forms transport Epson LQ-2550 emulation Relative vertical tabulation forward Control sequence Hexadecimal Decimal ESC J p1 1B 4A p1 27 74 p1 The vertical print position is moved down in n /1 8 0 inch increments.
Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169e.k05 © Siemens Nixdorf Informationssysteme AG 1995 Forms transport Epson LQ-2550 emulation Set vertical tab stops Control sequence Hexadecimal Decimal ESC B p1 ... pk NUL 1B 42 p1 ... pk 00 27 66 p1 ... pk 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.
Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169e.k05 © Siemens Nixdorf Informationssysteme AG 1995 Forms transport Epson LQ-2550 emulation Set vertical tab stops in channel Control sequence Hexadecimal Decimal ESC b p1 p2 ... pk NUL 1B 62 p1 p2 ... pk 00 27 98 p1 p2 ... pk 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.
Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169e.k05 © Siemens Nixdorf Informationssysteme AG 1995 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.
Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169e.
Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169e.k05 © Siemens Nixdorf Informationssysteme AG 1995 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.
Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169e.k05 © Siemens Nixdorf Informationssysteme AG 1995 Print carriage movements Epson LQ-2550 emulation Set 15 cpi Control sequence Hexadecimal Decimal ESC g 1B 67 27 103 The character pitch is set to 15 cpi. Set/reset proportional spacing mode Control sequence Hexadecimal Decimal ESC p p1 1B 70 p1 27 112 p1 In the proportional spacing mode, the character width differs. An i, for example, is narrower than an m.
Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169e.k05 © Siemens Nixdorf Informationssysteme AG 1995 Print carriage movements Epson LQ-2550 emulation Set character spacing mode Control sequence Hexadecimal Decimal ESC SP p1 1B 20 p1 27 32 p1 This command sets the space between characters (spaced mode). The space depends on the selected print quality.
Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169e.k05 © Siemens Nixdorf Informationssysteme AG 1995 Print carriage movements Epson LQ-2550 emulation Relative horizontal tabulation Control sequence Hexadecimal Decimal ESC \ p1 p2 1B 5C p1 p2 27 92 p1 p2 The print head moves right or left the defined amount. The shift is based on the current print position and is defined in 1 /1 2 0 (DRAFT) or 1 /1 8 0 inch increments. p1 p2 define the shift p2 < X’80 causes a right shift.
Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169e.k05 © Siemens Nixdorf Informationssysteme AG 1995 Print carriage movements Epson LQ-2550 emulation Set horizontal tab stops Control sequence Hexadecimal Decimal ESC D p1 ... pk NUL 1B 44 p1 ... pk 00 27 68 p1 ... pk 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.
Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169e.k05 © Siemens Nixdorf Informationssysteme AG 1995 Print carriage movements Epson LQ-2550 emulation Set print direction (bidirectional or unidirectional) Control sequence Hexadecimal Decimal ESC U p1 1B 55 p1 27 85 p1 Unidirectional printing should be used if high positioning precision is required (e.g. in the graphics mode). The default is bidirectional printing.
Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169e.k05 © Siemens Nixdorf Informationssysteme AG 1995 Print carriage movements Epson LQ-2550 emulation Select text alignment Control sequence Hexadecimal Decimal ESC a p1 1B 61 p1 27 97 p1 The text alignment defines the horizontal position of a print line relative to the set margins (see Set left margin).
Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169e.
Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169e.k05 © Siemens Nixdorf Informationssysteme AG 1995 Font design Epson LQ-2550 emulation Select font Control sequence Hexadecimal Decimal ESC k p1 1B 6B p1 27 107 p1 The default character complement of the printer contains eleven fonts. Further fonts can be plugged in with a PROM on the PM (personality module).
Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169e.k05 © Siemens Nixdorf Informationssysteme AG 1995 Font design Epson LQ-2550 emulation Select national version Control sequence Hexadecimal Decimal ESC R p1 1B 52 p1 27 82 p1 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.
Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169e.k05 © Siemens Nixdorf Informationssysteme AG 1995 Font design Epson LQ-2550 emulation Select character set Control sequence Hexadecimal Decimal ESC t p1 1B 74 p1 27 116 p1 This command allows switching between character sets anywhere within the text. In the initial condition, the printer uses the character set selected in the menu.
Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169e.k05 © Siemens Nixdorf Informationssysteme AG 1995 Font design Epson LQ-2550 emulation Copy current character set into user-defined character set Control sequence Hexadecimal Decimal ESC : NUL p1 NUL 1B 3A 00 p1 00 27 58 00 p1 00 This command copies the current character set into the user-defined character set.
Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169e.k05 © Siemens Nixdorf Informationssysteme AG 1995 Font design Epson LQ-2550 emulation Define user-defined characters Control sequence Hexadecimal ESC & NUL p1 p2 p3 p4 p5 1B 26 00 p1 p2 p3 p4 p5 data data Decimal 27 38 00 p1 p2 p3 p4 p5 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.
Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169e.k05 © Siemens Nixdorf Informationssysteme AG 1995 Font design Epson LQ-2550 emulation Meaning of parameters p3 , p4 and p5 : Print mode Spacing p3 +p4 + p5 p4 max. max. 10 cpi 12 9 DRAFT 12 cpi 12 9 10 cpi 36 29 LQ 12 cpi Proportional Horizontal resolution 30 23 42 37 1/ 120 inch 1/ 360 inch 1/ 360 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.
Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169e.k05 © Siemens Nixdorf Informationssysteme AG 1995 Font design Epson LQ-2550 emulation Example Leading blank columns P3 First byte Second byte Third byte 20 21 22 23 24 25 26 27 20 21 22 23 24 25 26 27 20 21 22 23 24 25 26 27 Dot columns of the character P4 Trailing blank columns P5 1 1 2 3 4 5 6 7 8 9 1 2 . . . . . . . . . . . . . . . . . . . . . . . . o o o o o o o o o o o o o o o o o o o . . . . . . . . . . . . . . . . . . . . . . . . . .
Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169e.k05 © Siemens Nixdorf Informationssysteme AG 1995 Font design Epson LQ-2550 emulation Select print quality Control sequence Hexadecimal Decimal ESC x p1 1B 78 p1 27 120 p1 DRAFT or LQ/NLQ is selected. In the initial condition, the print quality is defined by the menu setting (see [2]).
Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169e.
Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169e.k05 © Siemens Nixdorf Informationssysteme AG 1995 Font design Epson LQ-2550 emulation Set subscript/superscript mode Control sequence Hexadecimal Decimal ESC S p1 1B 53 p1 27 83 p1 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. 1 /2 line up.
Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169e.k05 © Siemens Nixdorf Informationssysteme AG 1995 Font design Epson LQ-2550 emulation Set condensed mode Control sequence Hexadecimal Decimal SI 0F 15 ESC SI 1B 0F 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.
Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169e.k05 © Siemens Nixdorf Informationssysteme AG 1995 Font design Epson LQ-2550 emulation Set/reset expanded mode Control sequence Hexadecimal Decimal ESC W p1 1B 57 p1 27 87 p1 In the expanded mode, the characters are printed with double width.
Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169e.k05 © Siemens Nixdorf Informationssysteme AG 1995 Font design Epson LQ-2550 emulation Select print mode combinations Control sequence Hexadecimal Decimal ESC ! p1 1B 21 p1 27 33 p1 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.
Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169e.k05 © Siemens Nixdorf Informationssysteme AG 1995 Font design Epson LQ-2550 emulation Set/reset line marking mode Control sequence Hexadecimal Decimal ESC ( - p1 p2 p3 p4 p5 1B 28 2D p1 p2 p3 p4 p5 27 40 45 p1 p2 p3 p4 p5 The following characters are printed with an additional line mark.
Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169e.
Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169e.k05 © Siemens Nixdorf Informationssysteme AG 1995 Font design Epson LQ-2550 emulation Set national version and code page Control sequence Hexadecimal Decimal ESC [ p1 ; p2 w 1B 5B p1 3B p2 77 27 91 p1 59 p2 119 p1 = 1 to 15 For national version EPSON EXT.GCT: p1 = 1 : U.S.A p1 = 2 : France p1 = 3 : Germany p1 = 4 : U.K.
Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169e.k05 © Siemens Nixdorf Informationssysteme AG 1995 Font design Epson LQ-2550 emulation Set national version Control sequence Hexadecimal Decimal ESC [ p1 w 1B 5B p1 77 27 91 p1 119 See the command “Set national version and code page” for the setting of p1. Set code page Control sequence Hexadecimal Decimal ESC [ ; p2 w 1B 5B 3B p2 77 27 91 59 p2 119 See the command “Set national version and code page” for the setting of p2.
Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169e.
Epson LQ-2550 emulation p2 = 4 Proportional p2 = 5 Proportional © Siemens Nixdorf Informationssysteme AG 1995 Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169e.k05 Font design p2 = 6 14.4 cpi p2 = 7 18 cpi p2 = 8 17.1 cpi p2 = 9 20 cpi Select font Control sequence Hexadecimal Decimal ESC [ p1 x 1B 5B p1 78 27 91 p1 120 See the command “Set character pitch and select font” for the setting of p1.
Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169e.k05 © Siemens Nixdorf Informationssysteme AG 1995 Bitmap graphics Epson LQ-2550 emulation Bitmap graphics The following commands are available: ● Select graphics mode ● Reassign graphics mode Select graphics mode Control sequence Hexadecimal Decimal ESC * p1 p2 p3 data 1B 2A p1 p2 p3 data 27 42 p1 p2 p3 data The graphics data is transferred in columns. A column contains either 8 or 24 individual vertical dots.
Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169e.
Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169e.
Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169e.
Miscellaneous commands ● Control characters between X’80 and X’9F ● Printing characters between X’80 and X’9F ● Reset most significant bit (MSB) to zero ● Set most significant bit (MSB) to one ● Delete most significant bit (MSB) default ● Set printer online ● Set printer offline ● Clear line buffer ● Delete character ● Audible signal ● NUL function ● Additional commands Control characters between X’80 and X’9F Control sequence Hexadecimal Decimal ESC 7 1B 37 27 55 Codes X’80 to
Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169e.k05 © Siemens Nixdorf Informationssysteme AG 1995 Miscellaneous commands Epson LQ-2550 emulation Reset most significant bit (MSB) to zero Control sequence Hexadecimal Decimal ESC = 1B 3D 27 61 Resets the most significant bit of all incoming data to zero. i This command restricts parameters to the range from 0 to 127.
Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169e.k05 © Siemens Nixdorf Informationssysteme AG 1995 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 Set printer offline command. i The command is ineffective if the printer was set offline with the online button. Set printer offline Control character Hexadecimal Decimal DC3 13 19 Sets the printer offline.
Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169e.k05 © Siemens Nixdorf Informationssysteme AG 1995 Miscellaneous commands Epson LQ-2550 emulation Audible signal Control character Hexadecimal Decimal BEL 07 07 This control character has no effect. NUL function Control character Hexadecimal Decimal NUL 00 00 This control character has no effect.
Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169e.k05 © Siemens Nixdorf Informationssysteme AG 1995 Miscellaneous commands Epson LQ-2550 emulation Macro selection Control sequence Hexadecimal Decimal ESC [ p1 ; p2 SP r 1B 5B p1 3B p2 20 72 27 91 p1 59 p2 32 114 p1 can have the values 1 to 4.
Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169e.
Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169e.
Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169e.
Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169e.k05 © Siemens Nixdorf Informationssysteme AG 1995 ESC / P2 Commands Epson LQ-2550 emulation Set unit Control sequence Hexadecimal Decimal ESC ( U p1 p2 1B 28 55 p1 p2 27 40 85 p1 p2 This command defines the unit used for positioning in n/3600 inches.
Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169e.
Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169e.k05 © Siemens Nixdorf Informationssysteme AG 1995 ESC / P2 Commands Epson LQ-2550 emulation Print data as characters Control sequence Hexadecimal Decimal ESC ( ^ p1 p 2 d a t a 1B 28 5E p1 p 2 27 40 94 p1 , p 2 This command prints data as characters.
Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169e.k05 © Siemens Nixdorf Informationssysteme AG 1995 ESC / P2 Commands Epson LQ-2550 emulation Print raster graphics Control sequence Hexadecimal Decimal ESC .
Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169E.
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. This is why barcodes with small elements widths should be avoided.
Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169E.K06 © Siemens Nixdorf Informationssysteme AG 1995 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: 0 0 1 1 2 2 3 3 4 4 5 5 6 6 7 7 8 8 9 9 A B C D E F G H I J K L M 10 11 12 13 14 15 16 17 18 19 20 21 22 N O P Q R S T U V W X Y Z .
Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169E.K06 © Siemens Nixdorf Informationssysteme AG 1995 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: 0 1 2 3 4 5 6 7 8 9 – Start/stop characters: :/;
Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169E.K06 © Siemens Nixdorf Informationssysteme AG 1995 EAN-8 and EAN-13 Barcodes Codabar The character complement of the Codabar (Monarch) code comprises: – 10 digits: 0 1 2 3 4 5 6 7 8 9 – 6 special characters: - $ : / . + – Start/stop characters: a/t, b/n, c/*, d/e The number of characters is variable. The start/stop characters are programmed with the characters a/t, b/n, c/*, d/e. In the plain text line these characters are printed for start/stop.
Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169E.K06 © Siemens Nixdorf Informationssysteme AG 1995 EAN-8 and EAN-13 Barcodes Layout of EAN-13: – Two digits for the manufacturer’s country – 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.
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. © Siemens Nixdorf Informationssysteme AG 1995 Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169E.K06 Code 93 The check digit calculation ignores the add-on digits.
Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169E.K06 © Siemens Nixdorf Informationssysteme AG 1995 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.
Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169E.K06 © Siemens Nixdorf Informationssysteme AG 1995 Code 93 Barcodes Example of check digit calculation: Plain text : C + O + D + E SP 9 3 W I Check character Check digit C : W (weighting of 1, 2, ... 10, 1, 2, ... from right to left) Check digit K : I (weighting of 1, 2, ... 15, 1, 2, ... from right to left) Information char seq.
Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169E.K06 © Siemens Nixdorf Informationssysteme AG 1995 MSI Mod 10/10 Barcodes The control characters are coded as follows: – ($) hexadecimal: 67 – (%) hexadecimal: 68 – (/) hexadecimal: 69 – (*) hexadecimal: 6A i The control characters are printed in plain text within a closed circle.
Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169E.
Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169E.K06 © Siemens Nixdorf Informationssysteme AG 1995 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.
Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169E.K06 © Siemens Nixdorf Informationssysteme AG 1995 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 replaced 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.
Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169E.K06 © Siemens Nixdorf Informationssysteme AG 1995 Select barcode Barcodes The barcode is a fixed size. The length varies with the number of 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.
Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169E.K06 © Siemens Nixdorf Informationssysteme AG 1995 Select barcode Barcodes p2 Specification of the barcode set whose characters are to be printed.
Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169E.K06 © Siemens Nixdorf Informationssysteme AG 1995 Select barcode Barcodes p3 Specification of bar height; bar height = p3 x 1 /1 2 inch. A decimal whole number with one or two digits (from 1 to 99) can be specified. ! Value of decimal place EAN and UPC codes with add-on code (EAN Add-On 2 or EAN Add-On 5) require a minimum height of 3 /1 2 inch.
Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169E.K06 © Siemens Nixdorf Informationssysteme AG 1995 Barcodes p7 Define the print direction (uni- or bi-directional) uni-directional printing (standard) uni-directional printing in LQ bi-directional printing in LQ uni-directional printing in NLQ bi-directional printing in NLQ p7 = 0 p7 = 1 p7 = 2 p7 = 3 p7 = 4 ! If p7 is not defined, the standard value (uni-directional) is valid. The parameter UNI-DIRECT.
Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169E.K06 © Siemens Nixdorf Informationssysteme AG 1995 Set/reset barcode mode Barcodes Set/reset barcode mode Mode Control sequence Hexadecimal Set ESC [ ? 0 h 1B 5B 3F 30 68 27 91 63 48 104 Reset 1) ESC [ ? 0 l1) Decimal 1B 5B 3F 30 6C 27 91 63 48 108 This letter is a small „L“! The printing of barcode symbols is set or reset with this control character. The barcode must be selected before the barcode mode is activated.
Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169E.
Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169E.
Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169E.
Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169E.
Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169E.
Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169E.
Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169E.
Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169E.
Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169E.
Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169E.
Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169E.K06 © Siemens Nixdorf Informationssysteme AG 1995 Programming examples i Barcodes The following examples use blank zones before 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.
Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169E.
Barcodes Two vertical barcode symbols side by side Programming: Barcode header : ESC [ ; n2 Example : ESC [ ; 401 ; 7 Set barcode mode : ESC [ ? 0 h Data : * CODE 39 * ; n3 ; n4 ; n5 ; n6 SP z ; 0 ; 0 ; 1 SP z Reset barcode mode : ESC [? 0 l1) Horizontal position : SP SP SP Set barcode mode : ESC [ ? 0 h Data : * CODE 39 * Reset barcode mode : ESC [ ? 0 l1) 1) This letter is a small “L”! Programmer Reference Guide * 9 3 E D C * O C O D E 3 9 * Printout: * Pfad: D:\SNI\Mackwi
Barcodes Two vertical barcode symbols one beneath the other Programming: Barcode header : ESC [ ; n2 Example : ESC [ ; 401 ; 7 Set barcode mode : ESC [ ? 0 h Data : * CODE 39 * ; n3 ; n4 ; n5 ; n6 SP z ; 0 ; 0 ; 1 SP z Reset barcode mode : ESC [ ? 0 l1) Specify spacing : CR LF LF LF LF LF LF LF LF LF LF LF LF Set barcode mode : ESC [ ? 0 h Data : * CODE 39 * Reset barcode mode : ESC [ ? 0 l1) 1) This letter is a small “L”! C O D E 3 9 * * C O D E 3 9 * Printout: * Pfad:
Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169E.
Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169E.
Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169E.
Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169E.
Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169E.
Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169E.K07 © Siemens Nixdorf Informationssysteme AG 1995 Print carriage movements IBM Proprinter emulation Print carriage movements Command Control character sequence Hexadecimal Decimal Carriage return CR 0D 13 32 Print head to ESC < left margin 1B 3C 27 60 33 Space SP 20 32 33 Backspace BS 08 08 33 Set 10 cpi (Pica) DC2 12 18 33 Set 12 cpi (Elite) ESC : 1B 3A 27 58 34 Set 17.
Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169E.
Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169E.
Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169E.
Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169E.
Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169E.
Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169E.K07 © Siemens Nixdorf Informationssysteme AG 1995 Miscellaneous commands IBM Proprinter emulation Miscellaneous commands Command Control Hexasequence decimal Decimal Set default tab stops ESC R 1B 52 27 82 Transparent ESC ^ p1 print data for one character 1B 5E p1 27 94 p1 p1 Character code 61 Transparent ESC \ print data for p1 p2 several characters 1B 5C p1 p2 27 92 p1 p2 No.
Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169E.
Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169E.
Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169E.
Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169E.
Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169E.
Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169E.
Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169E.
Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169E.K08 © Siemens Nixdorf Informationssysteme AG 1995 Print carriage movements Command Epson LQ-2550 emulation Hexadecimal Decimal Set unidirec- ESC < tional print mode for one line 1B 3C 27 60 Select text alignment 1B 61 p1 27 97 p1 Programmer Reference Guide Control sequence ESC a p1 Remark See page 95 Valid values p1 : X’ 00 X’ 01 X’ 02 X’ 03 96 Left-justif. Centered Right-justif.
Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169E.
Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169E.
Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169E.
Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169E.
Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169E.
Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169E.
Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169E.
Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169e.
Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169e.
Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169e.k09 © Siemens Nixdorf Informationssysteme AG 1995 IBM set 1 Character set tables National versions of IBM set 1 Character Code (Hex) 23 24 40 5B 5C 5D 5E 60 7B 7C 7D 7E 1: USA # $ @ [ \ ] ^ ‘ { | } ~ 2: FRANCE # $ à ° ç § ^ ‘ é ù è ¨ 3: GERMANY # $ § Ä Ö Ü ^ ‘ ä ö ü ß 4: U.K.
Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169e.
Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169e.k09 © Siemens Nixdorf Informationssysteme AG 1995 IBM set 2 Character set tables National versions of IBM set 2 Character Set Code (Hex) 23 24 40 5B 5C 5D 5E 60 7B 7C 7D 7E 9B 9D 1: USA # $ @ [ \ ] ^ ‘ { | } ~ ¢ ¥ 2: FRANCE # $ à ° ç § ^ ‘ é ù è ¨ ¢ ¥ 3: GERMANY # $ § Ä Ö Ü ^ ‘ ä ö ü ß ¢ ¥ 4: U.K.
IBM code pages Page 437 2 3 4 SP 0 5 6 7 8 9 A B C D E F á ░ À Ð α @ P ‘ p Ç É ≡ 1 A Q a q ü æ í ▒ Á Ñ ß ± Ø 1 J ! 2 l × " 2 B R b r é Æ ó ▓ Â Ò Γ ≥ 3 ♥ !! # 3 C S c s â ô ú ³ Ã Ó π ≤ 4 ♦ ¶ $ 4 D T d t ä ö ñ ´ Ä Ô ∑ ⌠ 5 ♣ § % 5 E U e u à ò Ñ µ Å Õ σ ⌡ 6 ♠ _ & 6 F V f v å û ª ¶ Æ Ö µ ÷ 7 • × ’ 7 G W g w ç ù º · Ç × τ ≈ 8 n ( 8 H X h x ê ÿ ¿ ¸ È Ø Φ ˚
Page 850 1 2 3 4 SP 0 5 6 7 8 9 A B C D E F á ░ À @ P ‘ p Ç É ð Ó - 1 A Q a q ü æ í ▒ Á Ð ß ± Ø 1 J ! 2 l × " 2 B R b r é Æ ó ▓ Â Ê Ô = 3 ♥ !! # 3 C S c s â ô ú ³ Ã Ë Ò ¾ 4 ♦ ¶ $ 4 D T d t ä ö ñ ´ Ä È õ ¶ 5 ♣ § % 5 E U e u à ò Ñ Á Å ï Õ § 6 ♠ _ & 6 F V f v å û ª Â ã Ï µ ÷ 7 • × ’ 7 G W g w ç ù º À Ã Î þ ¸ 8 n ( 8 H X h x ê ÿ ¿ © È Ï Þ 9 ) 9 I Y
Page 858 1 2 3 4 SP 0 5 6 7 8 9 A B C D E F á ░ À @ P ‘ p Ç É ð Ó - 1 A Q a q ü æ í ▒ Á Ð ß ± Ø 1 J ! 2 l × " 2 B R b r é Æ ó ▓ Â Ê Ô = 3 ♥ !! # 3 C S c s â ô ú ³ Ã Ë Ò ¾ 4 ♦ ¶ $ 4 D T d t ä ö ñ ´ Ä È õ ¶ 5 ♣ § % 5 E U e u à ò Ñ Á Å Õ § 6 ♠ _ & 6 F V f v å û ª Â ã Ï µ ÷ 7 • × ’ 7 G W g w ç ù º À Ã Î þ ¸ 8 n ( 8 H X h x ê ÿ ¿ © È Ï Þ 9 ) 9 I Y i
Page 860 1 2 3 4 5 6 7 8 9 A B C D E F SP 0 @ P ‘ p Ç É á ░ À Ð α ≡ 1 A Q a q ü À í ▒ Á Ñ ß ± Ø 1 J ! 2 l × " 2 B R b r é È ó ▓ Â Ò Γ ≥ 3 ♥ !! # 3 C S c s â ô ú ³ Ã Ó π ≤ 4 ♦ ¶ $ 4 D T d t ä ö ñ ´ Ä Ô ∑ ⌠ 5 ♣ § % 5 E U e u à ò Ñ µ Å Õ σ ⌡ 6 ♠ _ & 6 F V f v Á Ú ª ¶ Æ Ö µ ÷ 7 • × ’ 7 G W g w ç ù º · Ç × τ ≈ 8 n ( 8 H X h x ê Ì ¿ ¸ È Ø Φ ˚ 9 ) 9
Page 863 1 2 3 4 5 6 7 8 9 A B C D E F SP 0 @ P ‘ p Ç É ░ À Ð α ≡ 1 A Q a q ü È ’ ▒ Á Ñ ß ± Ø 1 J ! 2 l × " 2 B R b r é Ê ó ▓ Â Ò Γ ≥ 3 ♥ !! # 3 C S c s â ô ú ³ Ã Ó π ≤ 4 ♦ ¶ $ 4 D T d t Â Ë ¨ ´ Ä Ô ∑ ⌠ 5 ♣ § % 5 E U e u à Ï ¸ µ Å Õ σ ⌡ 6 ♠ _ & 6 F V f v ¶ û ³ ¶ Æ Ö µ ÷ 7 • × ’ 7 G W g w ç ù ¯ · Ç × τ ≈ 8 n ( 8 H X h x ê ¤ Î ¸ È Ø Φ ˚ 9 ) 9
Page 865 1 2 3 4 5 6 7 8 9 A B C D E F SP 0 @ P ` p Ç É á ░ À Ð α ≡ 1 A Q a q ü æ í ▒ Á Ñ ß ± 0 Ø 1 J ! 2 l × " 2 B R b r é Æ ó ▓ Â Ò Γ ≥ 3 ♥ !! # 3 C S c s â ô ú ³ Ã Ó π ≤ 4 ♦ ¶ $ 4 D T d t ä ö ñ ´ Ä Ô ∑ ⌠ 5 ♣ § % 5 E U e u à ò Ñ µ Å Õ σ ⌡ 6 ♠ _ & 6 F V f v å û ª ¶ Æ Ö µ ÷ 7 • × ’ 7 G W g w ç ù º · Ç × τ ≈ 8 n Õ 0 Ê ( 8 H X h x ê ÿ ¿ ¸ È Ø Φ ˚
Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169e.
Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169e.k09 © Siemens Nixdorf Informationssysteme AG 1995 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 # $ @ [ \ ] ^ ‘ { | } ~ 2: FRANCE # $ à ° ç § ^ ‘ é ù è ¨ 3: GERMANY # $ § Ä Ö Ü ^ ‘ ä ö ü ß 4: U.K.
Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169e.
Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169e.k09 © Siemens Nixdorf Informationssysteme AG 1995 Epson ITALIC Character set tables National versions of Epson ITALIC (1) Character Code (Hex) 23 24 40 5B 5C 5D 5E 60 7B 7C 7D 7E 1: USA # $ @ [ \ ] ^ ‘ { | } ~ 2: FRANCE # $ à ° ç § ^ ‘ é ù è ¨ 3: GERMANY # $ § Ä Ö Ü ^ ‘ ä ö ü ß 4: U.K.
Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169e.k09 © Siemens Nixdorf Informationssysteme AG 1995 Epson ITALIC Character set tables National versions of Epson ITALIC (2) Character Code (Hex) A3 A4 C0 DB DC DD DE E0 FB FC FD FE 1: USA # $ @ [ \ ] ^ ‘ { | } ~ 2: FRANCE # $ à ° ç § ^ ‘ é ù è ¨ 3: GERMANY # $ § Ä Ö Ü ^ ‘ ä ö ü ß 4: U.K.
Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169e.
ISO 8859-1 0 1 2 3 4 5 6 7 8 9 A B C D E F ° À Ð à ð 0 SP 0 @ P ‘ p NBSP 1 ! 1 A Q a q ¡ ± Á Ñ á ñ 2 " 2 B R b r ¢ ² Â Ò â ò 3 # 3 C S c s £ ³ Ã Ó ã ó 4 $ 4 D T d t Z Ä Ô ä ô 5 % 5 E U e u ¥ µ Å Õ å õ 6 ε 6 F V f v Š ¶ Æ Ö æ ö 7 ’ 7 G W g w § · Ç × ç ÷ 8 ( 8 H X h x š z È Ø è ø 9 ) 9 I Y i y © ¹ É Ù é ù A * : J Z j z ª º Ê Ú ê ú B + ; K [ k { « »
Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169E.
Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169E.
Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169E.
Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169E.
Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169e.k11 © Siemens Nixdorf Informationssysteme AG 1995 Interfaces The following describes the two interfaces provided on the 90152-12 interface module. Serial V.
Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169e.k11 © Siemens Nixdorf Informationssysteme AG 1995 V.24/RS-232 C Interfaces Pin assignment Designation Explanation Pin EIA DIN CCITT 1 2 3 4 5 6 7 20 AA BA BB CA CB CC AB CD E1 D1 D2 S2 M2 M1 E2 S1.2 101 103 104 105 106 107 102 108.
Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169e.k11 © Siemens Nixdorf Informationssysteme AG 1995 V.24/RS-232 C Interfaces DTR protocol The following signal lines are used: Designation Explanation Pin EIA DIN CCITT 1 3 7 20 AA BB AB CD E1 D2 E2 S1.2 101 104 102 108.2 PG: Protective Ground RXD: Receive Data SG: Signal Ground DTR: Data Terminal Ready Direction from/to printer x x The printer sets the DTR signal to ON (positive level) as soon as it is ready to receive data after power-on.
Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169e.k11 © Siemens Nixdorf Informationssysteme AG 1995 V.24/RS-232 C Interfaces X-ON/X-OFF protocol The following signal lines are used: Designation Explanation Pin EIA DIN CCITT 1 2 3 5 6 7 20 AA BA BB CB CC AB CD E1 D1 D2 M2 M1 E2 S1.2 101 103 104 106 107 102 108.
Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169e.k11 © Siemens Nixdorf Informationssysteme AG 1995 Centronics Interfaces Parallel Centronics interface Pin assignment Pin Signal name Explanation Direction from/to printer 1 STROBE When the signal is set to logical zero, the data byte DATA 1 - DATA 8 is stored in the printer buffer.
Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169e.k11 © Siemens Nixdorf Informationssysteme AG 1995 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. After a timeout of 0.5 microseconds the host sends a STROBE pulse with a length of at least 0.5 microseconds.
Interfaces DATA 1-8 © Siemens Nixdorf Informationssysteme AG 1995 Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169e.k11 Centronics DATA 0.5µs 0.5µs STROBE 350ns MAX BUSY ACKN 0.
Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169e.k11 © Siemens Nixdorf Informationssysteme AG 1995 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 with 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.
Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169E.LIT © Siemens Nixdorf Informationssysteme AG 1995 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.
[4] 9014 Printer ECMA-Emulation Programmer Reference Guide Target group Programmers © Siemens Nixdorf Informationssysteme AG 1995 Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169E.LIT Related publications 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 Ordering manuals The manuals listed above can be ordered from your local Siemens branch.
Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169E.BIO © Siemens Nixdorf Informationssysteme AG 1995 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”.
Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169E.
Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169E.
Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169E.
Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169E.
Siemens AG User Documentation OEC XS QM 4 33094 Paderborn Germany Fax: (05251) 815248 Submitted by Comments on 9014, 9015, 9015 E, 9016 Printer Epson and IBM Proprinter Emulation ✁ U26169-J-Z716-1-7600 Comments Suggestions Corrections
Siemens AG Training Center, Consulting Service 81730 Munich Germany Fax: (++49) 89636-52003 Courses Consulting 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.