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. To obtain additional copies of publications related to this product, visit
the Lexmark Web site at www.lexmark.com.
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
from The Monotype Corporation plc, is a
product of Agfa Corporation
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
PCL® is a registered trademark of the Hewlett-Packard Company. 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 5
and PCL 6 languages. This means these printers recognize PCL 5 and PCL 6 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.
ITC Avant Garde Gothic International Typeface Corporation
ITC BookmanInternational Typeface Corporation
ITC Lubalin GraphInternational Typeface Corporation
ITC Mona LisaInternational Typeface Corporation
ITC Zapf ChanceryInternational Typeface Corporation
JoannaThe Monotype Corporation plc
MarigoldArthur Baker
MonacoApple Computer, Inc.
New YorkApple Computer, Inc.
OxfordArthur Baker
PalatinoLinotype-Hell AG and/or its subsidiaries
Stempel GaramondLinotype-Hell AG and/or its subsidiaries
TaffyAgfa Corporation
Times New RomanThe Monotype Corporation plc
TrueTypeApple Computer, Inc.
UniversLinotype-Hell AG and/or its subsidiaries
WingdingsMicrosoft Corporation
1998, 2007 Lexmark International, Inc.
All rights reserved.
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.
The following edition of the Technical Reference contains information about printer
commands and printer languages supported by the following Lexmark printers:
To determine which commands and languages your printer supports, see the
appendixes in the back of this document or see your printer documentation.
If your printer is not included in this edition of the Technical Reference, it may be
available in another version. Visit the Lexmark Web site at www.lexmark.com/
publications for more information.
Table 1-1: Technical Reference Documentation Available in Hard Copy
If you need a Technical Reference for the...Order Lexmark part number...
Optra™ K11A4079
Optra N11A9979
Optra SC11C0905
Optra E31012A2194
The Technical Reference is divided into the following:
1-2
Introduction
Chapter 2: “PCL Emulation”
Shows how to select PCL emulation and discusses PCL emulation commands, GL/2
commands, and resident font and symbol set support.
Chapter 3: “Printer Job Language”
Contains detailed information about certain commands that cause the printer to enter
PCL emulation, PostScript emulation, and Personal Printer Data Stream (PPDS), and
many other types of commands.
Chapter 4: “PostScript Emulation”
Provides information about PostScript emulation and explains PostScript emulation
supplemental operators.
Chapter 5: “Switching Languages”
Describes ways to switch printer languages and explains when you may want to
choose one method over another.
Chapter 6: “Flash Memory and Disk”
Provides information about using the flash memory and hard disk. It describes how to
manage printer memory, store resources (such as fonts and macros), and manage
files.
Chapter 7: “Printer Specifications”
Lists printer specifications, including information about hardware and environmental
conditions.
Chapter 8: “Printer Interfaces”
Provides information on printer interfaces, including information about parallel and
serial interface, network support, and communication protocols.
See the tables in the three appendixes to determine if your printer supports a
particular PCL emulation, PJL, or PostScript emulation command. The appendixes
are:
1-3
Appendix A: “PCL Support”
Appendix B: “PJL Support”
Appendix C: “PostScript Support”
Introduction
Navigational Tips
If you are not familiar with PDF files, the following tips may help you find the
information you need.
• To move forward and backward through this document:
– Select an option under View in the menu bar at the top of the page.
– Use the arrows in the toolbar at the top of the page, or the up arrow and
down arrow keys on the keyboard.
– Press the Page Up and Page Down keys on the keyboard.
– Use the scroll bar to the right of the page.
– Click the page number box on the status bar at the bottom of the page and
type the page you want.
1-4
Introduction
• To increase or decrease the magnification of the pages:
– Select the magnifying glass icon on the toolbar at the top of the page and
– Click the magnification box on the status bar and select an option from the
• To jump directly to a particular section or key word in this document:
– Click one of the bookmarks in the overview window to the left of the page.
– Click a topic in the table of contents.
– Select Tools from the menu bar and then choose Find or Search.
– Click the binoculars icon on the toolbar and then type a word in the text box.
– Click a cross-reference to a figure, page number, or heading in the docu-
Printing the File
then draw a box around the area you want to view.
drop-down menu.
ment itself.
Although this book was designed primarily for online viewing, you can print a hard
copy by clicking File on the toolbar, and then choosing Print. Make sure you’ve
selected the correct printer, range of pages, and number of copies before you click OK.
You should be aware that if you print this document on a color printer, the color you
see on the paper may not match the color you see on your computer monitor.
Bibliography
For detailed information about PCL emulation printer commands, PostScript
emulation printer commands and operators, and interfaces, see the following
documentation:
1-5
Introduction
• Hewlett-Packard DeskJet Printer Family Technical Reference, C2121-90101
• Hewlett-Packard LaserJet 4 Typography and Graphics, Random House
Electronic Publishing
• Hewlett-Packard PCL 5 Color Technical Reference Manual, 5961-0635
• Hewlett-Packard PCL 5 Printer Language Technical Reference Manual,
• Hewlett-Packard Printer Job Language Technical Reference Manual,
5961H0512
• IBM Personal System/2 Hardware Interface Technical Reference, S68X-2330
• Interface between Data Terminal Equipment and Data Communications
Equipment Employing Serial Binary Data Interchange, Electronic Industries
Association, publications EIA RS-232C and EIA\TIA-232-E
• Network Printing Alliance Protocol, A Printer/Host Control Specification
Developed by the NPA, Level 1, Revision N
• PostScript Language Reference Manual (Third Edition), Adobe Systems
Incorporated, Addison-Wesley Publishing
2-1
CHAPTER 2: PCL Emulation
When you select PCL emulation as the printer language, the printer supports the
Hewlett-Packard Company’s LaserJet Printer Command Language. This chapter
shows how to select PCL emulation and discusses PCL emulation commands, along
with resident PCL emulation font and symbol set support.
To determine which commands your printer supports, see Appendix A: “PCL Support”
on page A-1.
PCL
Selecting PCL Emulation
Using SmartSwitch
When SmartSwitch is enabled for both printer languages on an interface (for example,
Parallel, USB, Serial Option 1, or Network Option 1), the printer automatically switches
to the printer language being sent by your software program. The printer is shipped
with SmartSwitch enabled for both printer languages in all interfaces. The printer
examines all print jobs and switches dynamically between PostScript emulation and
PCL emulation.
Using the Operator Panel or MarkVision Professional
If SmartSwitch is set to Off for both printer languages, you can select PCL emulation
from your printer operator panel or from MarkVision™ Professional. See your printer
documentation for information on changing menu settings.
Using Your Software Program
To select PCL emulation, use the Printer Job Language (PJL) Enter Language
Command. See “ENTER LANGUAGE Command” on page 3-3 for more information.
See “Printer Job Language” on page 3-1 for the syntax and use of PJL.
Warning: When you change printer languages, you may lose some or all previously
downloaded resources, unless
are stored in flash memory or on disk.
2-2
Resource Save is set to On or the resources
PCL
Page Formatting
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.
Printable Areas
2-3
PCL
Legend:
APortrait physical page width and landscape physical page length
BPortrait physical page length and landscape physical page width
CPortrait logical page width
DLandscape logical page width
EDistance between the side edge of the physical page and the logical page in portrait
FDistance between the side edge of the physical page and the logical page in landscape
GDistance between the top and bottom edge of the physical page and logical page
HDistance between the left and right edge of the physical page and the printable area in
portrait, or distance between the top and bottom edge of the physical page and printable
area in landscape
IDistance between the top and bottom edge of the physical page and the printable area in
portrait, or distance between the left and right edge of the physical page and the
printable area in landscape
Note: The tables beginning on page 2-4 list the page sizes and dimensions of each
area labeled on the preceding diagram for all paper and envelope sizes your
printer supports. If information about your printer is not included in the
following tables, see page 1-1 for information on how to get a Technical Reference for your printer.
The following table lists page sizes and print area dimensions for all paper and
envelope sizes the Lexmark™ C520, C522n, C524, C524n, C524dn,C530dn, C532n,
C532dn, C534n, C534dn, C534dtn, C770, C770n, C772, C772n, C920, C920n,
C920dn, and C920dnf printers support. For more information about the printable
areas and logical pages for PCL emulation, see “Printable Areas” on page 2-3.
90DL220 x 1108.66 x 4.33259851962314 4960 142 1180100 100
91C5229 x 1629.02 x 6.38382654082542 5172 142 1180100 100
4
, 100B5 Envelope250 x 1769.84 x 6.93415659043872 5668 142 118 0100 100
99
600Other
899 (Com 9)225 x 988.875 x 3.875 232653242024 5084 150 1200100 100
8110 (Com 10)241 x 1059.5 x 4.125247457002174 5460 150 120 0100 100
807 3/4
1
Pel dimensions are for 600 dpi.
2
Page Size Parameters are explained in Table 2-16 on page 2-54.
3
The width of the logical page for A4 paper can be changed from the printer operator panel or your software
application.
4
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” on page 2-6.
2
NamemminchesABCDEFGHI
Envelope
(Monarch)
Dimensions
Envelope
216 x 3568.5 x 14510084004800 8160 150 120 0100 100
98 x 1913.875 x 7.5232643002024 4260 150 120 0100 100
Dimensions by Area (pels)
1
Print Area Menu Item
The printable area is the area on a sheet of paper within which a pel can be printed.
Logical page is a conceptual entity that defines the area in which margins (top, bottom,
left, right) may be set and the area in which the PCL cursor may be positioned.
The physical page border is the actual physical boundaries of a page.
The
Print Area menu item is available from the printer operator panel or through
MarkVision Professional. For some printers, Print Area supports three values: Normal,
Whole Page, and Fit to Page. See your printer documentation for more information
.
2-6
PCL
Normal setting
Legend:
PCL
Logical
Page
Area
The Normal setting, which is the factory default, means the printable area includes the
entire page except the narrow border around the edge of the page. This is the
nonprintable area. The printer measures margin settings relative to the logical page.
Physical
Page
Border
PCL
Printable
Area
Only Portrait Orientation is shown for all settings.
Whole Page setting
For a more detailed explanation of the Normal setting, see “Printable Areas” on
page 2-3.
2-7
PCL
The Whole Page setting only affects pages printed when using PCL emulation. If
Whole Page is selected, the PCL language sets the logical page area equal to the
physical page dimensions. Since the logical page dimensions and the physical page
dimensions are the same, in theory, the cursor may be positioned anywhere on the
page. However, the PCL language clips the image to the printable area. So, the Whole
Page setting is useful for printing scanned images that extend from edge to edge of a
page.
Some printers offer the Fit to Page setting. When Fit to Page is selected, PCL
emulation or PostScript emulation formats a page using a printable area equal to the
physical page, which is from one edge of the page to the other edge of the page. If you
use this setting, no clipping occurs. In Fit to Page, the PCL emulation logical page
dimensions are equal to the physical page dimensions, as in the Whole Page setting.
The printer holds this formatted image in memory, but when the page prints, the image
is compressed a small amount in both horizontal and vertical directions, and then
centered on the physical page for letter-size paper only. This process creates a small
margin around the image. This artificial margin prevents printing from one edge to the
other, since doing so could contaminate the printer and cause printing problems.
The following illustrations show an image held in memory for printing from one edge
to the other and how the image would actually print based on the Fit to Page setting.
Notice that a small border appears at the edges of the printed page, and the image is
slightly compressed.
Physical
Page
Edge
Formatted Image with Fit to PagePrinted Image with Fit to Page
2-8
PCL
Font and Symbol Set Support for the Lexmark C520,
C522n, C524, C524n, C524dn, C530dn, C532n,
C532dn, C534n, C534dn, C534dtn, C770, C770n,
C772, C772n, C920, C920n, C920dn, C920dnf
Your printer has 91 resident fonts in PCL emulation, including 89 scalable fonts and
two bitmapped fonts.
Several parameters are used to select a font from the data stream. These include
symbol set, spacing, point or pitch, style, weight, and typeface number. For scalable
fonts, you can vary the size of a font by specifying pitch or point size. For bitmapped
fonts, you must choose the pitch or point size listed on the font sample pages. You can
print the font sample pages using a PJL command (see “LPRINTPCLFONTS” on
page 3-83.), or through MarkVision Professional (network models only). See your
printer documentation for more information.
A symbol set defines which characters are available for a font and the code point for
each of these characters. Your printer supports 88 resident symbol sets. The tables
beginning on page 2-10 show the symbol sets available for each font in
PCL emulation. Not all fonts support all symbol sets.
You can select a font as the PCL emulation default through MarkVision Professional
(network models only). See your printer documentation for more information.
The fonts are divided into three major groups. The first 47 fonts (R0 to R46) shown on
the font sample pages are the standard PCL emulation fonts. The next 39 fonts (R47
to R85) are called Type 1 fonts and were originally defined for PostScript emulation,
but now also work in the PCL emulation. The final five fonts (R86 to R90) are additional
specialty PCL emulation fonts. For a list of the 47 standard PCL emulation fonts, see
Table 2-2 on page 2-9. For a list of the 39 Type 1 fonts, see Table 2-3 on page 2-11.
For a list of the five additional specialty PCL emulation fonts, see Table 2-11 on
page 2-43. These tables list both the forward and backward compatibility font selection
commands. For more information on forward and backward compatibility, see
page 2-9. For more information on selecting symbol sets, see page 2-38.
For compatibility purposes, you can disable Type 1 fonts with the Printer Job
Language (PJL) LTYPE1FONTS command. The factory default for these fonts is
Enabled. See LTYPE1FONTS on page 3-48 for more information.
2-9
PCL
You can also select fonts using PJL commands. The selection parameter is the
number portion from the font identifier shown on the font sample pages, such as 0 or
76 from font identifiers R0 or R76. Use the PJL values shown in the tables beginning
on page 2-9 to select a symbol set. If a symbol set does not have a PJL value, use the
symbol set ID to select the symbol set. A font selection can be either temporary or set
as the default.
Use the following PJL commands to select fonts: FONTSOURCE, FONTNUMBER,
PITCH, PTSIZE, SYMSET, SET, DEFAULT. See “Table 3-5: Common Variables for
PCL Emulation” on page 3-48 for more information about these commands.
Forward and Backward Compatibility Modes for the
Lexmark C520, C522n, C524, C524n, C524dn, C530dn, C532n,
C534n, C534dn, C534dn, C534dtn, C770, C770n, C772, C772n,
C920, C920n, C920dn, C920dnf
Your PCL emulation has forward and backward compatibility modes. The forward
compatibility mode is used to emulate the fonts in the Hewlett-Packard Company’s
LaserJet 4050. The backward compatibility mode is used for compatibility with the
Hewlett-Packard Company’s LaserJet 5 and the Lexmark family of printers.
Standard PCL Emulation Fonts
The following table lists the font selection commands for forward and backward
compatibility mode for each of the 47 standard PCL emulation fonts. Since the font
selection commands for the forward and backward compatibility modes are identical,
they are listed together in the table.
Table 2-2: Forward and Backward Compatibility Font Selection Commands
Forward and Backward Compatibility Mode
Standard PCL Emulation Font Name
Courier0004099
SpacingStyleWeightTypefac e
Courier Italic0104099
Courier Bold0034099
Courier Bold Italic0134099
CG Times1004101
CG Times Italic1104101
1
This font is not implemented in the Hewlett-Packard Company’s LaserJet 4050.
2-10
PCL
Table 2-2: Forward and Backward Compatibility Font Selection Commands (Continued)
Forward and Backward Compatibility Mode
Standard PCL Emulation Font Name
CG Times Bold1034101
CG Times Bold Italic1134101
Univers Medium1004148
Univers Medium Italic1104148
Univers Bold1034148
Univers Bold Italic1134148
Times New Roman10016901
Times New Roman Italic11016901
Times New Roman Bold10316901
SpacingStyleWeightTypefac e
Times New Roman Bold Italic11316901
Arial10016602
Arial Italic11016602
Arial Bold10316602
Arial Bold Italic11316602
Letter Gothic0004102
Letter Gothic Italic0104102
Letter Gothic Bold0034102
Univers Condensed Medium1404148
Univers Condensed Medium Italic 1504148
Univers Condensed Bold1434148
Univers Condensed Bold Italic1534148
Garamond Antiqua1004197
Garamond Kursiv1104197
Garamond Halbfett1034197
Garamond Kursiv Halbfett1134197
CG Omega1004113
CG Omega Italic1104113
CG Omega Bold1034113
CG Omega Bold Italic1134113
Antique Olive1004168
Antique Olive Italic1104168
Antique Olive Bold1034168
Albertus Medium1014362
1
This font is not implemented in the Hewlett-Packard Company’s LaserJet 4050.
2-11
PCL
Table 2-2: Forward and Backward Compatibility Font Selection Commands (Continued)
Forward and Backward Compatibility Mode
Standard PCL Emulation Font Name
Albertus Extra Bold1044362
Clarendon Condensed Bold1434140
Marigold1004297
Coronet1104116
Line Printer 160000
POSTNET Barcode
Wingdings10031402
Symbol10016686
1
This font is not implemented in the Hewlett-Packard Company’s LaserJet 4050.
1
SpacingStyleWeightTypefac e
1000
Type 1 Fonts
Thirty of the Type 1 fonts have different font selection parameters in the forward and
backward compatibility modes and nine of the fonts work only in the forward
compatibility mode. With the appropriate printer driver installed and selected, your
software program selects these fonts.
The following table shows the font selection commands for forward and backward
compatibility modes and indicates the font group for each font. All Type 1 fonts are
supported by both the Hewlett-Packard Company’s LaserJet 4050 and the
Lexmark family of printers unless otherwise noted.
Table 2-3: Forward and Backward Compatibility Font Selection Commands
Notice the values for forward and backward compatibility modes differ slightly for Bold.
2
This font is not implemented in the Hewlett-Packard Company’s LaserJet 4050.
3
This font is not implemented in the Lexmark family of printers.
3
Your Lexmark printer defaults to the forward compatibility mode to enable a HewlettPackard Company’s driver to select the forward compatibility fonts. The Lexmark PCL
emulation driver uses the backward compatibility mode and temporarily switches the
printer to this mode. The PCL (PJL) emulation commands to switch the default
compatibility modes are:
The following table lists the font selection commands for forward and backward
compatibility mode for each of the five specialty PCL emulation fonts. Since the font
selection commands for the forward and backward compatibility modes are identical,
they are listed together in the table. These fonts are supported only in PCL 5
emulation, not in PCL XL.
Table 2-4: Forward and Backward Compatibility Font Selection Commands
Standard PCL Emulation Font Name
C39 Narrow
C39 Regular
C39 Wide
1
OCR-A
1
OCR-B
1
This font is not implemented in the Hewlett-Packard Company’s LaserJet 4050.
To determine if a font or typeface supports a symbol set, see the complete listing of
PCL emulation fonts and symbol sets in the following tables: “Table 2-7: TC520,
C522n, C524, C524n, C524dn, C530dn, C532n, C532dn, C534n, C534dn, C534dtn,
C770, C770n, C772, C772n, C920, C920n, C920dn, and C920dnf PCL Emulation
Symbol Sets - Specials” on page 2-26, “Table 2-9: TC520, C522n, C524, C524n,
C524dn, C530dn, C532n, C532dn, C534n, C534dn, C534dtn, C770, C770n, C772,
C772n, C920, C920n, C920dn, and C920dnf PCL Emulation Symbol Sets - Latin 1”
on page 2-32, and “Table 2-11: TC520, C522n, C524, C524n, C524dn, C530dn,
C532n, C532dn, C534n, C534dn, C534dtn, C770, C770n, C772, C772n, C920,
C920n, C920dn, and C920dnf PCL Emulation Symbol Sets - Specials” on page 2-43.
Selecting Symbol Sets for the Lexmark C520, C522n, C524, C524n,
C524dn, C530dn, C532n, C532dn, C534n, C534dn, C534dtn, C770,
C770n, C772, C772n, C920, C920n, C920dn, C920dnf
To determine if a font or typeface supports a symbol set, see the complete listing of
PCL emulation fonts and symbol sets in the following tables: “Table 2-7: TC520,
C522n, C524, C524n, C524dn, C530dn, C532n, C532dn, C534n, C534dn, C534dtn,
C770, C770n, C772, C772n, C920, C920n, C920dn, and C920dnf PCL Emulation
Symbol Sets - Specials” on page 2-26, “Table 2-10: C520, C522n, C524, C524n,
C530dn, C532n, C532dn, C534n, C534dn, C534dtn, C524dn, C770, C770n, C772n,
C772n, C920, C920n, C920dn, and C920dnf PCL Emulation Symbol Sets - Latin 2,
Latin 5, Latin 6, Cyrillic, Greek” on page 2-37, and “Table 2-11: TC520, C522n, C524,
2-15
PCL
C524n, C524dn, C530dn, C532n, C532dn, C534n, C534dn, C534dtn, C770, C770n,
C772, C772n, C920, C920n, C920dn, and C920dnf PCL Emulation Symbol Sets Specials” on page 2-43