Lexmark and Lexmark with diamond design are trademarks of Lexmark International, Inc., registered in the United States and/or other countries.
All other trademarks are the property of their respective owners.
740 West New Circle Road
Lexington, Kentucky 40550
Edition notice
May 2009
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.
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.
For Lexmark technical support, visit support.lexmark.com.
For information on supplies and downloads, visit www.lexmark.com.
If you don't have access to the Internet, you can contact Lexmark by mail:
Lexmark International, Inc.
Bldg 004-2/CSC
740 New Circle Road NW
Lexington, KY 40550
USA
Lexmark and Lexmark with diamond design are trademarks of Lexmark International, Inc., registered in the United States and/or other countries.
StapleSmart is a trademark of Lexmark International, Inc.
PCL® is a registered trademark of the Hewlett-Packard Company. PCL is Hewlett-Packard Company’s designation of a set of printer commands
(language) and functions included in its printer products. This printer is intended to be compatible with the PCL language. This means the printer
recognizes PCL commands used in various application programs, and that the printer emulates the functions corresponding to the commands.
All other trademarks are the property of their respective owners.
UNITED STATES GOVERNMENT RIGHTS
This software and any accompanying documentation provided under this agreement are commercial computer software and documentation
developed exclusively at private expense.
Understanding letters after model numbers...............................................................................................................5
Learning about the printer...............................................................7
Finding information about the printer...........................................................................................................................7
Printer Control Language (PCL) page formatting........................8
Supported paper and envelope dimensions...............................................................................................................9
Printer Job Language (PJL).............................................................11
Paper sizes supported........................................................................................................................................................12
PostScript paper tray support.........................................................................................................................................13
Power requirements...........................................................................................................................................................19
Common variables for both printer languages........................................................................................................34
Printer-unique PJL variables for both printer languages......................................................................................37
Common variables for PCL emulation.........................................................................................................................46
Printer-unique variables for PCL emulation...............................................................................................................47
Common variables for PostScript emulation............................................................................................................47
Printer-unique variables for PostScript emulation..................................................................................................48
Status Readback commands...........................................................................................................................................49
USTATUS unsolicited status variables..........................................................................................................................49
PJL messages for auto-continuable conditions........................................................................................................50
PJL messages for attendance conditions....................................................................................................................56
PJL messages for paper handling..................................................................................................................................64
PJL messages for paper jams...........................................................................................................................................67
Service errors.........................................................................................................................................................................74
File and device protection commands........................................................................................................................75
User interpreter parameters............................................................................................................................................85
System interpreter parameters.......................................................................................................................................86
Some Lexmark printers may have one or more letters after the model name to indicate printer features:
AcronymMeaning
d
deduplex and e-Task (electronic task) touch-screen interface
dfeduplex, finisher/stapler, and e-Task touch-screen interface
dheduplex, high-capacity drawer, and e-Task touch-screen interface
dhnduplex, high-capacity drawer, and network
dmeduplex, mailbox, and e-Task touch-screen interface
dnduplex and network
dnfduplex, network, and finisher/stapler
dnw or dwduplex, network, and wireless
dt
dteduplex, additional tray, and e-Task touch-screen interface
dtnduplex, additional tray, and network
dttnduplex, tandem tray module, and network
dtweduplex, additional tray, wireless, and e-Task touch-screen interface
ee-Task touch-screen interface
1
Duplex printing (two-sided printing) accomplished by means of an optional duplex unit or an internal duplex unit based
on the product.
2
The additional tray is part of a drawer.
1
duplex
duplex and additional tray
2
Introduction
5
AcronymMeaning
hdnhard disk, duplex, and network
nnetwork
nlnetwork light model
ninetwork and ImageQuick
tnnetwork and additional tray
1
Duplex printing (two-sided printing) accomplished by means of an optional duplex unit or an internal duplex unit based
on the product.
2
The additional tray is part of a drawer.
Introduction
6
Learning about the printer
Finding information about the printer
Setup
DescriptionWhere to find
The Setup information gives you instructions for setting
up the printer. Follow the set of instructions for local,
network, or wireless, depending on what you need.
information
You can find the Setup information on the inside of the printer
box or on the Lexmark Web site at www.lexmark.com.
Help
DescriptionWhere to find
The Help gives you instructions for using the software. While in any Lexmark software program, click Help, Tips
Help, or Help Help Topics.
Customer support
DescriptionWhere to find (North America)Where to find (rest of world)
Telephone support Call us at
• US: 1-800-332-4120
Monday–Friday (8:00 AM–11:00 PM ET)
Saturday (Noon–6:00 PM ET)
• Canada: 1-800-539-6275
Monday–Friday (8:00 AM–11:00 PM ET)
Saturday (Noon–6:00 PM ET)
Telephone numbers and support hours vary by
country or region.
Visit our Web site at www.lexmark.com. Select
a country or region, and then select the
Customer Support link.
Note: For additional information about
contacting Lexmark, see the printed warranty
that came with your printer.
• Mexico: 001-888-377-0063
Monday–Friday (8:00 AM–8:00 PM ET)
Note: Telephone numbers and support times
may change without notice. For the most recent
telephone numbers available, see the printed
warranty statement that came with your printer.
E-mail support
For e-mail support, visit our Web site:
www.lexmark.com.
1 Click SUPPORT.
2 Click Technical Support.
3 Select your printer type.
4 Select your printer model.
5 From the Support Tools section, click e-Mail
Support.
6 Complete the form, and then click Submit
Request.
Learning about the printer
7
E-mail support varies by country or region, and
may not be available in some instances.
Visit our Web site at www.lexmark.com. Select
a country or region, and then select the
Customer Support link.
Note: For additional information about
contacting Lexmark, see the printed warranty
that came with your printer.
Printer Control Language (PCL) page
formatting
For more information on PCL, refer to the Printer Languages and Interfaces Technical Reference. It contains a complete
listing with descriptions of PCL commands.
To determine which PCL commands your printer supports, see “Appendix A: PCL support” on page 24.
Printable areas
The printable areas and logical pages for PCL emulation (both portrait and landscape orientation) are illustrated
below. See the legend that follows for definitions of areas A through I.
Legend:
Portrait physical page width and landscape physical page length
A
B Portrait physical page length and landscape physical page width
Portrait logical page width
C
D Landscape logical page width
Distance between the side edge of the physical page and the logical page in portrait
E
F Distance between the side edge of the physical page and the logical page in landscape
Distance between the top and bottom edge of the physical page and logical page
G
Distance between the left and right edge of the physical page and the printable area in portrait, or distance between
H
the top and bottom edge of the physical page and printable area in landscape
Printer Control Language (PCL) page formatting
8
Legend:
Distance between the top and bottom edge of the physical page and the printable area in portrait, or distance between
I
the left and right edge of the physical page and the printable area in landscape
Note: The tables that follow in this chapter list the page sizes and dimensions of each area labeled on the preceding
diagram for all paper and envelope sizes your printer supports.
Supported paper and envelope dimensions
The following table lists the page sizes and print area dimensions for all supported paper and envelope sizes. For
more information about the printable areas and logical pages for PCL emulation, see “Printable areas” on page 8.
SelectionPaper/envelope
Dimensions by area (pels)
1
dimensions
Page size
NamemminchesABCDEFG HI
parameters
2
Paper
13, 613A5148 x 2105.83 x 8.273496496031964720142118 0100 100
12, 45, 612JIS B5
182 x 2577.2 x 10.14300607040005830150 120 0100 100
Paper
26, 626A4 (198
3
mm)
26, 626A4 (203
3
mm)
210 x 2978.3 x 11.74960701446766778142 118 080100
210 x 2978.3 x 11.7496070144800677880118 080100
24A6148 x 1055.8 x 4.12480349621993260142 118 0100 100
1, 601Executive184 x 2677.25 x 10.54350630040506060150 120 0100 100
2, 602Letter216 x 2798.5 x 115100660048006360150 120 0100 100
3, 603Legal216 x 3568.5 x 145100840048008160150 120 0100 100
4 or 10Folio216 x 3308.5 x 135100780048007560150 120 0100 100
15Statement 139.7 x 215.95.5 x 8.53300510030004860150 120 0100 100
101Universal216 x 3568.5 x 141800–
5100
1
Pel dimensions are for 600 dpi.
2
Page Size Parameters are explained in the Page Control table in the PCL chapter in the Printer Language and Interfaces
4
1800–
8502
4
1500–
4800
4
1500–
8262
150 120 0100 100
4
Technical Reference.
3
The width of the logical page for A4 paper can be changed from the printer control panel or your software application.
4
For the Universal paper size, the area dimensions are listed in pel ranges.
5
Paper ID 99 will be supported for backward compatibility with other Lexmark printers. Paper ID 99 has the same logical
paper size as ID 100 (compatible with HP LaserJet 5Si/5SiMx) but is 8 pels wider than the Lexmark 4039.
Note: The explanation of the printable area assumes the Print Area menu item is set to Normal. For more information,
see “Print Area Menu Item” in the PCL chapter in the Printer Language and Interfaces Technical Reference.
Printer Control Language (PCL) page formatting
9
SelectionPaper/envelope
dimensions
Dimensions by area (pels)
1
Page size
NamemminchesABCDEFG HI
parameters
2
300Oficio
216 x 3408.5 x 13.45100804048007800150 120 0100 100
(Mexico)
Envelope
90DL220 x 1108.66 x 4.332598519623144960142118 0100 100
91C5229 x 1629.02 x 6.383826540835425172142118 0100 100
995, 100
B5
250 x 1769.84 x 6.934156590438725668142118 0100 100
Envelope
600Other
216 x 3568.5 x 145100840048008160150 120 0100 100
Envelope
899 (Com 9)225 x 988.875 x 3.875 2324532420245084150 120 0100 100
8110 (Com
241 x 1059.5 x 4.1252474570021745460150120 0100 100
10)
807 3/4
98 x 1913.875 x 7.52324450020244260150 120 0100 100
(Monarch)
1
Pel dimensions are for 600 dpi.
2
Page Size Parameters are explained in the Page Control table in the PCL chapter in the Printer Language and Interfaces
Technical Reference.
3
The width of the logical page for A4 paper can be changed from the printer control panel or your software application.
4
For the Universal paper size, the area dimensions are listed in pel ranges.
5
Paper ID 99 will be supported for backward compatibility with other Lexmark printers. Paper ID 99 has the same logical
paper size as ID 100 (compatible with HP LaserJet 5Si/5SiMx) but is 8 pels wider than the Lexmark 4039.
Note: The explanation of the printable area assumes the Print Area menu item is set to Normal. For more information,
see “Print Area Menu Item” in the PCL chapter in the Printer Language and Interfaces Technical Reference.
Printer Control Language (PCL) page formatting
10
Printer Job Language (PJL)
PJL commands information
Your printer supports complete PJL commands, including certain commands that cause the printer to enter PCL
emulation, PostScript emulation, and Personal Printer Data Stream (PPDS).
For a complete listing with descriptions of PJL commands, see the Printer Languages and Interfaces TechnicalReference.
To determine which commands your printer supports, see “Appendix B: PJL support” on page 34.
Printer Job Language (PJL)
11
PostScript (PS) emulation
Your printer supports complete PostScript emulation supplemental operators. For full descriptions in detail for these
operators, refer to the PostScript emulation chapter in the Printer Languages and Interfaces Technical Reference.
To determine which commands your printer supports, see “Appendix C: PostScript support” on page 77.
Executive executivepage 184.2 x 266.7 7.25 x 10.5522 x 756
A5a5148.0 x 210.0 5.83 x 8.27419 x 595
Oficiooficio215.9 x 340.4 8.5 x 13.4612 x 965
(Lexmark unique
size)
612 x 972 (official
Postscript size)
Foliofolio215.9 x 330.2 8.5 x 13.0612 x 936
X651 MFP,
X652 MFP,
X654 MFP,
X656 MFP,
X658 MFP
Statement statement139.7 x 215.9 5.5 x 8.5396 x 612
A6a6105.0 x 148.0 4.13 x 5.83297 x 419
Universaluniversal216 x 3568.5 x 14612 x 1008
Customcustom215.9 x 355.6 8.5 x 14.0612 x 1020
Customcustom297 x 431.811.7 x 17842 x 1224
Customcustom320 x 55912.6 x 22908 x 1584XX
* This is a Japanese Industry Standard (JIS) paper size. The same named designation is used by JIS and International
Standards Organization (ISO) for different paper sizes.
* This is a Japanese Industry Standard (JIS) paper size. The same named designation is used by JIS and International
Standards Organization (ISO) for different paper sizes.
XX
X651 MFP,
X652 MFP,
X654 MFP,
X656 MFP,
X658 MFP
PostScript paper tray support
When the printer receives one of the operators listed in “Tray selected with tray operators” on page 14, it performs
the actions listed as follows. This paper tray selection process ends as soon as a suitable paper source is chosen and
paper is fed from this tray.
• The printer checks the value of manualfeed in statusdict and the ManualFeed page device parameter. If either
one is true, the printer sends a message to load the requested size in the manual feed tray or multipurpose feeder.
• The PageSize Policy is set to 0 by means of setpagedevice.
• The printer checks the paper size loaded in the current active source to determine if it matches the requested
size. If the sizes match, the paper is fed from the active source.
Note: The current active tray is the last source that was selected from the printer control panel or by the printer
language.
• If the requested size and the size loaded in the active source do not match, the sources are searched in the order
defined by the Priority array in the InputAttributes dictionary in the pagedevice dictionary.
• If the requested media size is not found by the previous search, the following search order is used:
– Tray 1
– Tray 2
– Tray 3
– Multipurpose Feeder
– Tray 4
– Tray 5
• If the requested size cannot be located in any automatic source, a configurationerror is issued and the job is
flushed.
For printers that support automatic duplexing:
• Automatic duplexing is not supported for custom-size paper or for envelopes in the multipurpose feeder.
Automatic duplexing is supported from the multipurpose feeder for all other papers.
• If the paper source is changed before the back side of a duplexed page prints, a blank back page prints, the paper
source changes, and the information for the back side of the page is printed on the front side of a page sent from
the new paper source.
When these operators are used, it is equivalent to executing the following PostScript emulation sequence:
The literal names in “Envelope sizes supported” on page 15 are also supported as operators in userdict. These
operators change the image size, but do not change the active paper source. Therefore, when these operators are
used, part of the image may be clipped.
When these literal names are used as operators, it is equivalent to executing the following PostScript emulation
sequence. The following example uses a 3.875 x 7.5 envelope.
7 3/43.875x7.5envelope98.4 x 190.53.875 x 7.5279 x 540
Commercial 93.875x8.875envelope 98.4 x 225.43.875 x 8.875 279 x 639
Commercial 104.125x9.5envelope104.8 x 241.34.125 x 9.5297 x 684
International DL 110x220envelope110 x 2204.33 x 8.66312 x 624
International C5 162x229envelope162 x 2296.38 x 9.01459 x 649
International B5 176x250envelope176 x 2506.93 x 9.84499 x 708
Other envelope otherenvelope296.93 x 427.48 11.69 x 16.83 841 x 842
otherenvelope* Other229.11 x 355.69.02 x 14612 x 996
* For other envelopes, the page is formatted to 216 x 356 mm (8.5 x 14 in.) unless a size is specified by your software
program.
T650n/dn/dtn,
T652n/dn/dtn,
T654n/dn/dtn
XX
X651 MFP,
X652 MFP,
X654 MFP,
X656 MFP,
X658 MFP
Literal names supported
= Supported
X = Not Supported
Literal names
Literal nameCompatible literal name T650n/dn/dtn, T652n/dn/dtn,
T654n/dn/dtn
monarchenvelope 3.875x7.5envelope
com10envelope4.125x9.5envelope
dlenvelope110x220envelope
c5envelope162x229envelope
b5envelope176x250envelope
Printer models
X651 MFP, X652 MFP,
X654 MFP, X656 MFP,
X658 MFP
PostScript (PS) emulation
15
PostScript envelope tray support
If manualfeed in statusdict and the ManualFeed page device parameter are false when the printer receives one of
the envelopetray operators listed in “Envelopetray operator selections” on page 16, then the printer:
• Sets the PageSize Policy to 0.
• Checks the active source to see if it matches the requested envelope size. If the sizes match, the envelope is fed
from the active source.
Note: The active source is the last source selected from the printer control panel or data stream.
• If the requested size and the size loaded in the active source do not match, the sources are searched in the order
defined by the Priority array in the InputAttributes dictionary in the pagedevice dictionary.
• If the requested media size is not found by the previous search, the following search order is used:
– Envelope Feeder
– Multipurpose Feeder
• If the requested size and type are not avail able from any automatic source, you are prompted to load the requested
envelope size and type in the manual feed source.
• If the size is still not available, a configurationerror is issued and the print job is flushed.
If manualfeed or ManualFeed is true, the printer prompts you to load the requested size manually. If no manual feed
exists on the printer, a rangecheck error message is generated
The envelope tray the printer selects when it receives an envelopetray operator is listed in “Envelopetray operator
selections” on page 16. These operators are equivalent to executing the following PostScript emulation sequence: