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:
AlbertusThe Monotype Corporation plc
Antique OliveMonsieur Marcel OLIVE
Apple-ChanceryApple Computer, Inc.
ArialThe Monotype Corporation plc
CandidAgfa Corporation
CG OmegaProduct of Agfa Corporation
CG TimesBased on Times New Roman under license
ChicagoApple Computer, Inc.
ClarendonLinotype-Hell AG and/or its subsidiaries
EurostileNebiolo
GenevaApple Computer, Inc.
GillSansThe Monotype Corporation plc
HelveticaLinotype-Hell AG and/or its subsidiaries
HoeflerJonathan Hoefler Type Foundry
ITC Avant Garde Gothic International Typeface 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
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.
®
is a registered trademark of Adobe Systems Incorporated. PostScript is Adobe Systems’ designation of a set of printer
from The Monotype Corporation plc, is a
product of Agfa Corporation
ITC BookmanInternational Typeface Corporation
ITC Lubalin GraphInternational Typeface Corporation
ITC Mona LisaInternational Typeface Corporation
ITC Zapf ChanceryInternational Typeface Corporation
Joanna MTThe Monotype Corporation plc
MarigoldArthur Baker
MonacoApple Computer, Inc.
Mona LisaInternational Typeface Corporation
New YorkApple Computer, Inc.
OxfordArthur Baker
PalatinoLinotype-Hell AG and/or its subsidiarie
Stempel GaramondLinotype-Hell AG and/or its subsidiarie
TaffyAgfa Corporation
Times New RomanThe Monotype Corporation plc
TrueTypeApple Computer, Inc.
UniversLinotype-Hell AG and/or its subsidiarie
WingdingsMicrosoft Corporation
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.
Draft document
Contents
Set Initial Conditions Commands...................................1-1
SIC Command Format ....................................................................................... 1-2
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 default settings stored in flash memory
• User default settings stored in NVRAM
• Printer's current settings stored in RAM
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.
1-2
SIC Command
Draft document
SIC Command Format
Format:ESC[Kn1n2initidparm1parm 2...parm 24
Decimal:279175n10initidparm1parm 2...parm 24
Hexadecimal:1B5B4Bn100initidparm1parm 2...parm 24
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 is always 0.
• "init - this parameter specifies which condition the printer should be initialized
to. See the Initial Values table below for details.
• "id - This parameter specifies the parm conditions that follow it. See the Id
Values table below for details.
Init Values
“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:
Table 1-1: Initial Values
DecHexCurrent Settings
0 00Initialized to the user default
setting.
Then updated to updated to
reflect parm values in SIC
command
User Default
Settings
unchangedInitialized to the
Default Macro
Settings
user default
settings.
Other Macro
Settings
Not initialized.Not cleared.
Download
Font
1 01Initialized to the user default
setting.
Then updated to updated to
reflect parm values in SIC
command
unchangedInitialized to the
user default
settings.
Not initializedCleared.
Draft document
Table 1-1: Initial Values (Continued)
1-3
SIC Command
DecHexCurrent Settings
4 04Initialized to the factory default
setting.
Then updated to updated to
reflect parm values in SIC
command
5 05Initialized to the factory default
setting.
Then updated to updated to
reflect parm values in SIC
command
254FEInitialized to the user default
setting.
Then updated to updated to
reflect parm values in SIC
command
255 FFInitialized to the factory default
setting.
User Default
Settings
unchangedInitialized to the
unchangedInitialized to the
NVRAM
updated to
reflect parm
values in SIC
command
NVRAM
updated to
reflect parm
values in SIC
command
Default Macro
Settings
factory default
settings.
factory default
settings.
Initialized to the
user default
settings.
Initialized to the
factory default
setting.
Other Macro
Settings
Not initialized.Not cleared.
Not initialized.Cleared.
Not initialized.Cleared.
Initialized to the
factory default
setting.
Download
Font
Cleared.
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
ignored.
Table 1-2: Id Values
PrinterDecHexNotes
2580 /2581
2590/2591
2580 /2581
2590/2591
2590/25913523
2590/25913624
303Supported in Native mode.
Supported in Proprinter III mode (258X only).
2216
Parm 1 and parm 2 are valid.
If parms 3 - 24 are specified, they are ignored. See the following parm
tables.
Draft document
Table 1-2: Id Values (Continued)
PrinterDecHexNotes
1-4
SIC Command
2580 /2581
2590/2591
2580 /2581
2590/2591
2580 /2581
2590/2591
2580 /2581
2590/2591
2580 /2581
2590/2591
177B1Parm 1 is valid.
Parm 1 is same as parm 1 of id = 03H, 16H, 23H or 24H.
180B4
182B6Supported in Epson mode.
Supported in Native mode.
Not valid when Proprinter III mode ON is selected in Setup. (258X
only)
This id allows the user to select the Emulation mode with parm 1.
197C5Supported in Epson mode.
Supported in Native mode.
Not valid when Proprinter III mode ON is selected in Setup.(258X only)
Parm 1 to parm 24 are valid with this id.
See the following parm tables.
198C6Supported in Epson mode.
Parm 1 to parm 24 are valid with this id.
See the following parm tables.
Note: Id is valid for B6H, C5H and C6H only in Epson mode. If any other value is
specified to id in Epson mode, this command sequence is ignored.
2Valid only for Ids Dec 3, 22, 35, 36, (Hex 03, 16, 23, 24)
7Discard byteIgnore this byteProcess this byte
6Code Page850437
5Reserved
4Reserved
3Reserved
2Reserved
1Line Length8.0 inches13.6 inches (2581/2591only)
0Reserved
Table 1-4: Id - Dec 182 (Hex B6)
ParmDescriptionDecHexAction
1Emulation000No Change
101IBM
202EPSON
3 - 25503 - FFNo Change
1-6
SIC Command
Draft document
Table 1-5: Ids - Dec 197, 198 (Hex C5, C6) (Sheet 1 of 9)
ParmDescriptionDecHexAction for Id = Dec 197 / Hex C5 Action for Id = Dec 198 / Hex C6
1Emulation000No ChangeNo Change
101PPDSPPDS
202EPSONEPSON
3 - 25503 - FFNo ChangeNo Change
2Panel Disable000No changeNo change
101Panel DisablePanel Disable
202Panel EnablePanel Enable
Note: Specific buttons can be enabled during Panel Disable mode. The upper 6 bits of parm 2 represent the different buttons
on the operator panel as below.
BitOFFON
7. FontDisabledEnabled
6. PitchDisabledEnabled
5. Micro upDisabledEnabled
4. Micro downDisabledEnabled
3. LFDisabledEnabled
2. MacroDisabledEnabled
3Macro000No changeNo change
101Macro 1Macro 1
202Macro 2Macro 2
303Macro 3Macro 3
404Macro 4Macro 4
5 - 25405 - FENo ChangeNo Change
255FFDisable MacroDisable Macro
Notes:
• Macro 1 is the original macro that is backward compatible. Macros 2-4 were added to provide additional flexibility when
changing between alternate form sizes. Disable macro is functionally the same as Macro 1.
If init = dec 4, 5 (hex 04, 05) are specified, parm 3 is ignored.
If init = dec 0, 1, 254, 255 (hex 00, 01, FE, FF) are specified, parm 3 value is used as Macro No. instead of Default Macro
setting No.
If init = dec 254, 255 (hex FE, FF) are specified, parm 3 value is overwritten to Default Macro setting in NVRAM. If the
disable (=255) is set to parm 3 Macro No. 1 setting is used to initialize.
• “No change” indicates the printer will retain the current macro. All parameters will overwrite the NVRAM of the current
macro.
1-7
SIC Command
Draft document
Table 1-5: Ids - Dec 197, 198 (Hex C5, C6) (Continued) (Sheet 2 of 9)
ParmDescriptionDecHexAction for Id = Dec 197 / Hex C5 Action for Id = Dec 198 / Hex C6
4FONT000No ChangeNo Change
101Fast DraftFast Draft
202DraftDraft
303GothicGothic
404CourierCourier
505Download font Download font
606No ChangePrestige
707No changePresentor
808No changeOrator
909No changeScript
10 - 2550A - FFNo changeNo Change
Note: Values 06 through FF are not supported for id hex C5 because corresponding fonts are not available for the 258X
printers.
5Pitch000No ChangeNo Change
10110 pitch10 pitch
20212 pitch12 pitch
30315 pitch15 pitch
40417.1 pitch17.1 pitch
50520 pitch20 pitch
606PSPS
70724 pitch24 pitch
8 - 25508 - FFNo ChangeNo Change
1-8
SIC Command
Draft document
Table 1-5: Ids - Dec 197, 198 (Hex C5, C6) (Continued) (Sheet 3 of 9)
ParmDescriptionDecHexAction for Id = Dec 197 / Hex C5 Action for Id = Dec 198 / Hex C6
Note: Parm 6 actions are based on the XNLS Code Page. Choose appropriate parm 6 data.
6Code Page
(XNLS = Std /
OCR-B)
000No ChangeNo Change
101437437
202850850
303860860
404863863
505865865
606437G437G
707813813
808851851
909853T853T
100A857857
110B869869
120C920920
130D10531053
140E861861
150F10041004
1610858858
17 - 25511 - FFNo ChangeNo Change
1-9
SIC Command
Draft document
Table 1-5: Ids - Dec 197, 198 (Hex C5, C6) (Continued) (Sheet 4 of 9)
ParmDescriptionDecHexAction for Id = Dec 197 / Hex C5 Action for Id = Dec 198 / Hex C6
6Code Page
(XNLS =
Eastern)
000No ChangeNo Change
101437437
202850850
303852852
404855855
505866866
60618551855
70718521852
80828522852
90938523852
100A48524852
110B12501250
120C12511251
130D912912
140E915915
150F18661866
1610858858
17 - 25511 - FFNo ChangeNo Change
1-10
SIC Command
Draft document
Table 1-5: Ids - Dec 197, 198 (Hex C5, C6) (Continued) (Sheet 5 of 9)
ParmDescriptionDecHexAction for Id = Dec 197 / Hex C5 Action for Id = Dec 198 / Hex C6
6Code Page
(XNLS = Baltic)
000No ChangeNo Change
101437437
202850850
303858858
404866866
505915915
60612511251
70718661866
808775775
909919919
100A12571257
110B916916
120C918918
130D28662866
140E771771
150F929929
1610773773
17 - 25511 - FFNo ChangeNo Change
6Code Page
(XNLS =
Arabic)
000No ChangeNo Change
101437437
202850850
303864864
40410461046
50510981098
6061198708
707708720
808720449p
909449p858
100A858
11 - 2550B - FFNo ChangeNo Change
1-11
SIC Command
Draft document
Table 1-5: Ids - Dec 197, 198 (Hex C5, C6) (Continued) (Sheet 6 of 9)
ParmDescriptionDecHexAction for Id = Dec 197 / Hex C5 Action for Id = Dec 198 / Hex C6
6Code Page
(XNLS =
Levant)
6Code Page
(XNLS = OKI)
000No ChangeNo Change
101437437
202850850
303864864
40410461046
50510981098
6061198862
707862856
8088561862
909916916
100A1862858
110B858
12 - 2550C - FFNo ChangeNo Change
000No Change
101437
202850
303860
404863
505865
606437G
707813
808851
909853T
100A857
110B869
120C920
130D1040
140E1041
150F850B
16 - 25510 - FFNo Change
7Form Length000No ChangeNo Change
1 - 17601 - B01 to 176 lines (Max 22")1 to 176 lines (Max 22")
177 - 255B1 - FFNo ChangeNo Change
1-12
SIC Command
Draft document
Table 1-5: Ids - Dec 197, 198 (Hex C5, C6) (Continued) (Sheet 7 of 9)
ParmDescriptionDecHexAction for Id = Dec 197 / Hex C5 Action for Id = Dec 198 / Hex C6
8Lines per inch000No ChangeNo Change
10133
20244
30366
40488
5 - 25505 - FFNo ChangeNo Change
9Left Margin000No ChangeNo Change
1010 inch0 inch
2021 inch1 inch
3032 inch2 inch
4043 inch3 inch
5 - 25505 - FFNo ChangeNo Change
10Right Margin000No ChangeNo Change
1014 inch4 inch
2025 inch5 inch
3036 inch6 inch
4047 inch7 inch
5058 inch8 inch
60613.6 inch (2581 only)13.6 inch (2591 only)
7 - 25507 - FFNo ChangeNo Change
11Bottom Margin000No ChangeNo Change
1010 inch0 inch
2021/2 inch1/2 inch
3031 inch1 inch
4042 inch2 inch
5053 inch3 inch
6 - 25506 - FFNo ChangeNo Change
1-13
SIC Command
Draft document
Table 1-5: Ids - Dec 197, 198 (Hex C5, C6) (Continued) (Sheet 8 of 9)
ParmDescriptionDecHexAction for Id = Dec 197 / Hex C5 Action for Id = Dec 198 / Hex C6
12Alarm000No changeNo change
101Disable AlarmDisable Alarm
202Enable AlarmEnable Alarm
3 - 25503 - FFNo ChangeNo Change
13Auto CR000No changeNo change
101ONON
202OFFOFF
3 - 25503 - FFNo ChangeNo Change
14Auto LF000No changeNo change
101ONON
202OFFOFF
3 - 25503 - FFNo ChangeNo Change
15Slash Zero000No changeNo change
101Zero slashedZero slashed
202Zero not slashedZero not slashed
3 - 25503 - FFNo ChangeNo Change
16Character Set000No changeNo change
101Set 1Set 1
202Set 2Set 2
3 - 25503 - FFNo ChangeNo Change
17Bidirectional000No changeNo change
101Uni-DirectionalUni-Directional
202Bi-DirectionalBi-Directional
3 - 25503 - FFNo ChangeNo Change
18Sheet Feeder000No changeNo change
101DisableDisable
202EnableEnable
3 - 25503 - FFNo ChangeNo Change
1-14
SIC Command
Draft document
Table 1-5: Ids - Dec 197, 198 (Hex C5, C6) (Continued) (Sheet 9 of 9)
ParmDescriptionDecHexAction for Id = Dec 197 / Hex C5 Action for Id = Dec 198 / Hex C6
19Lock000No changeNo change
101Font LockFont Lock
202Pitch LockPitch Lock
303Font and Pitch LockFont and Pitch Lock
404Font and Pitch UnlockFont and Pitch Unlock
254FESIC Command LockSIC Command Lock
255FFSIC Command UnlockSIC Command Unlock
20FF Enable000No ChangeIgnore
101Ignore FF
202Honor FF
21TOF Read000No ChangeNo Change
101TOF Read DisableTOF Read Disable
202TOF Read EnableTOF Read Enable
22Tractor000No ChangeNo Change
101Tractor 1Tractor 1
202Tractor 2Tractor 2
23Tear Off000No ChangeNo Change
101OnOn
202OffOff
303One secondOne second
24PnP (Plug &
Play)
000No ChangeNo Change
101Enable Enable
202DisableDisable
2-1
Control Codes
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.
• Control the movement of the cursor, which changes the current print position.
• Control secondary font selection, such as condensed and double-wide.
The first 32 characters of the Standard ASCII table are control codes. This printer uses
the following control codes.
Table 2-1: Control Codes
Code Name Symbol Description
Sounds the printer beeper for approximately 1
Beeper BEL
Backspace BS Causes the printer to move the current print position one
Horizontal Tab HT Moves the print head to the next horizontal tab position
Line Feed LF Advances the paper one line on the page. An automatic
second.
character position to the left.
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.
carriage return may be optionally disabled.
Value
(Dec)
7 07
8 08
9 09
10 0A
Value
(Hex)
Draft document
Table 2-1: Control Codes (Continued)
2-2
Control Codes
Code Name Symbol Description
Sounds the printer beeper for approximately 1
Beeper BEL
Vertical Tab VT Advances the paper to the next vertical tab position set
Form Feed FF Advances the paper to the top of the next page and does
Carriage Return CR Moves the current print position to the left margin of the
Double-Wide Printing by
Line
Condensed Printing SI Condenses printing from 10 characters per inch (cpi) to
Select Printer DC1 Selects the printer, causing all subsequent data to be
Select 10 cpi DC2 Returns condensed printing to normal (10 cpi). Cancels
SO Prints all characters in double-width mode.
second. 7 07
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
a carriage return.
current line. An automatic line feed may be optionally
added by the setup.
This mode is canceled by the receipt of ESC [ @, ESC W
n, CR, LF, VT, FF, DC4, CAN or auto wrap.
17.1 and 12 cpi to 20.
accepted.
SI mode.
Value
(Dec)
11 0B
12 0C
13 0D
14 0E
15 0F
17 11
18 12
Value
(Hex)
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
Cancel Data CAN Clears current line buffer of data already received to print
DC4 Cancels double-width printing mode and returns printing
to normal.
on the current line. Does not change the current print
position
19 13
20 14
24 18
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,
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.
Printer Command Parameters
2-3
Escape Sequences
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.