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 Technic al R efere nce for the...Order Lexmark part number...
Optra™ K11A4079
Optra N11A9979
Optra SC11C0905
Optra E31012A2194
The Technical Reference is divided into the following:
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.
1-2
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.
Introduction
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 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 E120, E120n, E238, E240, E240n, E250d, E250dn,
E340, E342n ,E350d, E352dn, and E450dn printers support. For more information
about the printable areas and logical pages for PCL emulation, see “Printable Areas”
on page 2-3.
Table 2-1: Lexmark E120, E120n, E238, E240, E240n, E250d, E250dn, E340, E342n, E350d,
E352dn, E450dn Paper and Envelope Dimensions
Paper/Envelope
Selection
Page Size
Parameters2NamemminchesABCDEFGHI
13, 613A5148 x 2105.83 x 8.27349649603196 4720 142 118 0100 100
12, 45, 612JIS B5 Paper182 x 2577.2 x 10.1430060704000 5830 150 120 0100 100
26, 626A4 (198 mm)
26, 626A4 (203 mm)
1, 601Executive184 x 2677.25 x 10.5435063004050 6060 150 1200 100 100
2, 602Letter216 x 2798.5 x 11510066004800 6360 150 120 0100 100
3, 603Legal216 x 3568.5 x 14510084004800 8160 150 1200 100 100
4 or 10Folio216 x 3308.5 x 13510078004800 7560 150 120 0100 100
15Statement139.7 x 215.95.5 x 8.5330051003000 4860 150 1200100 100
101Universal216 x 3568.5 x 14150 1200100 100
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.
Dimensions
3
210 x 2978.3 x 11.7496070144676 6778 142 11808080
3
210 x 2978.3 x 11.7496070144800 67788011808080
Dimensions by Area (pels)
Paper
1
2-5
PCL
Table 2-1: Lexmark E120, E120n, E238, E240, E240n, E250d, E250dn, E340, E342n, E350d,
E352dn, E450dn Paper and Envelope Dimensions (Continued)
Paper/Envelope
Selection
Page Size
Parameters2NamemminchesABCDEFGHI
90DL220 x 1108.66 x 4.33259851962314 4960 142 1180 100 100
91C5229 x 1629.02 x 6.38382654082542 5172 142 1180 100 100
4
99
, 100B5 Envelope250 x 1769.84 x 6.93415659043872 5668 142 118 0100 100
600Other
Envelope
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
(Monarch)
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.
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 E120,
E120n, E238, E240, E240n, E250d, E250dn, E340,
E342n, E350d, E352dn, and E450dn
Your printer has 91 resident fonts in PCL emulation, including 89 scalable fonts and
two bitmapped fonts. The E120 and E120n has 19 resident fonts including 17 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 E238, E240, E240n, E250d, E250dn, E340, E342n, E350d,
E352dn, and E450dn
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.
Note: Lexmark E120 and E120n support Backward Compatibility Modes, but not
Forward Compatibility Modes.
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
SpacingStyleWeightTypeface
Courier0004099
Courier Italic0104099
Courier Bold0034099
Courier Bold Italic0134099
CG Times1004101
1
This font is not implemented in the Hewlett-Packard Company’s LaserJet 4050.
2-10
Table 2-2: Forward and Backward Compatibility Font Selection Commands (Continued)
Forward and Backward Compatibility Mode
PCL
Standard PCL Emulation Font Name
CG Times Italic1104101
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
Times New Roman Bold Italic11316901
Arial10016602
Arial Italic11016602
Arial Bold10316602
Arial Bold Italic11316602
Letter Gothic0004102
Letter Gothic Italic0104102
SpacingStyleWeightTypeface
Letter Gothic Bold0034102
Univers Condensed Medium1404148
Univers Condensed Medium Italic1504148
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
1
This font is not implemented in the Hewlett-Packard Company’s LaserJet 4050.
2-11
Table 2-2: Forward and Backward Compatibility Font Selection Commands (Continued)
Forward and Backward Compatibility Mode
PCL
Standard PCL Emulation Font Name
Albertus Medium1014362
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
SpacingStyleWeightTypeface
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
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.
Forward and Backward Compatibility Mode
SpacingStyleWeightTypeface
1
1
1
10032774
10032772
10032777
00023584
00023590
2-14
PCL
Selecting Symbol Sets for Lexmark E120, E120n, E238, E240,
E240n, E250d, E250dn, E340, E342n, E350d, E352dn, E450dn
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: Lexmark
E120, E120n, E238, E240, E240n, E250d, E250dn, E340, E342n, E350d, E352dn,
and E450dn PCL Emulation Symbol Sets - Specials” on page 2-26, “Table 2-9:
Lexmark E120, E120n, E238, E240, E240n, E250d, E250dn, E340, E342n, E350d,
E352dn, and E450dn PCL Emulation Symbol Sets - Latin 1” on page 2-31, and
“Table 2-11: Lexmark E120, E120n, E238, E240, E240n, E250d, E250dn, E340,
E342n, E350d, E352dn, and E450dn PCL Emulation Symbol Sets - Specials” on
page 2-43.
Selecting Symbol Sets for the Lexmark E120, E120n, E238, E240,
E240n, E250d, E250dn, E340, E342n, E350d, E352dn, and E450dn
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: Lexmark
E120, E120n, E238, E240, E240n, E250d, E250dn, E340, E342n, E350d, E352dn,
and E450dn PCL Emulation Symbol Sets - Specials” on page 2-26, “Table 2-10:
Lexmark E120, E120n, E238, E240, E240n, E250d, E250dn, E340, E342n, E350d,
E352dn, and E450dn PCL Emulation Symbol Sets - Latin 2, Latin 5, Latin 6, Cyrillic,
2-15
PCL
Greek” on page 2-37, and “Table 2-11: Lexmark E120, E120n, E238, E240, E240n,
E250d, E250dn, E340, E342n, E350d, E352dn, and E450dn PCL Emulation Symbol
Sets - Specials” on page 2-43
Table 2-5: Lexmark E120, E120n, E238, E240, E240n, E250d, E250dn, E340, E342n, E350d,
E352dn, and E450dn PCL Emulation Symbol Sets - Latin 1
Latin 1
Typeface / Symbol Set
PJL Value
Symbol Set ID
Courier✓✓✓✓✓✓✓✓✓ ✓ ✓✓✓✓✓✓✓ ✓ ✓✓✓✓✓✓
Courier Italic✓✓✓✓✓✓✓✓✓ ✓ ✓✓✓✓✓✓✓ ✓ ✓✓✓✓✓✓
Courier Bold✓✓✓✓✓✓✓✓✓ ✓ ✓✓✓✓✓✓✓ ✓ ✓✓✓✓✓✓
Courier Bold Italic✓✓✓✓✓✓✓✓✓ ✓ ✓✓✓✓✓✓✓ ✓ ✓✓✓✓✓✓
CG Times✓✓✓✓✓✓✓✓✓ ✓ ✓✓✓✓✓✓✓ ✓ ✓✓✓✓✓✓
CG Times Italic✓✓✓✓✓✓✓✓✓ ✓ ✓✓✓✓✓✓✓ ✓ ✓✓✓✓✓✓
CG Times Bold✓✓✓✓✓✓✓✓✓ ✓ ✓✓✓✓✓✓✓ ✓ ✓✓✓✓✓✓
CG Times Bold Italic✓✓✓✓✓✓✓✓✓ ✓ ✓✓✓✓✓✓✓ ✓ ✓✓✓✓✓✓
Univers Medium✓✓✓✓✓✓✓✓✓ ✓ ✓✓✓✓✓✓✓ ✓ ✓✓✓✓✓✓
Univers Medium Italic✓✓✓✓✓✓✓✓✓ ✓ ✓✓✓✓✓✓✓ ✓ ✓✓✓✓✓✓
Univers Bold✓✓✓✓✓✓✓✓✓ ✓ ✓✓✓✓✓✓✓ ✓ ✓✓✓✓✓✓
Univers Bold Italic✓✓✓✓✓✓✓✓✓ ✓ ✓✓✓✓✓✓✓ ✓ ✓✓✓✓✓✓
Times New Roman✓✓✓✓✓✓✓✓✓ ✓ ✓✓✓✓✓✓✓ ✓ ✓✓✓✓✓✓
Legal
Windows 3.0 Latin 1
LEGAL
WIN30
1U9U19U
Windows 98 Latin 1
ISO 8859-1 Latin 1 (ECMA-94)
WINL1
ISOL1
0N9N10U
ISO 8859-15 Latin 9
ISOL9
PC-8, Code Page 437
PC8
PC-8 Danish/Norwegian (437N)
PC-850 Multilingual
PC8DN
PC850
11U
12U
PC-858 Multilingual Euro
PC-860 Portugal
PC858
13U
20U
PC-861 Iceland
PC-863 Canadian French
21U
23U
PC-865 Nordic
25U
PC-1004 OS/2
ABICOMP Brazil/Portugal
ABICOMP International
Roman-8
Roman-9
ROMAN8
9J
13P
14P
8U4U0E
Roman Extension
PS Text
MC Text
PSTEXT
10J
12J
Desk Top
DESKTOP
7J
Ventura International
VNINTL
13J
Ventura US
VNUS
14J
Times New Roman Italic✓✓✓✓✓✓✓✓✓ ✓ ✓✓✓✓✓✓✓ ✓ ✓✓✓✓✓✓
Times New Roman Bold✓✓✓✓✓✓✓✓✓ ✓ ✓✓✓✓✓✓✓ ✓ ✓✓✓✓✓✓
Times New Roman Bold Italic✓✓✓✓✓✓✓✓✓ ✓ ✓✓✓✓✓✓✓ ✓ ✓✓✓✓✓✓
✓ Indicates Typeface supports the specified Symbol Set.
✘ Indicates Typeface does not support the specified Symbol Set.
2-16
PCL
Table 2-5: Lexmark E120, E120n, E238, E240, E240n, E250d, E250dn, E340, E342n, E350d,
E352dn, and E450dn PCL Emulation Symbol Sets - Latin 1 (Continued)
✓ Indicates Typeface supports the specified Symbol Set.
✘ Indicates Typeface does not support the specified Symbol Set.
Ventura Math
VNMATH
6M
PS Math
Math-8
PSMATH
MATH8
5M
8M
Pi font
Microsoft Publishing
PC-911 Katakana
PIFONT
MSPUBL
15U6J3K
POSTNET Barcode
15Y
OCR-A
0O
OCR-B
1O
C39 Bar Code
(Upper Case)
C39 Bar Code
(plus Lower Case)
C39 Bar Code
9Y
109Y
(plus Human Readable)
209Y
Symbol
Wingdings
19M
579L
Ventura ITC Zapf Dingbats
9L
PS ITC Zapf Dingbats
10L
PCL ITC Zapf Dingbats
14L
All fonts that support the Roman-8 (8U) symbol set also support the following
19 symbol sets.
Table 2-12: Lexmark E120, E120n, E238, E240, E240n, E250d, E250dn, E340,
E342n, E350d, E352dn, and E450dn ISO PCL Emulation Symbol Sets
Symbol Set IDSymbol Set / Typeface
1EISO 4: United Kingdom
0UISO 6: ASCII
0SISO 11: Swedish for Names
0IISO 15: Italian
2SISO 17: Spanish
1GISO 21: German
0DISO 60: Norwegian Version 1
2-48
PCL
Table 2-12: Lexmark E120, E120n, E238, E240, E240n, E250d, E250dn, E340,
E342n, E350d, E352dn, and E450dn ISO PCL Emulation Symbol
Symbol Set IDSymbol Set / Typeface
1FISO 69: French
2UISO 2: IRV (International Ref Version)
0FISO 25: French
0GISO: HP German
0KISO 14: JIS ASCII
2KISO 57: Chinese
3SISO 10: Swedish
1SISO: HP Spanish
6SISO 85: Spanish
4SISO 16: Portuguese
5SISO 84: Portuguese
1DISO 61: Norwegian Version 2
Command Structure
This section introduces the different types of PCL emulation commands and their
structure, or syntax. It also demonstrates how you can link commands to abbreviate
them.
Control Codes
Control Codes are single-character instructions.
Table 2-13: Control Codes
CodeDecHexFunctionResult
BS808BackspaceMoves the cursor toward the left margin one horizontal space equal to
the last printed character
HT909Horizontal TabMoves the cursor to the next defined tab stop
LF100ALine FeedAdvances the cursor to the same horizontal position on the following line
as determined by either the Vertical Motion Index (VMI) or Set Line
Spacing command
FF120CForm FeedAdvances the cursor to the same horizontal position at the top margin of
the next page
2-49
Table 2-13: Control Codes (Continued)
CodeDecHexFunctionResult
CR130DCarriage ReturnMoves the cursor to the left margin
SP3220SpaceMoves the cursor to the right one column
SI150FPrimary FontSelects the primary font
SO140ESecondary FontSelects the secondary font
Commands
PCL emulation commands are multibyte strings (also known as “escape sequences”)
that begin with the Escape control code (
ESC
control code notifies the printer that the characters that follow are to be interpreted
as part of a command and are not control codes or data to be printed.
ESC
, ← , decimal 27, or hexadecimal 1B). The
PCL
Command Structure
Most PCL emulation commands have the following structure:
ESC
& a # C
Spaces have been added to this example for readability. The command parameter
variables are indicated by a number sign (#).
Table 2-14: Description of Command Structure
ElementDescription
ESC
&Parameterized character from American National Standard Code for Information
aGroup character from ASCII table (ranging from 96 to 126 decimal) that specifies a
#Decimal character string value within specified numeric ranges; may be preceded by
CTermination character from ASCII table (ranging from 64 to 94 decimal)
Decimal 27 or hex 1B
Interchange (ASCII) table (ranging from 33 to 47 decimal)
group type of control
a + or - sign and contain a decimal point
Command Parameters
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 the
default values. For example, after the printer receives a command that selects a right
2-50
PCL
margin beginning at column 63, the right margin of each printed page begins at
column 63. That margin stays constant until a right margin command with a different
value resets it or until the printer is reset.
Parameters for each command are listed in the command tables beginning on
page 2-52. Use the Symbol Set Tables to determine the decimal or hexadecimal value
for each parameter. To determine a decimal or hex value, first locate the value of the
parameter you require in the Symbol Set Table. The decimal value is the value shown
in the bottom of the cell or box with that parameter. To find a hex value, go straight up
the grid from the desired parameter and read the value in the top heading. This is the
first character of the hex value. Next, go straight across the grid to the left of the
parameter and read the value in the left column heading. This is the second character
of the hex value. For example,
of the three values ← , 1B, or 27 might be used in your application. Read your
documentation to determine which to use.) The example on the following page sets
the pitch of the primary font to 16.66 characters per inch.
ESC
(← ) is coded 1B in Hex and 27 in decimal. (Any one
Example:
ESC
(s16.66H
• Decimal: 27 40 115 49 54 46 54 54 72
• Hex: 1B 28 73 31 36 2E 36 36 48
Use the plus symbol (+) or the minus symbol (-) to select a position relative to the
current cursor position. For example:
ESC
&a6CMove to horizontal cursor position, column six
ESC
&a+6CMove six columns to the right of the current position
ESC
&a-6CMove six columns to the left of the current position
Linking Commands
You can combine PCL emulation commands by linking them if the first 3 bytes of the
commands are identical. The combined, short form sends the first 3 bytes only once
in the string. To combine commands:
• Use the first 3 bytes (characters) of the command only once at the start of the
command string.
• Make the last letter of each command in the string lowercase.
• Capitalize the last letter of the string.
2-51
PCL
For example, notice that the first 3 bytes of these two commands are the same:
ESC
(s10HSelect 10 characters per inch
ESC
(s4099TSelect Courier typeface
To combine these two commands, use this form:
ESC
(s10h4099T
which is 3 bytes shorter than the long form:
ESC
(s10H
ESC
(s4099T
You can combine more than two commands; for example, you can add Select Stroke
ESC
Weight Bold (
ESC
(s10h3b4099T
(s3B) to the previous two commands:
or in the long form:
ESC
(s10H
ESC
(s3B
ESC
(s4099T
PCL Emulation Commands
See the following tables for a listing of the commands grouped by function.
To determine which commands your printer supports, see “Table A-1: PCL Emulation
Commands” on page A-1.
% – 12345X Universal Exit Language (UEL) / Start of PJL
Unit of Measure
Sets the size for the PCL Unit (units per inch).
The Unit of Measure defines the unit used in the following commands:
• Horizontal Cursor Position by PCL Unit (
• Vertical Cursor Position by PCL Unit (
• Horizontal Rectangle Size by PCL Unit (
• Vertical Rectangle Size by PCL Unit (
The Unit of Measure also affects the rounding of character
escapements and the Horizontal Motion Index.
Note: This command does not affect the interpretation of binary raster
data for bitmapped fonts, raster graphics, or user defined fill patterns.
This command terminates the current printer language and allows
switching into PJL. For more information, see “UNIVERSAL EXIT
LANGUAGE Command” on page 3-2.
ESC
ESC
ESC
*p#Y)
ESC
*c#B)
PCL
*p#X)
*c#A)
Table 2-16: Page Control
Command / ParametersFunction / Result
ESC
&l#A
Paper
1 Executive
2 Letter
3 Legal
4, 10 Folio
6, 11 Ledger (11 x 17)
13, 25 A5 Paper
15 Statement
26 A4 Paper
27 A3 Paper
12, 45 B5 Paper
46 B4 Paper
101 Custom Paper/Universal
0Active Source or Eject Page
1Tray 1 (Default)
2Manual Paper Feed
3Manual Envelope Feed
4Tray2
5Tray3
6Optional Envelope Feeder
7Auto Select
8Multipurpose Feeder
20Tray 4
21Tray 5
62Optional Paper Source
ESC
&f#G
# = number of Decipoints
(1 Decipoint = 1/720 inch)
ESC
&f#F
# = number of Decipoints
(1 Decipoint = 1/720 inch)
ESC
&f#O
0Short-edge
1Long-edge
Set Page Size
Selects the physical size of the paper, which also determines the
logical page dimensions. See the tables beginning on page 2-1 for the
paper and envelope dimensions your printer supports.
If the requested page size is not in the requested source or if no source
is requested, sources are checked for the requested size in the
following order: multipurpose feeder, tray 1, tray 2, tray 3, tray 4, tray 5,
and envelope feeder.
Notes:
• When the printer receives the page size command, any partially
formatted pages are printed, and the cursor position and margins
are reset.
• Duplex printing is not supported on any envelope.
• The size loaded in the active source is checked to see if it matches
the requested size. If the multipurpose feeder is configured as
Cassette or Manual, the same applies; however, if the multipurpose
feeder is configured as First and media is loaded in the
multipurpose feeder, then, regardless of media size, it is the source
used until it is empty.
Paper Source
Selects the paper feed source.
Note: If the paper source is changed for the back of a duplexed page,
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.
Set Universal Width
Sets the width of the Universal size in decipoints.
Set Universal Height
Sets the height of the Universal size in decipoints.
Set Universal Feed Direction
Sets the feed direction of Universal size. Feed direction means which
side of the print media, either the short edge or the long edge, feeds
through the printer first.
Sets the user-specified custom name for the Universal paper size
being used.
Select Orientation
Specifies the position of the logical page with respect to the physical
page.
Note: This setting resets margins, the number of printable lines per
page, and the cursor position.
Print Direction
Rotates the coordinate system counter-clockwise in 90° increments
with respect to the current orientation.
Note: Margins are not rotated or cleared.
Character Text Path Direction
Vertically rotates text for use in vertical writing, such as printing
Japanese text.
Set Left Margin
Sets the left margin to the left edge of the designated column.
Note: The column width is defined by the space character of the active
font and the Horizontal Motion Index (HMI).
Set Right Margin
Sets the right margin to the right edge of the designated column.
Note: The column width is defined by the space character of the active
font and the HMI.
Clears left and right margins.
Set Top Margin
Sets the number of lines between the top of the physical page and first
line of print. Line height is determined by the current Vertical Motion
Index (VMI) and/or line spacing value.
Note: Setting a top margin of 0 results in the first line of text falling
outside of the printable area.
This command is parsed and ignored.
Set Text Length
Sets the bottom margin length in lines, measured from the first line of
the page.
Text Length equals Logical Page Length –1 inch (–1/2 inch for top and
–1/2 inch for bottom).
2-55
PCL
Table 2-16: Page Control (Continued)
Command / ParametersFunction / Result
ESC
&l#G
0 Auto Select (uses the active bin)
1Standard Bin
2Bin 1 or Rear Bin
3Bin 1 or Rear Bin
4Bin 2
5Bin 3
6Bin 4
7Bin 5
8Bin 6
9Bin 7
10Bin 8
11Bin 9
12Bin 10
ESC
&l#L
0 Off
1 On (Default)
ESC
&k#H
# = number of 1/120 inch increments
(Valid to 4 decimal places)
ESC
&l#C
# = number of 1/48 inch increments
(Valid to 4 decimal places)
Default = 8
Set Output Bin
Sets the exit path to direct paper to one of the output bins.
Skip Perforation
Perforation area includes the area from the bottom margin of the
current page to the top margin of the next page. When skipping
perforations, a line feed past the bottom margin ejects a page and
places the cursor at the top margin of the next page.
Set Horizontal Motion Index (HMI)
Sets the width of all characters for fixed-space fonts. Sets only the
width of the space for proportional spaced fonts.
Set Vertical Motion Index (VMI)
Sets Vertical Motion Index in 1/48 inch increments. The VMI
determines the vertical distance between lines.
Notes:
• For some printers, you can change the default VMI from the printer
operator panel or through MarkVision Professional by using the
Lines Per Page menu item. See your printer documentation for more
information.
• Use of this command alters any previous Set Line Spacing
command settings.
# = number from 0 to 14
0 = default page length is used
(1 to 14 = new page length is set)
ESC
&k#W
5Turn Text Scale Mode OFF
6Turn Text Scale Mode ON
Set Line Spacing (Alternative Method)
Specifies VMI in lines per inch.
Notes:
• For some printers, you can change the default VMI from the printer
operator panel or through MarkVision Professional by using the
Lines Per Page menu item. See your printer documentation for more
information.
• Unsupported values are ignored.
• Use of this command alters any earlier VMI setting.
Duplex Page Side Selection
Specifies which physical page side to print next when duplex printing.
Note: When the duplex option is not installed, this command causes a
conditional page eject.
Set Page Length
Sets the logical page length in number of lines.
Notes:
• This command is sent at the beginning of a page in a print job and
prior to any printable data.
• When the command is sent, the current page is closed and printed.
• Unsupported values are ignored.
Text Scale Mode
Allows 66 lines of text at six lines per inch to print on an effective page
length of 10 1/2 inches.
Notes:
• Unsupported values are ignored.
• The command is ignored when the printer is in landscape mode.
2-57
PCL
Table 2-17: Alphanumeric ID
Command / ParametersFunction / Result
ESC
&n#W [operation] [string]
# = number of data bytes that make up the
operation and string
Operation
operation = 100 or 1 byte = 0x64 or 'd' ascii
For example:
100 Media Select
String
string = See Alphanumeric String list at
right
Alphanumeric ID
Selects the media type using a character string. The string ID is case
sensitive and may be up to 511 bytes long.
The string ID specifies the media type requested.
Media TypeAlphanumeric String
Plain PaperPlain
BondBond
TransparencyTransparency
Card StockCard Stock
LabelsLabels
LetterheadLetterhead
Pre-printedPreprinted
Colored PaperColor
EnvelopeEnvelope
Custom Type 1Custom Type 1 or User Type 1
Custom Type 2Custom Type 2 or User Type 2
Custom Type 3Custom Type 3 or User Type 3
Custom Type 4Custom Type 4 or User Type 4
Custom Type 5Custom Type 5 or User Type 5
Custom Type 6Custom Type 6 or User Type 6
2-58
PCL
For example, the following shows the command and parameters used
to select bond paper:
To select letterhead paper:
ESC
&n5WdBond
ESC
&n11WdLetterhead
Table 2-18: Cursor Positioning
Command / ParametersFunction / Result
ESC
&a#C
# = number of Columns
ESC
&a#H
# = number of Decipoints
(1 Decipoint = 1/720 inch)
ESC
*p#X
# = number of PCL Units
1
Parameter preceded by + or - sign denotes a relative cursor move from the current cursor position. Parameter without a
sign denotes an absolute cursor move from the top left margin.
1
1
1
Horizontal Cursor Position (in Columns)
Moves the cursor to a new position along the horizontal axis.
Note: The column width is determined by the space character width of
the active font or the Horizontal Motion Index (HMI), if set.
Horizontal Cursor Position (in Decipoints)
Moves the cursor to a new position along the horizontal axis.
Horizontal Cursor Position (in PCL Units)
Moves the cursor to a new position along the horizontal axis.
Note: PCL units are set by the Unit-of-Measure Command.
The line-draw characters are contained in the symbol set ID 10U, PC-8.
The non-U.S. characters are contained in symbol set ID 12U, PC-850.
Select Spacing
Selects a font with proportional or fixed spacing.
Select Pitch
Selects the number of characters per inch (cpi) for a fixed-space
bitmapped or monospaced scalable font. Valid to 2 decimal places.
Note: Pitch is not needed for proportional spaced fonts.
Height (Select Point Size)
Sets the font height in points. Valid to 2 decimal places.
Note: Point size is not needed for monospaced fonts. For fonts larger
than 12 points, it may be necessary to change the line spacing.
Select Style
Identifies the physical traits of a character and the composition of the font
symbols.
Note: You can only use this command to select fonts currently available
in the printer. It cannot alter the appearance of the available fonts.
2-60
PCL
Table 2-19: Font Selection (Continued)
Command / ParametersFunction / Result
ESC
(s#B (primary)
ESC
)s#B (secondary)
-7 Ultra Thin
-6 Extra Thin
-5 Thin
-4 Extra Light
-3 Light
-2 Demi Light
-1 Semi Light
0 Medium (Default)
1 Semi Bold
2 Demi Bold
3 Bold
4 Extra Bold
5 Black
6 Extra Black
7 Ultra Black
ESC
(s#T (primary)
ESC
)s#T (secondary)
# Typeface identifier (0 - 65535)
Note: For a list of typeface numbers, see
Table 2-2 on page 2-9 and “Font and Symbol
Set Support for the Lexmark E120, E120n,
E238, E240, E240n, E250d, E250dn, E340,
E342n, E350d, E352dn, and E450dn” on
page 2-8.
Note: This command will not alter the stroke weight of an available font.
Select Typeface
Selects the best fit font design.
To obtain the typeface values for downloaded fonts, print the font list from
the printer operator panel or through MarkVision Professional. See your
printer documentation for more information.
On the printout, the typeface number is the last number on the font
selection command example line. The example line is below the name of
the font. In the following example, the typeface number is underlined:
RO Courier
<<ESC>>(<<symset>><<ESC>>(s0p<<pitch>>h0s0b4099T
Select Font by Font ID
Selects the font by the identification number.
Select Default Font
Sets all font selection characteristics to the Default Font.
Transparent Print Data
Prints the next number of bytes as text.
Select Underline Type (Enable)
Notes:
• Fixed underline is drawn 5 pels below cursor position.
• Floating underline position is determined by all the positions of the
characters with descenders in the fonts that are to be underlined.
• Underline thickness is 1/100 inch.
2-61
PCL
Table 2-19: Font Selection (Continued)
Command / ParametersFunction / Result
ESC
&t#P
0, 1 1 byte characters
21 1 or 2 byte characters
31 1 or 2 byte characters
38 1 or 2 byte characters
1008 1, 2, or 3 byte characters (UTF-8)
ESC
&k#S
010.00 cpi
216.66 cpi
412.00 cpi
Table 2-20: User-Defined Symbol Set
Text Parsing Method
Communicates to the PCL parser whether character codes are
interpreted as 1-byte or 2-byte character codes.
Select Primary and Secondary Pitch
Selects the pitch for the primary and secondary font.
2-62
PCL
Command / ParametersFunction / Result
ESC
*c#R
# = Symbol Set ID (0 - 32767)
Default = 0
ESC
(f#W[data]
# = number of data bytes
ESC
*c#S
0Delete all (temporary and permanent)
1Delete all temporary
2Delete current (ID)
4Make current temporary
5Make current permanent
Symbol Set ID Code
Sets the symbol set identification for the symbol set downloaded.
Define Symbol Set
Contains the data for the user-defined symbol sets.
Symbol Set Control
Manages user-defined symbol sets.
Table 2-21: Font Creation
Command / ParametersFunction / Result
ESC
*c#D
# = Font ID # (0 - 32767)
Default = 0
ESC
)s#W[data]
# = number of data bytes
ESC
*c#F
0Delete all (temporary and permanent)
1Delete all temporary
2Delete previous font ID
3Delete previous specified character
4Make previous font ID temporary
5Make previous font ID permanent
6Copy current font
ESC
*c#E
# = Code Point (0 - 65536)
Default = 0
ESC
(s#W[data]
# = number of data bytes
Set Font ID
Sets the identification number for the font being downloaded.
Load Font Header
Downloads soft font header information.
Note: Set Font ID before using this command.
Font Control
Manages soft fonts.
Set Character Code
Sets the decimal code point associated with the next character
downloaded or deleted.
Load Character
Downloads character descriptor and data to the current character
code.
2-63
PCL
Table 2-22: Macros
Command / ParametersFunction / Result
ESC
&f#Y
# = Macro ID (0 - 32767)
Default = 0
ESC
&f#X
0Start definition
1End definition
2Execute macro (previous macro ID)
3Call macro (previous macro ID)
4Enable overlay (previous macro ID)
5Disable overlay
6Delete all macros
7Delete all temporary macros
8Delete current macro ID
9Make last ID temporary
10Make last ID permanent
Set Macro ID
Sets the ID for the macro you have created on flash or disk.
Macro Control
Manages use of macros.
Notes:
• GL/2 commands are supported inside macros.
• Only call and execute macro commands are allowed within a macro.
• A macro may call or execute another macro. This is called nesting. A
maximum of two nesting levels are allowed, for a total of three
levels.
See “Macros” on page 2-85 for additional information.
1Horizontal line
2Vertical line
3Diagonal line
4Diagonal line
5Square grid
6Diagonal grid
User-Defined Patterns
# = User-Defined Pattern ID
ESC
*v#N
0Transparent (Default)
1Opaque
ESC
*v#O
0Transparent (Default)
1Opaque
ESC
*l#O
# = logical operation, value (0 to 255)
Default = 252
ESC
*l#R
0Grid Intersection (Default)
1Grid Centered
ESC
*v#T
0Solid Black (Default)
1Solid White
2Gray Shading Pattern
3Cross-Hatch Pattern
4User Defined Pattern
9True gray Level Fill
Area Fill ID
Selects pattern used to fill a rectangular area.
Note: This command is also used to set the user-defined pattern ID.
Source Transparency Mode
Affects copying of white pixels from the source onto the destination
image.
Pattern Transparency Mode
Affects copying of white pixels from the pattern onto the destination
image.
Logical Operation
Defines boolean operations to be performed on data already printed
and data about to be printed.
Pixel Placement
Determines how pixels are placed for a rectangular area fill and GL/2
objects.
Pixel Placement does not affect text or raster images.
Select Current Pattern
Selects pattern used when printing text and raster images.
2-64
PCL
Table 2-24: User-Defined Pattern
Command / ParametersFunction / Result
ESC
*c#W[data]
# = number of data bytes
ESC
*p#R
0Rotate with print (Default)
1Fixed
ESC
*c#Q
0Delete all patterns (temporary and
permanent)
1Delete all temporary patterns
2Delete pattern (last ID specified)
4Make pattern of last ID # temporary
5Make pattern of last ID # permanent
User-Defined Pattern
Downloads binary pattern data.
Set Pattern Reference Point
Sets the pattern reference point to the current cursor position for userdefined patterns.
Note: Default pattern reference point is the upper left corner of the
logical page.
Pattern Control
Manages the use of user-defined patterns.
Note: Use the Area Fill ID command (
2-65
ESC
PCL
*c#G) to set the ID.
Table 2-25: Rectangular Area Fill Graphics
Command / ParametersFunction / Result
ESC
*c#H
# = Number of Decipoints (0 - 32767)
(1 Decipoint = 1/720 inch)
Default = 0, valid to 4 decimal places
ESC
*c#A
# = Number of PCL Units (0 - 32767)
Default = 0
ESC
*c#V
# = Number of Decipoints (0 - 32767)
(1 Decipoint = 1/720 inch)
Default = 0, valid to 4 decimal places
ESC
*c#B
# = Number of PCL Units (0 - 32767)
Default = 0
Horizontal Rectangle Size (in Decipoints)
Specifies the rectangle width in decipoints.
Horizontal Rectangle Size (in PCL Units)
Specifies the rectangle width in PCL units.
Note: The size of PCL Units is set by the Unit-of-Measure command.
Vertical Rectangle Size (in Decipoints)
Specifies the rectangle height in decipoints.
Vertical Rectangle Size (in PCL Units)
Specifies the rectangle height in PCL units.
Note: The size of PCL Units is set by the Unit-of-Measure command.
Table 2-25: Rectangular Area Fill Graphics (Continued)
0Left Graphics Margin at 0 (Default)
1Current Cursor Position
2At logical left page limit with scaling
On
3At current cursor position with
scaling On
ESC
*b#V[data]
# = Number of Data Bytes
ESC
*b#Y
# = Number of Raster Lines
Raster Resolution
Note: 200 dpi is only supported when the printer is operating in
600 dpi or 1200 dpi mode.
Raster Graphics Presentation
Sets the Raster Image Orientation in relation to the logical page.
Raster Width (Source)
Sets the width of the clip window for raster graphics.
Raster Height (Source)
Sets the height of the clip window for raster graphics.
Start Raster Graphics
Sets the left margin for raster graphics.
Transfer Raster Data by Plane
This command is used when the raster data is encoded by plane as
specified by the Simple Color command or the Configure Image
Data command. The command sends each plane in the row except
the last.
Y Offset
Moves the cursor position down by the specified number of raster
lines.
2-67
PCL
Table 2-26: Raster Graphics (Continued)
Command / ParametersFunction / Result
ESC
*b#M
0Uncoded (Default)
1Run-Length Encoded
2 Tagged Image File Format (TIFF)
byte
3Delta Row
5Adaptive Compression
9Replacement Delta Row
999Zlib
1002Group 4
1003Group 3 one dimensional
1004Group 3 two dimensional K=2
1005Group 3 two dimensional K=4
1006TIFF word (16 bit)
1007TIFF double-word (32 bit)
1008Adaptive compression (includes TIFF
word and TIFF double-word)
ESC
*b#W[data]
# = Number of Data Bytes
ESC
*rBEnd Raster Graphics (Version B)
ESC
*rCEnd Raster Graphics (Version C)
ESC
*t#HRaster Width (Destination)
Set Raster Compression Mode
Identifies the compression mode the host uses to transfer RIG data.
For instance, this command can be run-length encoding or TIFF
encoding.
Note: For further information, see “Raster Compression Mode” on
page 2-78 and “Group 3 and Group 4 Raster Compression” on
page 2-83.
Transfer Raster Data by Row/Block
Transfers RIG data.
Note: After each command, the cursor position is moved to the
beginning of the next raster row.
Signals the end of the raster graphics transfer. If a Raster Height is
specified, the cursor is moved to the first raster row past the Raster
Height.
Same as Version B, but:
• Resets the compression mode to uncoded.
• Setsthe left graphics margin to 0.
Sets the width of the destination raster.
2-68
PCL
Table 2-26: Raster Graphics (Continued)
Command / ParametersFunction / Result
ESC
*t#VRaster Height (Destination)
Sets the height of the destination raster.
ESC
*g#W[data]
# - 8 (K-only) or 26 (KCMY)
Data
Byte 0 - 0x02 (constant)
Byte 1 - number of colors
0x01 - K only
0x04 - CMYK
Byte 2,3 - X res for K plane
0x012C (300) or 0x0258 (600)
Byte 4,5 - Y res for K plane
0x012C (300) or 0x0258 (600)
Byte 6,7 - K plane intensity levels
0x02 (1 bit/plane) or 0x04 (2 bits/plane)
Byte 8,9 - X res for C plane
0x012C (300) or 0x0258 (600)
Byte 10,11 - Y res for C plane
0x012C (300) or 0x0258 (600)
Byte 12,13 - C plane intensity levels
0x02 (1 bit/plane) or 0x04 (2 bits/plane)
Byte 14,15 - X res for M plane
0x012C (300) or 0x0258 (600)
Byte 16,17 - Y res for M plane
0x012C (300) or 0x0258 (600)
Byte 18,19 - M plane intensity levels
0x02 (1 bit/plane) or 0x04 (2 bits/plane)
Byte 20,21 - X res for Y plane
0x012C (300) or 0x0258 (600)
Byte 22,23 - Y res for Y plane
0x012C (300) or 0x0258 (600)
Byte 24,25 - Y plane intensity levels
0x02 (1 bit/plane) or 0x04 (2 bits/plane)
Set Raster Configuration
Sets the configuration of the destination raster.
2-69
PCL
Table 2-27: Color Extensions
Command / ParametersFunction / Result
ESC
&b#M
0Print in mixed render algorithm
mode
1Print using gray scale equivalent
ESC
&p#C
0Delete all palettes except those
in stack (active palette is
deleted)
1Delete all palettes in stack
(active palette not affected)
2Delete palette specified by
Palette Control ID
6Copy active palette to ID
specified by Palette Control ID
ESC
&p#I
0 to 32767Palette ID number
ESC
&p#S
0 to 32767Palette ID number
ESC
*l#W[data]
0Resets or initializes the color
lookup tables for each primary
color to the unity curve
770, Data Data for color lookup table
ESC
*m#W[data]
7 to 32767, DataData size and data of
byte-aligned binary data
that specifies a matrix or
matrices for the primary
colors
0Font
1Macro
2User-defined pattern
3Symbol set (for unbound scalable
fonts)
4Font extended
ESC
*s1MFree Space
ESC
&r#F
0Flush all complete pages
1Flush all pages
ESC
*s#X
-32767 to 32767
Default = 0
Set Status Readback Location Type
Sets the status location type to the specified value.
The 5 value for Cartridge may be specified, but since your printer
does not support font cards or cartridges, the command is ignored.
The 7 value for User-installable flash is only valid when flash
memory is installed.
The 200 value is only valid when a hard disk is installed.
Set Status Readback Location Unit
Sets the status location unit to the specified value.
The location unit is used along with the location type to identify a
location for the Inquire Status Readback Entity command.
Note: The unit value is interpreted differently, depending on the
location type specified.
Inquire Status Readback Entity
Returns the requested information set by Set Status Readback
Location Type and Set Status Readback Location Unit.
Returns the total available memory and the largest available block
of memory.
Flush All Pages
Holds print jobs in the print buffer until the current job finishes
printing.
Echo
Returns # back to host computer.
2-72
PCL
Table 2-29: Picture Frame
Command / ParametersFunction / Result
ESC
*c#X
# of Decipoints: 0 to 32767
(1 Decipoint = 1/720 inch)
ESC
*c#Y
# of Decipoints: 0 to 32767
(1 Decipoint = 1/720 inch)
ESC
*c0T
0Set Anchor Point to Cursor Position
ESC
*c#K
Size in inches: 0 to 32767
ESC
*c#L
Size in inches: 0 to 32767
ESC
%#B
0Use Previous GL/2 Pen Position
1Use Current PCL Cursor Position
ESC
%#A
0Use Previous PCL Cursor Position
1Use Current GL/2 Pen Position
Picture Frame Horizontal Size (in Decipoints)
Specifies the horizontal dimension of the picture frame used when
printing a GL/2 plot.
Picture Frame Vertical Size (in Decipoints)
Specifies the vertical dimension of the picture frame used when
printing a GL/2 plot.
Set Picture Frame Anchor Point
Sets the position of the picture frame anchor point to the cursor
position. The picture frame anchor point defines the location of the
upper left corner of the picture frame.
GL/2 Horizontal Plot Size
Specifies the horizontal scaling factor used when importing an
image into the picture frame.
GL/2 Vertical Plot Size
Specifies the vertical scaling factor used when importing an image
into the picture frame.
Enter GL/2 Language
Exits PCL emulation and uses GL/2 commands to print.
Enter PCL Emulation
Exits GL/2 mode and uses PCL emulation commands to print.
2-73
PCL
Table 2-30: Miscellaneous Commands
Command / ParametersFunction / Result
ESC
&s#C
0Enable
1Disable (Default)
ESC
Y Display Functions On
End-Of-Line Text Wrap
Enabling End-Of-Line Text Wrap moves portions of lines that extend
into the unprintable area to the next line. Disabling drops the portion
extending into the unprintable area.
Prints all control codes and escape sequences rather than executing
them.
Notes:
• To prevent characters from falling outside the right margin (and not
printing), enable End-Of-Line Text Wrap (
• To see the control characters and other blank codepoints in symbol
set Roman8 (8U), set the symbol set to PC-8 (10U).
ESC
&s0C).
Table 2-30: Miscellaneous Commands (Continued)
Command / ParametersFunction / Result
ESC
Z Display Functions Off
Turns off Display Functions; resumes normal command processing.
ESC
z Print Test Page
Causes a test page to print.
ESC
*o#M(b)
-1Ink Saver
0Normal
1Best
ESC
&l#M(b)
0Plain Paper
1Bond
2Coated Paper
3Glossy Paper
4Transparency
101Photo Paper
102Card Stock
103Labels
104Envelope
105Letterhead
106Preprinted
107Colored Paper
108Iron On
Print Quality
Selects the print quality setting for the page.
Paper Type
Selects the paper type setting for the page.
2-74
PCL
GL/2 Commands
Note: GL/2 is not a stand-alone plotter emulation. It can only be entered from within
PCL emulation and cannot be used with software without a unique printer
driver written explicitly for GL/2.
The following tables list the GL/2 commands by group. To determine which GL/2
commands your printer supports, see “Table A-2: GL/2 Commands” on page A-7.
Table 2-31: Configuration Group
Command / ParameterCommand Name
CO "text" Comment
DF; Default Values
IN (n); Initialize
IP (XP1, YP1(, XP2, YP2)); Input P1 and P2
2-75
PCL
Table 2-31: Configuration Group (Continued)
Command / ParameterCommand Name
IR (XP1, YP1, XP2, YP2)); Input Relative P1 and P2
, Y1, X2, Y2); Input Window
IW (X
1
MC (mode(, opcode)); Logical Operation
PP (mode); Pixel Placement
RO (angle); Rotate Coordinate System
, Y
, Y
SC (X
min, Xmax
min
Table 2-32: Vector Group
Command / ParameterCommand Name
AA X
AR X
AT X
BR X
BZ X
CI radius(, chord_angle); Circle
PA (X, Y(,...)); Plot Absolute
, Y
center
, Y
center
inter, Yinter
, X2, Y2, X3, Y3(,...); Bezier Relative
1, Y1
, Y1, X2, Y2, X3, Y3(,...); Bezier Absolute
1
, sweep_angle(, chord_angle); Arc Absolute
center
, sweep_angle(, chord_angle); Arc Relative
center
, X
end
(, type(, left, bottom))); Scale
max
, Y
(, chord_angle); Absolute Arc Three Point
end
PD (X, Y(,...)); Pen Down
PE (flag(value) | coordinates (...)); Polyline Encoded
PR (X, Y(,...)); Plot Relative
PU (X, Y(,...)); Pen Up
incr inter
, Y
RT X
WU (type); Pen Width Units
incr inter
, X
incr end
, Y
(, chord_angle); Arc Relative Three Point
incr end
Table 2-33: Polygon Group
Command / ParameterCommand Name
EA X, Y; Edge Rectangle Absolute
EP; Edge Polygon
ER X, Y; Edge Rectangle Relative
EW radius, start_angle, sweep_angle(, chord_angle); Edge Wedge
FP (0); Fill Polygon, Odd/Even
FP 1; Fill Polygon, Non-Zero Winding
PM (mode); Polygon Mode
RA X, Y; Fill Rectangle Absolute
2-76
PCL
Table 2-33: Polygon Group (Continued)
Command / ParameterCommand Name
RR X, Y; Fill Rectangle Relative
WG radius, start_angle, sweep_angle(, chord_angle); Fill Wedge
These commands utilize the raster area. Before sending data, set the presentation
mode, the resolution, the compression mode, the raster height and width, and start
raster graphics. These parameters are in effect until you overwrite them with a different
command or there is a printer reset.
To ensure that the printed image appears in the expected area, set width and height
parameters.
Raster Compression Mode
2-78
PCL
The Raster Compression Mode command determines how raster data is coded. It
affects the amount of code required to create an image, and the efficiency of image
printing.
Syntax:
ESC
*b#M
Parameters:
0Uncoded (default)
1Run-Length Encoded
2Tagged Image File Format (TIFF) Byte
3Delta Row
5Adaptive Compression
9Replacement Delta Row
999Zlib
1002Group 4
1003Group 3 one dimensional
1004Group 3 two dimensional K=2
1005Group 3 two dimensional K=4
1006TIFF word (16 bit)
1007TIFF double-word (32 bit)
1008Adaptive Compression (includes TIFF word and TIFF double-word)
Uncoded Data
2-79
PCL
Descriptions and examples of the different parameters appear on the following pages.
Each example draws the same square outline 64 bits (8 bytes) wide by 64 scan lines
long.
Uncoded Data is not compressed. Only those bytes needed to form the image are
sent. Each bit represents a single dot. In the first byte, bit 7 corresponds to the first dot
in the raster row, bit 5 to the third dot, and so forth.
Example:
ESC
*p300x300Y|Move the cursor to 1" x 1" (1 in. from top margin
Run-Length Encoded Data is interpreted in pairs of bytes. The first byte:
• Acts as a counter, or control byte.
• Indicates how many times to repeat the data in the second byte.
• Can be from 0 (no repetition) to 255.
• The second byte is the data byte.
Example:
ESC
*p300x600Y|Move cursor to 1" x 2"
ESC
*b1M|Set compression to Run-Length
ESC
*r1A|Start raster graphics at current position
ESC
*b2W '07FF'x|Run-Length: 8x'FF'x
ESC
*b6W '0080 0500 0001'x|1x'80'x, 6x'00'x, 1x'01'x
ESC
*b6W '0080 0500 0001'x|1x'80'x, 6x'00'x, 1x'01'x
...|...
ESC
*b6W '0080 0500 0001'x|1x'80'x, 6x'00'x, 1x'01'x
ESC
*b2W '07FF'x|8x'FF'x
ESC
*rB|End graphics
2-80
PCL
Tagged Image File Format
TIFF “Packbits” contain a control byte (a signed number) that indicates whether the
raster data bytes are to be repeated (up to 127 times) or printed as encoded data.
• For control values of 0 through 127, the next (Control+1) byte(s) is uncoded.
• For control values of -1 through -127 ('FF'x - '81'x), the next byte is repeated
(Abs(Control)+1) times.
Example:
ESC
*p300x900Y|Move cursor to 1" x 3"
ESC
*b2M|Set compression to TIFF
ESC
*r1A|Start Raster Graphics at current position
ESC
*b2W 'F9FF'x| TIFF: 8x'FF'x
ESC
*b6W '0080 FB00 0001'x|1:'80'x, 6x'00'x, 1: '01'x or
ESC
*b9W '078000000000000001'x|8: '8000000000000001'x
...|...
ESC
*b6W '0080 FB00 0001'x|1:'80'x, 6x'00'x, 1: '01'x
ESC
*b2W 'F9FF'x|8x'FF'x
ESC
*rB|End graphics
Delta Row
2-81
PCL
Delta Row is a compression mode that identifies and transmits only those bytes
different from the ones in a preceding row. The control byte consists of two parts:
• High 3 bits: Number of bytes to replace +1 (1 to 8).
• Low 5 bits: Offset from last unmodified byte (0-30); if the offset is 31, the next
byte(s) is added to the offset until the next byte is not 255.
Example:
ESC
*p300x1200Y|Move cursor to 1" x 4"
ESC
*b3M|Set compression to Delta Row
ESC
*r1A|Start raster graphics at current position
|Num Offset
ESC
*b9W 'E0FFFFFFFFFFFFFFFF'x|'111 00000'b=8 at 0: 'FFFFFFFFFFFFFFFF'x
ESC
*b9W 'E08000000000000001'x|8 at 0: '8000000000000001'x
ESC
*b0W|No bytes change
...
ESC
*b0W|No bytes change
ESC
*b9W 'E0FFFFFFFFFFFFFFFF'x|8 at 0: '8FFFFFFFFFFFFFF'x
ESC
*rB|End graphics
Adaptive Compression
Adaptive compression allows the combined use of compression methods 0 through 3
(Uncoded, Run-Length Encoded, TIFF, and Delta Row). It also allows the printing of
empty rows (all zeros) or duplicate rows.
• The Transfer Raster Data command size includes all rows (scan lines).
• Scan Mode and SizeH,L are three-byte primary control strings: CountH and
CountL.
Table 2-36: Adaptive Compression Control Strings
Scan ModeCountH,CountLData
0Data sizeH,LUncoded raster scan data
1Data sizeH,LSize of Run-length encoded data (high,low)
2-82
PCL
2Data sizeH,LSize of Tagged Image File Format (TIFF) data
Zlib is a generic compression method. It refers to a standard for compression as well
as the library that implements the standard.
The zlib compression method uses the deflate algorithm. This same algorithm is used
by more widely known compression utilities such as PKZIP and GZIP.
Compressed data is a series of variably-sized blocks. An encoder determines how to
break the data into blocks and finds the best compression method to use for each
block.
An encoder works based on the following principles. The encoder creates a dictionary
containing different characters in a set of data. Short strings of bits represent more
commonly occurring characters, and long strings of bits represent less frequently
used characters. A probability tree determines which characters are frequently used.
Repeated patterns in a string of characters are identified and stored, so the string
doesn’t have to be stored multiple times.
PCL
A three-bit zlib header is added to the beginning of a block to describe the type of
compression used and indicates whether the block is a final block. Other information
in the header includes checksums, compression algorithm used, and the level of
compression. In compression all checksums are set to zero and in decompression the
checksums are ignored.
The memory required for zlib compression and decompression is independent of the
size of the data to be compressed or decompressed.
The number 999 does not conflict with other compression types, so it is used to
represent zlib compression. See page 2-78 for more information.
Group 3 and Group 4 Raster Compression
Since Group 4 images do not use line endings, the width of the image must be
specified using the Raster Width command (
The compressed image data is sent to the printer using the Transfer Raster Data
command (
Transfer Raster Data command is 32K bytes. Images larger than 32K bytes must be
broken up and sent using multiple commands. It does not matter where the image is
broken, or how many Transfer Raster Data commands are used. Once the image is
started (with a Transfer Raster Data command), no other commands are allowed until
the entire image has been sent.
ESC
*b#W). The maximum number of bytes that can be sent using the
ESC
*r#S).
2-84
PCL
The following example prints a Group 4 image file that is 256 bits wide and 9,645 bytes
long:
ESC
*b1002M|Set Raster Compression to Group 4
ESC
*r256S|Define width of image in input bits
ESC
*r1A|Start Raster Graphics at current position
ESC
*b9645W|9,645 bytes of a Group 4 image
...[Group 4 image data]...
ESC
*rB|End Raster Graphics
All lines of data must be the same length. If they are not, zeroes (0) must be added to
attain the same length.
Note: If the uncompressed image extends beyond the logical page dimensions or
beyond the raster width specified in the Raster Width command (
image is clipped at print time.
ESC
*r#S), the
Additional Compression Modes
When the compression mode is 1008 (Lexmark Adaptive), TIFF word and doubleword can be printed using compression scan modes 254 and 255 respectively. This
compression method sends a raster image as a block of raster data.
Macros
2-85
PCL
When creating a macro, first assign it an ID number. If this number is identical to an
existing macro ID in RAM, the old macro is deleted when you specify the Macro
Control Start Definition. Next, start the macro definition, send the contents of the
macro, and stop the macro definition.
Note: Although a macro may be called or executed from within another macro
(nesting), a macro cannot be defined within another macro definition. Each
macro must be defined separately.
Example:
This example creates a macro to print the Wigit Corp. logo, then calls the logo macro
in the body of a letter.
ESC
&f1Y|Set the macro ID to 1
ESC
&f0X|Start the macro definition
ESC
&a+72H|Relative move right 1/10 inch (+72/720th)
ESC
(8U|Select Roman-8 symbol set
ESC
(s1p18v0s3b4101T|Select CG Times 18 point bold
W|Print W
ESC
&a-21.6H|Relative move left 0.03 inch
ESC
(s12v1S|Select (CG Times) 12 point (bold) italic
igit|Print igit
ESC
&a+72H|Relative move right 1/10 inch
ESC
(s18v0S|Select 18 point and turn off italic
C|Print C
ESC
(s12v1S|Select 12 point italic
orp.|Print orp.
ESC
&a+72H|Relative move right 1/10 inch
ESC
&f1X|End of macro definition
ESC
&f10X|Make Macro ID 1 permanent
...
...
From:
ESC
&f1y3X|Set the macro ID to 1 and call the macro
|Print the header From:
...|Print the letter
Thank you for ...|Print the closing
ESC
&f1y3X|Set the macro ID to 1 and call the macro
...
3-1
PJL
CHAPTER 3: Printer Job Language
Your printer supports complete Printer Job Language (PJL) commands, including
certain commands that cause the printer to enter PCL emulation, PostScript
emulation, and Personal Printer Data Stream (PPDS).
To determine which commands your printer supports, see Appendix B: “PJL Support”
on page B-1.
PJL Command Notation
The syntax for each supported PJL command is listed in this chapter. The following
character codes are used throughout the chapter to illustrate the syntax of each PJL
command.
Table 3-1: PJL Command Notation
Character
CodeDescriptionHex CodeDecimal Code
<ESC>Escape Character0x1B27
<LF>Line Feed Character0x0A10
<CR>Carriage Return Character0x0D13
<FF>Form Feed Character0x0C12
<HT>Horizontal Tab0x099
<UEL>Universal Exit Language0x1B 25 2D 31
32 33 34 35 58
Notes:
•Parameters enclosed in square brackets ([ ]) are optional and not required
for command execution.
•The PJL interpreter requires uppercase for the
mands except the Universal Exit Language (UEL) command. The rest of the
PJL command is not case sensitive. The UEL command is case sensitive.
•All PJL commands except UEL must be terminated with a line feed character (<LF>).
Kernel Commands
3-2
PJL
@PJL prefix for all PJL com-
UNIVERSAL EXIT LANGUAGE Command
The Universal Exit Language (UEL) command terminates the current printer language
and allows dynamic switching into PJL.
Syntax:
<ESC>%-12345X
Notes:
• If the printer receives this command while in PCL emulation, it performs a
Printer Language Reset (
• If the printer receives this command while in PostScript emulation, it performs
an End-of-Job (EOJ) command before exiting PostScript emulation (Ctrl-D).
The PJL commands must immediately follow the UEL command (that is, the
UEL syntax must be immediately followed by the
ESC
E) before exiting PCL emulation.
@PJL of the next PJL command).
X in the
3-3
PJL
ENTER LANGUAGE Command
This command causes the printer to enter the specified language, such as
PCL emulation, PostScript emulation, or PPDS.
Syntax:
@PJL ENTER LANGUAGE = language[<CR>]<LF>
Notes:
• language is PCL, PCLXL, PostScript, or PPDS.
• You can use uppercase, lowercase, or mixed case. (@PJL must be uppercase;
all others can be mixed or lowercase.)
Example:
@PJL ENTER LANGUAGE = PostScript[<CR>]<LF>
enters PostScript emulation.
COMMENT Command
This command lets you add descriptive comments to your PJL job.
Syntax:
@PJL COMMENT words[<CR>]<LF>
Notes:
• When the printer receives this command, it is ignored.
• The words parameter can be any combination of printable characters,
spaces, and horizontal tabs.
• The COMMENT command is terminated by the line feed character (<LF>).
Loading...
+ hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.