Printer Languages and Interfaces Technical Reference
Page 1
Printer Languages and Interfaces Technical Reference August 2016 www.lexmark.com
Printer Languages and Interfaces Technical Reference August 2016 www.lexmark.com
Printer Languages and Interfaces Technical Reference
Page 2
...products, programs, or services do not allow disclaimer of Lexmark International, Inc. Any functionally equivalent product, program, or service that the printer emulates the functions corresponding to you. Evaluation and verification of printer commands (language) and functions included in 48 C.F.R. 2.... does not apply to the U.S. Trademarks Lexmark and the Lexmark logo are licensed to any existing intellectual property right may not apply to the commands PostScript is defined in its printer products. Government end users (a) only as...
...products, programs, or services do not allow disclaimer of Lexmark International, Inc. Any functionally equivalent product, program, or service that the printer emulates the functions corresponding to you. Evaluation and verification of printer commands (language) and functions included in 48 C.F.R. 2.... does not apply to the U.S. Trademarks Lexmark and the Lexmark logo are licensed to any existing intellectual property right may not apply to the commands PostScript is defined in its printer products. Government end users (a) only as...
Printer Languages and Interfaces Technical Reference
Page 3
...) emulation 6 Selecting PCL emulation...6 Page formatting...6 Print Area menu...6 Command structure...8 PCL emulation commands...10 GL/2 commands...32 Raster image graphics...34 Creating macros...39 Printer job language 41 PJL command notation...41 Kernel commands...41 Job separation commands...42 Environment commands and variables...43 Status message format...80 Device attendance...
...) emulation 6 Selecting PCL emulation...6 Page formatting...6 Print Area menu...6 Command structure...8 PCL emulation commands...10 GL/2 commands...32 Raster image graphics...34 Creating macros...39 Printer job language 41 PJL command notation...41 Kernel commands...41 Job separation commands...42 Environment commands and variables...43 Status message format...80 Device attendance...
Printer Languages and Interfaces Technical Reference
Page 4
Contents 4 Default printer language for an interface port 124 Flash memory and hard disk 125 Resource data collection (download target 125 Viewing the contents of a flash memory or hard disk 126 Example of directory...126 Password protection...128 Rewriting the flash memory content...128 Accessing files with PostScript emulation 129 Performance...132 Job buffering...132 Printer interfaces 133 Setting up the communications port...133 Choosing an interface...133 Parallel interface...134 Network support...145 Input buffer...145 Index...147
Contents 4 Default printer language for an interface port 124 Flash memory and hard disk 125 Resource data collection (download target 125 Viewing the contents of a flash memory or hard disk 126 Example of directory...126 Password protection...128 Rewriting the flash memory content...128 Accessing files with PostScript emulation 129 Performance...132 Job buffering...132 Printer interfaces 133 Setting up the communications port...133 Choosing an interface...133 Parallel interface...134 Network support...145 Input buffer...145 Index...147
Printer Languages and Interfaces Technical Reference
Page 5
... Language (PCL®) emulation-Provides information on PCL emulation commands and GL/2 commands. • Printer job language-Provides information on commands that allows the printer to enter PCL emulation, PostScript® emulation, and other types of commands. • PostScript ... information on how and when to switch printer languages. • Flash memory and hard disk-Provides information on how to manage the printer memory, store resources, and manage files. • Printer interfaces-Provides information on printer interfaces, including parallel and serial interface, network...
... Language (PCL®) emulation-Provides information on PCL emulation commands and GL/2 commands. • Printer job language-Provides information on commands that allows the printer to enter PCL emulation, PostScript® emulation, and other types of commands. • PostScript ... information on how and when to switch printer languages. • Flash memory and hard disk-Provides information on how to manage the printer memory, store resources, and manage files. • Printer interfaces-Provides information on printer interfaces, including parallel and serial interface, network...
Printer Languages and Interfaces Technical Reference
Page 6
... data, set and the PCL cursor may result to the printer language that the software program sends. Logical page is enabled for both printer languages in which margins may be positioned. Note: The factory default setting for your printer model at http://support.lexmark.com. For more information, see "Kernel commands" on page formatting...
... data, set and the PCL cursor may result to the printer language that the software program sends. Logical page is enabled for both printer languages in which margins may be positioned. Note: The factory default setting for your printer model at http://support.lexmark.com. For more information, see "Kernel commands" on page formatting...
Printer Languages and Interfaces Technical Reference
Page 7
...page, and the image is slightly compressed. Physical Page Edge Formatted Image with Fit to ‑edge printing could contaminate the printer and cause printing problems. Print area setting Description Normal The printable area includes the entire page except the nonprintable area around the ...Affects only the pages that a small border appears at http://support.lexmark.com. The PCL or PostScript emulation formats a page using PCL emulation. The following illustrations show an image held in memory for your printer. When the page prints, the image is available only in memory....
...page, and the image is slightly compressed. Physical Page Edge Formatted Image with Fit to ‑edge printing could contaminate the printer and cause printing problems. Print area setting Description Normal The printable area includes the entire page except the nonprintable area around the ...Affects only the pages that a small border appears at http://support.lexmark.com. The PCL or PostScript emulation formats a page using PCL emulation. The following illustrations show an image held in memory for your printer. When the page prints, the image is available only in memory....
Printer Languages and Interfaces Technical Reference
Page 8
... font Commands PCL emulation commands are multibyte strings (also known as escape sequences) that follow as part of a command and are indicated by a number sign (#). Printer Control Language (PCL) emulation 8 Command structure Control codes Code Dec Hex BS 8 08 HT 9 09 LF 10 0A FF 12 0C CR 13 0D SP... Font Secondary Font Result Moves the cursor toward the left margin Moves the cursor to 47 decimal). The ESC control code notifies the printer to interpret the characters that begin with the Escape control code (ESC, ←, decimal 27, or hexadecimal 1B).
... font Commands PCL emulation commands are multibyte strings (also known as escape sequences) that follow as part of a command and are indicated by a number sign (#). Printer Control Language (PCL) emulation 8 Command structure Control codes Code Dec Hex BS 8 08 HT 9 09 LF 10 0A FF 12 0C CR 13 0D SP... Font Secondary Font Result Moves the cursor toward the left margin Moves the cursor to 47 decimal). The ESC control code notifies the printer to interpret the characters that begin with the Escape control code (ESC, ←, decimal 27, or hexadecimal 1B).
Printer Languages and Interfaces Technical Reference
Page 9
...these guidelines to the current cursor position. To find a hex value, go straight up the grid from 64 to the default values. Printer Control Language (PCL) emulation 9 Element C Description Termination character from ASCII table (ranging from the wanted parameter and read the value in the...value of the cell or box with a different value resets it or until either a different value resets the command or a command resets the printer to 94 decimal). For example, notice that parameter. Follow these two commands, use .) The example on the following page sets the pitch of...
...these guidelines to the current cursor position. To find a hex value, go straight up the grid from 64 to the default values. Printer Control Language (PCL) emulation 9 Element C Description Termination character from ASCII table (ranging from the wanted parameter and read the value in the...value of the cell or box with a different value resets it or until either a different value resets the command or a command resets the printer to 94 decimal). For example, notice that parameter. Follow these two commands, use .) The example on the following page sets the pitch of...
Printer Languages and Interfaces Technical Reference
Page 10
...Number of Copies Where: Affects the page currently in process and subsequent pages. # = number of measure) Command / Parameters Function / Result ESCE Printer Reset • Prints any of collated copies. or short-edge binding refers to the side of the physical page. Range = -32767 to ...64257;rst sides • 101-Manual duplex second sides Simplex/Duplex Print Long- ESC&l#S Assign any partial pages. • Resets printer settings to 32767 Short-Edge Offset Registration Also known as Left Offset, this command adjusts the placement of logical page along the width ...
...Number of Copies Where: Affects the page currently in process and subsequent pages. # = number of measure) Command / Parameters Function / Result ESCE Printer Reset • Prints any of collated copies. or short-edge binding refers to the side of the physical page. Range = -32767 to ...64257;rst sides • 101-Manual duplex second sides Simplex/Duplex Print Long- ESC&l#S Assign any partial pages. • Resets printer settings to 32767 Short-Edge Offset Registration Also known as Left Offset, this command adjusts the placement of logical page along the width ...
Printer Languages and Interfaces Technical Reference
Page 11
... more information, see "Kernel commands" on page 41. ESC% - 12345X Universal Exit Language (UEL) / Start of PJL This command terminates the current printer language and allows switching into PJL. Printer Control Language (PCL) emulation 11 Command / Parameters Function / Result ESC&u#D Unit of Measure Range = (96, 100, 120, 144, 150, 160, 180, 200...
... more information, see "Kernel commands" on page 41. ESC% - 12345X Universal Exit Language (UEL) / Start of PJL This command terminates the current printer language and allows switching into PJL. Printer Control Language (PCL) emulation 11 Command / Parameters Function / Result ESC&u#D Unit of Measure Range = (96, 100, 120, 144, 150, 160, 180, 200...
Printer Languages and Interfaces Technical Reference
Page 12
...the paper, which also determines the logical page dimensions. For more information, see the Technical Reference guide for your printer model at http://support.lexmark.com. Printer Control Language (PCL) emulation 12 PCL emulation commands by function (page size, dimensions, source, margins, spacing, output...order of sources: multipurpose feeder, tray 1, tray 2, tray 3, tray 4, tray 5, and envelope feeder. Notes: • When the printer receives the page size command, any partially formatted pages are printed, and the cursor position and margins are reset. • Duplex printing is...
...the paper, which also determines the logical page dimensions. For more information, see the Technical Reference guide for your printer model at http://support.lexmark.com. Printer Control Language (PCL) emulation 12 PCL emulation commands by function (page size, dimensions, source, margins, spacing, output...order of sources: multipurpose feeder, tray 1, tray 2, tray 3, tray 4, tray 5, and envelope feeder. Notes: • When the printer receives the page size command, any partially formatted pages are printed, and the cursor position and margins are reset. • Duplex printing is...
Printer Languages and Interfaces Technical Reference
Page 13
... as printing Japanese text. ESC&l#O 0-Portrait (Default) 1-Landscape 2-Reverse Portrait 3-Reverse Landscape Select Orientation Specifies the position of the printable area. default setting. Printer Control Language (PCL) emulation 13 Command / Parameters Function / Result ESC&f#F Where: # = number of bytes in the custom name. Set Universal Height ESC&f#O 0-Short-edge 1-Long...
... as printing Japanese text. ESC&l#O 0-Portrait (Default) 1-Landscape 2-Reverse Portrait 3-Reverse Landscape Select Orientation Specifies the position of the printable area. default setting. Printer Control Language (PCL) emulation 13 Command / Parameters Function / Result ESC&f#F Where: # = number of bytes in the custom name. Set Universal Height ESC&f#O 0-Short-edge 1-Long...
Printer Languages and Interfaces Technical Reference
Page 14
... of the current page to the top margin of the following numbers is assigned to the number of 1/120 inch increments. 8 is parsed and ignored. Printer Control Language (PCL) emulation 14 Command / Parameters Function / Result ESC&l1T Job Separation This command is only the width of the space for fixed...
... of the current page to the top margin of the following numbers is assigned to the number of 1/120 inch increments. 8 is parsed and ignored. Printer Control Language (PCL) emulation 14 Command / Parameters Function / Result ESC&l1T Job Separation This command is only the width of the space for fixed...
Printer Languages and Interfaces Technical Reference
Page 15
... is the factory default value. Notes: • This command is sent at six lines per inch. For more information, see the printer User's Guide. • Unsupported values are ignored. • Use of this command alters any printable data. • When the...Enterprise by using the Lines Per Page menu item. Notes: • Unsupported values are ignored. The VMI determines the vertical distance between lines. Printer Control Language (PCL) emulation 15 Command / Parameters Function / Result ESC&l#C Where: # refers to print next when printing in duplex. ESC...
... is the factory default value. Notes: • This command is sent at six lines per inch. For more information, see the printer User's Guide. • Unsupported values are ignored. • Use of this command alters any printable data. • When the...Enterprise by using the Lines Per Page menu item. Notes: • Unsupported values are ignored. The VMI determines the vertical distance between lines. Printer Control Language (PCL) emulation 15 Command / Parameters Function / Result ESC&l#C Where: # refers to print next when printing in duplex. ESC...
Printer Languages and Interfaces Technical Reference
Page 16
... ESC&n#W [operation] [string] Alphanumeric ID Where: Selects the media type using a character string. Horizontal Cursor Position (in columns) Moves the cursor to 511 bytes long. Printer Control Language (PCL) emulation 16 PCL emulation commands by + or - Horizontal Cursor Position (in PCL units) Moves the cursor to select bond paper: ESC&n5WdBond...
... ESC&n#W [operation] [string] Alphanumeric ID Where: Selects the media type using a character string. Horizontal Cursor Position (in columns) Moves the cursor to 511 bytes long. Printer Control Language (PCL) emulation 16 PCL emulation commands by + or - Horizontal Cursor Position (in PCL units) Moves the cursor to select bond paper: ESC&n5WdBond...
Printer Languages and Interfaces Technical Reference
Page 17
...various cursor positions. PCL emulation commands by function (page size, dimensions, source, margins, spacing, output bins)" on page 12, the printer selects the font that best fits the font selected based on the parameters set ID. Notes: • 10U (PC-8) is ...the non‑U.S. sign denotes a relative cursor move from the current cursor position. factory default setting. • 12U (PC-850) is the U.S. Printer Control Language (PCL) emulation 17 Command / Parameters Function / Result ESC&a#R Where: # = number of the current VMI). factory default setting. Vertical Cursor...
...various cursor positions. PCL emulation commands by function (page size, dimensions, source, margins, spacing, output bins)" on page 12, the printer selects the font that best fits the font selected based on the parameters set ID. Notes: • 10U (PC-8) is ...the non‑U.S. sign denotes a relative cursor move from the current cursor position. factory default setting. • 12U (PC-850) is the U.S. Printer Control Language (PCL) emulation 17 Command / Parameters Function / Result ESC&a#R Where: # = number of the current VMI). factory default setting. Vertical Cursor...
Printer Languages and Interfaces Technical Reference
Page 18
... appearance of the font symbols. ESC(s#V (primary) Height (Select Point Size) ESC)s#V (secondary) Sets the font height in the printer. ESC(s#S (primary) ESC)s#S (secondary) 0-Upright (Default) 1-Italic 4-Condensed 5-Condensed Italic 8-Compressed 24-Expanded 32-Outline 64-Inline...ESC(s#H (primary) Select Pitch ESC)s#H (secondary) Selects the number of characters per inch. 10 Note: Pitch is the factory default value. Printer Control Language (PCL) emulation 18 Command / Parameters Function / Result ESC(s#P (primary) ESC)s#P (secondary) 0-Fixed (Default) 1-Proportional Select ...
... appearance of the font symbols. ESC(s#V (primary) Height (Select Point Size) ESC)s#V (secondary) Sets the font height in the printer. ESC(s#S (primary) ESC)s#S (secondary) 0-Upright (Default) 1-Italic 4-Condensed 5-Condensed Italic 8-Compressed 24-Expanded 32-Outline 64-Inline...ESC(s#H (primary) Select Pitch ESC)s#H (secondary) Selects the number of characters per inch. 10 Note: Pitch is the factory default value. Printer Control Language (PCL) emulation 18 Command / Parameters Function / Result ESC(s#P (primary) ESC)s#P (secondary) 0-Fixed (Default) 1-Proportional Select ...
Printer Languages and Interfaces Technical Reference
Page 19
...font ID (0-32767). ESC&d#D 0,1-Fixed 2-Fixed - double Select Underline Type (Enable) • Fixed underline is 1/100 inch. See your printer documentation for downloaded fonts, print the font list from the control # = typeface identifier (0- ESC(s#T (primary) Select Typeface ESC)s#T ...(secondary) Selects the best fit font design. Printer Control Language (PCL) emulation 19 Command / Parameters Function / Result ESC(s#B (primary) ESC)s#B (secondary) -7-Ultra Thin -6-Extra Thin -5-...
...font ID (0-32767). ESC&d#D 0,1-Fixed 2-Fixed - double Select Underline Type (Enable) • Fixed underline is 1/100 inch. See your printer documentation for downloaded fonts, print the font list from the control # = typeface identifier (0- ESC(s#T (primary) Select Typeface ESC)s#T ...(secondary) Selects the best fit font design. Printer Control Language (PCL) emulation 19 Command / Parameters Function / Result ESC(s#B (primary) ESC)s#B (secondary) -7-Ultra Thin -6-Extra Thin -5-...
Printer Languages and Interfaces Technical Reference
Page 20
... (ID) 4-Make current temporary 5-Make current permanent Symbol Set Control Manages user-defined symbol sets. ESC(f#W[data] Where: # = number of data bytes. downloaded. Printer Control Language (PCL) emulation 20 Command / Parameters ESC&d@ ESC&t#P 0, 1-1 byte characters 21-1 or 2 byte characters 31-1 or 2 byte characters 38-1 or 2 byte characters 1008-1, 2, or...
... (ID) 4-Make current temporary 5-Make current permanent Symbol Set Control Manages user-defined symbol sets. ESC(f#W[data] Where: # = number of data bytes. downloaded. Printer Control Language (PCL) emulation 20 Command / Parameters ESC&d@ ESC&t#P 0, 1-1 byte characters 21-1 or 2 byte characters 31-1 or 2 byte characters 38-1 or 2 byte characters 1008-1, 2, or...