HP PCL/PJL reference - PCL 5 Comparison Guide
Page 141
...The replacement byte string (delta compression string) consists of 7 selects the current printer default source. Command Optional Offset Bytes Byte Optional Replacement Count Bytes Data Bytes ENWW Printer-Specific Differences 2-93 This is different than option 0, which continues printing from ...optional sheet feeder and also supports a value of 7 (autoselect). A value of a command byte, optional offset bytes, optional replacement count bytes, and the replacement data. Media Source Command The Paper (Media) Source command (?&l#H) for the DeskJet 1600C uses a value of...
...The replacement byte string (delta compression string) consists of 7 selects the current printer default source. Command Optional Offset Bytes Byte Optional Replacement Count Bytes Data Bytes ENWW Printer-Specific Differences 2-93 This is different than option 0, which continues printing from ...optional sheet feeder and also supports a value of 7 (autoselect). A value of a command byte, optional offset bytes, optional replacement count bytes, and the replacement data. Media Source Command The Paper (Media) Source command (?&l#H) for the DeskJet 1600C uses a value of...
HP PCL/PJL reference - PCL 5 Comparison Guide
Page 142
...parts: Control Bit Offset Count Replacement Count • Control Bit. If the replacement count byte is compressed, and also the bit boundaries of the command byte's other two fields. • Offset Count. The left raster margin...count byte is uncompressed. An offset of the control bit. CONTROL BIT = 0 7 Control Bit = 0 6 32 0 Offset Count Replacement Count If the control bit is 0, the replacement data is 255, another replacement count byte follows. If the replacement count is 7, an additional replacement count byte follows and is added to be replaced. 2-94 Printer...
...parts: Control Bit Offset Count Replacement Count • Control Bit. If the replacement count byte is compressed, and also the bit boundaries of the command byte's other two fields. • Offset Count. The left raster margin...count byte is uncompressed. An offset of the control bit. CONTROL BIT = 0 7 Control Bit = 0 6 32 0 Offset Count Replacement Count If the control bit is 0, the replacement data is 255, another replacement count byte follows. If the replacement count is 7, an additional replacement count byte follows and is added to be replaced. 2-94 Printer...
HP PCL/PJL reference - PCL 5 Comparison Guide
Page 143
CONTROL BIT = 1 7 Control Bit = 1 6 54 0 Offset Count Replacement Count If the control bit is 1, the replacement data is 0: bits 5-6 contain the offset count, and bits 0-4 contain the replacement count. the bit boundaries are different than if the control bit is run length encoded. As when the control bit is 0, optional offset bytes and replacement bytes may be added. ENWW Printer-Specific Differences 2-95
CONTROL BIT = 1 7 Control Bit = 1 6 54 0 Offset Count Replacement Count If the control bit is 1, the replacement data is 0: bits 5-6 contain the offset count, and bits 0-4 contain the replacement count. the bit boundaries are different than if the control bit is run length encoded. As when the control bit is 0, optional offset bytes and replacement bytes may be added. ENWW Printer-Specific Differences 2-95
HP PCL/PJL reference - Printer Job Language Technical Reference Manual
Page 36
...values. 3-6 Using PJL EN Sets an environment variable to a specified value for processing the current job. Each group of commands is complete, resets the page count. Selects a printer language for the duration of jobs. Sets default value for printing portions of a PJL job. Resets current PJL variables to PJL. Tells... of the job, supports non-printing mode for environment variables. Command Groupings by Functionality This manual categorizes the PJL commands into related groups. Informs printer of the start of a print job, resets the page count, allows naming of each.
...values. 3-6 Using PJL EN Sets an environment variable to a specified value for processing the current job. Each group of commands is complete, resets the page count. Selects a printer language for the duration of jobs. Sets default value for printing portions of a PJL job. Resets current PJL variables to PJL. Tells... of the job, supports non-printing mode for environment variables. Command Groupings by Functionality This manual categorizes the PJL commands into related groups. Informs printer of the start of a print job, resets the page count, allows naming of each.
HP PCL/PJL reference - Printer Job Language Technical Reference Manual
Page 37
Returns the portion of the command to send unsolicited status messages for device status changes, end-of printer information, such as printer model number, printer memory available, configuration, page count, status, environment variables, and unsolicited status variables. Turns off all unsolicited status. EN Using PJL 3-7 Requests a specified category of -job status, and pages printed. Command...
Returns the portion of the command to send unsolicited status messages for device status changes, end-of printer information, such as printer model number, printer memory available, configuration, page count, status, environment variables, and unsolicited status variables. Turns off all unsolicited status. EN Using PJL 3-7 Requests a specified category of -job status, and pages printed. Command...
HP PCL/PJL reference - Printer Job Language Technical Reference Manual
Page 52
...displayed using Cyrillic (ISO 8859/5). If LANG is set to display a job message on this printer. This is also true for the HP Color LaserJet 4500 printer, except there is enabled and the printer receives a JOB command, it returns a job status message. they default the print environment to...• DISPLAY="display text " - Comments: When a JOB command is in Latin 5 (ISO 8859/9). Resetting the page count associated with the JOB option. The printer will return DISPLAY LINES = value and DISPLAY CHARACTER SIZE = value as part of characters displayed depends on this job reaches the...
...displayed using Cyrillic (ISO 8859/5). If LANG is set to display a job message on this printer. This is also true for the HP Color LaserJet 4500 printer, except there is enabled and the printer receives a JOB command, it returns a job status message. they default the print environment to...• DISPLAY="display text " - Comments: When a JOB command is in Latin 5 (ISO 8859/9). Resetting the page count associated with the JOB option. The printer will return DISPLAY LINES = value and DISPLAY CHARACTER SIZE = value as part of characters displayed depends on this job reaches the...
HP PCL/PJL reference - Printer Job Language Technical Reference Manual
Page 53
... spooler that encapsulates the spooled job with the START and END options to print multiple copies of selected pages causes unexpected results, because the printer counts physical pages, not multi-copy collated pages. Example: Using the JOB Command to Print Selected Pages You can send a PJL job that... can use different names for the JOB and EOJ commands need to print collated copies. PCL Job . . . . Using the SET command or a printer language "number of copies" command to print selected pages of the job.) Note that the job name from page three through the end of a job...
... spooler that encapsulates the spooled job with the START and END options to print multiple copies of selected pages causes unexpected results, because the printer counts physical pages, not multi-copy collated pages. Example: Using the JOB Command to Print Selected Pages You can send a PJL job that... can use different names for the JOB and EOJ commands need to print collated copies. PCL Job . . . . Using the SET command or a printer language "number of copies" command to print selected pages of the job.) Note that the job name from page three through the end of a job...
HP PCL/PJL reference - Printer Job Language Technical Reference Manual
Page 57
... printed, are not affected. The non-printing mode, if enabled by using the START/END options). Resetting the page count associated with unsolicited page status. Effect on Unsolicited Job Status When the printer receives this command, it returns unsolicited job status information, if enabled, when the last page of the job exits...
... printed, are not affected. The non-printing mode, if enabled by using the START/END options). Resetting the page count associated with unsolicited page status. Effect on Unsolicited Job Status When the printer receives this command, it returns unsolicited job status information, if enabled, when the last page of the job exits...
HP PCL/PJL reference - Printer Job Language Technical Reference Manual
Page 128
...printer variables, including environmental, printer language-dependent, and unsolicited status variables. Provides configuration information, such as "LaserJet 4." Returns PJL file system information. Lists environmental and printer language-dependent variables, the possible variable values, and the current variable settings. Use this printer... VARIABLES USTATUS Description Provides the printer model number, such as how many and which paper sizes are available in this command to find the printer model, configuration, memory available, page count, status information, PJL file system...
...printer variables, including environmental, printer language-dependent, and unsolicited status variables. Provides configuration information, such as "LaserJet 4." Returns PJL file system information. Lists environmental and printer language-dependent variables, the possible variable values, and the current variable settings. Use this printer... VARIABLES USTATUS Description Provides the printer model number, such as how many and which paper sizes are available in this command to find the printer model, configuration, memory available, page count, status information, PJL file system...
HP PCL/PJL reference - Printer Job Language Technical Reference Manual
Page 135
PAGECOUNT Category The INFO PAGECOUNT returns the number of printer usage. This returned number is shown here. Example: Using the INFO PAGECOUNT Command %-12345X@PJL @PJL COMMENT Using PJL INFO PAGECOUNT @PJL ECHO 06:53:29.3 1-25-93 @PJL INFO PAGECOUNT %-12345X A sample HP LaserJet 4ML printer response for this example is an indication of pages printed by the current print engine. Some printers do not return the label "PAGECOUNT=" in front of the page count. @PJL INFO PAGECOUNT PAGECOUNT=183933 EN Status Readback Commands 7-23
PAGECOUNT Category The INFO PAGECOUNT returns the number of printer usage. This returned number is shown here. Example: Using the INFO PAGECOUNT Command %-12345X@PJL @PJL COMMENT Using PJL INFO PAGECOUNT @PJL ECHO 06:53:29.3 1-25-93 @PJL INFO PAGECOUNT %-12345X A sample HP LaserJet 4ML printer response for this example is an indication of pages printed by the current print engine. Some printers do not return the label "PAGECOUNT=" in front of the page count. @PJL INFO PAGECOUNT PAGECOUNT=183933 EN Status Readback Commands 7-23
HP PCL/PJL reference - Printer Job Language Technical Reference Manual
Page 148
... unsolicited EOJ status indicates the number of a duplex page counts as the HP LaserJet 4000 series and 5000 series printers). If job status is enabled and the printer receives a JOB command, it resets the page count associated with unsolicited page status affects only future pages. Resetting... the page count associated with the unsolicited page status and returns a ...
... unsolicited EOJ status indicates the number of a duplex page counts as the HP LaserJet 4000 series and 5000 series printers). If job status is enabled and the printer receives a JOB command, it resets the page count associated with unsolicited page status affects only future pages. Resetting... the page count associated with the unsolicited page status and returns a ...
HP PCL/PJL reference - Printer Job Language Technical Reference Manual
Page 150
...page formatted, and by two for applications such as spoolers, where it is different than sent by -page basis. The sample HP LaserJet 4 printer response indicates the status messages that a particular page finished printing. E ~%-12345X@PJL @PJL EOJ %-12345X 7-38 Status Readback Commands EN The...to know which does not include pages processed in an order different than the PAGES = page count returned with the unsolicited JOB status, which pages are completely printed. The page count includes all pages printed and all of the pages received before the last page of the ...
...page formatted, and by two for applications such as spoolers, where it is different than sent by -page basis. The sample HP LaserJet 4 printer response indicates the status messages that a particular page finished printing. E ~%-12345X@PJL @PJL EOJ %-12345X 7-38 Status Readback Commands EN The...to know which does not include pages processed in an order different than the PAGES = page count returned with the unsolicited JOB status, which pages are completely printed. The page count includes all pages printed and all of the pages received before the last page of the ...
HP PCL/PJL reference - Printer Job Language Technical Reference Manual
Page 155
...to determine how many pages are sent prior to the JOB command. The following example uses the command to show the difference between the page count returned by name, not just page number. Notice that provides job recovery if a problem occurs. Note The USTATUS JOB command is useful ... application can re-issue the job using the following combination of commands: • The JOB and EOJ commands are used to reset the page count and inform the printer of the boundaries for Recovery @PJL USTATUS JOB = ON @PJL USTATUS PAGE = ON @PJL JOB NAME = "1st Shot" @PJL ENTER LANGUAGE = PCL...
...to determine how many pages are sent prior to the JOB command. The following example uses the command to show the difference between the page count returned by name, not just page number. Notice that provides job recovery if a problem occurs. Note The USTATUS JOB command is useful ... application can re-issue the job using the following combination of commands: • The JOB and EOJ commands are used to reset the page count and inform the printer of the boundaries for Recovery @PJL USTATUS JOB = ON @PJL USTATUS PAGE = ON @PJL JOB NAME = "1st Shot" @PJL ENTER LANGUAGE = PCL...
HP PCL/PJL reference - Printer Job Language Technical Reference Manual
Page 173
...NAME = "pathname" - This command is invalid: @PJL FSDIRLIST NAME = "pathname"[] FILEERROR=number Parameters: Parameter NAME="pathname" ENTRY=integer COUNT=integer Functional Range Roman-8 characters 01 thru 255 1 to 231 - 1 1 to the DOS DIR command. Syntax: @PJL FSDIRLIST NAME = "pathname" ...command, pathname must be displayed. For a complete description of files and directories which exist within the specified directory on the printer's file system. The entry variable is considered an entry. FSDIRLIST Command The FSDIRLIST command returns a list of the NAME ...
...NAME = "pathname" - This command is invalid: @PJL FSDIRLIST NAME = "pathname"[] FILEERROR=number Parameters: Parameter NAME="pathname" ENTRY=integer COUNT=integer Functional Range Roman-8 characters 01 thru 255 1 to 231 - 1 1 to the DOS DIR command. Syntax: @PJL FSDIRLIST NAME = "pathname" ...command, pathname must be displayed. For a complete description of files and directories which exist within the specified directory on the printer's file system. The entry variable is considered an entry. FSDIRLIST Command The FSDIRLIST command returns a list of the NAME ...
HP PCL/PJL reference - Printer Job Language Technical Reference Manual
Page 174
... is larger than the actual number of entries in Appendix D for a complete list of entries will not include any entries. • COUNT = integer - Example: Using the FSDIRLIST Command This example demonstrates using the FSDIRLIST command to the PJL File System error numbers (32xxx) listed...The entry value must be returned. Also, if the entry value is equivalent to return a directory list from the printer's file system. @PJL FSDIRLIST NAME = "0:\pcl\macros" ENTRY=1 ~COUNT=25 A sample response would use ENTRY=5. See PJL File System Errors (32xxx) in the specified range, the actual...
... is larger than the actual number of entries in Appendix D for a complete list of entries will not include any entries. • COUNT = integer - Example: Using the FSDIRLIST Command This example demonstrates using the FSDIRLIST command to the PJL File System error numbers (32xxx) listed...The entry value must be returned. Also, if the entry value is equivalent to return a directory list from the printer's file system. @PJL FSDIRLIST NAME = "0:\pcl\macros" ENTRY=1 ~COUNT=25 A sample response would use ENTRY=5. See PJL File System Errors (32xxx) in the specified range, the actual...
HP PCL/PJL reference - Printer Job Language Technical Reference Manual
Page 200
... shared environments, this feature should be informed when the printer status changes. To request the default setting for Using PJL EN To synchronize requested status information. To receive unsolicited printer status at periodic intervals. 11-6 Programming Tips for a particular feature. To find the printer model, printer configuration, memory available, status information, page count, or printer variables.
... shared environments, this feature should be informed when the printer status changes. To request the default setting for Using PJL EN To synchronize requested status information. To receive unsolicited printer status at periodic intervals. 11-6 Programming Tips for a particular feature. To find the printer model, printer configuration, memory available, status information, page count, or printer variables.
HP PCL/PJL reference - Printer Job Language Technical Reference Manual
Page 209
... PAGE 38 @PJL USTATUS JOB END NAME="End of Monitor Job" PAGES=38 The unsolicited page status indicates that 38 pages were printed. (The page count is sent after page 1 lands in the output tray: @PJL USTATUS PAGE 1 Additional page status messages are sent after each duplex page formatted.) EN Programming...
... PAGE 38 @PJL USTATUS JOB END NAME="End of Monitor Job" PAGES=38 The unsolicited page status indicates that 38 pages were printed. (The page count is sent after page 1 lands in the output tray: @PJL USTATUS PAGE 1 Additional page status messages are sent after each duplex page formatted.) EN Programming...
HP PCL/PJL reference - Printer Job Language Technical Reference Manual
Page 210
...of copies" command to get collated copies. E ~%-12345X ~%-12345X@PJL @PJL EOJ NAME = "Job #65432" %-12345X Jobs That Control Printer Resources and Print Selected Pages The following job prints 1 copy of pages 5 through the end of a selected page causes unexpected results because the... printer counts physical pages, not multi-copy collated pages. %-12345X@PJL @PJL COMMENT Printing selected pages @PJL JOB START = 5 END = 8 %-12345X@PJL @PJL ...
...of copies" command to get collated copies. E ~%-12345X ~%-12345X@PJL @PJL EOJ NAME = "Job #65432" %-12345X Jobs That Control Printer Resources and Print Selected Pages The following job prints 1 copy of pages 5 through the end of a selected page causes unexpected results because the... printer counts physical pages, not multi-copy collated pages. %-12345X@PJL @PJL COMMENT Printing selected pages @PJL JOB START = 5 END = 8 %-12345X@PJL @PJL ...
HP PCL/PJL reference - Printer Job Language Technical Reference Manual
Page 290
EOJ @PJL EOJ [NAME = "job name"] [] FSAPPEND @PJL FSAPPEND FORMAT:BINARY SIZE=integer ~NAME = "pathname" [] %-12345X FSDELETE @PJL FSDELETE NAME = "pathname" [] FSDIRLIST @PJL FSDIRLIST NAME = "pathname" ENTRY=integer ~COUNT=integer[] FSDIRLIST Response @PJL FSDIRLIST NAME = "pathname" ~ENTRY=integer[] filename TYPE=FILE SIZE=integer filename TYPE=DIR ... FSDOWNLOAD @PJL FSDOWNLOAD FORMAT:BINARY SIZE=integer ~NAME = "pathname" [] %-12345X FSINIT @PJL FSINIT VOLUME = "pathname" [] FSMKDIR @PJL FSMKDIR NAME = "pathname" [] B-2 PJL Command Summary EN
EOJ @PJL EOJ [NAME = "job name"] [] FSAPPEND @PJL FSAPPEND FORMAT:BINARY SIZE=integer ~NAME = "pathname" [] %-12345X FSDELETE @PJL FSDELETE NAME = "pathname" [] FSDIRLIST @PJL FSDIRLIST NAME = "pathname" ENTRY=integer ~COUNT=integer[] FSDIRLIST Response @PJL FSDIRLIST NAME = "pathname" ~ENTRY=integer[] filename TYPE=FILE SIZE=integer filename TYPE=DIR ... FSDOWNLOAD @PJL FSDOWNLOAD FORMAT:BINARY SIZE=integer ~NAME = "pathname" [] %-12345X FSINIT @PJL FSINIT VOLUME = "pathname" [] FSMKDIR @PJL FSMKDIR NAME = "pathname" [] B-2 PJL Command Summary EN
HP PCL/PJL reference (PCL 5 Printer Language) - Technical Quick Reference Guide
Page 6
...the page. ? & l # Z # = Number of decipoints (1/720 inch) [+ or - Printer Reset Restores the User Default Environment, deletes temporary fonts and macros, and prints any commands sent to ...that it does not support. 4 specifies the plus or minus move direction (for example, # = -10).] Note: The printer ignores any remaining data. ? Duplex, long-edge binding 2 - in either of two binding modes). ? & l #...front and back - Job Control Universal Exit Language Causes the printer to exit the current language and return control to PJL. ?% - 1 2 3 4 5 X Configuration ...
...the page. ? & l # Z # = Number of decipoints (1/720 inch) [+ or - Printer Reset Restores the User Default Environment, deletes temporary fonts and macros, and prints any commands sent to ...that it does not support. 4 specifies the plus or minus move direction (for example, # = -10).] Note: The printer ignores any remaining data. ? Duplex, long-edge binding 2 - in either of two binding modes). ? & l #...front and back - Job Control Universal Exit Language Causes the printer to exit the current language and return control to PJL. ?% - 1 2 3 4 5 X Configuration ...