
DRAFT document - Monday, August 11, 2008 1:59 pm
Please note that this is a DRAFT document. More information will be added and a final version will be released at a later date.
www.lexmark.com
Lexmark and Lexmark with diamond design are trademarks of Lexmark International, Inc., registered in the United States and/or other countries. © 2008 Lexmark International, Inc. All rights reserved. 740 West New Circle Road Lexington, Kentucky 40550

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 IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Some states do not allow disclaimer of express or implied warranties in certain transactions; therefore, this statement may not apply to you. This publication could include technical inaccuracies or typographical errors. Changes are periodically made to the information herein; these changes will be incorporated in later editions. Improvements or changes in the products or the programs described may be made at any time. Comments about this publication may be addressed to Lexmark International, Inc., Department F95/032-2, 740 West New Circle Road, Lexington, Kentucky 40550, U.S.A. In the United Kingdom and Eire, send to Lexmark International Ltd., Marketing and Services Department, Westhorpe House, Westhorpe, Marlow Bucks SL7 3RQ. Lexmark may use or distribute any of the information you supply in any way it believes appropriate without incurring any obligation to you. You can purchase additional copies of publications related to this product by calling 1-800-553-9727. In the United Kingdom and Eire, call +44 (0)8704 440 044. In other countries, contact your point of purchase. References in this publication to products, programs, or services do not imply that the manufacturer intends to make these available in all countries in which it operates. Any reference to a product, program, or service is not intended to state or imply that only that product, program, or service may be used. Any functionally equivalent product, program, or service that does not infringe any existing intellectual property right may be used instead. Evaluation and verification of operation in conjunction with other products, programs, or services, except those expressly designated by the manufacturer, are the user’s responsibility. Lexmark, Lexmark with diamond design, MarkNet, MarkVision, and Optra are trademarks of Lexmark International, Inc., registered in the United States and/or other countries. ColorGrade, PerfectFinish, and PictureGrade are trademarks of Lexmark International, Inc. The following terms are trademarks or registered trademarks of other companies:
Albertus The Monotype Corporation plc Antique Olive Monsieur Marcel OLIVE Apple-Chancery Apple Computer, Inc. Arial The Monotype Corporation plc Candid Agfa Corporation CG Omega Product of Agfa Corporation CG Times Based on Times New Roman under license from The Monotype Corporation plc, is a product of Agfa Corporation Chicago Apple Computer, Inc. Clarendon Linotype-Hell AG and/or its subsidiaries Eurostile Nebiolo Geneva Apple Computer, Inc. GillSans The Monotype Corporation plc Helvetica Linotype-Hell AG and/or its subsidiaries Hoefler Jonathan Hoefler Type Foundry ITC Avant Garde Gothic International Typeface Corporation
ITC Bookman International Typeface Corporation ITC Lubalin Graph International Typeface Corporation ITC Mona Lisa International Typeface Corporation ITC Zapf Chancery International Typeface Corporation Joanna MT The Monotype Corporation plc Marigold Arthur Baker Monaco Apple Computer, Inc. Mona Lisa International Typeface Corporation New York Apple Computer, Inc. Oxford Arthur Baker Palatino Linotype-Hell AG and/or its subsidiaries Stempel Garamond Linotype-Hell AG and/or its subsidiaries Taffy Agfa Corporation Times New Roman The Monotype Corporation plc TrueType Apple Computer, Inc. Univers Linotype-Hell AG and/or its subsidiaries Wingdings Microsoft Corporation
AppleTalk, EtherTalk, LocalTalk, and Macintosh are trademarks of Apple Computer, Inc., registered in the United States and other countries. PCL® is a registered trademark of the Hewlett-Packard Company. PCL 3, PCL 5, and PCL 6 are Hewlett-Packard Company’s designations of a set of printer commands (language) and functions included in its printer products. These printers are intended to be compatible with the PCL 3, PCL 5, and PCL 6 languages. This means these printers recognize PCL 3, PCL 5, and PCL 6 commands used in various application programs, and that the printer emulates the functions corresponding to the commands. PostScript® is a registered trademark of Adobe Systems Incorporated. PostScript is Adobe Systems’ designation of a set of printer commands (language) and functions included in its software products. These printers are intended to be compatible with the PostScript language. This means these printers recognize PostScript commands used in various application programs, and that the printer emulates the functions corresponding to the commands. Other trademarks are the property of their respective owners.
© 1998, 2008 Lexmark International, Inc. All rights reserved. UNITED STATES GOVERNMENT RESTRICTED RIGHTS This software and any accompanying documentation provided under this agreement are commercial computer software and documentation developed exclusively at private expense.


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 command cannot be used in OKI emulation mode.
There are three copies of the settings for each of the parameters specified by the SIC command:
Factory Factory defaults cannot be modified.
User The SIC command has the ability to override Current settings with the User defaults or Factory defaults. It can then change those values and optionally store then back to NVRAM as the new User defaults.
Current When the printer is turned on, the current RAM settings are initialized from the User default settings. The basic commands implemented in IBM, Epson and Oki emulations can modify the Current settings stored in RAM but cannot save them back to User Defaults in NVRAM.

SIC Command Format
Usage Notes:
“init” sets the printer to user-defined or factory settings. The following table describes the valid init values and their affect on the printer default settings initialization, macro settings and download font:

The supported values of Id are as follows. If the Id is any other value, the parm bytes are ignored.
backward compatibility. Not all Parms are valid for each Id value. Some are ignored.

specified to id in Epson mode, this command sequence is ignored.

Parm Values
Table 1-3: Ids - Dec 3, 22, 35, 36, 177, 180 (Hex 03, 16, 23, 24, B1, B4)


Parm Description Dec Hex Action for Id = Dec 197 / Hex C5 Action for Id = Dec 198 / Hex C6
4 FONT 0 00 No Change No Change
1 01 Fast Draft Fast Draft
2 02 Draft Draft
3 03 Gothic Gothic
4 04 Courier Courier
5 05 Download font Download font
6 06 No Change Prestige
7 07 No change Presentor
8 08 No change Orator
9 09 No change Script
5 Pitch 0 00 No Change No Change
1 01 10 pitch 10 pitch
2 02 12 pitch 12 pitch
3 03 15 pitch 15 pitch
4 04 17.1 pitch 17.1 pitch
5 05 20 pitch 20 pitch
7 07 24 pitch 24 pitch

Parm Description Dec Hex Action for Id = Dec 197 / Hex C5 Action for Id = Dec 198 / Hex C6
6 Code Page (XNLS = Std / OCR-B)
0 00 No Change No Change
1 01 437 437
2 02 850 850
3 03 860 860
4 04 863 863
5 05 865 865
7 07 813 813
8 08 851 851
10 0A 857 857
11 0B 869 869
12 0C 920 920
13 0D 1053 1053
14 0E 861 861
15 0F 1004 1004
16 10 858 858

Parm Description Dec Hex Action for Id = Dec 197 / Hex C5 Action for Id = Dec 198 / Hex C6
6 Code Page (XNLS = Eastern)
0 00 No Change No Change
1 01 437 437
2 02 850 850
3 03 852 852
4 04 855 855
5 05 866 866
6 06 1855 1855
7 07 1852 1852
8 08 2852 2852
9 09 3852 3852
11 0B 1250 1250
12 0C 1251 1251
13 0D 912 912
14 0E 915 915
15 0F 1866 1866
16 10 858 858

Parm Description Dec Hex Action for Id = Dec 197 / Hex C5 Action for Id = Dec 198 / Hex C6
6 Code Page (XNLS = Baltic)
0 00 No Change No Change
1 01 437 437
2 02 850 850
3 03 858 858
4 04 866 866
5 05 915 915
6 06 1251 1251
7 07 1866 1866
8 08 775 775
9 09 919 919
11 0B 916 916
12 0C 918 918
13 0D 2866 2866
14 0E 771 771
15 0F 929 929
16 10 773 773
6 Code Page (XNLS = Arabic)
0 00 No Change No Change
1 01 437 437
2 02 850 850
3 03 864 864
4 04 1046 1046
5 05 1098 1098
6 06 1198 708
7 07 708 720
8 08 720 449p
9 09 449p 858

Parm Description Dec Hex Action for Id = Dec 197 / Hex C5 Action for Id = Dec 198 / Hex C6
6 Code Page (XNLS = Levant)
0 00 No Change No Change
1 01 437 437
2 02 850 850
3 03 864 864
4 04 1046 1046
5 05 1098 1098
6 06 1198 862
7 07 862 856
8 08 856 1862
9 09 916 916
11 0B 858
6 Code Page (XNLS = OKI)
0 00 No Change
9 09 853T
10 0A 857
11 0B 869
12 0C 920
13 0D 1040
14 0E 1041
15 0F 850B
7 Form Length 0 00 No Change No Change

Parm Description Dec Hex Action for Id = Dec 197 / Hex C5 Action for Id = Dec 198 / Hex C6
8 Lines per inch 0 00 No Change No Change
1 01 3 3
2 02 4 4
3 03 6 6
4 04 8 8
9 Left Margin 0 00 No Change No Change
1 01 0 inch 0 inch
2 02 1 inch 1 inch
3 03 2 inch 2 inch
4 04 3 inch 3 inch
10 Right Margin 0 00 No Change No Change
1 01 4 inch 4 inch
2 02 5 inch 5 inch
3 03 6 inch 6 inch
4 04 7 inch 7 inch
5 05 8 inch 8 inch
6 06 13.6 inch (2581 only) 13.6 inch (2591 only)
11 Bottom Margin 0 00 No Change No Change
1 01 0 inch 0 inch
2 02 1/2 inch 1/2 inch
3 03 1 inch 1 inch
4 04 2 inch 2 inch
5 05 3 inch 3 inch

Parm Description Dec Hex Action for Id = Dec 197 / Hex C5 Action for Id = Dec 198 / Hex C6
12 Alarm 0 00 No change No change
1 01 Disable Alarm Disable Alarm
2 02 Enable Alarm Enable Alarm
13 Auto CR 0 00 No change No change
2 02 OFF OFF
14 Auto LF 0 00 No change No change
2 02 OFF OFF
15 Slash Zero 0 00 No change No change
1 01 Zero slashed Zero slashed
2 02 Zero not slashed Zero not slashed
16 Character Set 0 00 No change No change
1 01 Set 1 Set 1
2 02 Set 2 Set 2
17 Bidirectional 0 00 No change No change
1 01 Uni-Directional Uni-Directional
2 02 Bi-Directional Bi-Directional
18 Sheet Feeder 0 00 No change No change
1 01 Disable Disable
2 02 Enable Enable

Parm Description Dec Hex Action for Id = Dec 197 / Hex C5 Action for Id = Dec 198 / Hex C6
19 Lock 0 00 No change No change
1 01 Font Lock Font Lock
2 02 Pitch Lock Pitch Lock
3 03 Font and Pitch Lock Font and Pitch Lock
4 04 Font and Pitch Unlock Font and Pitch Unlock
254 FE SIC Command Lock SIC Command Lock
255 FF SIC Command Unlock SIC Command Unlock
20 FF Enable 0 00 No Change Ignore
1 01 Ignore FF
2 02 Honor FF
21 TOF Read 0 00 No Change No Change
1 01 TOF Read Disable TOF Read Disable
2 02 TOF Read Enable TOF Read Enable
22 Tractor 0 00 No Change No Change
1 01 Tractor 1 Tractor 1
2 02 Tractor 2 Tractor 2
23 Tear Off 0 00 No Change No Change
1 01 On On
2 02 Off Off
3 03 One second One second
24 PnP (Plug & Play)
0 00 No Change No Change
1 01 Enable Enable
2 02 Disable Disable

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 are one-character printer commands that are used to:
The first 32 characters of the Standard ASCII table are control codes. This printer uses the following control codes.
Code Name Symbol Description
Sounds the printer beeper for approximately 1 second. 7 07
Backspace BS Causes the printer to move the current print position one character position to the left.
Horizontal Tab HT Moves the print head to the next horizontal tab position specified by the ESC D command. If no tab position is set or programmed, tabs are set by default to every 8th column, beginning at column 9.
When no tab is set between the current position and the right margin or if the tabs are all cleared, the code is ignored.
Line Feed LF Advances the paper one line on the page. An automatic carriage return may be optionally disabled.
Value (Dec) · Value (Hex) · Beeper BEL

Code Name Symbol Description
Sounds the printer beeper for approximately 1 second. 7 07
Vertical Tab VT Advances the paper to the next vertical tab position set by the ESC B command. If no tab position is set, the printer performs a single line feed.
If the next vertical tab position is greater than the form length (or form length minus skip perforation), the VT does a line feed.
An automatic carriage return may be optionally disabled
Form Feed FF Advances the paper to the top of the next page and does a carriage return.
Carriage Return CR Moves the current print position to the left margin of the current line. An automatic line feed may be optionally added by the setup.
Double-Wide Printing by Line
SO Prints all characters in double-width mode.
This mode is canceled by the receipt of ESC [ @, ESC W n, CR, LF, VT, FF, DC4, CAN or auto wrap.
Condensed Printing SI Condenses printing from 10 characters per inch (cpi) to 17.1 and 12 cpi to 20. 15 0F
Select Printer DC1 Selects the printer, causing all subsequent data to be accepted.
Select 10 cpi DC2 Returns condensed printing to normal (10 cpi). Cancels SI mode.
Deselect Printer DC3 This control code has no effect on the parallel interface.
This command is accepted and ignored.
Cancel Double-Wide Printing by Line
DC4 Cancels double-width printing mode and returns printing to normal.
Cancel Data CAN Clears current line buffer of data already received to print on the current line. Does not change the current print position
Value (Dec) · Value (Hex) · Beeper BEL

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, hexadecimal 1B). The printer recognizes this character as the beginning of a printer command signaling that the information following is control information and not data to be printed.
A command parameter sets the value for a command. This value stays constant until either a different value resets the command or a command resets the printer to its default values. For example, after the printer receives a command that selects a right margin beginning at column 63, the right margin of each printed page begins at column 63. The margin remains constant until a right margin command with a different value resets the margin, or the printer is reset.
In this section, command parameters are indicated by a lowercase n. Usage Notes explain how to compute this parameter.
Data is pending.
Data is pending.

Printer Command Quick Reference (IBM Emulation Mode)
Data is pending.
The following ESC sequences match the Control Code commands. See that section for a full description of each Control Code.
Escape sequences utilize the following format:
Decimal 27 Hexadecimal 1B
Beeper BEL 7 07
Backspace BS 8 08
Horizontal Tab HT 9 09
Line Feed LF 10 0A
Vertical Tab VT 11 0B
Form Feed FF 12 0C
Carriage Return CR 13 0D
Double-Wide Printing by LIne SO 14 0E
Condensed Printing SI 15 0F
Select Printer DC1 17 11
Select 10 cpi DC2 18 12
Deselect Printer DC3 19 13

Decimal 27 Hexadecimal 1B
Cancel Double-Wide Printing by Line DC4 20 14
Cancel Data CAN 24 18
Format ESC · Code Nem

General Printer Commands
The following are general Printer Commands.
This command sets the printer to print either unidirectional (left to right) printing or returns to bi-directional printing.
Format ESC U n
Decimal 27 85 n
Hexadecimal 1B 55 n
The value of n can be either of the following:
This command selects or cancels a double-wide printing mode that is not canceled by line feed terminators.
Format ESC W n
Decimal 27 87 n
Hexadecimal 1B 57 n
The value of n can be either of the following:

Deselect Printer
When this command is sent, the printer ignores all data except DC1.
Format ESC Q n
Decimal 27 81 n
Hexadecimal 1B 51 n
The following values of n are valid:
Pro-III Mode Setting in Setup
2580 3 03 Pro-III Mode ON
182 B6 Pro-III Mode OFF
2581 22 16 Pro-III Mode ON
184 B8 Pro-III Mode OFF
183 B7
Stop Printing (259X only)
This command stops printing and causes the printer to go into OFF LINE mode. Pressing the Start/Stop key returns the printer to ON LINE mode.

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.
Format ESC d Ln Hn
Decimal 27 100 Ln Hn
Hexadecimal 1B 64 Ln Hn
– 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.

Automatic Line Feed (LF)
Turns the automatic line feed mode On and Off.
Format ESC 5 n
Decimal 27 53 n
Hexadecimal 1B 35 n
The value of n can be either of the following:
This command feeds the paper one line in the reverse direction.
cause a paper jam.
For 259x printers only.
This command selects the line feed spacing increment for the following commands:
Format ESC [ \ n1 n2 m1 m2 m3 m4
Decimal 27 91 92 n1 0 0 0 m3 m4
Hexadecimal 1B 5B 5C n1 00 00 00 m3 m4
Format ESC ] · Decimal 27 93 · Hex 1B 5D

Unit Decimal Hexadecimal Decimal Hexadecimal
180 B4 00 00 1/180
104 68 01 01 1/360
This command (ESC zero) sets the line spacing at 1/8 inch between each line, which is 8 lines per inch (lpi).
This command sets the line spacing at 7/72 inch between each line, which is 10.3 lpi.

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).
Format ESC A n
Decimal 27 64 n
Hexadecimal 1B 41 n
The value for n must be between 1 and 85.
This command activates the line spacing designated by the Set Line Spacing for Text (ESC A) printer command. If no value is set by ESC A, command sets the line spacing to 1/6 inch, which is 6 lpi.
Format ESC 2 · Decimal 27 50 · Hexadecimal 1B 32

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.
This command sets up to 28 tabulation stops to be used with the printer command HT, Horizontal Tabulation.
Format ESC D n1 ... n28 0
Decimal 27 680 n1 ... n28 0
Hexadecimal 1B 44 n1 ... n28 00
Format ESC R · Decimal 27 82 · Hexadecimal 1B 52

Set Vertical Tabs
Sets as many as 64 tabulation stops by line number.
Format ESC B n1 ... n64 0
Decimal 27 680 n1 ... n64 0
Hexadecimal 1B 44 n1 ... n64 00
– If no tab position is set, the printer performs a single line feed. – If the next vertical tab position is greater than the form length (or form length
minus skip perforation), the VT does a line feed. – An automatic carriage return may be optionally disabled.
This command sets the left and right margins.
Format ESC X n m
Decimal 27 88 n m
Hexadecimal 1B 58 n m

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.
Format ESC N n
Decimal 27 78 n
Hexadecimal 1B 4E n
– Cancel Skip Perforation (ESC O) printer command is received. – Set Form Length in Lines (ESC C) printer command is received. – Set Form Length in Inches (ESC C 0) printer command is received. • Valid values for n are 1 through 255 (decimal), 01 through FF (hexadecimal).
This command cancels Set Automatic Perforation Skip (ESC N).
This command turns proportional space mode on and off.
Format ESC P n
Decimal 27 80 n
Hexadecimal 1B 50 n
– 1 (dec) 01 (hex) = ON – 0 (dec) 00 (hex) = OFF • (259x only) ON changes character pitch to the LQ proportional mode. OFF returns character pitch in LQ mode to the pitch selected before the proportional space mode was turned on.
Format ESC O · Decimal 27 79 · Hexadecimal 1B 4F

Set Top of Form
This command sets the first line of printing on each page to the current vertical paper position.
This command sets the form length to a specified number of inches.
Format ESC C 00 n
Decimal 27 67 00 n
Hexadecimal 1B 43 00 n
This command sets the form length to a specified number of lines.
Format ESC C n
Decimal 27 67 n
Hexadecimal 1B 43 n
Format ESC 4 · Decimal 27 52 · Hexadecimal 1B 34

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.
See page YYY for more information. {Reference will be updated when document is finalized.}
Selects character set 2 for printing.
Character set 2 contains characters and symbols that are used in English and non- English languages.
See page YYY for more information. {Reference will be updated when document is finalized.}
See page YYY for more information. {Reference will be updated when document is finalized.}

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
Printer Model Decimal Hexadecimal Print Mode
258X 0 00 Draft Resident
1 01 Fast DP (12 cpi) Resident
2 02 NLQ Gothic Resident
3 03 NLQ Courier Resident
4 04 Draft Download
5 05 Fast DP (12 cpi) Download
6 06 NLQ Download
7 07 NLQ II Download
8 08 Draft Download
9 09 Fast DP (12 cpi) Download
10 0A NLQ Gothic Download
11 0B NLQ Courier Italic Download
12 0C Draft Download
13 0D Fast DP (12 cpi) Download
14 0E NLQ Download
15 0F ALT NLQ II Download

Printer Model Decimal Hexadecimal Print Mode
259X 0 00 (Draft) 10 cpi Normal
8 08 (Draft) 12 cpi Normal
16 10 (Draft) 17 cpi Normal
2 02 (LQ) 10 cpi - Courier Normal
10 0A (LQ) 12 cpi -Prestige Normal
18 12 (LQ) 17 cpi -Courier Normal
3 03 (LQ) Proportional Normal
4 04 10 cpi Draft Download
12 0C 12 cpi Draft Download
20 14 17 cpi Draft Download
6 06 10 cpi LQ Download
14 0E 12 cpi LQ Download
22 16 17 cpi LQ Download
7 07 Proportional LQ Download

Code Page Commands
Set Code Page
Use this printer command to change the active code page.
Format ESC [ T n1 n2 n3 n4 Hc Lc
Decimal 27 91 84 n1 n2 0 0 Hc Lc
Hexadecimal 1B 5B 54 n1 n2 00 00 Hc Lc
– Divide the code page number, such as 437, by 256. – The whole number result is the Hc value. – The remainder is the Lc value. – If your code page has an alphabetic character, such as 437G, add 10,000
to the code page number, then divide by 256.
This command prints the next (n = m X 256) characters from the All Characters Chart.
Format ESC \ Ln Hn n1 ... nn
Decimal 27 92 Ln Hn n1 ... nn
Hexadecimal 1B 5C Ln Hn n1 ... nn

– When a value is represented by two parameter bytes, value (A) = Ln + Hn
– Locate the character on the code page table. – Use the decimal or hexadecimal digit for that character in the printer com-
mand format.
This command prints the next character from the All Characters Chart.
Format ESC ^ · Decimal 27 94 · Hexadecimal 1B 5E

Style Commands
Set Print Quality
This command changes the print quality.
Format ESC [ d n1 n2 m
Decimal 27 91 100 n1 n2 m
Hexadecimal 1B 5B 64 n1 1n m
m specifies the print quality as follows:
Printer Model Decimal Hexadecimal Quality
258X 0 00 No change
255 FF Default Font
259X 0 00 No change
3 03 (LQ) Proportional
255 FF Default Font

Select Global Font
This command allows the user to vary the font, pitch and code page.
Format ESC [ I Ln Hn Hf Lf Hs Ls Sm Nul Hc Lc
Decimal 27 91 73 Ln Hn Hf Lf Hs Ls Sm Nul Hc Lc
Hexadecimal 1B 5B 49 Ln Hn Hf Lf Hs Ls Sm Nul Hc Lc
– When a value is represented by two parameter bytes, value (A) = Ln + Hn
– Requested font, pitch and code page – Requested pitch and code page, first font found – Requested code page, first font and pitch found – No change

The following table applies to all models, except where noted.
Decimal Hf Lf Values Hexadecimal Hf Lf Values
Normal Bold Italic Bold/Italic Normal Bold Italic Bold/Italic
0 244 0 245 00 F4 00 F6 00 F5
10 0 11 0 46 0 18 0 57 00 0B 00 2E 00 12 00 39
12 1 235 0 85 0 108 0 92 0 116 01 EB 00 55 00 6C 00 5C 00 74
0 214 0 215 0 216 01 EC 00 DF(259X)
17 01 237 0 254 0 253 01 ED 00 FE 00 FD
01 EE 01 C6 (259X)
24 (259X) 1 30 01 1E
0 171 0 184 0 172 0 185 00 AB 00 B8 00 AC 00 B9
Pitch · Proportional spacing

The following table applies to all models, except where noted.
Decimal Hf Lf Values Hexadecimal Hf Lf Values
Normal Bold Italic Bold/Italic Normal Bold Italic
0 241 0 242 0 243 (259X)
00 F1 00 F2 00 F3 (259X)
10 0 36 0 39 (258X) 0 24 00 27 (258X)
12 1 143 0 87 0 110 0 109 01 8F 00 57 00 6E 00 6D
15 1 142 0 222 0 220 01 8E 00 DE 00 DC
17 1 141 0 255 01 8D 00 FF
20 1 140 1 25 (259X) 01 8C 01 19 (259X)
0 174 0 157 0 162 00 AE 00 9D 00 A2
The following table applies to 259X models only.
Decimal Hf Lf Values Hexadecimal Hf Lf Values
Normal Bold Italic Bold/Italic Normal Bold Italic Bold/Italic
10 0 12 00 60 00 0C 00 3C
12 1 239 0 86 0 111 0 112 01 EF 00 56 00 6F 00 70
15 1 240 1 221 01 F0 00 DD
17.1 1 201 1 0 01 C9 01 00
24 1 31 01 1F
1 164 00 A4

The following table applies to 259X models only.
Decimal Hf Lf Values Hexadecimal Hf Lf Values
Normal Bold Italic Bold/Italic Normal Bold Italic Bold/Italic
10 0 25 00 19
15 1 209 01 D1
17.1 1 210 01 D2
20 1 211 01 D3
24 1 35 01 23
The following table applies to 259X models only.
Decimal Hf Lf Values Hexadecimal Hf Lf Values
Normal Bold Italic Bold/Italic Normal Bold Italic Bold/Italic
10 0 5 00 05
15 1 204 01 CC
17.1 1 205 01 CD
20 1 206 01 CE
24 1 33 01 21

The following table applies to 259X models only.
Decimal Hf Lf Values Hexadecimal Hf Lf Values
Normal Bold Italic Bold/Italic Normal Bold Italic Bold/Italic
10 0 212 01 D4
12 1 213 01 D5
15 1 214 01 D
17.1 1 215 01 D7
20 1 216 01 D8
24 1 36 01 24
Table 2-12: Global Font Size Parameters
2580 / 25281 2590 / 2591
Decimal Hs Ls Values
Hexadecimal Hs Ls Values
Decimal Hs Ls Values
Hexadecimal Hs Ls Values
24 CPI Subscript 0 00 - 0 65 00 00 - 00 41
20 CPI Subscript 0 00 - 0 78 00 00 - 00 4E 0 66 - 0 77 00 42 - 00 4D
17.1 CPI Normal 0 79 - 0 90 00 4F - 00 5A 0 78 - 0 89 00 4E - 00 59
15 CPI Normal 0 91 - 0 108 00 5B - 00 6C 0 90 - 0 107 00 5A - 00 6B
12 CPI Normal 0 109 - 0 132 00 6D - 00 84 0 108 - 0 131 00 6C - 00 83
10 CPI Normal 0 133 -0 0156 00 85 - 00 9C 0 132 - 0 155 00 84 - 00 9B
8.5 CPI (17.1 CPI double-wide) 0 157 - 0 180 00 9D - 00 B4 0 156 - 0 179 00 9C - 00 B3
7.5 CPI (15 CPI double-wide) 0 181 - 0 216 00 B5 - 00 D8 0 180 - 0 215 00 B4 - 00 D7
6 CPI (12 CPI double-wide, double-high)
0 217 - 1 8 00 D9 - 01 08 0 216 - 0 254 00 D8 - 00 FE
5 CPI (10 CPI double-wide, double-high)
1 9 - 255 255 01 09 - FF FF 0 255 - 255 255 00 FF - FF FF
intentional, not a typo.
Pitch · Proportional spacing · Pitch

Select Print Type Style
This command selects the following printing modes:
Format ESC [ @ n1 n2 m1 m2 m3 m4
Decimal 27 91 64 n1 n2 m1 0 m3 m4
Hexadecimal 1B 5B 40 n1 n2 m1 00 m3 m4

See the following table for m1, m3, and m4 values.
Variable Decimal Hexadecimal Description
m1 0 00 No change
1 01 Start Italic Print
2 02 Stop Italic Print
4 04 Start Outline Print (259X only)
8 08 Stop Outline Print (259X only)
16 10 Start Shadow Print (259X only)
32 20 Stop Shadow Print (259X only)
m3 Chracter Height Line Space
0 00 Unchanged Unchanged
16 10 Unchanged Single
32 20 Unchanged Double
1 01 Single Unchanged
17 11 Single Single
33 21 Single Double
2 02 Double Unchanged
18 12 Double Single
34 22 Double Double
m4 0 01 Unchanged
This command sets the pitch at 12 cpi.
Format ESC :

Select/Cancel Emphasized Mode
This command selects and cancels the emphasized mode.
To select emphasized mode:
To cancel emphasized mode:
This command selects and cancels the double-strike mode.
Double-strike print results in a darker print because the printhead strikes the character twice.
To select double-strike mode:
To cancel double-strike mode:

Start Superscript or Subscript Printing
This command selects the subscript and superscript modes.
Format ESC S n
Decimal 27 83 n
Hexadecimal 1B 53 n
The value of n can be either of the following:
This command cancels the subscript and superscript modes.
For 259x printers only.
This command selects forms of overscore, underscore, and strikethrough.
Format ESC [ - n1 n2 m1 m2
Decimal 27 91 45 n1 n2 m1 m2
Hexadecimal 1B 5B 2D n1 n2 m1 m2
To cancel this command, designate type as Dec 255 or ex FF.
– 1 (dec) 01 (hex) equals Underscore – 2 (dec) 02 (hex) equals Strikethrough
Format ESC T · Decimal 27 84 · Hexadecimal 1B 54

– 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
This command begins and ends continuous underscore of spaces and characters.
To begin Continuous Underscore:
Format ESC - n
Decimal 27 45 n
Hexadecimal 1B 2D n
– 1 (dec) 01 (hex) = Underscore ON – 0 (dec) 00 (hex) = Underscore OFF
This command begins and ends continuous overscore of spaces and characters.
To begin Continuous Overscore:
Format ESC _ n
Decimal 27 95 n
Hexadecimal 1B 5F n
– 1 (dec) 01 (hex) = Overscore ON – 0 (dec) 00 (hex) = Overscore OFF

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.
Format ESC K Ln Hn V1 ... Vn
Decimal 27 75 Ln Hn V1 ... Vn
Hexadecimal 1B 4B Ln Hn V1 ... Vn
– When a value is represented by two parameter bytes, value (A) = Ln + Hn
Each vertical dot column can have 8 rows of dots.
To print bit image graphics, the printer uses either the first 8 (258x) or 20 (259x) wires of the printhead to map the eight bits of data.
The following table shows how the print wires are mapped for the 258X printers.
Dot Position Bit Number Decimal Hexadecimal
Top

Dot Position Bit Number Decimal Hexadecimal
The following table shows how the print wires are mapped for the 259X printers.
Dot Position Bit Number Decimal Hexadecimal
7 128 80 1, 2 If dots 7 and 6 print, wire 3 is also used.
6 64 40 4, 5
5 32 20 6, 7 If dots 5and 4 print, wire 8is also used.
4 16 10 9, 10
3 8 08 11, 12 If dots 3 and 2 print, wire 13 is also used.
2 4 04 14, 15
1 2 02 16, 17 If dots 1and 0 print, wire 18 is also used.
0 1 01 19. 20
This command sends normal density bit images to be printed at 120 dots per inch (dpi).
Format ESC L Ln Hn V1 ... Vn
Decimal 27 76 Ln Hn V1 ... Vn
Hexadecimal 1B 4C Ln Hn V1 ... Vn

This command sends bit images to be printed at a horizontal resolution of 120 dots per inch (dpi).
Format ESC Y Ln Hn V1 ... Vn
Decimal 27 89 Ln Hn V1 ... Vn
Hexadecimal 1B 59 Ln Hn V1 ... Vn
This command sends bit images to be printed at a horizontal resolution of 240 dots per inch (dpi).
Format ESC Z Ln Hn V1 ... Vn
Decimal 27 90 Ln Hn V1 ... Vn
Hexadecimal 1B 5A Ln Hn V1 ... Vn

For 259x printers only.
This command sends data for dot matrix graphics to the printer.
Format ESC [ g Ln Hn m V1 ... Vn
Decimal 27 91 103 Ln Hn m V1 ... Vn
Hexadecimal 1B 5B 67 Ln Hn m V1 ... Vn
Format ESC [ g n1 n2 m data
Decimal 27 91 103 n1 n2 m data
Hex 1B5B 67 n1 n2 m data
– When a value is represented by two parameter bytes, value (A) = Ln + Hn

Decimal Hexadecimal Horizontal Density Wire Comments
0 00 60 8 Same as ESC K graphics command
1 01 120 8 Same as ESC L graphics command
2 02 120 8 Same as ESC Y graphics command
3 03 240 8 Same as ESC Y graphics command
8 08 60 24 High resolution for ESC K
9 09 120 24 High resolution for ESC L
12 0C 360 24
13 0D 120 48
14 0E 180 48
16 10 360 48
Note: The graphics data is organized by byte. For 8-wire modes, it is arranged and mapped to the wires identically to ESC K. For 24-wire modes, the data has three bytes per slice, with the most significant bit of he first byte mapping to the top wire and the least significant bit to of the third byte mapping to the bottom wire. The slices are in sequence from left to right. Modes 2,3 and 12 use consecutive dot elimination. No two adjacent horizontal dots can be printed. The second is eliminated. For high resolution mode (8,9,11 and 12), the count should be: 1+(3 number of slices). For 48-wire modes, the data has six bytes per slice. However the 48-wire image is mapped to the 24-wire head by ORing bits 1 and 2 to wire 1, bit 3 and 4 to wire 2, and so on.
This command sets line spacing to n/216 inches. It does not cause the form to move. It changes the vertical distance moved when a line feed command is received.
Format ESC 3 n
Decimal 27 51 n
Hexadecimal 1B 33 n

Advances the paper in a vertical movement a distance of n/216 inches relative to the current print position.
Format ESC J n
Decimal 27 74 n
Hexadecimal 1B 4A n
Format ESC J n
Decimal 27 74 n
Hex 1B 4A n

Bar Code Commands
Setup Barcode Parameter
This command sets the barcode parameters to the printer.
Format ESC [ f n1 n2 k m s V1 V2 c
Decimal 27 91 102 6 0 k m s V1 V2
Hexadecimal 1B 5B 66 06 00 k m s V1 V2
The following values are valid for k:
177 B1 NW7
178 B2 EAN-13
179 B3 EAN-8
Decimal Hexadecimal Barcode

180 B4 CODE 39
181 B5 INDUSTRIAL 2 of 5
182 B6 INTERLEAVED 2 of 5
184 B8 UPC-E
185 B9 POST-NET (barcode)
Barcode Module Width
The suggested values for m are as follows:
m Unit Module Dots
Decimal Hexadecimal (259X) 24 wire (258X) 9 wire
0 00 default (2 dots) 0.015 in. 0.021 in.
1 * 01* 2 dots 0.012 in. 0.017 in.
2 02 2 dots 0.015 in. 0.021 in.
3 03 3 dots 0.021 in. 0.030 in.
4 04 4 dots 0.026 in. 0.038 in.
Notes: * When m = 1, human readable flag is always ignored, and its character is not printed. In case of "Post-Net", this value only affects bar-width and does not affect bar-pitch. When m = 1, the barcode prints by 1/360 or 1/240 full dot method. For all other values, the barcode prints by half dot method. Module width values are nominal values.
24 wire printers (259X) 1=1/360 in.
9 wire printers (258X) 1=1/240 in
Decimal Hexadecimal Barcode · Width

Adjustment Values are:
-3 253 FD
-2 254 FE
-1 255 FF
0 0 00 (default)
Barcode Type BAR SPACE
EAN/UPC-A 2 2
CODE 39 5 4 + 1 Gap
Interleaved 2 of 5 5 5
"s" value affects barcode printing width. If barcode printing area reaches to the right or left margin, the printer ignores this command.
The variables v1 and v2 control the bar length. V1 specifies lower byte. V2 specifies upper byte. Bar length is controlled by multiple value of a unit of 1/2160 inch.
Values for V1, V2 are:
minimum values 24 wire (259X) 288 120
9 wire (248X) 270 10E
s Decimal Hexadecimal · V1, V2 value · Model Decimal Hexadecimal

Model Dec Hex Vertical Pitch
all barcodes except Post-Net a
24 wire (259X) 12 0C 1/180 inch
9 wire (248X) 30 1E 1/72 inch
Model Dec Hex long bar height short bar height
Post-Net b 24 wire (259X) 288 120 24/180 inch 8/180 inch
9 wire (248X) 270 10E 18/144 inch 6/144 inch
a. All the input data is rounded to the multiple value shown. b. Barcode height is fixed to the values shown.
The control flag is made up of 8 bits as follows:
Bit Description Decimal Hexadecimal Effect
b1 Check Digit 0 00 No check code is generated by the printer. The host computer should generate the check code.
1 01 Check code is generated automatically by the printer.
b2 Human Readable Character 0 00 Print On
1 01 Print Off
b3 EAN-13 (13th digit), UPC-A (number system character) flag character position
This command sets the barcode data on the current printing position.
Format ESC [ p n1 n2 d1 d2
Decimal 27 91 112 n1 n2 d1 d2
Hexadecimal 1B 5B 70 n1 n2 d1 d2

– The barcode print area exceeds the left or right margin. – The barcode print area exceeds the page margin. – Undefined data is included in the command. In this case, the command
– n1, n2 show data quantity following ESC [ p n1, n2. – n1 is a low byte of command length data in hexadecimal. – n2 is a high byte of command length data in hexadecimal. – If an undefined value is found in the data string, the printer will ignore all the
received barcode data with a length defined as n1, n2. – Valid n1, n2 values are listed in the following table:
n1 (low byte) OFFa
n1 (low byte) ONb
n2 (high byte)c
Decimal Hexadecimal Decimal Hexadecimal Decimal Hexadecimal Barcode Style
8 08 7 07 0 00 EAN-8
1 to 255 01 to FF 1 to 255 01 to FF 0 00 CODE 39
1 to 255 01 to FF 1 to 255 01 to FF 0 00 INTERLEAVED 2 of 5
10 0A 9 09 0 00 POST-NET
2 to 255 02 to FF 2 to 255 02 to FF 0 00 CODE 128
a. Automatic check digit generation flag is OFF.
b. Automatic check digit generation flag is ON.
c. The value of n2 does not change based on the check digit generation flag status.

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 switched to one of these modes, the new set of code pages replaces those supported in the standard operating mode.
1 Turn the printer off.
2 Raise the Ribbon access cover and manually move the Carrier all the way to the left (Carrier home position sensor = ON). {insert graphic}
3 Press and hold one or more buttons on layer 2 of the control panel while turning the printer on as described in the following table.
Character Support Control Panel Buttons
Support on 258x printers
Support on 259x printers
Standard Micro up included included
Eastern Europe Micro down included includeda
Baltic Set up included included
Arabic Micro + Micro included included
Levant Micro + Setup included requires flash download and replaces Eastern European supporta
OCR-B Micro + Setup included requires flash download and replaces Eastern European supporta
OKI must be enabled via printer emulation settings. b
a. Eastern European support can be restored via flash download. This is only required if Le- vant or OCR-B has been downloaded.
included not supported

b. See sections XX.
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 on the control panel while turning on the printer. {insert graphic}
c The test page will indicate the current type of character support at the end of the second line printed or Standard if no change occurred. {insert sample test page.}
A sample of each code page follows.





































































































The following conventions are used to identify code pages and are supplied as a cross reference for users to more easily locate
The 2500 series forms printers include support for a variety of code pages. See the following table for a complete list.
that code page/translation combination is supported on that printer family.
Code page 437 (U.S. English) is the factory default code page.
support information, no matter which convention is used:
reference.

437 437 437 IBM PC US 1 181 01 B5 258x & 259x 258x & 259x 258x & 259x 258x & 259x 258x & 259x 258x only
850 850 850 IBM PC Multilingual 3 82 03 52 258x & 259x 258x & 259x 258x & 259x 258x & 259x 258x & 259x 258x only
860 860 860 PC Portuguese 3 92 03 5C 258x & 259x 258x only
863 863 863 PC Canadian 3 95 03 5F 258x & 259x 258x only
865 865 865 PC 865 D/N 3 97 03 61 258x & 259x 258x only
853T 10853 853T Old PC Turkish 42 101 2A 65 258x & 259x 258x only
857 857 857 PC Turkish 3 89 03 59 258x & 259x 258x only
920 920 920 ISO 8859-9 Latin-5 3 152 03 98 258x & 259x 258x only
858 858 858 PC Multi. Euro 3 82 03 5A 258x & 259x 258x & 259x 258x & 259x 258x & 259x 258x & 259x
852 852 852 PC 852 3 84 03 54 258x & 259x
912 912 IL2 ISO 8859-2 Latin-2 3 144 03 90 258x & 259x
1250 1250 WL2 Windows Latin-2 4 226 04 E2 258x & 259x
1852 10852 CWI CWI 42 100 2A 64 258x & 259x
2852 11852 KAM Kamenicky 46 76 2E 4C 258x & 259x
3852 12852 MAZ Mazovia 50 52 32 34 258x & 259x
4852 13852 NOV PC Nova 54 28 36 1C 258x & 259x
OCR-B Arabic Baltic Eastern
861 861 861 PC Iceland 3 93 03 5D 258x & 259x
1004 1004 1004 IBM PC OS/2 3 236 03 EC 258x & 259x
1053 1053 1053 ISO 8859-1 Latin-1 4 29 04 1D 258x & 259x
Hc Lc Hc Lc Std /
IBM

437G 10437 437G PC 437 Greek 40 197 28 C5 258x & 259x 258x only
813 813 813 ISO 8859-7 Greek 3 45 03 2D 258x & 259x 258x only
851 851 851 PC Greek 3 83 03 53 258x & 259x 258x only
869 869 869 IBM PC Greek 3 101 03 62 258x & 259x 258x only
1046 1046 1046 ISO 8859-6 Arabic 4 22 04 16 258x & 259x 258x & 259x
1098 1098 1098 IBM PC Farsi 4 74 04 4A 258x & 259x 258x & 259x
1198 1198 11098 N/A 4 174 04 AE 258x only 258x only
855 855 855 PC Cyrillic 3 87 03 57 258x & 259x
866 866 866 PC Russia 3 97 03 62 258x & 259x 258x & 259x
915 915 ICYR ISO 8859-5 Cyrillic 3 147 03 93 258x & 259x 258x & 259x
1251 1251 WCYR Windows Cyrillic 4 227 04 E3 258x & 259x 258x & 259x
1855 10855 BULG Bulgaria 42 103 2A 67 258x & 259x
1866 10866 UKR Ukraine 42 114 2A 72 258x & 259x 258x & 259x
OCR-B Arabic Baltic Eastern
771 771 KBL PC-771 3 3 03 03 258x & 259x
773 773 773 PC-773 3 5 03 05 258x & 259x
775 775 775 PC-775 3 7 03 07 258x & 259x
918 1118 774 PC-774 4 94 04 5E 258x & 259x
919 919 IL6 ISO 8859-10 Latin-6 3 151 03 97 258x & 259x
929 929 772 PC-772 4 95 04 5F 258x & 259x
1116 1116 EST Estonia 4 92 04 5C 258x & 259x
1257 1257 WBL Windows Baltic 4 233 04 E9 258x & 259x
2866 11866 LAT PC-886LAT 46 90 2E 5A 258x & 259x
449P 10449 449+ Arabic (ASMO 449+) 40 209 28 D1 258x & 259x
708 708 708 Arabic (ASMO 708) 2 196 02 C4 258x & 259x
720 720 720 Arabic (DOS) 2 208 02 D0 258x & 259x
864 864 864 IBM PC Arabic 3 96 03 60 258x & 259x
Hc Lc Hc Lc Std /
IBM

850B 11850 850B 850B 46 74 2E 4A 258x only
1040 1040 BRASCII BRASCII 4 16 04 10 258x only
1041 1041 Abicomp Abicomp 4 17 04 11 258x only
856 856 AIX Hebrew 3 88 03 58 258x & 259x
862 862 IBM PC Hebrew 3 94 03 5E 258x & 259x
916 916 ISO 8859-8 3 148 03 94 258x & 259x
1862 10862 Hebrew-7 42 110 2A 6E 258x & 259x
OCR-B Arabic Baltic Eastern
Hc Lc Hc Lc Std /
IBM
OKI
Owners and our team usually reply within a day — and your question helps the next person too.
Be the first to ask — other owners or our team will answer.