Page 2 - Draft document
Draft document Edition: August 2008 The following paragraph does not apply to any country where such provisions are inconsistent with local law: LEXMARK INTERNATIONAL, INC., PROVIDES THIS PUBLICATION “AS IS” WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE ...
Page 3 - Contents
Draft document Contents TOC-1 Contents Set Initial Conditions Commands ................................... 1-1 SIC Command Format ....................................................................................... 1-2 Init Values .....................................................................
Page 7 - CHAPTER 1: Set Initial Conditions
1-1 Draft document CHAPTER 1: Set Initial Conditions Commands The Set Initial Conditions (SIC) command sets the printer to the default values that were set at the factory or to user-defined defaults. The following data is applicable to both IBM and Epson modes, unless otherwise noted. The SIC comman...
Page 8 - SIC Command; SIC Command Format; Init Values
SIC Command 1-2 Draft document SIC Command Format Usage Notes: • "n1 is the low order byte. n2 is the high order byte. n1 and n2 specify the number of mode bytes in the escape sequence. n1 is the number of parameters +2. (the number of parameters plus init and id.) Normally, n1 is 1, 3 or 4. n2 ...
Page 9 - Id Values
SIC Command 1-3 Draft document Id Values The supported values of Id are as follows. If the Id is any other value, the parm bytes are ignored. Note: The most common ID values are C5 and C6. Remaining values are listed for backward compatibility. Not all Parms are valid for each Id value. Some are ign...
Page 11 - Parm Values
SIC Command 1-5 Draft document Parm Values Table 1-3: Ids - Dec 3, 22, 35, 36, 177, 180 (Hex 03, 16, 23, 24, B1, B4) Parm Bit Description On Off 1 Same action for all Ids. 7 Discard byte Ignore this byte Process this byte 6 Reserved 5 Alarm Enable Disable 4 Auto CR No CR after LF Auto CR after LF 3 ...
Page 21 - CHAPTER 2: IBM Emulation Mode; Control Codes
Control Codes 2-1 Draft document CHAPTER 2: IBM Emulation Mode Printer Commands This section provides a detailed description of IBM emulation mode commands you can use with your printer. Control Codes Control codes are one-character printer commands that are used to: • Manage the printing of a job. ...
Page 23 - Escape Sequences; Command Structure; Example of IBM Emulation Mode Printer Command
Escape Sequences 2-3 Draft document Escape Sequences An escape sequence (two or more characters of information) lets you change the way the printer is currently printing. Like a control code, it gives you control over the printed output. The escape sequence begins with the character ESC (decimal 027...
Page 24 - Printer Command; Printer Command Quick Reference (IBM Emulation
Printer Command 2-4 Draft document Printer Command Quick Reference (IBM Emulation Mode) Data is pending. Control Codes in ESC Sequence Format The following ESC sequences match the Control Code commands. See that section for a full description of each Control Code. Escape sequences utilize the follow...
Page 25 - Control Codes in
Control Codes in 2-5 Draft document Cancel Double-Wide Printing by Line DC4 20 14 Cancel Data CAN 24 18 Table 2-2: Escape Sequence Equivalents to Control Codes (Continued) Code Nem FormatESC Decimal27 Hexadecimal1B
Page 26 - General Printer; General Printer Commands; Set Print Direction
General Printer 2-6 Draft document General Printer Commands The following are general Printer Commands. Set Print Direction This command sets the printer to print either unidirectional (left to right) printing or returns to bi-directional printing. USAGE NOTE The value of n can be either of the foll...
Page 27 - Deselect Printer
General Printer 2-7 Draft document Deselect Printer When this command is sent, the printer ignores all data except DC1. USAGE NOTE The following values of n are valid: Stop Printing (259X only) This command stops printing and causes the printer to go into OFF LINE mode. Pressing the Start/Stop key r...
Page 28 - Print Position; Print Position Commands
Print Position 2-8 Draft document Print Position Commands Relative Move Inline Forward (n/120") This command moves the current print position to the right by the distance specified in the parameter. USAGE NOTES • Any attempt to use this command to move the print position beyond the current right...
Page 29 - Reverse Line Feed
Print Position 2-9 Draft document Automatic Line Feed (LF) Turns the automatic line feed mode On and Off. USAGE NOTES The value of n can be either of the following: • 1 (dec) 01 (hex) = ON • 0 (dec) 00 (hex) = OFF • When on, executes an automatic line feed when a carriage return is received. Reverse...
Page 31 - Start Text Line Spacing
Print Position 2-11 Draft document Set Text Line Spacing (n/72") This command sets line spacing in n/72 inch increments. To activate the line spacing, use the printer command Start Text Line Spacing (ESC 2). USAGE NOTE The value for n must be between 1 and 85. Start Text Line Spacing This comman...
Page 32 - Page/Form Layout Commands; Set All Tabs to Power On Setting; Set Horizontal Tabs
Page/Form Layout 2-12 Draft document Page/Form Layout Commands Set All Tabs to Power On Setting This command sets the horizontal tabs at every 8th column, beginning at column 9 (9, 17, 25, and so on) and clears all vertical tabs. USAGE NOTE • To set user-defined tabulation stops, use printer command...
Page 33 - Set Vertical Tabs; Set Horizontal Margins
Page/Form Layout 2-13 Draft document Set Vertical Tabs Sets as many as 64 tabulation stops by line number. USAGE NOTES • Set the tabulation stops in ascending order (n1.....n64). • The last digit in the sequence must be 0 to terminate the command. • Vertical tab positions are specified by a line num...
Page 34 - Set Automatic Perforation Skip; Cancel Automatic Perforation Skip; Proportional Space Mode
Page/Form Layout 2-14 Draft document Set Automatic Perforation Skip This command specifies the number of lines to be skipped at the bottom of each page, which creates a bottom margin. USAGE NOTES • This command remains in effect until: – Cancel Skip Perforation (ESC O) printer command is received. –...
Page 35 - Set Top of Form; Set Form Length in Lines
Page/Form Layout 2-15 Draft document Set Top of Form This command sets the first line of printing on each page to the current vertical paper position. Set Form Length in Inches This command sets the form length to a specified number of inches. USAGE NOTES • The value of n must be between 1 and 255. ...
Page 36 - Character; Character Commands; Select Character Set 1
Character 2-16 Draft document Character Commands Select Character Set 1 Selects character set 1 for printing. Character set 1 contains characters and symbols that are used in the English language. Format ESC 7 Decimal 27 55 Hex 1B 37 See page YYY for more information. {Reference will be updated when...
Page 37 - Select Print Mode
Character 2-17 Draft document Select Print Mode This command selects the normal font or the download font in Draft, NLQ (258x only) or LQ (259x only). Format ESC I n Decimal 27 73 n Hex 1B 49 n USAGE NOTES • This command cancels any print combinations that conflict with ESC I. • The following table ...
Page 39 - Code Page; Code Page Commands; Set Code Page; Continuously Print From All Character Chart
Code Page 2-19 Draft document Code Page Commands Set Code Page Use this printer command to change the active code page. USAGE NOTES • n1 is a one-byte binary number that is the less significant byte of the two-byte parameter count. • n2 is a one-byte binary number that is the more significant byte o...
Page 40 - Print One Character
Code Page 2-20 Draft document – When a value is represented by two parameter bytes, value (A) = Ln + Hn X 256. Calculate values of A less than 256. • Hn is 0.• Ln is the value.– To calculate values of A equal to or greater than 255.• Divide the value A by 256.• The result is Hn.• The remainder is Ln...
Page 41 - Style Commands; Set Print Quality
Style Commands 2-21 Draft document Style Commands Set Print Quality This command changes the print quality. USAGE NOTES • n1 and n2 specify the number of parameter bytes contained in this escape sequence. Normally, n1 is 1, and n2 is 0. m specifies the print quality as follows: Format ESC [ d n1 n2 ...
Page 42 - Select Global Font
Style Commands 2-22 Draft document Select Global Font This command allows the user to vary the font, pitch and code page. USAGE NOTES • Count the number of parameter bytes contained in this escape sequence as value (A). – When a value is represented by two parameter bytes, value (A) = Ln + Hn X 256....
Page 47 - Select Print Type Style
Style Commands 2-27 Draft document Select Print Type Style This command selects the following printing modes: • Character height - single or double • Character width - single or double • Line Spacing - single or double • Italic print • Shadow print (259x only) • Outline print (259x only) USAGE NOTES...
Page 48 - Select 12 cpi
Style Commands 2-28 Draft document See the following table for m1, m3, and m4 values. Select 12 cpi This command sets the pitch at 12 cpi. Table 2-13: Select Print Type Style Values Variable Decimal Hexadecimal Description m1 0 00 No change 1 01 Start Italic Print 2 02 Stop Italic Print 4 04 Start O...
Page 49 - Select/Cancel Emphasized Mode
Style Commands 2-29 Draft document Select/Cancel Emphasized Mode This command selects and cancels the emphasized mode. To select emphasized mode: To cancel emphasized mode: Select/Cancel Double-Strike Mode This command selects and cancels the double-strike mode. Double-strike print results in a dark...
Page 50 - Start Superscript or Subscript Printing; Cancel Superscript and Subscript Printing
Style Commands 2-30 Draft document Start Superscript or Subscript Printing This command selects the subscript and superscript modes. USAGE NOTE The value of n can be either of the following: • 1 (dec) 01 (hex) = Subscript ON • 0 (dec) 00 (hex) = Superscript ON Cancel Superscript and Subscript Printi...
Page 51 - Continuous Underscore; Continuous Overscore
Style Commands 2-31 Draft document – 3 (dec) 03 (hex) equals Overscore • m2 selects score type as follows: – 0 (dec) 00 (hex) equals Cancel– 1 (dec) 01 (hex) equals Single– 2 (dec) 02 (hex) equals Double Continuous Underscore This command begins and ends continuous underscore of spaces and character...
Page 52 - Graphics; Graphics Commands; Normal Density Bit Image Graphics (60 dpi)
Graphics 2-32 Draft document Graphics Commands Normal Density Bit Image Graphics (60 dpi) This command sends normal density bit images to be printed at 60 dots per inch (dpi) horizontally and 72 dpi vertically. USAGE NOTES • The command discards all data that goes beyond the current margin. • Text a...
Page 58 - Bar Code; Bar Code Commands; Setup Barcode Parameter; Barcode Types
Bar Code 2-38 Draft document Bar Code Commands Setup Barcode Parameter This command sets the barcode parameters to the printer. USAGE NOTES • The printer must receive this command prior to the barcode data command. The printer may ignore this command when the received parameters include undefined da...
Page 59 - Barcode Module Width; Adjustment Unit
Bar Code 2-39 Draft document Barcode Module Width The suggested values for m are as follows: Adjustment Unit 24 wire printers (259X) 1=1/360 in. 9 wire printers (258X) 1=1/240 in 180 B4 CODE 39 181 B5 INDUSTRIAL 2 of 5 182 B6 INTERLEAVED 2 of 5 183 B7 UPC-A 184 B8 UPC-E 185 B9 POST-NET (barcode) 186...
Page 60 - Barcode Length
Bar Code 2-40 Draft document Adjustment Values are: Note : Bar/Space number of one digit (Interleaved 2 of 5 : one pair digit) "s" value affects barcode printing width. If barcode printing area reaches to the right or left margin, the printer ignores this command. Barcode Length The variable...
Page 61 - Barcode Control Flag; Setup Barcode Data
Bar Code 2-41 Draft document Barcode Control Flag The control flag is made up of 8 bits as follows: Setup Barcode Data This command sets the barcode data on the current printing position. Model Dec Hex Vertical Pitch all barcodes except Post-Net a 24 wire (259X) 12 0C 1/180 inch 9 wire (248X) 30 1E ...
Page 63 - Enabling code page; CHAPTER 3: Code Pages; Enabling code page character support
Enabling code page 3-1 Draft document CHAPTER 3: Code Pages Enabling code page character support In addition to the standard support for the US and Western Europe code pages, the 2500 series forms printers include support for characters contained in a variety of other code pages. When the printer is...
Page 64 - Code page samples
Code page samples 3-2 Draft document 4 Once the printer has initialized, it will allow printing of alternate characters, by selecting one of the appropriate code pages. See section XX for code page information. 5 Verify by printing a test page. a Turn the printer off. b Hold down the LineFeed button...
Page 117 - Code Page Table; APPENDIX A: Code Page Table
Code Page Table A-1 Draft document APPENDIX A: Code Page Table The 2500 series forms printers include support for a variety of code pages. See the following table for a complete list. Code page 437 (U.S. English) is the factory default code page. The following conventions are used to identify code p...