Page 2
Edition: March 2009 The following paragraph does not apply to any country where such provisions are inconsistent with local law: LEXMARK INTERNATIONAL, INC., PROVIDES THIS PUBLICATION “AS IS” WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
Lexmark C935...2-3 Lexmark X940e and X945e...2-5 Print Area Menu Item...2-7 Font and Symbol Set Support for the Lexmark C935, X940e, and X945e ...2-9 Forward and Backward Compatibility Modes for the Lexmark C935, X940e, and X945e... 2-10 Selecting Symbol Sets for Lexmark C935, X940e, and X945e... 2-14 Command Structure ...
Page 4
Job Separation Commands ...3-4 Environment Commands and Variables ...3-7 Common Variables for PCL Emulation ...3-40 Status Readback Commands... 3-46 Status Message Format ...3-53 Information Messages... 3-53 Auto-Continuable Conditions ... 3-55 Attendance Conditions ... 3-59 Operator Intervention - Paper Handling ... 3-64 Operator Intervention - Paper Jams...
Page 5
Tagged Binary Active ... 4-92 Status Messages... 4-93 Switching Languages ...5-1 SmartSwitch ...5-1 Setting SmartSwitch for Different Interfaces ...5-2 Printer Job Language ...5-2 Sniffing...5-3 Flash Memory and Disk ...6-1 Resource Data Collection (Download Target) ...6-2 Storing Resources on Flash Memory or Disk...6-3 Viewing the Contents of Flash Memory and Disk...6-3 Password Protection...6-7 Rewriting the Flash Content ...6-8...
Page 6
Altitude Specifications ...7-5 Atmospheric Pressure...7-5 Printer Interfaces...8-1 Setting Up the Communications Port ...8-2 Setting Up the Communications Port ...8-2 Deciding Which Interface to Use ...8-3 Parallel Interface...8-3 Standard Parallel Connector ...8-4 Using the INIT* Signal to Initialize...8-5 Computer-to-Printer Communications...8-5 Printer-to-Computer Communication (Advanced Status)...8-9 Parallel Mode 1 ...
• Lexmark™ C935 • Lexmark™ X940e • Lexmark™ X945e Some Lexmark printers may have these acronyms after the model name: Acronym Meaning duplex printing multifunction printer (MFP) with duplex printing and e-Task (electronic task) touch-screen interface MFP with duplex printing, finisher/stapler, and e-Task touch-screen interface...
Page 8
The additional tray is part of a drawer. If your printer is not included in this edition of the Technical Reference, it may be available in another version. Visit the Lexmark Web site at www.lexmark.com/ publications for more information. Table 1-1: Technical Reference Documentation Available in Hard Copy If you need a Technical Reference for the...
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.
Bibliography For detailed information about PCL emulation printer commands, PostScript emulation printer commands and operators, and interfaces, see the following documentation: • Hewlett-Packard DeskJet Printer Family Technical Reference, C2121-90101 • Hewlett-Packard LaserJet 4 Typography and Graphics, Random House Electronic Publishing •...
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. 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.
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 Resource Save is set to On or the...
The width of the logical page for A4 paper can be changed from the printer control panel or your software application. 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.
Page 14
The width of the logical page for A4 paper can be changed from the printer control panel or your software application. 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.
The width of the logical page for A4 paper can be changed from the printer control panel or your software application. 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.
Page 16
The width of the logical page for A4 paper can be changed from the printer control panel or your software application. 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.
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.
Page 18
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.
Font and Symbol Set Support for the Lexmark C935, X940e, and X945e 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.
Hewlett-Packard Company’s LaserJet 4050. The backward compatibility mode is used for compatibility with the Hewlett-Packard Company’s LaserJet 5 and the Lexmark family of printers. Standard PCL Emulation Fonts The following table lists the font selection commands for forward and backward compatibility mode for each of the 47 standard PCL emulation fonts.
Page 21
Table 2-3: Forward and Backward Compatibility Font Selection Commands (Continued) Standard PCL Emulation Font Name Univers Bold Italic Times New Roman Times New Roman Italic Times New Roman Bold Times New Roman Bold Italic Arial Arial Italic Arial Bold Arial Bold Italic Letter Gothic Letter Gothic Italic Letter Gothic Bold...
Page 22
Notice the values for forward and backward compatibility modes differ slightly for Bold. This font is not implemented in the Hewlett-Packard Company’s LaserJet 4050. This font is not implemented in the Lexmark family of printers. 2-12 Forward and Backward Compatibility Mode...
Page 23
ITC Zapf Dingbats Notice the values for forward and backward compatibility modes differ slightly for Bold. This font is not implemented in the Hewlett-Packard Company’s LaserJet 4050. This font is not implemented in the Lexmark family of printers. 2-13 Backward Compatibility Mode...
PCL emulation fonts and symbol sets in the following tables: “Table 2-8: C935dn, C935dtn, C935dttn, C935hdn PCL Emulation Symbol Sets - Specials” on page 2-27 and “Table 2-12: X940e, X945e PCL Emulation Symbol Sets - Specials” on page 2-44. 2-14...
Page 25
Selecting Symbol Sets for the Lexmark C935 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-6: C935dn, C935dtn, C935dttn, C935hdn PCL Emulation Symbol Sets - Latin 1”...
Page 26
Table 2-6: C935dn, C935dtn, C935dttn, C935hdn PCL Emulation Symbol Sets - Latin 1 (Continued) Typeface / Symbol Set PJL Value Symbol Set ID ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ Univers Bold Italic ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ Times New Roman ✓...
Page 27
Table 2-6: C935dn, C935dtn, C935dttn, C935hdn PCL Emulation Symbol Sets - Latin 1 (Continued) Typeface / Symbol Set PJL Value Symbol Set ID ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ Garamond Kursiv Halbfett ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ CG Omega ✓...
Page 28
Table 2-6: C935dn, C935dtn, C935dttn, C935hdn PCL Emulation Symbol Sets - Latin 1 (Continued) Typeface / Symbol Set PJL Value Symbol Set ID ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ Helvetica Narrow Bold ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ Helvetica Narrow Bold Italic ✓...
Page 29
Table 2-6: C935dn, C935dtn, C935dttn, C935hdn PCL Emulation Symbol Sets - Latin 1 (Continued) Typeface / Symbol Set PJL Value Symbol Set ID ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ CourierPS ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ CourierPS Oblique ✓...
Page 30
Table 2-6: C935dn, C935dtn, C935dttn, C935hdn PCL Emulation Symbol Sets - Latin 1 (Continued) Typeface / Symbol Set PJL Value Symbol Set ID ✘ ✘ ✘ ✘ ✘ ✘ ✘ ✘ ✘ Wingdings ✘ ✘ ✘ ✘ ✘ ✘ ✘ ✘ ✘ Symbol ✘...
Page 31
Table 2-7: C935 PCL Emulation Symbol Sets - Latin 2, Latin 5, Latin 6, Cyrillic, Greek Latin 2 Typeface / Symbol PJL Value Symbol Set ID ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ Courier ✓...
Page 32
Table 2-7: C935 PCL Emulation Symbol Sets - Latin 2, Latin 5, Latin 6, Cyrillic, Greek (Continued) Latin 2 Typeface / Symbol PJL Value Symbol Set ID ✓ ✓ ✓ ✘ ✓ ✓ ✓ ✓ ✘ ✓ ✓ ✓ ✓ ✓ ✘ ✘ ✘ ✘ ✘ ✘ ✘ ✘ ✘ ✘ ✘ ✘ ✘ ✘ Arial Italic ✓...
Page 33
Table 2-7: C935 PCL Emulation Symbol Sets - Latin 2, Latin 5, Latin 6, Cyrillic, Greek (Continued) Latin 2 Typeface / Symbol PJL Value Symbol Set ID ✓ ✓ ✓ ✘ ✓ ✓ ✓ ✓ ✘ ✓ ✓ ✓ ✓ ✓ ✘ ✘ ✘ ✘ ✘ ✘ ✘ ✘ ✘ ✘ ✘ ✘ ✘ ✘ CG Omega Bold Italic ✓...
Page 34
Table 2-7: C935 PCL Emulation Symbol Sets - Latin 2, Latin 5, Latin 6, Cyrillic, Greek (Continued) Latin 2 Typeface / Symbol PJL Value Symbol Set ID ✓ ✓ ✓ ✘ ✓ ✓ ✓ ✓ ✘ ✓ ✓ ✓ ✓ ✓ ✘ ✘ ✘ ✘ ✘ ✘ ✘ ✘ ✘ ✘ ✘ ✘ ✘ ✘ Palatino Italic ✓...
Page 35
Table 2-7: C935 PCL Emulation Symbol Sets - Latin 2, Latin 5, Latin 6, Cyrillic, Greek (Continued) Latin 2 Typeface / Symbol PJL Value Symbol Set ID ✓ ✓ ✓ ✘ ✓ ✓ ✓ ✓ ✘ ✓ ✓ ✓ ✓ ✓ ✘ ✘ ✘ ✘ ✘ ✘ ✘ ✘ ✘ ✘ ✘ ✘ ✘ ✘ Century Schoolbook Bold Italic ✓...
Page 36
Table 2-7: C935 PCL Emulation Symbol Sets - Latin 2, Latin 5, Latin 6, Cyrillic, Greek (Continued) Latin 2 Typeface / Symbol PJL Value Symbol Set ID ✘ ✘ ✘ ✘ ✘ ✘ ✘ ✘ ✘ ✘ ✘ ✘ ✘ ✘ ✘ ✘ ✘ ✘ ✘ ✘ ✘ ✘ ✘ ✘ ✘ ✘ ✘ ✘ C39 Wide ✘...
Page 37
Table 2-8: C935dn, C935dtn, C935dttn, C935hdn PCL Emulation Symbol Sets - Specials 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...
Page 38
Table 2-8: C935dn, C935dtn, C935dttn, C935hdn PCL Emulation Symbol Sets - Specials (Continued) Typeface / Symbol Set PJL Value Symbol Set ID Letter Gothic Italic Letter Gothic Bold Univers Condensed Medium Univers Condensed Medium Italic Univers Condensed Bold Univers Condensed Bold Italic Garamond Antiqua Garamond Kursiv Garamond Halbfett...
Page 39
Table 2-8: C935dn, C935dtn, C935dttn, C935hdn PCL Emulation Symbol Sets - Specials (Continued) Typeface / Symbol Set PJL Value Symbol Set ID Coronet Helvetica Helvetica Italic Helvetica Bold Helvetica Bold Italic Helvetica Narrow Helvetica Narrow Italic Helvetica Narrow Bold Helvetica Narrow Bold Italic Palatino Roman Palatino Italic Palatino Bold...
Page 40
Table 2-8: C935dn, C935dtn, C935dttn, C935hdn PCL Emulation Symbol Sets - Specials (Continued) Typeface / Symbol Set PJL Value Symbol Set ID Century Schoolbook Roman Century Schoolbook Italic Century Schoolbook Bold Century Schoolbook Bold Italic ITC Zapf Chancery Medium Italic CourierPS CourierPS Oblique CourierPS Bold...
Page 41
Table 2-8: C935dn, C935dtn, C935dttn, C935hdn PCL Emulation Symbol Sets - Specials (Continued) Typeface / Symbol Set PJL Value Symbol Set ID C39 Wide OCR-A OCR-B Wingdings Symbol SymbolPS ITC Zapf Dingbats ✓ Indicates Typeface supports the specified Symbol Set. ✘...
Page 42
Table 2-9: C935dn, C935dtn, C935dttn, C935hdn ISO PCL Emulation Symbol Sets (Continued) Symbol Set ID Table 2-10: X940e, X945e PCL Emulation Symbol Sets - Latin 1 Typeface / Symbol Set PJL Value Symbol Set ID ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓...
Page 43
Table 2-10: X940e, X945e PCL Emulation Symbol Sets - Latin 1 (Continued) Typeface / Symbol Set PJL Value Symbol Set ID ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ CG Times Bold ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓...
Page 44
Table 2-10: X940e, X945e PCL Emulation Symbol Sets - Latin 1 (Continued) Typeface / Symbol Set PJL Value Symbol Set ID ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ Univers Condensed Bold Italic ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓...
Page 45
Table 2-10: X940e, X945e PCL Emulation Symbol Sets - Latin 1 (Continued) Typeface / Symbol Set PJL Value Symbol Set ID ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ Helvetica Bold Italic ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓...
Page 46
Table 2-10: X940e, X945e PCL Emulation Symbol Sets - Latin 1 (Continued) Typeface / Symbol Set PJL Value Symbol Set ID ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ Century Schoolbook Bold Italic ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓...
Page 47
Table 2-10: X940e, X945e PCL Emulation Symbol Sets - Latin 1 (Continued) Typeface / Symbol Set PJL Value Symbol Set ID ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ OCR-B ✘ ✘ ✘ ✘ ✘ ✘ ✘ ✘ ✘...
Page 48
Table 2-11: X940e, X945e PCL Emulation Symbol Sets - Latin 2, Latin 5, Latin 6, Cyrillic, Greek Latin 2 Typeface / Symbol PJL Value Symbol Set ID ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓...
Page 49
Table 2-11: X940e, X945e PCL Emulation Symbol Sets - Latin 2, Latin 5, Latin 6, Cyrillic, Greek (Continued) Latin 2 Typeface / Symbol PJL Value Symbol Set ID ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓...
Page 50
Table 2-11: X940e, X945e PCL Emulation Symbol Sets - Latin 2, Latin 5, Latin 6, Cyrillic, Greek (Continued) Latin 2 Typeface / Symbol PJL Value Symbol Set ID ✓ ✓ ✓ ✘ ✓ ✓ ✓ ✓ ✘ ✓ ✓ ✓ ✓ ✓ ✘ ✘ ✘ ✘ ✘ ✘ ✘ ✘ ✘ ✘ ✘ ✘ ✘ ✘...
Page 51
Table 2-11: X940e, X945e PCL Emulation Symbol Sets - Latin 2, Latin 5, Latin 6, Cyrillic, Greek (Continued) Latin 2 Typeface / Symbol PJL Value Symbol Set ID ✓ ✓ ✓ ✘ ✓ ✓ ✓ ✓ ✘ ✓ ✓ ✓ ✓ ✓ ✘ ✘ ✘ ✘ ✘ ✘ ✘ ✘ ✘ ✘ ✘ ✘ ✘ ✘...
Page 52
Table 2-11: X940e, X945e PCL Emulation Symbol Sets - Latin 2, Latin 5, Latin 6, Cyrillic, Greek (Continued) Latin 2 Typeface / Symbol PJL Value Symbol Set ID ✓ ✓ ✓ ✘ ✓ ✓ ✓ ✓ ✘ ✓ ✓ ✓ ✓ ✓ ✘ ✘ ✘ ✘ ✘ ✘ ✘ ✘ ✘ ✘ ✘ ✘ ✘ ✘...
Page 53
Table 2-11: X940e, X945e PCL Emulation Symbol Sets - Latin 2, Latin 5, Latin 6, Cyrillic, Greek (Continued) Latin 2 Typeface / Symbol PJL Value Symbol Set ID ✘ ✘ ✘ ✘ ✘ ✘ ✘ ✘ ✘ ✘ ✘ ✘ ✘ ✘ ✘ ✘ ✘ ✘ ✘ ✘ ✘ ✘ ✘ ✘ ✘ ✘ ✘ ✘...
Page 54
Table 2-12: X940e, X945e PCL Emulation Symbol Sets - Specials 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...
Page 55
Table 2-12: X940e, X945e PCL Emulation Symbol Sets - Specials (Continued) Typeface / Symbol Set PJL Value Symbol Set ID Letter Gothic Italic Letter Gothic Bold Univers Condensed Medium Univers Condensed Medium Italic Univers Condensed Bold Univers Condensed Bold Italic...
Page 56
Table 2-12: X940e, X945e PCL Emulation Symbol Sets - Specials (Continued) Typeface / Symbol Set PJL Value Symbol Set ID Coronet Helvetica Helvetica Italic Helvetica Bold Helvetica Bold Italic Helvetica Narrow Helvetica Narrow Italic Helvetica Narrow Bold Helvetica Narrow Bold Italic...
Page 57
Table 2-12: X940e, X945e PCL Emulation Symbol Sets - Specials (Continued) Typeface / Symbol Set PJL Value Symbol Set ID Century Schoolbook Roman Century Schoolbook Italic Century Schoolbook Bold Century Schoolbook Bold Italic ITC Zapf Chancery Medium Italic CourierPS CourierPS Oblique...
Page 58
Table 2-12: X940e, X945e PCL Emulation Symbol Sets - Specials (Continued) Typeface / Symbol Set PJL Value Symbol Set ID C39 Wide OCR-A OCR-B Wingdings Symbol SymbolPS ITC Zapf Dingbats ✓ Indicates Typeface supports the specified Symbol Set. ✘ Indicates Typeface does not support the specified Symbol Set.
Table 2-13: C935, X940e, X945e ISO PCL Emulation Symbol Sets (Continued) Symbol Set ID 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.
Table 2-14: Control Codes (Continued) Code Function Primary Font Secondary Font Commands PCL emulation commands are multibyte strings (also known as “escape sequences”) that begin with the Escape control code ( 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.
Page 61
Parameters for each command are listed in the command tables beginning on page 2-53. 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.
Page 62
To combine these two commands, use this form: (s10h4099T which is 3 bytes shorter than the long form: (s10H (s4099T You can combine more than two commands; for example, you can add Select Stroke Weight Bold ( ) to the previous two commands: (s3B (s10h3b4099T or in the long form:...
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. PCL Emulation Commands by Function Table 2-16: Job Control Command / Parameters &d#A 0 = Collation off...
Page 64
Table 2-16: Job Control (Continued) Command / Parameters &u#D Range = (96, 100, 120, 144, 150, 160, 180, 200, 225, 240, 288, 300, 360, 400, 450, 480, 600, 720, 800, 900, 1200, 1440, 1800, 2400, 3600, 7200) Default = 300 units per inch % –...
Page 65
Table 2-17: Page Control Command / Parameters & Paper Executive Letter Legal 4, 10 Folio 6, 11 Ledger (11 x 17) 13, 25 A5 Paper Statement A4 Paper A3 Paper 12, 45 B5 Paper B4 Paper Custom Paper/Universal Envelopes Monarch 7 3/4 Commercial 10 Commercial 9 99, 100...
Page 66
Table 2-17: Page Control (Continued) Command / Parameters &f#O Short-edge Long-edge &f#W [custom name] # = number of bytes in the custom name & Portrait (Default) Landscape Reverse Portrait Reverse Landscape &a#P # = Degrees (0, 90, 180, 270) Default = 0 &c#T Horizontal Printing Vertical Rotated Printing...
Page 67
Table 2-17: Page Control (Continued) Command / Parameters & # = number of lines Default = 60 or 64 (Country specific) & Auto Select (uses the active bin) Standard Bin Bin 1 or Rear Bin Bin 1 or Rear Bin Bin 2 Bin 3 Bin 4...
Page 68
Table 2-17: Page Control (Continued) Command / Parameters & 1 line/inch 2 lines/inch 3 lines/inch 4 lines/inch 6 lines/inch (Default) 8 lines/inch 12 lines/inch 16 lines/inch 24 lines/inch 48 lines/inch &a#G Next Side Front Side Back Side & # = number from 0 to 14 0 = default page length is used (1 to 14 = new page length is set) &k#W...
Page 69
Table 2-18: Alphanumeric ID Command / Parameters &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: Media Select String string = See Alphanumeric String list at right Table 2-19: Cursor Positioning Command / Parameters...
Page 70
Table 2-19: Cursor Positioning (Continued) Command / Parameters &a#R # = number of Rows &a#V # = number of Decipoints (1 Decipoint = 1/720 inch) *p#Y # = number of PCL Units &k#G CR=CR, LF=LF, FF=FF (Default) CR=CR+LF, LF=LF, FF=FF CR=CR, LF=CR+LF, FF=CR+FF CR=CR+LF, LF=CR+LF, FF=CR+FF &f#S...
Page 71
Note: For the commands listed in Table 2-20, the printer selects the font that best fits the font selected based on the parameters set with the commands. Table 2-20: Font Selection Command / Parameters (# (primary) )# (secondary) # = symbol set ID Default = 10U (PC-8) or 12U (PC-850), [Country specific] (s#P (primary)
Page 72
“Table 2-3: Forward and Backward Compatibility Font Selection Commands” on page 2-10, “Table 2-4: Forward and Backward Compatibility Font Selection Commands” on page 2-12, and “Font and Symbol Set Support for the Lexmark C935, X940e, and X945e” on page 2-9. (#X (primary) )#X (secondary)
Page 73
Table 2-20: Font Selection (Continued) Command / Parameters &t#P 0, 1 1 byte characters 1 or 2 byte characters 1 or 2 byte characters 1 or 2 byte characters 1008 1, 2, or 3 byte characters (UTF-8) &k#S 10.00 cpi 16.66 cpi 12.00 cpi Table 2-21: User-Defined Symbol Set...
Page 74
Table 2-22: Font Creation Command / Parameters *c#D # = Font ID # (0 - 32767) Default = 0 )s#W[data] # = number of data bytes *c#F Delete all (temporary and permanent) Delete all temporary Delete previous font ID Delete previous specified character Make previous font ID temporary Make previous font ID permanent Copy current font...
Page 75
Table 2-24: Print Model Command / Parameters *c#G Gray Scale Fills White (default) 2% gray 3-10 10% gray 11-20 15% gray 21-35 30% gray 36-55 45% gray 56-80 70% gray 81-99 90% gray 100% gray (Black) Cross-Hatch Fills Horizontal line Vertical line Diagonal line Diagonal line...
Page 76
Table 2-25: User-Defined Pattern Command / Parameters *c#W[data] # = number of data bytes *p#R Rotate with print (Default) Fixed *c#Q Delete all patterns (temporary and permanent) Delete all temporary patterns Delete pattern (last ID specified) Make pattern of last ID # temporary Make pattern of last ID # permanent Table 2-26: Rectangular Area Fill Graphics Command / Parameters...
Page 77
Table 2-26: Rectangular Area Fill Graphics (Continued) Command / Parameters *c#G Gray Scale Fills White (default) 2% Gray 3-10 10% Gray 11-20 15% Gray 21-35 30% Gray 36-55 45% Gray 56-80 70% Gray 81-99 90% Gray 100% Gray (Black) Cross-Hatch Fills Horizontal Line Vertical Line Diagonal Line...
Page 78
Table 2-27: Raster Graphics Command / Parameters *t#R 75 dpi 100 dpi 150 dpi 200 dpi 300 dpi 600 dpi 1200 1200 dpi *r#F Rotate with print Fixed (Default) *r#S # = Number of Input Pixels *r#T # = Number of Raster Lines *r#A Left Graphics Margin at 0 (Default) Current Cursor Position...
Page 79
Table 2-27: Raster Graphics (Continued) Command / Parameters *b#M Uncoded (Default) Run-Length Encoded Tagged Image File Format (TIFF) byte Delta Row Adaptive Compression Replacement Delta Row Zlib 1002 Group 4 1003 Group 3 one dimensional 1004 Group 3 two dimensional K=2 1005 Group 3 two dimensional K=4 1006...
Page 80
Table 2-27: Raster Graphics (Continued) Command / Parameters *t#V *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)
Page 81
Driver Configuration Command Indicates the lightness, saturation, and scaling algorithm to be applied to a job. Note: Depending on your Lexmark model, settings for Lightness (0), Saturation (1) or Download Color Map (5) may not be supported. Push/Pop Palette Saves (push) the current palette and then restores (pop) it from the palette stack.
Page 82
Table 2-28: Color Extensions (Continued) Command / Parameters *t#I Gamma Correction Off 0.0 to 4.0 Gamma Number *t#J *v#A -32767.0 to 32767.0 *v#B -32767.0 to 32767.0 *v#C -32767.0 to 32767.0 *v#I # = Palette Index 0 to 2 – 1 = Palette Index *v#S # = Palette Index 0 to 2...
Page 83
Table 2-29: Status Readback Command / Parameters *s#T Invalid location (Default) Use currently selected location All locations Internal (resident) Downloaded entity Cartridge User-installable flash Disk *s#U If download, temporary; otherwise, highest priority If download, permanent; otherwise, next higher priority *s#I Font Macro User-defined pattern...
Page 84
Table 2-30: Picture Frame Command / Parameters *c#X # of Decipoints: 0 to 32767 (1 Decipoint = 1/720 inch) *c#Y # of Decipoints: 0 to 32767 (1 Decipoint = 1/720 inch) *c0T Set Anchor Point to Cursor Position *c#K Size in inches: 0 to 32767 *c#L Size in inches: 0 to 32767 Use Previous GL/2 Pen Position...
Table 2-31: Miscellaneous Commands (Continued) Command / Parameters *o#M(b) Ink Saver Normal Best & #M(b) Plain Paper Bond Coated Paper Glossy Paper Transparency Photo Paper Card Stock Labels Envelope Letterhead Preprinted Colored Paper Iron On GL/2 Commands Note: GL/2 is not a standalone 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.
Page 86
Table 2-32: Configuration Group (Continued) Command / Parameter IR (X IW (X MC (mode(, opcode)); PP (mode); RO (angle); SC (X (, type(, left, bottom))); min, Table 2-33: Vector Group Command / Parameter AA X , sweep_angle(, chord_angle); center center AR X , sweep_angle(, chord_angle);...
Page 87
Table 2-34: Polygon Group (Continued) Command / Parameter RA X, Y; RR X, Y; WG radius, start_angle, sweep_angle(, chord_angle); Table 2-35: Character Group Command / Parameter AD (kind, value(,...)); CF (mode(, pen)); CP (spaces, lines); DI (run, rise); DR (run, rise); DT (label_terminator(, mode));...
Page 88
Table 2-36: Line and Fill Attributes Group Command / Parameter AC (X, Y); CR (red , red , green black ref white ref black ref , blue black ref white ref FT (fill_type(, option1(, option2)); FT22, (PCL User-Defined Pattern ID); FT 9, level;...
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.
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 Uncoded Data is not compressed. Only those bytes needed to form the image are sent.
Run-Length Encoded Data 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. •...
Delta Row 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). •...
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). •...
Page 94
Zlib 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.
Page 95
Additional Compression Modes When the compression mode is 1008 (Lexmark Adaptive), TIFF word and double- word 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 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.
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.
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. •...
Page 99
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 PCLXL • You can use uppercase, lowercase, or mixed case. ( all others can be mixed or lowercase.) Example: @PJL ENTER LANGUAGE = PostScript[<CR>]<LF>...
• The COMMENT command cannot wrap from line-to-line; comments longer than one line require a separate COMMENT command for each line. • The COMMENT command is terminated by the line feed character (<LF>). Job Separation Commands Your printer supports the PJL JOB and EOJ commands. When the printer receives a JOB command, the print timeout is multiplied by 10;...
Page 101
• After receiving a JOB command, the printer does not process a UEL command as a PJL job boundary until it receives the corresponding EOJ. Instead, UELs occurring within a JOB/EOJ pair are processed as printer language resets (for example, PCL Parameters: NAME = "job name"...
Page 102
For detailed information on PJL password protection, see “File and Device Protection Commands” on page 3-85. Note: Setting a default PJL password disables the use of PJL DEFAULT and INITIALIZE commands. (See “DEFAULT Command” on page 3-8 and “INITIALIZE Command” on page 3-11.) EOJ Command The EOJ command signifies the end of a print job.
Environment Commands and Variables This section describes the printer environment variables and the PJL commands used to modify or query the variables. Note: The word common applies to those variables common to both your printer and the Hewlett-Packard Company’s LaserJet printers. Table 3-2: Environment Variable Categories Categories Common Variables for Both Printer Languages...
Page 104
DEFAULT Command This command modifies the default setting for the specified environment variable and stores the setting in the printer NVRAM. The new setting is activated with the occurrence of the next PJL reset condition. Syntax: @PJL DEFAULT [command modifier:value] variable=value[<CR>]<LF> [command modifier:value] [command modifier:value] to be modified.
Page 105
variable=value The supported variables and values are listed in the tables beginning on page 3-12. Note: Variables may be modified by the DEFAULT command, except those marked Read Only. Some variables may only be modified using the PJL SET command. These variables cannot be modified using the DEFAULT command.
Page 106
• " LRESOURCE: device:filename.filetype variables. (See “Table 3-9: Printer Unique LRESOURCE Variables” on page 3-45.) Values for " device:filename.filetype device flash flash1 A unique identifier for a file, such as the macro ID for a PCL filename macro, the symbol set ID for a PCL symbol set, the font ID for a PCL font, and so on.
Page 107
INITIALIZE Command This command restores both the current and default environment variables to their factory default values and updates the printer NVRAM. This command affects all of the variables listed in “Table 3-3: Common Variables for Both Printer Languages” on page 3-12 through “Table 3-8: Printer Unique Variables for PostScript Emulation”...
Common Variables for Both Printer Languages Note: The word common applies to those variables common to both your printer and the Hewlett-Packard Company’s LaserJet printers. The following common variables are supported for both PCL emulation and PostScript emulation, unless otherwise noted. Therefore, the [ parameter should not be specified.
Page 109
Table 3-3: Common Variables for Both Printer Languages (Continued) Variable Function COPIES Number of copies of each page CPLOCK Disables menus (DEFAULT only) DENSITY Print Darkness DUPLEX Duplex ECONOMODE Toner Saver FORMATTERNUMBER Unique printer identifier (READ only) FORMLINES Lines per page HOLD Print and Hold (SET only)
Page 110
Table 3-3: Common Variables for Both Printer Languages (Continued) Variable Function HOLDTYPE Print and Hold Type (SET only) IMAGEADAPT Resolution reduction (DEFAULT only) INTRAY2 Tray lock - Tray 2 INTRAY3 Tray lock - Tray 3 INTRAY4 Tray lock - Tray 4 INTRAY5 Tray lock - Tray 5 INTRAY1SIZE...
Page 111
Table 3-3: Common Variables for Both Printer Languages (Continued) Variable Function JOBOFFSET Offset Pages LANG Default display language (DEFAULT only) LOWTONER Toner Alarm (DEFAULT only) MANUALFEED Manual feed selection (READ only) MEDIATYPE Default paper source, default formatting size MPTRAY Multipurpose feeder (DEFAULT only) configuration...
Page 112
Table 3-3: Common Variables for Both Printer Languages (Continued) Variable Function OUTBIN Output Bin PAGEPROTECT Page Protect PAPER Default paper source, default formatting size PARALLEL Parallel Protocol (DEFAULT only) (Port Specific) 3-16 Selections UPPER, LOWER, OPTIONALOUTBIN1, OPTIONALOUTBIN2, OPTIONALOUTBIN3, OPTIONALOUTBIN4, OPTIONALOUTBIN5, OPTIONALOUTBIN6, OPTIONALOUTBIN7, OPTIONALOUTBIN8, OPTIONALOUTBIN9, OPTIONALOUTBIN10, “name”...
Page 113
Table 3-3: Common Variables for Both Printer Languages (Continued) Variable Function PASSWORD Default password for PJL NVRAM (DEFAULT only) security PERSONALITY SmartSwitch settings (Port specific) POWERSAVE Power Save feature (DEFAULT only) POWERSAVETIME Power Save time, in minutes (DEFAULT only) 3-17 Selections 0 to 65535 Locks the printer control panel to keep the user...
Page 114
Table 3-3: Common Variables for Both Printer Languages (Continued) Variable Function Collation - Collated Copies (SET only) (QTY) REPRINT Jam Recovery RESOLUTION Print Resolution RESOURCESAVE Resource Save (DEFAULT only) Print Quality Enhancement Technology (PQET) TIMEOUT Print timeout, in seconds USERNAME Print and Hold Username (SET only)
Page 115
Printer Unique Variables for Both Printer Languages The following variables are unique to some Lexmark printers and are supported for both PCL emulation and PostScript emulation. Therefore, the [ modifier:value To determine which variables your printer supports, see “Table B-2: Printer Unique PJL Variables for Both Printer Languages”...
Page 116
Table 3-4: Printer Unique Variables for Both Printer Languages (Continued) Variable Function LBONDOUTBIN Assign Type/Bin - Bond (DEFAULT only) LBONDTEXTURE Bond Texture (DEFAULT only) LBONDWEIGHT Bond Weight (DEFAULT only) LBWLOCK Black & White Lock LCANCEL Cancel Control LCARDSTOCKLENGTH Card Stock Length (DEFAULT only) LCARDSTOCKLOADING...
Page 117
Table 3-4: Printer Unique Variables for Both Printer Languages (Continued) Variable Function LCARDSTOCKOUTBIN Assign Type/Bin - (DEFAULT only) Card Stock LCARDSTOCKTEXTURE Card Stock Texture (DEFAULT only) LCARDSTOCKWEIGHT Card Stock Weight (DEFAULT only) LCOLLATION Collation Mode LCOLORCORRECTION Indicates which color target the printer emulates LCOLOREDLENGTH...
Page 118
Table 3-4: Printer Unique Variables for Both Printer Languages (Continued) Variable Function LCOLOREDLOADING Colored Paper Loading (DEFAULT only) LCOLOREDOUTBIN Assign Type/Bin - (DEFAULT only) Colored Paper LCOLOREDTEXTURE Colored Paper Texture (DEFAULT only) LCOLOREDWEIGHT Colored Paper Weight (DEFAULT only) LCOLORMODEL Color Model LCUSTOMPAPERUNITS Universal Units of Measure...
Page 119
Table 3-4: Printer Unique Variables for Both Printer Languages (Continued) Variable Function LCUSTOMPAPERHEIGHT Universal Height LCUSTOMPAPERFEED Universal Feed Direction Note: The following seven rows deal with LCUSTOMTYPE variables. Replace the # in each variable, function, and factory default with a number from 1 to 6 to specify up to six custom types. LCUSTOMTYPE#LLENGTH Custom Type # Length...
Page 120
Table 3-4: Printer Unique Variables for Both Printer Languages (Continued) Variable Function LCUSTOMTYPE#OUTBIN Assign Type/Bin - (DEFAULT only) Custom Type # LCUSTOMTYPE#TEXTURE Custom Type # Texture (DEFAULT only) LCUSTOMTYPE#WEIGHT Custom Type # Weight (DEFAULT only) LDOWNLOADTARGET Download Target (SET only) LDRYTIMEDELAY Dry Time Delay LDUPLICATEHELDJOBS...
Page 121
Table 3-4: Printer Unique Variables for Both Printer Languages (Continued) Variable Function LENVELOPEOUTBIN Assign Type/Bin - (DEFAULT only) Envelope LENVELOPETEXTURE Envelope Texture (DEFAULT only) LENVELOPEWEIGHT Envelope Weight (DEFAULT only) LESCCHAR Character Substitution (READ only) (Port specific) LFAXRESOLUTION Fax Resolution (SET only) LFAXREDIAL Fax Redial (SET only)
Page 122
Table 3-4: Printer Unique Variables for Both Printer Languages (Continued) Variable Function LFAXREDIALFREQUENCY Fax Redial Frequency (SET only) LFAXTRANSMISSIONLOG Transmission (SET only) LFEEDERPAPERTYPE Envelope Feeder Paper Type LGLOSSYLOADING Glossy Paper Loading LGLOSSYOUTPUTBIN Assign Type/Bin - Glossy 3-26 Selections 1 to 200 Note: Status Readback commands return a ? when no SET command has modified the LFAXREDIALFREQUENCY variable.
Page 123
Table 3-4: Printer Unique Variables for Both Printer Languages (Continued) Variable Function LGLOSSYTEXTURE Glossy Paper Texture LGLOSSYWEIGHT Glossy Paper Weight LHOLEPUNCHALARM Hole Punch Alarm LHOLEPUNCHMODE Hole Punch Mode LHONORINIT Honor INIT Signal (DEFAULT only) (Port specific) LIMAGEBRIGHTNESS Image Brightness LIMAGECONTRAST Image Contrast LIMAGEENHANCE Image...
Page 124
Table 3-4: Printer Unique Variables for Both Printer Languages (Continued) Variable Function LJAMRECOVERY Jam Recovery LLABELSLENGTH Labels Length (DEFAULT only) LLABELSLOADING Labels Paper Loading (DEFAULT only) LLABELSOUTBIN Assign Type/Bin - (DEFAULT only) Labels LLABELSTEXTURE Labels Texture (DEFAULT only) LLABELSWEIGHT Labels Weight (DEFAULT only) LLASTTRAYRENUMBER Last Tray...
Page 125
Table 3-4: Printer Unique Variables for Both Printer Languages (Continued) Variable Function LLETTERHEADLOADING Letterhead Paper Loading (DEFAULT only) LLETTERHEADOUTBIN Assign Type/Bin - (DEFAULT only) Letterhead LLETTERHEADTEXTURE Letterhead Texture (DEFAULT only) LLETTERHEADWEIGHT Letterhead Weight (DEFAULT only) LMANUALCOLORRGBTEXT Manual Color - RGB Text LMANUALCOLORRGB- Manual Color - GRAPHICS...
Page 126
Table 3-4: Printer Unique Variables for Both Printer Languages (Continued) Variable Function LMANUALCOLORCMYK- Manual Color - GRAPHICS CMYK Graphics LMANUALCOLORCMYK- Manual Color - IMAGE CMYK Image LMANUALENVELOPESIZE Manual Envelope, default formatting size LMANUALENVELOPETYPE Manual Envelope Type LMANUALPAPERSIZE Manual Paper, default formatting size LMANUALPAPERTYPE Manual Paper...
Page 127
Table 3-4: Printer Unique Variables for Both Printer Languages (Continued) Variable Function LMULTIPAGEBORDER Multipage Border LMULTIPAGEORDER Multipage Order LMULTIPAGEPRINT Multipage Printing LMULTIPAGEVIEW Multipage View LNPAP NPA Protocol Setting (READ only) (Port specific) LOPTIONALOUTBIN#NAME Optional Output Bin # Name (DEFAULT only) LOUTBINCONFIG Configure Output Bins...
Page 128
Table 3-4: Printer Unique Variables for Both Printer Languages (Continued) Variable Function LOVERFLOWOUTBIN Overflow Bin (DEFAULT only) LOVERFLOWTIMER Overflow Timer, in minutes (DEFAULT only) LPAGECOUNT Page Count (READ only) LPAGEMODE Print Area LPAPERSOURCE Default paper source 3-32 Selections UPPER, LOWER, OPTIONALOUTBIN1, OPTIONALOUTBIN2, OPTIONALOUTBIN3, OPTIONALOUTBIN4, OPTIONALOUTBIN5, OPTIONALOUTBIN6, OPTIONALOUTBIN7,...
Page 129
Table 3-4: Printer Unique Variables for Both Printer Languages (Continued) Variable Function LPICTUREGRADE PictureGrade™ LPLAINLENGTH Plain Paper Length (DEFAULT only) LPLAINOUTBIN Assign Type/Bin - Plain (DEFAULT only) Paper LPLAINTEXTURE Plain Paper Texture (DEFAULT only) LPLAINWEIGHT Plain Paper Weight (DEFAULT only) LPOWERSAVER Power Saver time, in minutes...
Page 130
Table 3-4: Printer Unique Variables for Both Printer Languages (Continued) Variable Function LPPDS Activate Personal Printer (DEFAULT only) Data Stream (PPDS) printer language LPPDSFORMLINES Lines Per Page (PPDS) (DEFAULT only) LPPDSLINESPERINCH Lines Per Inch (DEFAULT only) LPREPRINTEDLENGTH Preprinted Paper Length (DEFAULT only) LPREPRINTEDLOADING Preprinted...
Page 131
Table 3-4: Printer Unique Variables for Both Printer Languages (Continued) Variable Function LPREPRINTEDOUTBIN Assign Type/Bin - Preprinted Paper LPREPRINTEDTEXTURE Preprinted Paper Texture (DEFAULT only) LPREPRINTEDWEIGHT Preprinted Paper Weight (DEFAULT only) LPRINTBUFFER Print Buffer control LPRINTHEADIDLETIME Printhead Idle Time (SET only) LPRINTERUSAGE Printer Usage LPRINTMENUSBUTTON...
Page 132
Table 3-4: Printer Unique Variables for Both Printer Languages (Continued) Variable Function LPRINTQUALITY Print Quality Mode LPUNCH Hole Punch LREAROUTBINNAME Rear Output Bin Name LREPEATPRINTLIMIT Print and Hold Repeat Print (DEFAULT only) Job Limit LRESET Reset Control LRESOURCESAVE Resource Save (DEFAULT only) LRIGHTMARGINOFFSET Right Margin...
Page 133
Table 3-4: Printer Unique Variables for Both Printer Languages (Continued) Variable Function LSTANDARDOUTBINNAME Standard Output (DEFAULT only) Bin Name LSTROKEWIDTH PostScript minimum stroke width LSTAPLE Staple Job LSTAPLESEMPTYALARM Staples Empty Alarm (DEFAULT only) LSTAPLETESTBIN Staple Priming (DEFAULT only) LSTAPLETESTSOURCE Staple Priming Source (DEFAULT only) LSUBSTITUTESIZE...
Page 134
Table 3-4: Printer Unique Variables for Both Printer Languages (Continued) Variable Function LTRANSPARENCYOUTBIN Assign Type/Bin - (DEFAULT only) Transparency LTRANSPARENCYTEXTURE Transparency Texture (DEFAULT only) LTRANSPARENCYWEIGHT Transparency Weight (DEFAULT only) LTRAY1SENSEDTYPE Detected Type PAPER for Paper - Tray 1 LTRAY1SENSEDTYPE Detected Type TRANSPARENCY for Trans- parency- Tray 1...
Page 135
Table 3-4: Printer Unique Variables for Both Printer Languages (Continued) Variable Function LTRAY3SENSEDTYPE Detected Type PAPER for Paper - Tray 3 LTRAY3SENSEDTYPE Detected Type TRANSPARENCY for Trans- parency - Tray 3 LTRAY4SENSEDTYPE Detected Type PAPER for Paper - Tray 4 LTRAY4SENSEDTYPE Detected Type TRANSPARENCY...
Common Variables for PCL Emulation Note: The word common applies to those variables common to both your printer and the Hewlett-Packard Company’s LaserJet printers. Use these variables only for PCL emulation. The parameter should be specified as @PJL SET LPARM:PCL FONTSOURCE=I<CR><LF> To determine which variables your printer supports, see “Table B-3: Common Variables for PCL Emulation”...
Page 137
Printer Unique Variables for PCL Emulation The following variables are unique to your printer and are supported in PCL emulation only. The [command modifier:value] For example: @PJL SET LPARM:PCL LBITMAPROUNDING=OFF[<CR>]<LF> To determine which variables your printer supports, see “Table B-4: Printer Unique Variables for PCL Emulation”...
Page 138
Table 3-6: Printer Unique Variables for PCL Emulation (Continued) Variable Function LASSIGNTRAY# Tray Renumber Assign Tray # LBITMAPROUNDING Bitmap Font Partial Pel Rounding LCOLOREXTENSIONS Color Extensions LFONTCOMPATIBILITY Font Compatibility Level LFONTPRIORITY Font Priority Search (SET only) 3-42 Selections Note: # stands for the tray number in the variable name and function columns.
Common Variables for PostScript Emulation Note: The word common applies to those variables common to both your printer and the Hewlett-Packard Company’s LaserJet printers. Use these variables only for PostScript emulation. The parameter should be specified as @PJL SET LPARM:POSTSCRIPT JAMRECOVERY=OFF[<CR>]<LF> To determine which variables your printer supports, see “Table B-5: Common Variables for PostScript Emulation”...
Page 140
Printer Unique Variables for PostScript Emulation The following variables are unique in some printers and are supported in PostScript emulation only. [command modifier:value] For example: @PJL SET LPARM:POSTSCRIPT LPICTUREGRADE=ON[<CR>]<LF> To determine which variables your printer supports, see Table B-6 on page B-12. Table 3-8: Printer Unique Variables for PostScript Emulation Variable Function...
Page 141
To determine which variables your printer supports, see “Table B-7: Printer Unique LRESOURCE Variables” on page B-12. Table 3-9: Printer Unique LRESOURCE Variables Variable Function LDESCRIPTION Macro or Symbol Set Description (DEFAULT only) LRWLOCK Read/Write Lock (password) for an (DEFAULT entire device or a only) particular file on...
Status Readback Commands Applications can request configuration and status information from the printer using the Status Readback commands. In addition, the printer can also be instructed to send unsolicited status information back to the host computer when asynchronous events occur, such as a memory error or a paper jam. To determine which commands your printer supports, see “Table B-8: Status Readback Commands”...
Page 143
• is used for variables specific for PostScript emulation. LPARM:POSTSCRIPT (See the tables “Common Variables for PostScript Emulation” on page 3-43, and “Printer Unique Variables for PostScript Emulation” on page 3-44.) • " LRESOURCE: device:filename.filetype ables. (See the table “Printer Unique LRESOURCE Variables” on page 3-45.) Values for "...
Page 144
Note: The ECHO command is terminated by the line feed character. INFO Command The INFO command is used to query status information from the printer. “Table 3-10: INFO Category Parameter Values” on page 3-48 lists the categories of information that can be queried. See “Status Message Format”...
Page 145
INFO CONFIG Response Syntax (An Example): @PJL INFO CONFIG<CR><LF> IN TRAYS [2 ENUMERATED]<CR><LF> INTRAY1<CR><LF> INTRAY2<CR><LF> MANUAL FEED<CR><LF> OUT TRAYS [1 ENUMERATED]<CR><LF> UPPER FACEDOWN<CR><LF> PAPERS [13 ENUMERATED]<CR><LF> LETTER<CR><LF> LEGAL<CR><LF> A4<CR><LF> A5<CR><LF> B5PAPER<CR><LF> EXECUTIVE<CR><LF> COM10<CR><LF> COM9<CR><LF> MONARCH<CR><LF> DL<CR><LF> C5<CR><LF> B5<CR><LF> OTHERENVELOPE<CR><LF> LANGUAGES [1 ENUMERATED]<CR><LF> PCL<CR><LF>...
Page 146
INQUIRE Command This command is used to query the current setting of the specified environment variable. Syntax: @PJL INQUIRE [command modifier:value] variable[<CR>]<LF> Response Syntax: @PJL INQUIRE [command modifier:value] variable<CR><LF> value<CR><LF> <FF> [command modifier:value] [command modifier:value] to be queried. The variables supported are listed in the tables beginning on page 3-12.
Page 147
variable=value The supported variables are listed in the tables beginning on page 3-12. This printer returns a ? for inquiries of an unsupported variable, or inquiries of a variable associated with an option that is not installed. USTATUS Command This command is used to enable and disable unsolicited status from the printer. Unsolicited status information is sent automatically when an asynchronous event occurs.
Page 148
ustatus variable= value The following values are supported for the Table 3-11: USTATUS Unsolicited Status Variable Values Ustatus Variable Value DEVICE VERBOSE PAGE TIMED 5 to 300 in seconds USTATUSOFF Command This command turns off unsolicited status. Unsolicited status may also be turned off by using the USTATUS command on each variable.
Status Message Format The format of the returned information from the INFO STATUS, USTATUS DEVICE, and USTATUS TIMED commands is described in this section. Information Messages Information messages are returned in this form: CODE=status code DISPLAY=display string (in double quotes) ONLINE=online status Table 3-12: PJL Information Messages Printer State...
Page 150
Table 3-12: PJL Information Messages Printer State Ready with Replace Transfer Power Saver with Ink Low Power Saver mode with Toner Low Power Saver mode with Replace Toner Power Saver mode with Replace PC Kit Power Saver mode with Replace Fuser Power Saver mode with Replace Transfer Canceling Job Busy...
Auto-Continuable Conditions These status messages are returned independent of the state of the Auto Continue menu item. Auto-continuable messages are returned in this form: CODE=status code DISPLAY=display string (in double quotes) ONLINE=online status To determine which messages your printer supports, see “Table B-10: PJL Messages for Auto-Continuable Conditions”...
Page 152
Table 3-13: PJL Messages for Auto-Continuable Conditions (Continued) Printer State Intervention required: standard serial disabled Intervention required: serial option disabled Intervention required: standard parallel port disabled Intervention required: parallel port disabled Intervention required: parallel port error Intervention required: standard USB port disabled Intervention required: resource save off deficient memory Intervention required:...
Page 153
Table 3-13: PJL Messages for Auto-Continuable Conditions (Continued) Printer State Intervention required: unformatted disk Intervention required: scheduled maintenance Intervention required: resource save off deficient memory Intervention required: insufficient collation area Intervention required: hole punch box full Intervention required: hole punch box full Intervention required: hole punch box missing Intervention required:...
Page 154
Table 3-13: PJL Messages for Auto-Continuable Conditions (Continued) Printer State Intervention required: flash full Intervention required: disk full Intervention required: disk corrupted Intervention required: too many flash options installed Intervention required: unformatted flash Intervention required: unformatted disk Intervention required: unsupported disk format Intervention required: defective flash Intervention required:...
Attendance Conditions Attendance conditions require operator intervention. Attendance messages are returned in this form: CODE=status code DISPLAY=display string (in double quotes) ONLINE=online status To determine which messages your printer supports, see “Table B-11: PJL Messages for Attendance Conditions” on page B-18. Table 3-14: PJL Message for Attendance Conditions Printer State Intervention required:...
Page 156
Table 3-14: PJL Message for Attendance Conditions Printer State Intervention required: cartridge life warning Intervention required: missing cartridge Intervention required: missing printhead Intervention required: unsupported printhead Intervention required: size sense error Intervention required: open bin exit tray Intervention required: printer cover open Intervention required: open cover Intervention required:...
Page 157
Table 3-14: PJL Message for Attendance Conditions Printer State Intervention required: print cartridge missing Intervention required: paper jam Intervention required: check tray connection Intervention required: install tray x or cancel job Intervention required: envelope feeder detached Intervention required: multipurpose feeder detached Intervention required: install envelope feeder or cancel job Intervention required:...
Operator Intervention - Paper Handling When a Load <tray>, Load Manual, control panel display or through MarkVision Professional, a message is returned to the host computer indicating the paper source and size for the prompt. Attendance (operator intervention) messages are returned in this form: CODE=status code DISPLAY=display string (in double quotes) ONLINE=online status...
Page 161
Table 3-15: PJL Messages for Paper Handling Printer State Intervention required: load manual request Intervention required: change request Intevention required: insert duplex pages & press Go. Intervention required: insert tray request x represents an input source code. For more information, see “Table 3-16: Tray Values” on page 3-65. yy represents a media size code.
Page 162
Table 3-17: Media Size Values YY Value Media Size A4 Paper Executive Paper 11 x 17 (Ledger) Com 10 Envelope 7 3/4 Envelope (Monarch) C5 Envelope DL Envelope JIS B4 JIS B5 Paper B5 Envelope Custom Media A3+, JB4 Paper (Model specific) JB5 Paper JPostcard...
Table 3-18: Output Bin Values WW Value Operator Intervention - Paper Jams When a <#> Paper Jam through MarkVision Professional, a message is returned to the host computer indicating the type and location for the prompt. Attendance (operator intervention) messages are returned in this form: CODE=status code DISPLAY=display string (in double quotes) ONLINE=online status...
Page 164
Table 3-19: PJL Messages for Paper Jams (Continued) Printer State Intervention required: paper jam Intervention required: paper jam Intervention required: paper jam Intervention required: paper jam Intervention required: paper jam Intervention required: paper jam Intervention required: paper jam Intervention required: paper jam Intervention required: paper jam...
Page 165
Table 3-19: PJL Messages for Paper Jams (Continued) Printer State Intervention required: paper jam Intervention required: paper jam Intervention required: paper jam Intervention required: paper jam Intervention required: paper jam Intervention required: paper jam Intervention required: paper jam Intervention required: paper jam Intervention required: paper jam...
Page 166
Table 3-19: PJL Messages for Paper Jams (Continued) Printer State Intervention required: paper jam Intervention required: paper jam Intervention required: paper jam Intervention required: paper jam Intervention required: paper jam Intervention required: paper jam Intervention required: paper jam Intervention required: paper jam Intervention required: paper jam...
Table 3-19: PJL Messages for Paper Jams (Continued) Printer State Intervention required: paper jam Intervention required: paper jam Intervention required: paper jam Intervention required: paper jam Intervention required: paper jam Intervention required: paper jam Intervention required: paper jam Intervention required: paper jam Intervention required: paper jam...
Device Attendance Commands To determine which commands your printer supports, see “Table B-15: Device Attendance Messages” on page B-30. RDYMSG Command The RDYMSG command is used to specify a message that appears on the first line of the printer control panel display or through MarkVision Professional whenever the printer is ONLINE (in the Ready Busy...
Page 169
STMSG Command When a STMSG command is received, the message appears and is allotted both lines of the display. The printer is taken OFFLINE. This message, along with the OPMSG command, is the lowest priority, so if another intervention occurs, it displays instead. Note: See your printer documentation for information about how to return your printer to the ONLINE state.
Unique PJL Commands To determine which commands your printer supports, see “Table B-16: Lexmark Unique PJL Commands” on page B-30. LBEEP Command This command causes the printer to beep three times. Syntax: @PJL LBEEP[<CR>]<LF> LPORTROTATE Command This command causes the printer to rotate ports at the next job boundary. The information to rotate ports is specified in the job header.
Page 171
LPRINT Commands (Information Pages) Use these commands to print one of the internal information pages. @PJL testpage[<CR>]<LF> The supported values are listed in the following table. testpage Table 3-20: LPRINT testpage Commands testpage Value Description LPRINTDIRECTORY Prints both the flash and disk directory listings. If neither flash memory or a disk is installed, the command is ignored.
Page 172
parameter PORT The following ports are valid parameters for LESCAPECHAR: • INA • INA1 • INA2 • INA3 • LOCALTALK1 • LOCALTALK2 • LOCALTALK3 LFAX PHONENUMBER Command This command tells the printer that the output resulting from the current job is being sent to the fax processing device instead of to the printer.
Page 173
Syntax: @PJL LFAX PHONENUMBER=“number” [STATIONID=“station name”][<CR>]<LF> PHONENUMBER=“number” The PHONENUMBER parameter is a text string up to 60 characters long. If an unsupported character is supplied in the PHONENUMBER parameter, the entire LFAX PHONENUMBER command is ignored. Table 3-21: LFAX PHONENUMBER “number” Values Character 0 - 9 DTMF...
LDOWNLOADTARGET Command This command specifies which device is the target for downloaded files. The target can be RAM, flash, or disk. Syntax: @PJL SET LDOWNLOADTARGET=variable [<CR>]<LF> File Commands for Flash or Disk Use the following commands to manage resources on flash and disk devices: •...
Page 175
Table 3-22 lists the parameters used with most of the commands. Additional parameters are noted in the description of each command. Table 3-22: Variables for Flash and Disk File and Password Commands Parameter Syntax accesstype accesstype ACCESS = bytecount bytecount LENGTH = 3-79 Description...
Page 176
Table 3-22: Variables for Flash and Disk File and Password Commands (Continued) Parameter Syntax filedevice filedevice DEVICE = flashdevice flashdevice DEVICE = filename FILENAME = "fname" OLDFILENAME = "fname" NEWFILENAME = "fname" 3-80 Description File storage media. Case insensitive. flash flash1 disk disk1...
Page 177
Table 3-22: Variables for Flash and Disk File and Password Commands (Continued) Parameter Syntax location location START = Note: If PostScript emulation is used to create the file on the device, it may automatically attach a Extensions” on page 6-10 for more information. For example, if downloaded to flash through PostScript emulation, the commands is LOPENFILE Command...
Page 178
LREADFILE Command Use this command to read data from a file on a storage device. Syntax: @PJL LREADFILE DEVICE = filedevice FILENAME = "fname" [START = location] [LENGTH = bytecount][<CR>]<LF> Response Syntax: @PJL LREADFILE DEVICE = filedevice FILENAME = "fname" START = location LENGTH = bytecount<CR><LF>...
Page 179
LWRITEFILE Command Use this command to write data to a file on a storage device. Syntax: @PJL LWRITEFILE DEVICE = filedevice FILENAME = "fname" [START = location] [LENGTH = bytecount][<CR>]<LF><data> [@PJL END DATA][<CR>]<LF> Notes: • The file must be closed using the LCLOSEFILE command once all operations are complete.
Page 180
LRENAMEFILE Command Use this command to rename a file on a storage device. The command is ignored if the file name specified as OLDFILENAME does not exist on the device, or if the file name specified as NEWFILENAME already exists on the device. Syntax: @PJL LRENAMEFILE DEVICE = filedevice OLDFILENAME = "fname"...
File and Device Protection Commands The following information applies to password protection. • You can set both read/write and write passwords for a resource. If both passwords are set, the read/write password has precedence over the write password. • If you attempt to password protect a non-existing resource, the PJL interpreter will return a warning (CODE = 25001).
Page 182
Syntax: @PJL DEFAULT LRESOURCE:"device:filename.filetype" LRWLOCK="password"[<CR>]<LF> @PJL DEFAULT LRESOURCE:"device:filename.filetype" LWLOCK="password"[<CR>]<LF> The file name used depends on whether you wish to put a password on a font or a macro. The file name for a font is a five digit ID from the print directory page (add zeros to the left of the ID to fill the five digits) followed by a three digit instance number.
Unlocking a Protected File or Device Use the LDECLARE command to specify a password so a protected file or device may be accessed or “unlocked.” The LDECLARE command is only allowed within a JOB/ EOJ combination. LRWLOCK with LDECLARE specified unlocks a file or device for reading and writing. LWLOCK with LDECLARE specified unlocks a file or device for writing only.
Re-Locking a Protected File or Device Use the LDELETEPASSWORD command to re-lock a password-protected file or device that has been unlocked using the LDECLARE command. If an LRESOURCE is not specified, all unlocked files or devices are re-locked. Syntax: @PJL LDELETEPASSWORD [LRESOURCE : "device:filename.filetype"][<CR>]<LF> LRESOURCE : "device:filename.filetype"...
Unlocking a Protected File or Device for the Current Job The file or device unlocked by the execution of this command is automatically re-locked upon execution of the EOJ command or by a printer language change. Syntax: @PJL LDECLARE LRESOURCE : "device:filename.filetype" LRWLOCKJ = "password"[<CR>]<LF>...
Send the @PJL LBYPASSPASSWORD command to the printer by any port. If the correct The directory indicates the appropriate passwords for the flash or disk. 3-90 from the Lexmark Customer Support Center. is specified, a modified version of the directory is produced.
CHAPTER 4: PostScript Emulation This section explains PostScript emulation supplemental operators in detail. For more information, refer to the PostScript Language Reference Manual (Third Edition) by Adobe Systems, Inc. To determine which commands your printer supports, see Appendix C: “PostScript Support”...
8.5 x 14.0 612 x 1020 ✘ 11.7 x 17 842 x 1224 ✘ 12.6 x 22 908 x 1584 ✘ 11.7 x 36 842 x 2592 PostScript X940e, X945e ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✘ ✓...
Page 189
currentuniversalsize — currentuniversalsize integer integer integer (string) Queries the current settings for the Universal paper size. Three are returned on the stack: string Universal Width Universal Height Universal Feed Direction Custom Universal Prompt String Error: stackoverflow ignoresize — ignoresize integer Queries whether text is being oriented based on page size.
setuniversalsize — integer integer integer (string) setuniversalsize Changes the current settings for the Universal paper size. Each parameter on the stack indicates: Universal Width Universal Height Universal Feed Direction Custom Universal Prompt String Error: rangecheck, stackunderflow, typecheck Paper Tray Support When the printer receives one of the operators listed in “Table 4-2: Tray Selected with Tray Operators”...
Page 191
• If the requested media size is not found by the previous search, the following search order is used: – Tray 1 – Tray 2 – Tray 3 – Multipurpose Feeder – Tray 4 – Tray 5 • If the requested size cannot be located in any automatic source, a configurationerror is issued and the job is flushed.
Page 192
11x17tray tray with 11 x 17-size paper PostScript Printer Models X940e, C935 X945e ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓...
Page 193
manualfeed /manualfeed boolean def Indicates in statusdict if a manual feed source has been selected. The Boolean value can be: prints from a manual feed source (default) true prints from an automatic feed source false This Boolean key can be redefined to affect manual feed for the current job. If the value of the manualfeed operator or the ManualFeed page device parameter is when showpage or copypage is executed, the page is fed...
Page 194
setpapertray setpapertray — integer Changes the active paper source for the next page through the end of job by setting the PageSize entry in the page device to the size loaded in the selected source and by setting MediaPosition to the selected source. This operator executes a setpagedevice.
6.38 x 9.01 [459 649] 176 x 250 6.93 x 9.84 [499 708] 296.93 x 427.48 11.69 x 16.83 [841 842] Other [612 996] PostScript Printer Models X940e, C935 X945e ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓...
Page 196
Duplexing is not supported on any envelope size. If duplex printing is requested and one of the envelope size operators is sent to the printer, duplexing is suspended until a paper size is requested that is supported for duplex printing. 4-10 PostScript Printer Models X940e, C935 X945e ✓ ✓ ✓ ✓...
Envelope Tray Support If manualfeed in statusdict and the ManualFeed page device parameter are when the printer receives one of the envelopetray operators listed in “Table 4-5: Envelopetray Operator Selections” on page 4-12, the printer: • Sets the PageSize Policy to 0. •...
Page 198
3.875 x 8.875 size envelopes 4.125x9.5envelopetray tray with 4.125 x 9.5 size envelopes com10envelopetray tray with 4.125 x 9.5 size envelopes otherenvelopetray tray with other size envelopes 4-12 PostScript Printer Models X940e, C935 X945e ✓ ✓ ✓ ✓ ✓ ✓ ✓...
Supplemental Operator Summary To determine which operators your printer supports, see Table C-1 on page C-1. appletalktype — appletalktype (string) In statusdict, this string reflects the current value of the LocalTalkType device parameter from the %LocalTalk% device. The default change the type portion (appletalktype) of the AppleTalk network name and redefine the string, execute the following: /appletalktype When you redefine a string inside the normal server loop, it is reset to the default...
Page 200
checkpassword checkpassword or integer checkpassword (string) Checks the passwords for both the SystemParamsPassword system parameter and the StartJobPassword system parameter stored in the printer. If the form is used, the integer is converted into a string before the integer password check occurs. A Boolean is returned on the stack to indicate if the specified password matches either password.
Page 201
defaulttimeouts — defaulttimeouts job manualfeed wait Queries the user default settings of all timeouts. Three integers are returned on the stack: • JobTimeout system parameter disabled (default) seconds 15...65535 • ManualFeedTimeout page device parameter disabled seconds (default is device dependent) 1...65535 To find the default for your printer, see Table C-2 on page C-4.
Page 202
devcontrol devcontrol boolean string integer Allows a host computer utility to manage resources on the flash or disk. It requires a string device name parameter, an integer command name parameter, and two command argument parameters. The device control operator performs a specified command on the specified device.
Page 203
Table 4-7: Unsuccessful devcontrol Parameter Error Codes Code Meaning File system access has not been initialized Could not allocate file descriptor Some invalid argument was passed No such device Invalid access to file requested Argument too large (file name, buffer) Invalid file descriptor or file name Catch all error or device error Unable to allocate memory for buffer, data structure...
Page 204
devforall devforall — proc scratchstring Executes the specified procedure for each storage device after pushing a proc substring on the stack that is the portion of the scratch string containing the device name. This operator is in systemdict. Errors: invalidaccess, rangecheck, stackoverflow, stackunderflow, typecheck, undefined devformat devformat —...
Page 205
devmount devmount boolean device Sets the Mounted device parameter for the specified device to returns the value of the Mounted device parameter for the specified device. This operator is in systemdict. The Boolean values indicate: device successfully mounted, or was already mounted true device not mounted false...
Page 206
mounted , if the device is mounted. This value is the same as the Mounted true device parameter from the specified IODevice. removable , if the device is removable and must be mounted before it is true referenced. This value is the same as the Removable device parameter from the specified IODevice.
Page 207
diskstatus — diskstatus free logicalsize Returns on the stack the following two integers: • Number of pages that are free on the optional disk. The value of the Free device parameter from the %disk1% IODevice. • Total number of pages (1024 bytes) that are on the optional disk. The value of the LogicalSize device parameter from the %disk1% IODevice.
Page 208
dojamrecovery — dojamrecovery boolean Queries the user default setting of the Jam Recovery menu item. A Boolean value is returned on the stack: reprint jammed page (Jam Recovery is set to On) (default) true do not reprint jammed page (Jam Recovery is set to Off) false This operator is equivalent to executing the following PostScript emulation sequence:...
Page 209
dostartpage — dostartpage boolean Returns a Boolean with the same value as the system parameter DoStartPage. The DoStartPage system parameter must be present for the compatibility operator dostartpage to be present. Error: stackoverflow dosysstart — dosysstart boolean Returns the current value of the StartupMode system parameter. A Boolean value is returned: StartupMode set to 1 or 11 true...
Page 210
duplexmode — duplexmode boolean Queries the current value for the Duplex page device parameter. printing mode is duplex true printing mode is simplex false Note: For printers that do not support duplexing, this value is always This operator is equivalent to executing the following PostScript emulation sequence: currentpagedevice /Duplex get Error: stackoverflow...
Page 211
file file file filename access Creates a file object with specified file name and access. The open the file for reading only create a file if one does not already exist, or truncate and overwrite it if it does exist. File is opened for writing only. create a file if one does not already exist or append it if it does exist.
Page 212
firstside — firstside boolean Indicates whether the current imaging area is on the front side of the page. front side is currently being imaged true back side is currently being imaged false Error: stackoverflow fontnonzerowinding — boolean fontnonzerowinding Sets the winding rule for Type 1 fonts. No query operation is performed since the winding rule is reset to at the beginning of each print job.
Page 213
ignoresize See page 4-3. initializedisk pages action initializedisk — Initializes the disk with the page count and action as integer arguments. The arguments set the (%disk1%) IO device parameters as follows: • LogicalSize parameter is set to • If a value of 0 is set as pages •...
Page 214
jobsource — jobsource (string) Indicates the current value of the CurInputDevice system parameter. A string is returned on the stack indicating the job source. Valid values are: %LocalTalk% %IR_B% %SerialA% %IR_C% %SerialB% %IR_D% %SerialC% %USB_A% %SerialD% %USB_B% %ParallelA% %USB_C% %ParallelB% %USB_D% %ParallelC% %EtherTalkB%...
Page 215
manualfeed See page 4-7. manualfeedtimeout /manualfeedtimeout integer def Is an integer key in statusdict that works with the ManualFeedTimeout page device parameter to determine the manualfeed timeout for a given page. If during a print job, manualfeedtimeout statusdict, that value is used instead of the ManualFeedTimeout page device parameter.
Page 216
pagecount — pagecount integer Queries the value of the PageCount system parameter. An integer is returned on the stack indicating the current page count. This operator is equivalent to executing the following PostScript emulation sequence: currentsystemparams /PageCount get Error: stackoverflow pagesprinted - pagesprinted Queries the number of pages of the current job submitted by the PostScript...
Page 217
product — product (string) Queries the name of the product that is defined in statusdict. A string is returned on the stack indicating the name of the product. The product string in systemdict cannot be changed. To change this product string in statusdict: /product (string) Error: stackoverflow...
Page 218
quiet — quiet integer Queries the PowerSave page device parameter. An integer is returned on the stack: Power Saver is Off (Model specific) 1 to 240 Number of minutes elapsed after last page prints before Power Saver is invoked. Power Saver reduces power consumption when the printer is idle. When enabled, it takes longer to print the first page after the printer has been idle.
Page 219
realformat — realformat boolean Returns a Boolean with the same value as the RealFormat system parameter. It indicates the printer microprocessor native real number representation. A query determines if the printer real number representation matches the application real number representation and compensates if necessary. Error: stackoverflow renamefile renamefile...
Page 220
revision — revision integer Queries the Revision system parameter. An integer is returned on the stack to indicate the revision level. Error: stackoverflow sccinteractive sccinteractive baud options channel Provides for parsing compatibility purposes. A value of Errors: invalidaccess, rangecheck, stackoverflow, stackunderflow, typecheck 4-34 PostScript...
Page 221
sccbatch sccbatch baud option channel Returns the user default settings for serial communication parameters. has the following valid integer values: channel If only one serial interface port is available on the printer, both the same values. Baud and option values are returned on the stack. returns the value of the Baud menu item.
Page 222
setcoverpage setcoverpage — boolean Specifies a cover page for a fax job. The default value is values indicate: boolean the current page that is processing is moved to the first page of the true current fax job the current page that is processing is unaffected false Errors: stackunderflow, typecheck setdefaulttimeouts...
Page 223
setdojamrecovery setdojamrecovery — boolean Changes the user default setting of the Jam Recovery menu item. The changes are not effective until the end of the print job. values indicate: boolean reprint jammed page (Jam Recovery is set to On) true do not reprint jammed page (Jam Recovery is set to Off or Auto false [model dependent])
Page 224
setdoret setdoret — integer Changes the PQET setting for the next page through the end of the print job. The integer values allowed are: turn PQET Off turn PQET On turn PQET On turn PQET On turn PQET On The value you select for PQET returns to the user default setting when the print job is finished.
Page 225
setdosysstart setdosysstart — boolean Modifies the value of the StartupMode system parameter. StartupMode set to 1 true StartupMode set to 0 (default) false • If , the printer executes a Sys/Start file from flash or disk when the true PostScript emulation interpreter is initialized. If no flash or disk is installed, no action occurs.
Page 226
setenginesync setenginesync — boolean Changes the setting that indicates whether the printer waits for the last page of a job to print before returning a Ctrl-D to the host computer. The Boolean values indicate: printer waits for the last page of the job to print true printer does not wait for the last page of the job to print false...
Page 227
setfileposition setfileposition file position Moves the read pointer in an open file to the new specified file position. This is defined as the number of bytes from the start of the file. The next read operation starts at the new file position. This operator is in systemdict. Errors: ioerror, stackunderflow, typecheck, undefinedfilename Note: An undefinedfilename error occurs if the file does not exist.
Page 228
setjobtimeout setjobtimeout — integer Changes the value of the JobTimeout user parameter for the next page through the end of the print job. Valid integers are: disabled seconds 15...65355 The value returns to the JobTimeout system parameter setting at the end of the print job.
Page 229
setprintername setprintername — string Changes the PrinterName system parameter to the value of the string value can be any string up to 32 characters. This operator is equivalent to executing the following PostScript emulation sequence: << /PrinterName (string) Errors: invalidaccess, limitcheck, stackunderflow, typecheck setquiet integer setquiet —...
Page 230
setresolution setresolution — integer Changes the resolution for the current print job and discards unprinted data. See your printer documentation for a list of supported resolutions. The following integers are valid: 300 dpi is set to On 600 dpi is set to On 1200 dpi is set to On 1200 Notes:...
Page 231
setsccinteractive setsccinteractive channel baud options Supports compatibility with the IBM LaserPrinters 4019, 4029, and 4039. It is parsed, and three integers are removed from the stack and discarded. Errors: invalidaccess, rangecheck, stackunderflow, typecheck setsoftwareiomode setsoftwareiomode — integer Supports compatibility with the IBM LaserPrinters 4019, 4029, and 4039. It is parsed, and an integer is removed from the stack and discarded.
Page 232
setuserdiskpercent setuserdiskpercent — integer Removes an integer from the stack and discards it. Errors: stackunderflow, rangecheck, invalidaccess, typecheck softwareiomode — softwareiomode 0 Supports compatibility with the IBM LaserPrinters 4019, 4029, and 4039. It is parsed and returns a (zero, Binary Mode Off) on the stack. Software IO mode defines the data stream you are using.
Page 233
userdiskpercent — userdiskpercent 0 Returns a (zero) on the stack. Errors: stackoverflow, invalidaccess waittimeout — waittimeout integer Queries the current value for the WaitTimeout user parameter. An integer is returned on the stack: disabled seconds 15...65355 This operator is equivalent to executing the following PostScript emulation sequence: currentuserparams /WaitTimeout get Error: stackoverflow...
Page Device Parameters In addition to the page device parameters described in Section 4.11 of the PostScript Language Reference Manual (Third Edition) by Adobe Systems, Inc., the following page device parameters are used by setpagedevice and currentpagedevice. Certain parameters, such as Policies, Priority, and ManualFeed are listed here since more information about the parameters is given in Table 4-8 than in the PostScript Language Reference Manual (Third Edition) by Adobe Systems, Inc.
Page 235
Optra C710, Optra M410, Optra T family, and Optra W810. PictureGrade is an integer that provides compatibility with previous Lexmark printer drivers. PictureGrade works in conjunction with Screening. If Screening is set to None or PictureGrade, the values for PictureGrade affect...
Page 236
Table 4-8: Page Device Parameters (Continued) Type DeviceRenderingInfo dictionary (continued) 4-50 Definition AutoMediaType is a Boolean that controls the MediaType entries in the InputAttributes dictionary in the pagedevice dictionary. True MediaType entries in the InputAttributes dictionaries cannot be modified by the user. The values are confined to values known by the printer operating system.
Page 237
Table 4-8: Page Device Parameters (Continued) Type DeviceRenderingInfo dictionary (continued) Duplex Boolean EndPage procedure ExitJamRecovery Boolean HWResolution integer 4-51 Definition Type is a constant value. To find the value of Type for your printer, see Table C-2 on page C-4. ColorCorrection is a null, string, or name object that controls the appearance of colors.
Page 238
Table 4-8: Page Device Parameters (Continued) Type ImagingBBox array or null InputAttributes dictionary 4-52 Definition Defines a rectangle that lies within the boundaries of the page specified by PageSize. ImagingBBox may be either a value of null or an array of four numbers. A value of null indicates the bounding box is the largest imageable area possible for a given page size.
Page 239
Table 4-8: Page Device Parameters (Continued) Type InputAttributes dictionary (continued) Install procedure integer 4-53 Definition Mode is a key within the InputAttributes dictionary, and its value is a name that determines the mapping of the physical input sources to the input sources listed in InputAttributes.
Page 240
Table 4-8: Page Device Parameters (Continued) Type ManualFeed Boolean ManualFeedTimeout integer MediaColor string name or null MediaPosition integer MediaType string name or null MediaWeight integer or null NumCopies integer or null Boolean 4-54 Definition Indicates if the current (or active) source is a manual source. The following values are supported: True Manual feed...
Page 241
Table 4-8: Page Device Parameters (Continued) Type NupDetails dictionary 4-55 Definition Describes the specific actions performed when the Nup function is active. Rows is an integer that specifies the number of rows to print on a portrait-oriented page. Columns is an integer that specifies the number of columns to print on a portrait- oriented page.
Page 242
Table 4-8: Page Device Parameters (Continued) Type NupDetails dictionary (continued) 4-56 Definition Border specifies the type of border to draw around the individual Nup pages. Supported values are: No border A solid black line Order is an integer that specifies how the Nup pages are placed on the printed page.
Page 243
Table 4-8: Page Device Parameters (Continued) Type OutputAttributes dictionary OutputPage Boolean OutputType string PageDeviceName string name or null 4-57 Definition Contains information about the output bin targets. There is a numeric key, which is a dictionary, for each installed output bin. OutputType and OutputLocation are the allowable keys in each output dictionary.
Page 244
Table 4-8: Page Device Parameters (Continued) Type PageSize array Policies dictionary PostRenderingEnhance Boolean 4-58 Definition Specifies the size (width and height) of the current page in 1/72 inch units. A value of [0 0] is assumed to be the lower left corner of the physical page and [width height] is the upper right corner.
Page 245
Table 4-8: Page Device Parameters (Continued) Type PostRenderingEnhance dictionary Details PowerSave integer ProcessColorModel name or string Punch integer SlipSheet integer 4-59 Definition Describes enhancements that are made to the output after the page has been held in memory. REValue is an integer that specifies the current value of the PQET menu item. Supported values are: PQET is Off.
Page 246
Table 4-8: Page Device Parameters (Continued) Type SlipSheetDetails dictionary Staple integer TraySwitch Boolean 4-60 Definition Specifies the following two unique separator sheet parameters: SlipSheetSource and Type. SlipSheetSource is an integer type parameter which identifies the source used for separator sheets. Supported values are: Null Use current source (default) Tray 1...
Page 247
Table 4-8: Page Device Parameters (Continued) Type Tumble Boolean UniversalDetails dictionary 4-61 Definition Indicates the orientation of the second side of a duplexed page with respect to the first side. Supported values are: True Causes pages to print as if they are to be bound across the top of the page (image is rotated 180 °...
Interpreter Parameters This section describes the PostScript emulation interpreter parameters. There are three types of interpreter parameters: • User parameters • System parameters • Device parameters To determine which parameters your printer supports, see Appendix C: “PostScript Support” on page C-1. User Parameters The following user parameters are used by setuserparams and currentuserparams.
Page 249
Table 4-9: PostScript Emulation User Parameters (Continued) Type HalftoneMode integer IdiomRegnition Boolean JobName string JobTimeout integer MaxDictStack integer MaxExecStack integer MaxFontItem integer MaxFormItem integer MaxLocalVM integer 4-63 Definition Affects the results of subsequent halftone setting operators such as setscreen, setcolorscreen, and sethalftone. The HalftoneMode parameter has no effect on the current halftone.
Page 250
Table 4-9: PostScript Emulation User Parameters (Continued) Type MaxOpStack integer MaxPatternItem integer MaxScreenItem integer MaxSuperScreen integer MaxUPathItem integer MinFontCompress integer PageCount integer UseOldcopypage Boolean VMReclaim integer VMThreshold integer WaitTimeout integer 4-64 Definition Maximum elements in the operand stack. Legal value: Any integer greater than or equal to 75. Maximum bytes occupied by a single cached pattern.
CurFormCache integer These parameters are Lexmark-specific and are in addition to the Adobe PostScript Language Supplement 2016. These parameters are available with the Adobe PostScript Language Supplement 3010. These parameters are Lexmark-specific and are in addition to the Adobe PostScript Language Supplement 3010.
Page 252
DisableFastProcs integer These parameters are Lexmark-specific and are in addition to the Adobe PostScript Language Supplement 2016. These parameters are available with the Adobe PostScript Language Supplement 3010. These parameters are Lexmark-specific and are in addition to the Adobe PostScript Language Supplement 3010.
Page 253
GenericResourcePathSep string These parameters are Lexmark-specific and are in addition to the Adobe PostScript Language Supplement 2016. These parameters are available with the Adobe PostScript Language Supplement 3010. These parameters are Lexmark-specific and are in addition to the Adobe PostScript Language Supplement 3010.
Page 254
MaxScreenStorage integer These parameters are Lexmark-specific and are in addition to the Adobe PostScript Language Supplement 2016. These parameters are available with the Adobe PostScript Language Supplement 3010. These parameters are Lexmark-specific and are in addition to the Adobe PostScript Language Supplement 3010.
Page 255
StaticRamSize integer These parameters are Lexmark-specific and are in addition to the Adobe PostScript Language Supplement 2016. These parameters are available with the Adobe PostScript Language Supplement 3010. These parameters are Lexmark-specific and are in addition to the Adobe PostScript Language Supplement 3010.
Page 256
WaitTimeout integer These parameters are Lexmark-specific and are in addition to the Adobe PostScript Language Supplement 2016. These parameters are available with the Adobe PostScript Language Supplement 3010. These parameters are Lexmark-specific and are in addition to the Adobe PostScript Language Supplement 3010.
Device Parameters The currentdevparams operator returns a dictionary of the current values of the system parameters. The setdevparams operator sets the values of the specified device parameters. • This operator requires a password if one is set. • Values supplied to setdevparams that are outside the range or limits for the specified integer parameter do not cause rangecheck or limitcheck errors.
Page 258
Table 4-11: PostScript Emulation Device Parameters Type Definition Device Parameters for the Communication Device %Parallel%, %ParallelA%, %ParallelB%, %ParallelC%, %ParallelD% (%Parallel_NV% and %Parallel_Pending% contain the same parameters) DelayedOutputClose Boolean Selects how the printer manages the port at the end of each print job. Supported values are: True False...
Page 259
Table 4-11: PostScript Emulation Device Parameters (Continued) Type Definition PortLocation string (Read-only) Designates the physical location of the port related to the parameter set. Supported values are: Standard Port Option Slot 1 Option Slot 2 Option Slot 3 Option Slot 4 PSSmartSwitch Boolean Supported values are:...
Page 260
Table 4-11: PostScript Emulation Device Parameters (Continued) Type Definition HasNames Boolean (Read-only) Always returns False. HonorDSR Boolean Serial - Honor DSR. Supported values are: True False Interpreter name (Read-only) Supported values are: PostScript AutoSelect PPDS Boolean Designates if the communication channel is On and able to receive and send data. Supported values are: True False...
Page 261
Table 4-11: PostScript Emulation Device Parameters (Continued) Type Definition SerialMode name Designates the serial communication configuration: RS232C or RS422. Returns the value of the Serial RS-232/RS-422 menu item. Supported values are: RS232 RS422 Returns RS232 on a printer that is attached with a cable that does not support RS-422. StopBits integer (Read-only)
Page 262
Table 4-11: PostScript Emulation Device Parameters (Continued) Type Definition NodeID integer (Read-only) Boolean Designates if the communication channel is On and able to receive and send data. Supported values are: True False PCLSmartSwitch Boolean Supported values are: True False For more information, see “Using SmartSwitch” on page 2-1. PortLocation string (Read-only) Designates the physical location of the port related to the parameter set.
Page 263
Table 4-11: PostScript Emulation Device Parameters (Continued) Type Definition EtherTalkType string The “type” of the EtherTalk interface entity name. This parameter also sets the LocalTalkType parameter to the same value. The new value is returned by the appletalktype compatibility operator. Legal value: Any string of 32 or fewer non-null characters.
Page 264
Table 4-11: PostScript Emulation Device Parameters (Continued) Type Definition Device Parameters for the Communication Device %IR%, %IR_A%, %IR_B%, %IR_C%, %IR_D% (%IR_NV% and %IR_Pending% contain the same parameters) DelayedOutputClose Boolean Selects how the printer manages the port at the end of each print job. Supported values are: True False...
Page 265
Table 4-11: PostScript Emulation Device Parameters (Continued) Type Definition Type name (Read-only) Always returns the value of /Communications. Device Parameters for the Communication Device %USB%, %USB_A%, %USB_B%, %USB_C%, %USB_D% (%USB_NV% and %USB_Pending% contain the same parameters) DelayedOutputClose Boolean Selects how the printer manages the port at the end of each print job. Supported values are: True False...
Page 266
Table 4-11: PostScript Emulation Device Parameters (Continued) Type Definition Device Parameters for the Communication Device %TokenTalk%, %TokenTalkA%, %TokenTalkB%, %TokenTalkC%, %TokenTalkD% (%TokenTalk_NV% and %TokenTalk_Pending% contain the same parameters) Address string (Read-only) Bridging name (Read-only) Adaptive DelayedOutputClose Boolean Selects how the printer manages the port at the end of each print job. Supported values are: True False...
Page 267
Table 4-11: PostScript Emulation Device Parameters (Continued) Type Definition PSSmartSwitch Boolean Supported values are: True False For more information, see “Using SmartSwitch” on page 4-1. TokenTalkType string Setting this variable does not affect the value of other physical internal print servers. Note: The statusdict string appletalktype is correct for the current job port.
Page 268
Table 4-11: PostScript Emulation Device Parameters (Continued) Type Definition PortLocation string (Read-only) Designates the physical location of the port related to the parameter set. Supported values are: Standard Port Option Slot 1 Option Slot 2 Option Slot 3 Type name (Read-only) Always returns the value of /Communications.
Page 269
Table 4-11: PostScript Emulation Device Parameters (Continued) Type Definition Type name (Read-only) Always returns the value of /Communications. Device Parameters for the Communication Device %PrintServer%, %PrintServerA%, %PrintServerB%, %PrintServerC%, %PrintServerD% (%PrintServer_NV% and %PrintServer_Pending% contain the same parameters) DelayedOutputClose Boolean Selects how the printer manages the port at the end of each print job. Supported values are: True False...
Page 270
Table 4-11: PostScript Emulation Device Parameters (Continued) Type Definition Device Parameters for the Communication Device %LPR%, %LPR_A%, %LPR_B%, %LPR_C%, %LPR_D% (%LPR_NV% and %LPR_Pending% contain the same parameters) Enabled Boolean (Read-only) Supported values are: True False Filtering name Indicates if the input needs further filtering before the data can be correctly processed. Supported values are: InterpreterBased None...
Page 271
Table 4-11: PostScript Emulation Device Parameters (Continued) Type Definition HasNames Boolean (Read-only) Always returns False. Interpreter name (Read-only) Supported values are: PostScript AutoSelect PPDS Boolean Designates if the communication channel is On and able to receive and send data. Supported values are: True False PortLocation...
Page 272
Table 4-11: PostScript Emulation Device Parameters (Continued) Type Definition Device Parameters for the Parameters Device %EthernetPhysical%, %EthernetPhysicalA%, %EthernetPhysicalB%, %EthernetPhysicalC%, %EthernetPhysicalD% EthernetAddress string (Read-only) Boolean Designates if the communication channel is On and able to receive and send data. Supported values are: True False PortLocation...
Page 273
Table 4-11: PostScript Emulation Device Parameters (Continued) Type Definition Darkness real Print Darkness and Toner Saver Setting Designates the print darkness and toner saver setting (model specific). Legal value: Any non-negative real number from 0.0 to 1.0, inclusive. For queries, the Print Darkness setting is returned as a real value: Print Darkness Setting Lightest...
Page 274
Table 4-11: PostScript Emulation Device Parameters (Continued) Type Definition PageCount integer (Read-only) Page Count TimeToStandby integer Power Saver. Supported values are: 0 to 120, in minutes Type name (Read-only) Always returns the value of /Parameters. Device Parameters for the Parameters Device %Console% Language name Display Language...
Page 275
Table 4-11: PostScript Emulation Device Parameters (Continued) Type Definition InitializeAction integer Specifies an action for initializing the disk. Supported values are: Note: The current file system refers to /FileSystem. See Type as follows for more information. LogicalSize integer Specifies the size of the file system to be created and is as an argument by InitializeAction. •...
Page 276
Table 4-11: PostScript Emulation Device Parameters (Continued) Type Definition HasNames Boolean (Read-only) Indicates if the flash parameter is only valid when flash is mounted (mounted is set to True). If flash is not mounted, the parameter has a value of False. InitializeAction integer Specifies an action for initializing flash:...
Page 277
Table 4-11: PostScript Emulation Device Parameters (Continued) Type Definition Device Parameters for the IODevice %rom% BlockSize integer (Read-only) Free integer (Read-only) Indicates the amount (in pages) of free space available in ROM. Valid only if the ROM is mounted (mounted is set to True). A value of 0 (zero) indicates that either the ROM is not mounted or it is full.
Status and Error Messages Printers return PostScript emulation error messages and status information to the computer through any active interface. To send information to the computer through the parallel interface, configure the interface as bidirectional. Tagged Binary Not Active Your printer responds and processes a Ctrl+T (x'14') command as a status query when: •...
Status Messages Your printer responds to a Ctrl+T (x'14') status query on an interface by sending a one-line status message back to the host computer over the same interface. If the status query is received between print jobs and the printer is idle with no error conditions, an idle response is returned to the host computer.
CHAPTER 5: Switching Languages Your printer may support both PCL emulation and PostScript emulation. See your printer documentation for more information. This chapter describes ways to switch printer languages and explains when you may want to choose one method over another.
Setting SmartSwitch for Different Interfaces You can customize your printer so that particular print jobs are sent to particular interfaces. For example, you may want to send all PostScript emulation jobs to the network interface and all PCL emulation jobs to the parallel interface. You can do so by choosing different languages for each interface from the printer control panel or through MarkVision Professional and setting the selected language to On for the interface you want.
Sniffing Sniffing is: • Enabled when any End-of-Job point occurs. • Disabled when a SIC or PJL command within a valid printer language is received. The printer examines the received data stream, attempts to determine the type of data stream, and automatically switches to the proper language. The printer examines the active printer language and decides when an End-of-Job point occurs.
CHAPTER 6: Flash Memory and Disk Flash memory and disk devices are used to store permanent fonts, macros, and symbol sets. The disk device is also used to buffer print jobs, collate large jobs, and store job statistics. Unlike RAM memory, these devices retain the following information when the printer is powered off, or when the printer switches languages: •...
Resource Data Collection (Download Target) Use the Resource Data Collection (Download Target) mode to save the following information to flash memory or disk: • Permanent bitmapped and scalable fonts for PCL emulation • Permanent macros for PCL emulation macros • Permanent symbol sets for PCL emulation •...
Storing Resources on Flash Memory or Disk Complete the following steps to download resources to flash memory or disk using the printer control panel, MarkVision Professional, or a PJL command: Set the download target to flash memory or disk. Resource Data Collection mode is enabled to the device selected. Download the resources to flash memory or disk using PCL emulation or PostScript emulation.
Page 286
Example of Directory The Directory that prints appears similar to the one below. An explanation of the parts of the Directory follows the example. Optional Font Memory Size 1048576 bytes Part Name: FLASH Part Number: (none) Write password protected =========== =================== 1000 PCL bitmap font...
Page 287
Part Number Part Number as it is stored in the flash memory card header. If the flash memory is formatted by the printer, the part number field is shown as (none). The part number field for the disk is not printed. Write Password Protected Indicates the entire flash memory or disk is write-protected.
Page 288
Type File types that can be stored on flash memory or disk have unique extensions. The following file types are recognized by the flash format used on earlier printer models; the name of the file type printed in the directory appears in parenthesis. .t1 (PostScript font) .sFnt5 (PCL scalable font) .bFnt5 (PCL bitmap font)
Description The description field for fonts comes from the font header. The description field for macros or symbol sets is blank unless the description field in the file header is set by the PJL LRESOURCE command. See “Printer Unique LRESOURCE Variables” on page 3-44.
Memory By using passwords, administrators can ensure data integrity and proper authorization. If flash memory is write password protected, for example, users cannot delete existing files, format the device, or download new files to the device (without first specifying the password). A specific example might be a macro file of an authorizing signature that is stored on flash memory with a Read/Write password.
Accessing Files with PostScript Emulation File Naming Conventions For any PostScript emulation operator that requires a file name parameter, the file name can be one of the following: %device%filename Specifically references a file on a particular device. If the file name does not exist on %device%, no other %device% is accessed for a duplicate file name.
Device names are case sensitive. They must appear exactly as shown. Each device (except the disk) has one synonym. For example, the flash memory can be referred to as This system allows for future expansion of multiple flash memory or disk devices. The disk device name provides for multiple physical units and multiple logical units.
Page 293
The value of this operator adds the extension .data to all file names referenced when using PostScript emulation file operators. To prevent the .data extension from being added, issue the following PostScript emulation command: statusdict begin false setfilenameextend To add the .data extension automatically again, issue: statusdict begin true setfilenameextend The following example shows how to remove a file for the font myfont from the disk.
Device Search Order If you are using the PostScript emulation operators run, file, renamefile, status or eexec, you do not need to specify the device. If you omit the device name, devices are searched in the default order: disk and then flash memory. If the following PostScript emulation code is encountered, (myfile) (w) file the file on disk is used (since disk occurs before flash memory in the default search...
If you do not want a device searched, dismount it and leave it dismounted. Note: Do not leave the ROM device unmounted. All internal fonts are contained on the ROM device. In the previous examples, the devmount, devdismount operators must be used outside the server loop.
For minimum acceptable job buffering performance, the hard disk should be able to read and write files at a sustained rate of 600Kb/sec. The Lexmark hard disk option supports this requirement. Some advantages of job buffering include: • The printer accepts print jobs more quickly.
Disabling Job Buffering When you disable job buffering, it takes effect immediately on the port you disabled. A POR is automatically performed when job buffering is disabled for any port from the printer control panel or through MarkVision Professional, so the unused memory resources can be reallocated.
X940e and X945e high voltage models Using 220-110 power converter with 110 V printer is not recommended. Warning: Lexmark recommends that you do not use voltage converters with printers. Power Requirements The following tables list the nominal average power requirements (including fuser power).
Table 7-4: Lexmark X940e and X945e nominal average power requirement Printing states Average power while printing Base printer All options Average power while idle Power Saver on Power Saver off Max current while printing 100 V 110 V 230 V...
CHAPTER 8: Printer Interfaces Interfaces connect your printer to other devices, such as a computer. Some Lexmark printers have: • standard parallel connector (also referred to as a Centronics-type interface) • parallel interface option • serial connector • serial interface option; network interface, such as a Gigabit network; wireless network, or a fiber-optic network •...
Setting Up the Communications Port You must establish communication between your printer and computer. To do this, you define your communications port in the operating system you are using. Setting Up the Communications Port Do one of the following: For Windows NT 4.0 Click Start, and then click Settings.
Parallel Interface Use the Lexmark 3.04 m (10 ft) parallel cable part number 1021231, or a cable that is IEEE 1284 compliant, to connect your printer to a personal computer or to a host system with a Centronics-compatible parallel port. See your printer documentation for the location of the printer parallel connector.
Note: To reset your printer with an INIT* signal, set Honor Init to On from the printer control panel or through MarkVision Professional. See your printer documentation for more information. Your printer can communicate with a computer across the parallel interface in three ways: Computer to Printer This is typically how a computer and printer communicate.
Using the INIT* Signal to Initialize When the printer is using the parallel interface and it receives an INIT* signal, it initializes as follows (unless INIT* is disabled by a variable default setting): • It prints data received before INIT*, and then initializes. •...
Page 308
20 feet. Cable lengths greater than 20 feet are not supported. The cable drawing to the left is a functional representation of the Lexmark cables; it does not reflect correct pairing of leads or unused pairs.
Page 309
• Uses standard transistor-transistor logic (TTL) levels for all interface control signals and input data. Interface conditions are based on TTL levels. All printer outputs are totem-pole TTL devices. All printer input/output (I/O) are devices with an internal pull-up resistor to 5 V. Rise and fall times of each signal must be less than 1,500 nanoseconds (ns) without slope reversal.
Page 310
Table 8-1 shows all protocol timings in nanoseconds. Table 8-1: Typical Parallel Interface Timings Time Name Data setup to STROBE* low STROBE* width Data hold after STROBE* STROBE* low to BUSY high ACKNLG* low until ACKNLG* high ACKNLG* high to BUSY low BUSY low and ACKNLG* high to STROBE* low Relationship of ACKNLG* and BUSY is not consistent Fastbytes Protocol Data Transfer Sequence...
When queried for its ID, the printer returns the following information: • Manufacturer • Command set • Model of printer The LEXPARAL.EXE file is available from ftp.lexmark.com as /pub/driver/ technical_brief/LEXPARAL.EXE. Use your web browser to access ftp:// ftp.lexmark.com/pub/driver/technical_brief/LEXPARAL.EXE. Interfaces Minimum/Maximum 400 min. 50 min.
You can get IEEE 1284 documentation by calling 1-800-678-IEEE (order number DS02709). Parallel Mode 1 Parallel Mode 1 is a feature available for many Lexmark printers. The factory default setting is On or Off depending on your printer model. See your printer documentation for the factory default for your printer.
Serial Interface The serial interface allows data to flow back and forth between the computer and the printer. However, the serial interface transfers data at a slower rate than the parallel interface. If a serial connector is required, you may be able to install an RS-232C Serial Interface Card, an External Serial Adapter, or an RS-232C Serial/Parallel 1284-C Interface Card.
Page 314
IBM designed 9-pin serial port, use a 9-pin to 25-pin cable, such as IBM Part Number 6450242 (254 mm or 10 in.). Null modem cables, such as Lexmark part number 1038693 [15.24 m (50 ft)], will connect the converter cable to the printer. The illustration below represents the 25-pin connectors for the RS-232C cable (1038693).
Page 315
For additional information, refer to Interface between Data Terminal Equipment and Data Communications Equipment Employing Serial Binary Data Interchange, published by the Electronic Industries Association, publications EIA RS-232C and EIA\TIA-232-E. 8-13 Lexmark 1038693 (50 ft) Shield 25 (M) 25 (F) Interfaces...
Page 316
Serial Data Frame Considerations (RS-232C) The computer sends serial data in data frames (also known as packets). You can create 10-bit, 11-bit, and 12-bit data frames and set the serial data transfer parameter so that each data frame contains 7 or 8 data bits. However, your printer is an 8-bit printer;...
Page 317
Some printers post a 54 Standard Serial Error the number of the serial port) the first time they detect a transmission error (parity, overrun, or framing). The 54 Standard Serial Error reset from the printer control panel or through MarkVision Professional. See your printer documentation for more information.
Page 318
Protocol (RS-232C) Table 8-4 shows the state or function of each serial interface signal in the three data flow control protocols when the Honor DSR setting is On. Table 8-4: Serial Link (All Protocols) with Honor DSR On XON/XOFF Protocol Printer (Honor DSR On) Always active...
Page 319
DTR and DTR/DSR Protocol Timing (RS-232C) Use DTR to pace the data flow from the computer. DTR goes from high to low to indicate to the computer that the printer cannot receive more data when it detects the following BUSY conditions: •...
Page 320
XON/XOFF Protocol Timing (RS-232C) When you select this data flow control protocol, the printer sends an XOFF signal when it detects the following BUSY conditions: • Buffer full • Attendance error • Printer not in ready state The following diagram illustrates XON/XOFF Protocol Timing. Legend: The RTS signal is driven active as long as power is supplied to the printer.
Page 321
Serial Errors The printer places an underscore character in the link buffer when it detects an error. Some printers also display serial errors on the printer control panel or through MarkVision Professional as attendance messages, such as a 54 Serial Option x Error do not generate such an error message are: •...
Windows 95/98/Me/2000, Windows NT 4.0, Windows XP, and Windows Vista: For correct operation of the RS-232C serial interface, while setting up your communications port, make sure you selected Hardware in the Flow Control field. Selecting Hardware sets the communication to DTR protocol. See “Setting Up the Communications Port”...
You may also connect your printer to a LAN by using an external print server. Use Lexmark MarkNet print servers. Note: Network capabilities are standard on some printer models. See your printer documentation for more information. Input Buffer Your printer has an input (link) buffer for each interface. The maximum size of the input buffer depends upon the amount of RAM memory installed.
Page 324
8-22 Interfaces Note: When using serial communication, the printer signals the host computer to stop transmitting bytes when the serial input buffer is within 640 bytes. In addition, when XON/XOFF protocol is used, the printer signals the host computer to stop transmitting when the serial input buffer is 384, 256, and 128 bytes from full.
Page 325
Previous Lexmark printers may have supported the command, so the description is retained in the chapter. If no page number is listed for a command name in the table, then no Lexmark printer supports the command.
Previous Lexmark printers may have supported the command, so the description is retained in the chapter. If no page number is listed for a command name in the table, then no Lexmark printer supports the command.
Page 327
Previous Lexmark printers may have supported the command, so the description is retained in the chapter. If no page number is listed for a command name in the table, then no Lexmark printer supports the command.
Page 328
Previous Lexmark printers may have supported the command, so the description is retained in the chapter. If no page number is listed for a command name in the table, then no Lexmark printer supports the command.
Previous Lexmark printers may have supported the command, so the description is retained in the chapter. If no page number is listed for a command name in the table, then no Lexmark printer supports the command.
Page 330
Previous Lexmark printers may have supported the command, so the description is retained in the chapter. If no page number is listed for a command name in the table, then no Lexmark printer supports the command.
Page 331
Edge Wedge Primary Font Secondary Font Fill Polygon, Odd/Even Fill Polygon, Non-Zero Winding Fill Type Fill Type - 22 PCL Support Printer Model C935dn, C935dtn, Page C935dttn, C935hdn X940e, X945e ✓ 2-76 ✓ 2-78 ✓ 2-77 ✓ 2-76 ✓ 2-76 ✓...
Page 332
Define Raster Fill Rotate Coordinate System Fill Rectangle Relative Arc Relative Three Point Select Alternate Font Scalable/Bitmapped Fonts PCL Support Printer Model C935dn, C935dtn, Page C935dttn, C935hdn X940e, X945e ✓ 2-78 ✓ 2-75 ✓ 2-75 ✓ 2-76 ✓ 2-76 ✓...
Page 333
Screened Vectors - 9, level Transparent Data Threshold Matrix Transparency Mode User Defined Line Fill Wedge Pen Width Units PCL Support Printer Model C935dn, C935dtn, Page C935dttn, C935hdn X940e, X945e ✓ 2-76 ✓ 2-77 ✓ 2-77 ✓ 2-77 ✓ 2-78 ✓...
Page 334
For detailed information about PJL commands, see “Printer Job Language” on page 3-1. All commands may not have a full description. Note: The word common applies to those variables common to both your Lexmark printer and the Hewlett-Packard Company’s LaserJet printers. Table B-1: Common Variables for Both Printer Languages ✓...
Page 347
54 Std Ser Fax Connection Lost 30018 56 Standard Serial Disabled 30018 56 Serial <slot #> Port Disabled 30018 56 Std Parallel Port Disabled PJL Support Printer Model C935dn, C935dtn, C935dttn, X940e, C935hdn X945e ✓ ✓ ✓ ✓ ✓ ✓ ✘ ✘ ✓...
Page 348
62 Disk Full 30036 51 Defective Flash 30036 53 Unformatted Flash 30036 61 Defective Disk 30036 63 Unformatted Disk PJL Support Printer Model C935dn, C935dtn, C935dttn, X940e, C935hdn X945e ✘ ✘ ✘ ✘ ✓ ✓ ✘ ✘ ✘ ✘ ✘...
Page 349
56 USB Port x Disabled 30113 54 Par x ENA Connection Lost 30113 56 Parallel Port x Disabled 32001 Operation Failed Jobs on Disk PJL Support Printer Model C935dn, C935dtn, C935dttn, X940e, C935hdn X945e ✓ ✓ ✓ ✓ ✘ ✘ ✘ ✘ ✘...
Page 350
40038 80 Fuser Life Warning 40038 80 Belt Life Warning 40038 80 Fuser/Belt Life Warning 40038 80 Fuser Exhausted PJL Support Printer Model C935dn, C935dtn, C935dttn, X940e, C935hdn X945e ✘ ✘ ✓ ✓ ✘ ✘ ✘ ✘ ✘ ✘ ✓...
Page 351
Cartridge Life Warning XXXX 3-59 40021 Cover Open, Close Top Covers, Close Door, or Insert Cartridge 3-60 40021 Close Cover PJL Support Printer Model C935dn, C935dtn, C935dttn, X940e, C935hdn X945e ✘ ✘ ✘ ✘ ✘ ✘ Printer Model C935dn, C935dtn, C935dttn,...
Page 352
Change Cartridge Invalid Refill 3-60 40021 Open Cover 3-60 40021 Open Rear Door 3-60 40021 Close Front Door PJL Support Printer Model C935dn, C935dtn, C935dttn, X940e, C935hdn X945e ✘ ✘ ✘ ✘ ✓ ✓ ✘ ✘ ✘ ✘ ✘ ✘...
Page 390
6-2 viewing the contents 6-3 fonts PCL emulation Lexmark C935 2-9 Lexmark X940e 2-9 Lexmark X945e 2-9 printing directory list for flash or disk 3-75, 6-3 saving on flash memory or disk 6-3 setting password protection 3-85...
Page 391
PCL emulation 2-2 paper handling 3-64 paper sizes status message codes 3-65 paper sizes supported Lexmark C935 2-3 Lexmark X940e 2-5 Lexmark X945e 2-5 paper trays PCL emulation paper size 2-55 paper source 2-55 PostScript emulation automatic size sensing search order 4-4...
Page 392
PCL emulation (continued) command structure (continued) linking commands 2-51 parameters 2-50 relative positioning 2-51 syntax 2-50 commands alphabetic 2-53 alphanumeric ID 2-59 color extensions assign color index 2-72 color component one 2-72 color component three 2-72 color component two 2-72 color lookup tables 2-71 configure image data 2-72 driver configuration command 2-71...
Page 393
2-63 symbol set control 2-63 symbol set ID code 2-63 control codes 2-49 font and symbol set support Lexmark C935 2-9 Lexmark X940e 2-9 Lexmark X945e 2-9 GL/2 Language 2-75 linking commands 2-50 paper and envelope dimensions Lexmark C935 2-3...
Page 396
Printer Job Language (PJL) [continued] attendance messages (continued) Close Finisher Side Door 3-60 Close Finisher Top Cover 3-60 Close Front Door 3-60 Close Side Door 3-60 Close Top Covers 3-59 Close Tray x Top Cover 3-60 Cover Open 3-59 Incompatible Duplex 3-63 Incompatible Envelope Feeder 3-63 Incompatible Tray x 3-63 Insert Cartridge 3-59...
Page 397
Printer Job Language (PJL) [continued] attendance messages (continued) paper jams (continued) 290 Paper Jam 3-71 291 Paper Jam 3-71 292 Paper Jam 3-71 293 Paper Jam 3-71 294 Paper Jam 3-71 295 Paper Jam 3-71 Priming Failed. Retry? 3-63 Reattach Bins <bin #x - bin #y> 3-61 Reattach Envelope Feeder 3-61 Reattach MP Feeder 3-61 Reattach Output Bin <bin #>...
Page 402
XON/XOFF 8-18 raster compression mode 2-79 adaptive compression 2-83 delta row 2-82 group 3 and 4 2-84 Lexmark adaptive 2-85 run-length encoded data 2-81 Tagged Image File Format (TIFF) 2-81 uncoded data 2-80 raster image graphics 2-79 required clearance 7-4...
Page 403
symbol sets printing directory list flash memory or disk 6-3 setting password protection 3-85 storing on flash memory or disk 6-3 support ISO fonts 2-31, 2-48 syntax, commands PCL emulation 2-49 Printer Job Language 3-1 test page, printing from PJL flash memory and disk directory 3-75, 6-4 menu settings page 3-75 PostScript emulation font list 3-75...