The following paragraph does not apply to any country where such provisions are inconsistent with local law: LEXMARK
INTERNATIONAL, INC., PROVIDES THIS PUBLI C ATION “AS IS” WITHOUT WARRANTY OF ANY KIND, EITHER EXPRES S OR
IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A
PARTICULAR PURPOSE. Some states do not allow disclaimer of express or implied warranties in certain transactions; therefore, this
statement may not apply to you.
This publication could include technical inaccuracies or typographical errors. Changes are periodically made to the information herein; these
changes will be incorporated in later editions. Improvements or changes in the products or the programs described may be made at any
time.
Comments about this publication may be addressed to Lexmark International, Inc., Department F95/032-2, 740 West New Circle Road,
Lexington, Kentucky 40550, U.S.A. In the United Kingdom and Eire, send to Lexmark International Ltd., Marketing and Services
Department, Westhorpe House, Westhorpe, Marlow Bucks SL7 3RQ. Lexmark may use or distribute any of the information you supply in
any way it believes appropriate without incurring any obligation to you. You can purchase additional copies of publications related to this
product by calling 1-800-553-9727. In the United Kingdom and Eire, call +44 (0)8704 440 044. In other countries, contact your point of
purchase.
References in this publication to products, programs, or services do not imply that the manufacturer intends to make these available in all
countries in which it operates. Any reference to a product, program, or service is not intended to state or imply that only that product,
program, or service may be used. Any functionally equivalent product, program, or service that does not infringe any existing intellectual
property right may be used instead. Evaluation and verification of operation in conjunction with other products, programs, or services, except
those expressly designated by the manufacturer, are the user’s responsibility.
Lexmark, Lexmark with diamond design, MarkNet, MarkVision, and Optra are trademarks of Lexmark International, Inc., registered in the
United States and/or other countries. ColorGrade, PerfectFinish, and PictureGrade are trademarks of Lexmark International, Inc.
The following terms are trademarks or registered trademarks of other companies:
AlbertusThe Monotype Corporation plc
Antique OliveMonsieur Marcel OLIVE
Apple-ChanceryApple Computer, Inc.
ArialThe Monotype Corporation plc
CandidAgfa Corporation
CG OmegaProduct of Agfa Corporation
CG TimesBased on Times New Roman under license
ChicagoApple Computer, Inc.
ClarendonLinotype-Hell AG and/or its subsidiaries
EurostileNebiolo
GenevaApple Computer, Inc.
GillSansThe Monotype Corporation plc
HelveticaLinotype-Hell AG and/or its subsidiaries
HoeflerJonathan Hoefler Type Foundry
ITC Avant Garde Gothic International Typeface Corporation
AppleT alk, EtherTalk, LocalTalk, and Macintosh are trademarks of Apple Computer, Inc., registered in the United States and other countries.
PCL® is a registered trademark of the Hewlett-Packard Company. PCL 3, PCL 5, and PCL 6 are Hewlett-Packard Company’s designations
of a set of printer commands (language) and functions included in its printer products. These printers are intended to be compatible with
the PCL 3, PCL 5, and PCL 6 languages. This means these printers recognize PCL 3, PCL 5, and PCL 6 commands used in various
application programs, and that the printer emulates the functions corresponding to the commands.
PostScript
commands (language) and functions included in its software products. These printers are intended to be compatible with the PostScript
language. This means these printers recognize PostScript commands used in various application programs, and that the printer emulates
the functions corresponding to the commands.
Other trademarks are the property of their respective owners.
Safety Information
®
is a registered trademark of Adobe Systems Incorporated. PostScript is Adobe Systems’ designation of a set of printer
• Connect the power cord to a properly grounded electrical outlet that is near the product and easily accessible.
• CAUTION: Do not set up this product or make any electrical or cabling connections, such as the power cord or telephone, during a
lightning storm.
• Refer service or repairs, other than those described in the operating instructions, to a professional service person.
• This product is designed, tested, and approved to meet strict global safety standards with the use of specific Lexmark components.
from The Monotype Corporation plc, is a
product of Agfa Corporation
ITC BookmanInternational Typeface Corporation
ITC Lubalin GraphInternational Typeface Corporation
ITC Mona LisaInternational Typeface Corporation
ITC Zapf ChanceryInternational Typeface Corporation
Joanna MTThe Monotype Corporation plc
MarigoldArthur Baker
MonacoApple Computer, Inc.
New YorkApple Computer, Inc.
OxfordArthur Baker
PalatinoLinotype-Hell AG and/or its subsidiarie
Stempel GaramondLinotype-Hell AG and/or its subsidiarie
TaffyAgfa Corporation
Times New RomanThe Monotype Corporation plc
TrueTypeApple Computer, Inc.
UniversLinotype-Hell AG and/or its subsidiarie
WingdingsMicrosoft Corporation
1998, 2005 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.
Page 3
• The safety features of some parts may not always be obvious. Lexmark is not responsible for the use of other replacement parts.
• Your product uses a laser.
• CAUTION: Use of controls or adjustments or performance of procedures other than those specified herein may result in hazardous
radiation exposure.
• Your product uses a printing process that heats the print media, and the heat may cause the media to release emissions. You must
understand the section in your operating instructions that discusses the guidelines for selecting print media to avoid the possibility of
harmful emissions.
The following edition of the Technical Reference contains information about printer
commands and printer languages supported by the following Lexmark printers:
Introduction
• Lexmark™ T640, T642, and T644
• Lexmark W840
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 edit ion of the Technical Reference, it may be
available in another version. Vi sit the Lexmark Web site at www.lexmark.com/
publications for more informati on.
Page 10
1-2
Introduction
Printed documentation is also availabl e for some Lexmark printers. Obtain the correct
part number from the following table, call 1-800-553-9727, and select option #1 to
order a Technical Reference for your printer .
Table 1-1: Technical Reference Documentation Available in Hard Copy
If you need a Technical Reference for the...Order Lexmark part number...
The Technical Reference is divided into the following:
Chapter 2: “PCL Emulation”
Shows how to select PCL emulat ion and discusses PCL emulation commands, GL/2
commands, and resident font and symbol set support.
Chapter 3: “Printer Job Language”
Contains detailed information abou t certain commands that cause the printer to ent er
PCL emulat ion, PostScript emulation, and Personal Printer Data Str eam (PPDS), and
many other types of commands.
Chapter 4: “PostScript Emulat ion”
Provides information about PostScript emulati on 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 ha rd disk. It describes how to
manage printer memory, store resources (such as fonts and macros), and manage
files.
Page 11
1-3
Chapter 7: “Printer Specifications”
Lists printer specificati ons, 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:
Introduction
Appendix A: “PCL Support”
Appendix B: “PJL Support”
Appendix C: “PostScript Support”
Page 12
Navigationa l 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 directl y 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 t hen 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 onl ine 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 bef ore 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.
Page 13
Bibliography
For detailed information about PCL emulation printer commands, PostScript
emulation printer commands and operators, and in terfaces, refer to 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 Inter face T echnical Ref erence , S68X- 2330
• Interface between Data Terminal Equipment and Data Communications
Equipment Employing Serial Binary Data Interchange, Electr onic 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, Revisi on N
• PostScript Language Reference Manual (Third Edition), Adobe Systems
Incorporated, Addison-Wesley Publishing
Page 14
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.
T o determine which commands your print er supports, see Appendix A: “PCL Support”
on page A-1.
PCL
Selecting PCL Emulation
Using SmartSwitch
When SmartSwitch is enabled for bo th printer languages on an interf ace (for example,
Parallel, USB, Serial Op tion 1, or Network Option 1), the printer automatically swi tches
to the printer language being sent by your softwar e 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.
Page 15
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 16
Page Formatting
The printable areas and logi cal 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.
Page 17
2-4
Lexmark T640, T642, T644
The following table lists page sizes and print area dimensions for all paper and
envelope sizes the Lexmark T640, T642, and T644 printer supports. For more
information about the printable areas and logical pages for PCL emulation, see
“Printable Areas” on page 2-3.
Table 2-1: Lexmark T640, T642, T644 Paper and Envelope Dimensions
PCL
Paper/Envelope
Selection
Page Size
Parameters
13, 613A5148 x 2105.83 x 8.27349649603196 4720 142 1180100 100
12, 45, 612JIS B5 Paper182 x 2577.2 x 10.1430060704000 5830 150 1200100 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 1200 100 100
3, 603Legal216 x 3568.5 x 14510084004800 8160 150 1200100 100
4 or 10Folio216 x 3308.5 x 13510078004800 7560 150 1200 100 100
15Statement139.7 x 215.95.5 x 8.5330051003000 4860 150 1200100 100
101Universal216 x 3568.5 x 14150 1200100 100
6 or 1111 x 17
1
Pel dimensions are for 600 dpi.
2
Page Size Parameters are explained in Table2-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 com patibilit y with other Lexma rk printers. Pape r 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.
2
NamemminchesABCDEFGHI
(Ledger)
Dimensions
3
210 x 2978.3 x 11.7496070144676 6778 142 118 08080
3
210 x 2978.3 x 11.7496070144800 67788 0118 08080
431.8 x 279.417 x 116600 10200 6300 9960 150 1200 100 100
Dimensions by Area (pels)
Paper
1
Page 18
2-5
Table 2-1: Lexmark T640, T642, T644 Paper and Envelope Dimensions
PCL
Paper/Envelope
Selection
Page Size
Parameters
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
, 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.1252474570 02174 5460 150 1200 100 100
807 3/4
1
Pel dimensions are for 600 dpi.
2
Page Size Parameters are explained in Table2-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 com patibilit y with other Lexma rk printers. Pape r 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.
2
NamemminchesABCDEFGHI
Envelope
(Monarch)
Dimensions
Envelope
216 x 3568.5 x 14510084004800 8160 150 1200100 100
Dimensions by Area (pels)
232643002024 4260 150 1200 100 100
1
Lexmark W840
The following table lists page sizes and print area dimensions for all paper and
envelope sizes the Lexmark W840 printer supports. For more information about the
printable areas and logical pages for PCL emulation, see “Printable Areas” on
page 2-3.
Table 2-2: Lexmark W840 Paper and Envelope Dimensions
Paper/Envelope
Selection
Page Size
Parameters
13, 613A5148 x 2105.83 x 8.27349649603196 4720 142 1180100 100
1
Pel dimensions are for 600 dpi.
2
Page Size Parameters are explained in Table2-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 supp orte d fo r ba ck w ard com pa tib ility with other Lexmark pri nte rs. Paper ID 99 has the same
logical paper size as ID 100 (compa tible w ith HP Lase rJet 5Si/5SiM x) but is 8 pels wide r than the Le xmark 4039.
2
NamemminchesABCDEFGHI
Dimensions
Dimensions by Area (pels)
Paper
1
Page 19
Table 2-2: Lexmark W840 Paper and Envelope Dimensions
2-6
PCL
Paper/Envelope
Selection
Page Size
Parameters
12, 45, 612JIS B5 Paper182 x 2577.2 x 10.1430060704000 5830 150 1200100 100
26, 626A4 (198 mm )
26, 626A4 (203 mm )
1, 601Executive184 x 2677.25 x 10.5435063004050 6060 150 1200100 100
2, 602Letter216 x 2798.5 x 11510066004800 6360 150 1200100 100
3, 603Legal216 x 3568.5 x 14510084004800 8160 150 1200100 100
4 or 10Folio216 x 3308.5 x 13510078004800 7560 150 1200100 100
15Statement139.7 x 215.95.5 x 8.5330051003000 4860 150 1200100 100
101Universal216 x 3568.5 x 14150 1200100 100
6 or 1111 x 17
1
Pel dimensions are for 600 dpi.
2
Page Size Parameters are explained in Table2-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
2
NamemminchesABCDEFGHI
(Ledger)
Dimensions
3
210 x 2978.3 x 11.7496070144676 6778 142 118 08080
3
210 x 2978.3 x 11.7496070144800 677880118 08080
431.8 x 279.417 x 116600102006300 9960 150 1200100 100
Dimensions by Area (pels)
1
application.
4
Paper ID 99 will be supp orte d fo r ba ck w ard com pa tib ility with other Lexmark pri nte rs. Paper ID 99 has the same
logical paper size as ID 100 (compa tible w ith HP Lase rJet 5Si/5SiM x) but is 8 pels wide r than the Le xmark 4039.
Page 20
Table 2-2: Lexmark W840 Paper and Envelope Dimensions
2-7
PCL
Paper/Envelope
Selection
Page Size
Parameters
90DL220 x 1108.66 x 4.33259851962314 4960 142 118 0100 100
91C5229 x 1629.02 x 6.38382654082542 5172 142 118 0100 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.1252474570 02174 5460 150 1200100 100
807 3/4
1
Pel dimensions are for 600 dpi.
2
Page Size Parameters are explained in Table2-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 supp orte d fo r ba ck w ard com pa tib ility with other Lexmark pri nte rs. Paper ID 99 has the same
logical paper size as ID 100 (compa tible w ith HP Lase rJet 5Si/5SiM x) but is 8 pels wide r than the Le xmark 4039.
2
NamemminchesABCDEFGHI
Envelope
(Monarch)
Dimensions
Envelope
216 x 3568.5 x 147012100966712 9856 150 1200 100 100
Dimensions by Area (pels)
232643002024 4260 150 1200100 100
1
Print Area Menu Item
The printable area is the area on a sheet of paper within whi ch a pel can be printed.
Logical page is a conceptual entity th at defines the area in which margins (top, b ottom,
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.
Page 21
2-8
PCL
The Print Area menu item is available from the printer opera tor panel or through
MarkVision Professi onal. For some printers, Print Area suppor ts three values: Normal,
Whole Page, and Fit to Page. See your printer documentation for more information.
Legend:
PCL
Logical
Page
Area
Normal setting
Physical
Page
Border
PCL
Printable
Area
Only Portrait Orientation is shown for all settings.
Whole Page setting
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 me asures margin settings relative to the logical page.
For a more detailed explanation of the Normal setting, see “Printable Areas” on
page 2-3.
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 i mage to the printable area. So, the Whole
Page setting is useful for printing scanned i mages that extend from edge to edge of a
page.
Page 22
2-9
Some printers offer the Fit to Page setting. When Fit to Page is selected, PCL
emulation or PostScript emulation for mats a page using a pr int able ar ea equal to t he
physical page, which is from one edge of the page to the other edge of the page. If
you use this setting, no cl ipping occurs. In Fit to Page, the PCL emul ation logical page
dimensions are equal to the physical page dimensions , as in the Whole Page se tt ing.
The printer holds this f ormatted image in memory , but when the page prints, t he image
is compressed a small amount in both horizontal and vertical directions, and then
centered on the physical pa ge for let ter-siz e paper only. This process creates a small
margin around the image. This artifi cial margin prevents pr inting 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 t he edges of the printed pa ge, and t he image is
slightly compressed.
PCL
Physical
Page
Edge
Formatted Image with Fit to PagePrinted Image with Fit to Page
Font and Symbol Set Support for the Lexmark T640,
T642, and T644
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
Page 23
2-10
PCL
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-12 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 maj or 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 fonts. For a l ist of the 47 standa rd PCL emula tion fon ts, see
Table 2-3 on page 2-11. For a li st of the 39 Type 1 fonts, see Table 2-4 on page 2-13.
For a list of t he five additional specialty PCL font s, see Table 2-8 on page 2-26. These
tables list both the f orwar d and ba ckward compat ibil ity font sel ecti on c ommands. For
more information on forward and backward compatibili ty, see page 2-11. For more
information on selecting symbol sets, see page 2-22.
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-47 for more information.
You can also select fonts using PJL commands. The selection parameter is the
number portion from the font identi fier shown on the f ont sample pages, such as 0 or
76 from font identifiers R0 or R76. Use t he PJL v alue s shown in t he tabl es beginni ng
on page 2-11 t o 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 sel ection 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.
Page 24
2-11
Forward and Backward Compatibility Modes for the
Lexmark T640, T642, and T644
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 printer s.
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 back ward compatibilit y modes are identi cal,
they are listed together in the table.
PCL
Table 2-3: Forward and Backward Compatibility Font Selection Commands
Forward and Backward Compatibility Mode
Standard PCL Emulation Font Name
Courier0004099
Courier Italic0104099
Courier Bold0034099
Courier Bold Italic0134099
CG Times1004101
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
SpacingStyleWeightTypeface
Times New Roman Bold10316901
Times New Roman Bold Italic11316901
Arial10016602
Arial Italic11016602
Arial Bold10316602
1
This font is not implemented in the Hewlett-Packard Company’s LaserJet 4050.
Page 25
2-12
PCL
Table 2-3: Forward and Backward Compatibility Font Selection Commands (Continued)
Forward and Backward Compatibility Mode
Standard PCL Emulation Font Name
Arial Bold Italic11316602
Letter Gothic0004102
Letter Gothic Italic0104102
Letter Gothic Bold0034102
Univers Condensed Medium1404148
Univers Condensed Medium Italic1504148
Univers Condensed Bold1434148
Univers Condensed Bold Italic1534148
Garamond Antiqua1004197
This font is not implemented in the Hewlett-Packard Company’s LaserJet 4050.
Page 26
2-13
Type 1 Fonts
Thirty of the Type 1 fonts have different f ont selection parameters in the forward and
backward compatibility modes and nine of the fonts work only in the f orward
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 for ward 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-4: Forward and Backward Compatibility Font Selection Commands
Century Schoolbook Italic1102470311061463
Century Schoolbook Bold1032470310361463
Century Schoolbook Bold Italic1132470311361463
ITC Zapf Chancery Medium Italic1104509911061483
CourierPS
CourierPS Oblique
CourierPS Bold
CourierPS Bold Oblique
Times Roman
Times Italic
Times Bo ld
Times Bold Italic
Helvetica Light
Helvetica Light Oblique
Helvetica Black
Helvetica Black Oblique
SymbolPS
ITC Zapf Dingbats1004510110061485
1
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.
Your Lexmark printer defaults to the forward compatibility mode to enable a
Hewlett-Packard Company’s driver to select the forward compatibility fonts. The
Lexmark PCL driver uses the backward compati bil ity mode and temporar ily switche s
the printer to this mode. The PCL (PJL) commands to switc h the default compatibil ity
modes are:
The following table lists the font selection commands for forward and backward
compatibility mode for each of the five specialty PCL fonts. Since the font selection
commands for the forward and backward compatibility modes are identical, they are
listed together in the table. These fonts ar e supported only in PCL 5, not in PCL XL.
Table 2-5: Forward and Backward Compatibility Font Selection Commands
2-15
Forward and Backward Compatibility Mode
PCL
Standard PCL Emulation Font Name
C39 Narrow
C39 Regular
C39 Wide
OCR-A
OCR-B
1
This font is not implemented in the Hewlett-Packard Company’s LaserJet 4050.
1
1
1
1
1
SpacingStyleWeightTypeface
10032774
10032772
10032777
00023584
00023590
Selecting Symbol Sets for the Lexmark T640, T642, and T644
To determine if a font or typeface supports a symbol set, see the complete listing of
PCL emulat ion f onts and symbo l sets in the foll owing tables: “Table 2-6: T640, T642,
T644 PCL Emulation Symbol Sets - Latin 1” on page 2-16, “Table 2-7: T640, T642,
Page 29
2-16
T644 PCL Emulation Symbol Sets - Latin 2, Latin 5, Latin 6, Cyrillic, Greek” on
page 2-21, and “T able 2-8: T640, T642, T644 PCL Emulation Symbol Sets - Specials”
on page 2-2 6.
Table 2-6: T640, T642, T644 PCL Emulation Symbol Sets - Lati n 1
Latin 1
PCL
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-1 5 Latin 9
PC-8, Code Page 437
PC-8 Danish/Norwegian (437N)
PC-850 Multilingual
PC-858 Multilingual Euro
PC-860 Portugal
PC-861 Iceland
PC-863 Canadian French
PC-865 Nordic
PC-1004 OS/2
ABICOMP Brazil/Portugal
ABICOMP International
Roman-8
Roman-9
Roman Extension
PS Te xt
MC Text
Desk Top
Ventura International
ISOL9
PC8
PC8DN
PC850
PC858
11U
12U
13U
20U
21U
23U
25U
9J
13P
ROMAN8
14P
8U4U0E
PSTEXT
10J
12J
DESKTOP
7J
VNINTL
13J
Ventura US
VNUS
14J
Times New Roman Italic✓✓✓✓✓✓✓✓✓✓ ✓✓✓✓✓✓✓✓✓✓✓✓✓✓
Times New Roman Bold✓✓✓✓✓✓✓✓✓✓ ✓✓✓✓✓✓✓✓✓✓✓✓✓✓
Times New Roman Bold Italic✓✓✓✓✓✓✓✓✓✓ ✓✓✓✓✓✓✓✓✓✓✓✓✓✓
Arial✓✓✓✓✓✓✓✓✓✓ ✓✓✓✓✓✓✓✓✓✓✓✓✓✓
✓ Indicates Typeface supports the specified Symbol Set.
✘ Indicates Typeface does not support the specified Symbol Set.
Page 30
2-17
Table 2-6: T640, T642, T644 PCL Emulation Symbol Sets (Continued) - Latin 1
✓ Indicates Typeface supports the specified Symbol Set.
✘ Indicates Typeface does not support the specified Symbol Set.
Page 34
2-21
PCL
Table 2-7: T640, T642, T644 PCL Emulati on Symbol Sets - Latin 2, Latin 5, Latin 6, Cyrillic, Greek
Latin 2Latin 5Latin 6CyrillicGreek
Typeface / Symbol
Set
Windows 98 Latin 2
ISO 8859-2 Latin 2
PC-852 Latin 2
PC-8 Polish Mazovia
PC-8 PC Nova
Windows 98 Latin 5
ISO 8859-9 Latin 5
PC-857 Latin 5 (Turkish)
PC-853 Latin 3 (Turkish)
PC-T urk ish (437 T)
Turkish-8
Windows 98 Latin 6 (Baltic)
ISO 8859-1 0 Latin 6
PC-775 Baltic (PC-8 Latin 6)
Windows 98 Cyrillic
ISO 8859-5 Latin/Cyrillic
PC-866 Cyrillic
PC-855 Cyrillic
Russian-GOST
PC-8 Bulgarian
Ukrainian
Windows 98 Greek
ISO 8859-7 Latin/Greek
PC-869 Greece
PC-851 Greece
PC-8 Latin/Greek
PC-8 Greek Alternate (437G)
Greek-8
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✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓
Times New Roman
✓ Indicates Typeface supports the specified Symbol Set.
✘ Indicates Typeface does not support the specified Symbol Set.
✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓
✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓
Page 35
2-22
PCL
Table 2-7: T640, T642, T644 PCL Emulation Symbol Sets (Continued) - Latin 2, Latin 5, Latin 6,
Latin 2Latin 5Latin 6CyrillicGreek
Typeface / Symbol
Set
Windows 98 Latin 2
ISO 8859-2 Latin 2
PC-852 Latin 2
PC-8 Polish Mazovia
PC-8 PC Nova
Windows 98 Latin 5
ISO 8859-9 Latin 5
PC-857 Latin 5 (Turkish)
PC-853 Latin 3 (Turkish)
PC-Turkish (437T)
Turkish-8
Windows 98 Latin 6 (Baltic)
ISO 8859-10 Latin 6
PC-775 Baltic (PC-8 Latin 6)
Windows 98 Cyrillic
ISO 8859-5 Latin/Cyrillic
PC-866 Cyrillic
PC-855 Cyrillic
Russian-GOST
PC-8 Bulgarian
Ukrainian
Windows 98 Greek
ISO 8859-7 Latin/Greek
PC-869 Greece
PC-851 Greece
PC-8 Latin/Greek
PC-8 Greek Alternate (437G)
Greek-8
PJL Value
Symbol Set ID
Arial Bold✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓
Arial Bold Italic✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓
Letter Gothic✓✓✓✘✓✓✓✓✘✓✓✓✓✓✘✘✘✘✘✘✘✘✘✘✘✘✘✘
Letter Gothic Italic✓✓✓✘✓✓✓✓✘✓✓✓✓✓✘✘✘✘✘✘✘✘✘✘✘✘✘✘
Letter Gothic Bold✓✓✓✘✓✓✓✓✘✓✓✓✓✓✘✘✘✘✘✘✘✘✘✘✘✘✘✘
Univers Condensed
✓ Indicates Typeface supports the specified Symbol Set.
✘ Indicates Typeface does not support the specified Symbol Set.
✓✓✓✘✓✓✓✓✘✓✓✓✓✓✘✘✘✘✘✘✘✘✘✘✘✘✘✘
✓✓✓✘✓✓✓✓✘✓✓✓✓✓✘✘✘✘✘✘✘✘✘✘✘✘✘✘
Page 36
2-23
PCL
Table 2-7: T640, T642, T644 PCL Emulation Symbol Sets (Continued) - Latin 2, Latin 5, Latin 6,
Latin 2Latin 5Latin 6CyrillicGreek
Typeface / Symbol
Set
Windows 98 Latin 2
ISO 8859-2 Latin 2
PC-852 Latin 2
PC-8 Polish Mazovia
PC-8 PC Nova
Windows 98 Latin 5
ISO 8859-9 Latin 5
PC-857 Latin 5 (Turkish)
PC-853 Latin 3 (Turkish)
PC-Turkish (437T)
Turkish-8
Windows 98 Latin 6 (Baltic)
ISO 8859-10 Latin 6
PC-775 Baltic (PC-8 Latin 6)
Windows 98 Cyrillic
ISO 8859-5 Latin/Cyrillic
PC-866 Cyrillic
PC-855 Cyrillic
Russian-GOST
PC-8 Bulgarian
Ukrainian
Windows 98 Greek
ISO 8859-7 Latin/Greek
PC-869 Greece
PC-851 Greece
PC-8 Latin/Greek
PC-8 Greek Alternate (437G)
Greek-8
PJL Value
Symbol Set ID
Antique Olive Italic✓✓✓✘✓✓✓✓✘✓✓✓✓✓✘✘✘✘✘✘✘✘✘✘✘✘✘✘
Antique Olive Bold✓✓✓✘✓✓✓✓✘✓✓✓✓✓✘✘✘✘✘✘✘✘✘✘✘✘✘✘
Albertus Medium✓✓✓✘✓✓✓✓✘✓✓✓✓✓✘✘✘✘✘✘✘✘✘✘✘✘✘✘
Albertus Extra Bold✓✓✓✘✓✓✓✓✘✓✓✓✓✓✘✘✘✘✘✘✘✘✘✘✘✘✘✘
Clarendon
Oblique
Times Roman✓✓✓✘✓✓✓✓✘✓✓✓✓✓✘✘✘✘✘✘✘✘✘✘✘✘✘✘
Times Italic✓✓✓✘✓✓✓✓✘✓✓✓✓✓✘✘✘✘✘✘✘✘✘✘✘✘✘✘
Times Bo ld✓✓✓✘✓✓✓✓✘✓✓✓✓✓✘✘✘✘✘✘✘✘✘✘✘✘✘✘
Times Bold Italic✓✓✓✘✓✓✓✓✘✓✓✓✓✓✘✘✘✘✘✘✘✘✘✘✘✘✘✘
Helvetica Light✘✘✘✘✘✘✘✘✘✘✘✘✘✘✘✘✘✘✘✘✘✘✘✘✘✘✘✘
Helvetica Light
Oblique
Helvetica Black✘✘✘✘✘✘✘✘✘✘✘✘✘✘✘✘✘✘✘✘✘✘✘✘✘✘✘✘
Helvetica Black
Oblique
Line Printer 16✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓
POSTNET Barcode✘✘✘✘✘✘✘✘✘✘✘✘✘✘✘✘✘✘✘✘✘✘✘✘✘✘✘✘
✓ Indicates Typeface supports the specified Symbol Set.
✘ Indicates Typeface does not support the specified Symbol Set.
Ventura Math
VNMATH
6M
PS Math
PSMATH
5M
Math-8
MATH8
8M
Pi font
Microsoft Publishing
PIFONT
MSPUBL
15U
6J
PC-911 Katakana
3K
POSTNET Barcode
15Y
OCR-A
OCR-B
0O
1O
C39 Bar Code
(Upper Case)
9Y
C39 Bar Code
(plus Lower Case)
109Y
C39 Bar Code
(plus Human Readable)
209Y
Symbol
19M
Wingdings
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-9: T640, T642, T644 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
1FISO 69: French
2UISO 2: IRV (International Ref Version)
0FISO 25: French
0GISO: HP German
0KISO 14: JIS ASCII
Page 45
2-32
Table 2-9: T640, T642, T644 ISO PCL Emulation Symbol Sets (Continued)
Symbol Set IDSymbol Set / Typeface
2KISO 57: Chinese
3SISO 10: Swedish
1SISO: HP Spanish
6SISO 85: Spanish
4SISO 16: Portuguese
5SISO 84: Portuguese
1DISO 61: Norwegian Version 2
Selecting Symbol Sets for the Lexmark W840
PCL
To determine if a font or typeface supports a symbol set, see the complete listing of
PCL emulat ion f onts and symbo l sets in the fol lowing tabl es: “ Table 2-10: W840 PCL
Emulation Symbol Sets - Latin 1” on page 2-32, “Table 2-11: W840 PCL Emulation
Symbol Sets - Latin 2, Latin 5 , Latin 6, Cyr illic, Greek” on page 2-38, and “T abl e 2-12:
W840 PCL Emulation Symbol Sets - SpecialsT640, T642, T644 ISO PCL Emulation
W840Symbol Sets” on page 2-43.
Table 2-10: W840 PCL Emulation Symbol Sets - Latin 1
✓ Indicates Typeface supports the specified Symbol Set.
✘ Indicates Typeface does not support the specified Symbol Set.
LEGAL
WIN30
1U9U19U
WINL1
ISOL1
ISOL9
0N9N10U
PC8
PC8DN
PC850
11U
12U
PC858
13U
20U
21U
23U
25U
9J
13P
ROMAN8
14P
8U4U0E
PSTEXT
10J
12J
DESKTOP
7J
VNINTL
13J
VNUS
14J
Page 46
2-33
Table 2-10: W840 PCL Emulation Symbol Sets (Continued) - Latin 1
Latin 1
PCL
Typeface / Symbol Set
PJL Value
Symbol Set ID
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✓✓✓✓✓✓✓✓✓✓ ✓✓✓✓✓✓✓✓✓✓✓✓✓✓
Times New Roman Italic✓✓✓✓✓✓✓✓✓✓ ✓✓✓✓✓✓✓✓✓✓✓✓✓✓
Legal
Windows 3.0 Latin 1
LEGAL
WIN30
1U9U19U
Windows 98 Latin 1
WINL1
ISO 8859-1 Latin 1 (ECMA-94)
ISO 8859-15 Latin 9
ISOL1
ISOL9
0N9N10U
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
PC-865 Nordic
PC-1004 OS/2
ABICOMP Brazil/Portugal
ABICOMP International
Roman-8
Roman-9
Roman Extension
PS Text
MC Text
Desk Top
Ventura International
ROMAN8
21U
23U
25U
9J
13P
14P
8U4U0E
PSTEXT
10J
12J
DESKTOP
7J
VNINTL
13J
Ventura US
VNUS
14J
Times New Roman Bold✓✓✓✓✓✓✓✓✓✓ ✓✓✓✓✓✓✓✓✓✓✓✓✓✓
Times New Roman Bold Italic✓✓✓✓✓✓✓✓✓✓ ✓✓✓✓✓✓✓✓✓✓✓✓✓✓
Arial✓✓✓✓✓✓✓✓✓✓ ✓✓✓✓✓✓✓✓✓✓✓✓✓✓
Arial Italic✓✓✓✓✓✓✓✓✓✓ ✓✓✓✓✓✓✓✓✓✓✓✓✓✓
Arial Bold✓✓✓✓✓✓✓✓✓✓ ✓✓✓✓✓✓✓✓✓✓✓✓✓✓
Arial Bold Italic✓✓✓✓✓✓✓✓✓✓ ✓✓✓✓✓✓✓✓✓✓✓✓✓✓
Letter Gothic✓✓✓✓✓✓✓✓✓✓ ✓✓✓✓✓✓✓✓✓✓✓✓✓✓
Letter Gothic Italic✓✓✓✓✓✓✓✓✓✓ ✓✓✓✓✓✓✓✓✓✓✓✓✓✓
✓ Indicates Typeface supports the specified Symbol Set.
✘ Indicates Typeface does not support the specified Symbol Set.
Page 47
2-34
Table 2-10: W840 PCL Emulation Symbol Sets (Continued) - Latin 1
✓ Indicates Typeface supports the specified Symbol Set.
✘ Indicates Typeface does not support the specified Symbol Set.
Legal
Windows 3.0 Latin 1
LEGAL
WIN30
1U9U19U
Windows 98 Latin 1
WINL1
ISO 8859-1 Latin 1 (ECMA-94)
ISO 8859-15 Latin 9
ISOL1
ISOL9
0N9N10U
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
PC-865 Nordic
PC-1004 OS/2
ABICOMP Brazil/Portugal
ABICOMP International
Roman-8
Roman-9
Roman Extension
PS Text
MC Text
Desk Top
Ventura International
ROMAN8
21U
23U
25U
9J
13P
14P
8U4U0E
PSTEXT
10J
12J
DESKTOP
7J
VNINTL
13J
Ventura US
VNUS
14J
Page 51
2-38
Table 2-11: W840 PCL Emulation Symbol Sets - Latin 2, Latin 5, Latin 6, Cyrillic, Greek
Latin 2Latin 5Latin 6CyrillicGreek
Typeface / Symbol
Set
Windows 98 Latin 2
ISO 8859-2 Latin 2
PC-852 Latin 2
PC-8 Polish Mazovia
PC-8 PC Nova
Windows 98 Latin 5
ISO 8859-9 Latin 5
PC-857 Latin 5 (Turkish)
PC-853 Latin 3 (Turkish)
PC-Turkish (437T)
Turkish-8
Windows 98 Latin 6 (Baltic)
ISO 8859-10 Latin 6
PC-775 Baltic (PC-8 Latin 6)
Windows 98 Cyrillic
ISO 8859-5 Latin/Cyrillic
PC-866 Cyrillic
PC-855 Cyrillic
Russian-GOST
PC-8 Bulgarian
Ukrainian
Windows 98 Greek
ISO 8859-7 Latin/Greek
PCL
PC-869 Greece
PC-851 Greece
PC-8 Latin/Greek
PC-8 Greek Alternate (437G)
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✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓
Times New Roman
✓ Indicates Typeface supports the specified Symbol Set.
✘ Indicates Typeface does not support the specified Symbol Set.
✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓
Page 52
Typeface / Symbol
Set
2-39
Latin 2Latin 5Latin 6CyrillicGreek
Windows 98 Latin 2
ISO 8859-2 Latin 2
PC-852 Latin 2
PC-8 Polish Mazovia
PC-8 PC Nova
Windows 98 Latin 5
ISO 8859-9 Latin 5
PC-857 Latin 5 (Turkish)
PC-853 Latin 3 (Turkish)
PC-Turkish (437T)
Turkish-8
Windows 98 Latin 6 (Baltic)
ISO 8859-10 Latin 6
PC-775 Baltic (PC-8 Latin 6)
Windows 98 Cyrillic
ISO 8859-5 Latin/Cyrillic
PC-866 Cyrillic
PC-855 Cyrillic
Russian-GOST
PC-8 Bulgarian
Ukrainian
Windows 98 Greek
ISO 8859-7 Latin/Greek
PCL
PC-869 Greece
PC-851 Greece
PC-8 Latin/Greek
PC-8 Greek Alternate (437G)
PJL Value
Symbol Set ID
Arial Bold Italic✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓
Letter Gothic✓✓✓✘✓✓✓✓✘✓✓✓✓✓✘✘✘✘✘✘✘✘✘✘✘✘✘
Letter Gothic Italic✓✓✓✘✓✓✓✓✘✓✓✓✓✓✘✘✘✘✘✘✘✘✘✘✘✘✘
Letter Gothic Bold✓✓✓✘✓✓✓✓✘✓✓✓✓✓✘✘✘✘✘✘✘✘✘✘✘✘✘
Univers Condensed
✓ Indicates Typeface supports the specified Symbol Set.
✘ Indicates Typeface does not support the specified Symbol Set.
✓✓✓✘✓✓✓✓✘✓✓✓✓✓✘✘✘✘✘✘✘✘✘✘✘✘✘
Page 55
Typeface / Symbol
Set
2-42
Latin 2Latin 5Latin 6CyrillicGreek
Windows 98 Latin 2
ISO 8859-2 Latin 2
PC-852 Latin 2
PC-8 Polish Mazovia
PC-8 PC Nova
Windows 98 Latin 5
ISO 8859-9 Latin 5
PC-857 Latin 5 (Turkish)
PC-853 Latin 3 (Turkish)
PC-Turkish (437T)
Turkish-8
Windows 98 Latin 6 (Baltic)
ISO 8859-10 Latin 6
PC-775 Baltic (PC-8 Latin 6)
Windows 98 Cyrillic
ISO 8859-5 Latin/Cyrillic
PC-866 Cyrillic
PC-855 Cyrillic
Russian-GOST
PC-8 Bulgarian
Ukrainian
Windows 98 Greek
ISO 8859-7 Latin/Greek
PCL
PC-869 Greece
PC-851 Greece
PC-8 Latin/Greek
PC-8 Greek Alternate (437G)
PJL Value
Symbol Set ID
Times Roman✓✓✓✘✓✓✓✓✘✓✓✓✓✓✘✘✘✘✘✘✘✘✘✘✘✘✘
Times Italic✓✓✓✘✓✓✓✓✘✓✓✓✓✓✘✘✘✘✘✘✘✘✘✘✘✘✘
Times Bo ld✓✓✓✘✓✓✓✓✘✓✓✓✓✓✘✘✘✘✘✘✘✘✘✘✘✘✘
Times Bold Italic✓✓✓✘✓✓✓✓✘✓✓✓✓✓✘✘✘✘✘✘✘✘✘✘✘✘✘
Helvetica Light✘✘✘✘✘✘✘✘✘✘✘✘✘✘✘✘✘✘✘✘✘✘✘✘✘✘✘
Helvetica Light
Oblique
Helvetica Black✘✘✘✘✘✘✘✘✘✘✘✘✘✘✘✘✘✘✘✘✘✘✘✘✘✘✘
Helvetica Black
Times New Roman✓✓✓✓✓✘✘✘✘ ✘✘✘ ✘✘✘✘✘
Times New Roman Italic✓✓✓✓✓✘✘✘✘ ✘✘✘ ✘✘✘✘✘
Times New Roman Bold✓✓✓✓✓✘✘✘✘ ✘✘✘ ✘✘✘✘✘
Times New Roman BoldItalic✓✓✓✓✓✘✘✘✘ ✘✘✘ ✘✘✘✘✘
Arial✓✓✓✓✓✘✘✘✘ ✘✘✘ ✘✘✘✘✘
Arial Italic✓✓✓✓✓✘✘✘✘ ✘✘✘ ✘✘✘✘✘
Arial Bold✓✓✓✓✓✘✘✘✘ ✘✘✘ ✘✘✘✘✘
Arial Bold Italic✓✓✓✓✓✘✘✘✘ ✘✘✘ ✘✘✘✘✘
Letter Gothic✓✓✓✓✓✘✘✘✘ ✘✘✘ ✘✘✘✘✘
✓ Indicates Typeface supports the specified Symbol Set.
✘ Indicates Typeface does not support the specified Symbol Set.
✓ Indicates Typeface supports the specified Symbol Set.
✘ Indicates Typeface does not support the specified Symbol Set.
Symbol Set IDSymbol Set / Typeface
1EISO 4: United Kingdom
0UISO 6: ASCII
0SISO 11: Swedish for Names
0IISO 15: Italian
Ventura Math
VNMATH
6M
PS Math
PSMATH
5M
Math-8
Pi font
MATH8
PIFONT
8M
15U6J3K
Microsoft Publishing
PC-911 Katakana
MSPUBL
POSTNET Barcode
OCR-A
OCR-B
15Y0O1O
C39 Bar Code
(Upper Case)
9Y
C39 Bar Code
(plus Lower Case)
109Y
C39 Bar Code
(plus Human Readable)
209Y
Symbol
19M
Wingdings
579L
Ventura ITC Zapf Dingbats
9L
PS ITC Zapf Dingbats
10L
PCL ITC Zapf Dingbats
14L
2SISO 17: Spanish
1GISO 21: German
0DISO 60: Norwegian Version 1
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
1EISO 4: United Kingdom
0UISO 6: ASCII
0SISO 11: Swedish for Names
0IISO 15: Italian
2SISO 17: Spanish
1GISO 21: German
2-48
PCL
0DISO 60: Norwegian Version 1
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.
Page 62
2-49
PCL
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 t he s am e h oriz on tal 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
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 commands are mult ibyte strings (also known as “escape sequence s”) that begin
with the Escape control code (
code notifies the printer t hat the chara cters th at follow are t o be interpre ted as part of
a command and are not control codes or data to be printed.
ESC
, ←, decimal 27, or hexadecimal 1B) . The
ESC
control
Page 63
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 specif ied numeric ran ges; may be preceded by
2-50
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
PCL
CTermination character from ASCII table (ranging from 64 to 94 decimal)
Command Parameters
A command parameter sets the value for a comman d. This value stays cons tant until
either a different value reset s the command or a command resets the printer to the
default values. For example, after t he prin ter recei ves a comman d that sel ects a ri ght
margin beginning at column 63, the right margin of each printed page begi ns 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 h exadecimal value
for each parameter. To deter mine a de cimal or hex valu e, fi rs t loca te 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 t hat parameter. To find a hex value, go straight up
the grid from the desire d parameter and r ead the value in the top headi ng. This i s the
first character of the hex value. Next, go straight across the grid to the left of the
parameter and read the value i n the left column headi ng. This is the second c haracter
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
Page 64
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 selec t a posit ion relative to the
current cursor position. For exampl e:
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
2-51
PCL
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 (characte rs) of the command only once at the start of t he
command string.
• Make the last letter of each command in the string lowercase.
• Capitalize the last letter of the string.
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
Weight Bold (
ESC
(s10h3b4099T
ESC
(s3B) to the previous two commands:
or in the long form:
ESC
(s10H
ESC
(s3B
ESC
(s4099T
Page 65
PCL Emulation Commands
See the following tables for a listing of th e commands grouped by funct ion.
To determine which commands your printer support s, see “Table A-1: PCL Emul ation
Commands” on page A-1.
PCL Emulation Commands by Function
Table 2-15: Job Control
Command / ParametersFunction / Result
ESC
EPrinter Reset
• Prints any partial pages.
• Resets printer environment to defaults.
• Deletes all temporary downloaded resources.
ESC
&d#A
0 = Collation off
1 ... 999 (number of Copies)
ESC
&l#X
# = number of Copies (1 to 32767)
Default = 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 curr ent prin ter lan gua ge and allow s
switching into PJL. For more information, see “UNIVERSAL EXIT
LANGUAGE Command” on page 3-2.
ESC
ESC
ESC
*p#X)
*p#Y)
ESC
*c#A)
*c#B)
PCL
Page 67
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
&f#G
# = number of Decipoints
(1 Decipoint = 1/720 inch)
ESC
&f#F
# = number of Decipoints
(1 Decipoint = 1/720 inch)
Set Page Size
Selects the physical size of the paper, which also determines the
logical page dimensio ns . See th e tab les be gin nin g on page 2-4 for the
paper and envelope dimensions your printer supports.
If the requested pa ge size is not in the req uested sou rce or if no so urce
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; howev er, 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.
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.
Set Universal Custom Name
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 w idth is defin ed by the spac e character of th e 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 w idth is defin ed by the spac e character of th e active
font and the HMI.
Clears left and right margins.
Set Top Margin
Sets the number of lines betw een th e top of th e phys ical pa ge and fi rst
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.
2-55
PCL
Page 69
Table 2-16: Page Control (Continued)
Command / ParametersFunction / Result
ESC
&l#F
# = number of lines
Default = 60 or 64 (Country specific)
ESC
&l#G
0 Auto Select (uses the active bin)
1S tandard 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 (Def ault)
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 Text Length
Sets the bottom margin length in lines, measured from the first line of
the page.
Text Length equals Logical Page Len gth —1 inch (—1/2 inch for top and
—1/2 inch for bottom).
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 distan ce betw een 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.
T ext Scale Mode
Allows 66 lines of text at s ix l ine s pe r inc h to pr int o n 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
Page 71
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
For example:
100 Media Select
String
string = See Alphanumeric String list at
right
'd' ascii
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 specifie s 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 d enotes a rela tive c ursor mov e from the c urrent c ursor pos ition. Paramet er withou t 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 w id th is de term ined by the space ch arac te r wid t h 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.
Page 72
2-59
PCL
Table 2-18: Cursor Positioning (Continued)
Command / ParametersFunction / Result
ESC
&a#R
# = number of Rows
ESC
&a#V
# = number of Decipoints
(1 Decipoint = 1/720 inch)
Note: This command will not alter the stroke weight of an available font.
Select Typeface
Selects the best fit font design.
T o obtain th e typefac e values fo r downloade d fonts, p rint the fo nt list fro m
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 ex ampl e line. Th e examp le line is belo w the name o f
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.
• Underli ne thic k nes s is 1/1 00 inc h.
2-61
PCL
Page 75
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
T ext Parsin g Metho d
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 curre nt tempora ry
5Make curre nt permane nt
Symbol Set ID Code
Sets the symbol set identific at ion for the symb ol set downloaded.
Define Symbol Set
Contains the data for the user-defined symbol sets.
Symbol Set Control
Manages user-defined symbol sets.
Page 76
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.
Caution: 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 mac ro 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 comm and s are sup ported inside macros.
• Only ca ll and ex ecute macro comm ands are allow ed withi n a mac ro.
• 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 page2-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
Page 78
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.
Caution: 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.
Page 79
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.
Transfe r Raste r Data by Plane
This command is used w hen the raster d ata is e ncoded 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
Page 81
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
Transf ers RI G dat a.
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 move d to th e firs t 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
Page 82
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 int ensity leve ls
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,2 5 - 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
Page 83
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 onl y val id 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
Page 86
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 Ve rtical 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 esca pe seq ue nce s 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).
Page 87
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 emulat ion. It can only be enter ed 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-6.
Table 2-31: Configuration Group
Command / ParameterCommand Name
CO "text" Comment
DF; Default Values
IN (n); Initialize
IP (X
, YP1(, XP2, YP2)); Input P1 and P2
P1
Page 88
2-75
PCL
Table 2-31: Configuration Group (Continued)
Command / ParameterCommand Name
IR (XP1, YP1(, XP2, YP2)); Input Relative P1 and P2
IW (X
, Y1, X2, Y2); Input Window
1
MC (mode(, opcode)); Logical Operation
PP (mode); Pixel Placement
RO (angle); Rotate Coordinate System
SC (X
min, Xmax
, Y
min
, Y
(, type(, left, bottom))); Scale
max
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
PD (X, Y(,...)); Pen Down
PE (flag(value) | coordinates (...)); Polyline Encoded
PR (X, Y(,...)); Plot Relative
PU (X, Y(,...)); Pen Up
RT X
WU (type); Pen Width Units
, Y
center
, Y
center
inter, Yinter
, X2, Y2, X3, Y3(,...); Bezier Relative
1, Y1
, Y1, X2, Y2, X3, Y3(,...); Bezier Absolute
1
incr inter
, sweep_angle(, chord_angle); Arc Absolute
center
, sweep_angle(, chord_angle); Arc Relative
center
, X
, Y
(, chord_angle); Absolute Arc Three Point
end
, X
incr end
, Y
(, chord_angle); Arc Relative Three Point
incr end
, Y
end
incr inter
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
Page 89
2-76
PCL
Table 2-33: Polygon Group (Continued)
Command / ParameterCommand Name
RA X, Y; Fill Rectangle Absolute
RR X, Y; Fill Rectangle Relative
WG radius, start_angle, sweep_angle(, chord_angle); Fill Wedge
Table 2-34: Character Group
Command / ParameterCommand Name
AD (kind, value(,...)); Define Alternate Font
CF (mode(, pen)); Character Fill
CP (spaces, lines); Character Plot
DI (run, rise); Absolute Direction
DR (run, rise); Relative Direction
DT (label_terminator(, mode)); Define Label Terminator
DV (path(, line)); Define Variable Text Path
ES (width(, height)); Extra Space
FI font_ID; Primary Font
FN font_ID; Secondary Font
LB char...char label_terminator; Label
LM (mode,[row number]) Label Mode
LO (position); Label Origin
LO 21; Uses PCL Label Origin
SA; Select Alternate Font
SB (mode); Scalable or Bitmapped Fonts
SD (kind, value(,...)); Define Standard Font
SI (width, height); Absolute Character Size
SL (tangent); Character Slant
SR (width, height); Relative Character Size
SS; Select Standard Font
TD (mode); Transparent Data
Page 90
2-77
PCL
Table 2-35: Line and Fill Attributes Group
Command / ParameterCommand Name
AC (X, Y);Anchor Corner
CR (red
blue
black ref
FT (fill_type(, option1(, option2)); Fill Type
FT22, (PCL User-Defined Pattern ID); Fill Type
FT 9, level; Fill Type
LA (kind, value(,...));. Line Attributes
LT (pattern_number(, pattern_length(, mode))); Line Type
NP (number); Number of Pens
black ref
, blue
, red
white ref
white ref
);
, green
black ref
, green
white ref
,
Color Range
PC (pen (, red, green, blue)); Pen Color
PW (width(, pen)); Pen Width
RF (index(, width, height(, pen, ...))); Define Raster Fill
SM (character); Symbol Mode
SP (pen); Select Pen
SV (screen_type(, option1(, option2))); Screened Vectors
SV (9, level,)Screened Vectors
TM (width, height(, number...)); Threshold Matrix
TR (mode); Transparency Mode
UL (index(, gap,...gap)); User Defined Line
WU (type); Pen Width Units
Page 91
Raster Image Graphics
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)
Page 92
Uncoded Data
2-79
PCL
Descriptions and examples of the dif ferent parameters appear on the following page s.
Each example draws the same square out line 64 bit s (8 by tes) wide b y 64 scan lines
long.
Uncoded Data is not compressed. Only those bytes needed to for m the image are
sent. Each bit represents a sing le dot. In the first byt e, bit 7 corresponds to the fir st 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 curr ent positi on
ESC
*b2W '07FF'x|Run-Length: 8x'FF'x
ESC
*b6W '0080 0500 00 01'x|1x'80'x, 6x'00'x, 1x'01'x
ESC
*b6W '0080 0500 00 01'x|1x'80'x, 6x'00'x, 1x'01'x
...|...
ESC
*b6W '0080 0500 00 01'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 00 01'x|1:'80'x, 6x'00'x, 1: '01'x or
Delta Row is a compression mode that identifi es 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 fro m last unmodif ied byt e (0- 30); if th e of fs et is 31, the nex t
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 curr ent positi on
|Num Offset
ESC
*b9W 'E0FFFFFF FFFFFFFFFF'x|'111 00000'b=8 at 0: 'FFFFFFFFFFFFFFFF'x
ESC
*b9W 'E0800000 0000000001'x|8 at 0: '8000000000000001'x
ESC
*b0W|No bytes change
...
ESC
*b0W|No bytes change
ESC
*b9W 'E0FFFFFF FFFFFFFFFF'x|8 at 0: '8FFFFFFFFFFFFFF'x
ESC
*rB|End graphics
Page 95
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 Dat a 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 enco ded data (hi gh,low)
2Data sizeH,LSize of Tagged Image File Format (TIFF) data
(high,low)
2-82
PCL
3Data SizeH,LSize of Delta Row data (high,low)
4NumberH,L of empty
rows
5NumberH,L of duplicate
rows
254Data SizeH,LTIFF word
255Data SizeH,LTIFF double-word
Zlib is a generic compressi on method. It refer s t o a stand ard f or compre ssi on as well
as the library that implements the standard.
The zlib compression method uses the deflat e 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 determin es how to
break the data into blocks and finds the best compression method to use for each
block.
An encoder works based on the followin g principles. The encoder create s 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 pro babili ty tr ee determines whi ch charac ter s are f requentl y 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 i s a final bl ock. Other informat ion
in the header includes checksums, compression algori thm used, and the level of
compression. In compression all chec ksums are set to zero and in decompression the
checksums are ignored.
The memory required for zlib compre ssi on and decompres si on is i ndependent of t he
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 byt e s must be
broken up and sent using multiple commands. It doe s not matter where the image is
broken, or how many Transfer Rast er 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).
Page 97
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 positi on
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.
Page 98
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. l ogo, then calls the l ogo 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
...
Page 99
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, Post Script
emulation, and Personal Printer Data Stream (PPDS).
To determine which commands your printer s upports, 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.
•Parameters enclosed in squar e bracket s ([ ] ) are opt ional and not r equire d
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 PostScri pt emulation, it perfor ms
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
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.