USING PRINTER JOB LANGUAGE (PJL)LEGEND: Ec = [Ctrl] [P] [Esc] in DOS EDIT PJL JOB REQUIREMENTS PJL has certain job requirements that must be met to work correctly. Jobs that satisfy the following requirements work well with all PJL printers either in a standalone or networked environment. NOTE: While the IIISi and 4 family printers are PJL printers, not all PJL commands are supported on these printers. The following explains PJL requirements: * All PJL jobs must begin and end with a Universal Exit Language (UEL) command "Ec%-12345X". This command exits the current printer language and returns control to PJL. * The Universal Exit Language ( UEL ) command at the beginning of the job must be immediately followed by the PJL command prefix "@PJL". The "@PJL" may be the prefix of another PJL command. Or, if the command is ended with the "@PJL" then it must be followed by a linefeed character. A carriage return is optional. No other characters, including control characters, are allowed between the UEL command and the @PJL prefix (See any of the examples below). * The UEL command at the job end must not be followed by anything (except the first character of the next job). * Line Termination--a line feed character is required to terminate all PJL commands except the UEL command. A carriage return can precede the terminating line feed, however the carriage return is optional and is ignored. * No blank command lines are allowed. The following command lines demonstrate two ways to begin a job while satisfying PJL requirements. Both sets of commands begin with a UEL command, are immediately followed by @PJL, and are terminated with a line feed character. All PJL jobs must end with a UEL command. Ec%-12345X@PJL <CR> <LF> @PJL SET COPIES = 3 <CR> <LF> Ec%-12345X Ec%-12345X@PJL SET COPIES = 3 <CR> <LF> Ec%-12345X EXAMPLE: CHANGING CONTROL PANEL SETTINGS The following example uses PJL to control printer features that are not available in a particular application program. In this case, the features to be modified are: number of copies, Resolution Enhancement setting, and page protection. Note that the "SET" command only changes default settings for the current job. To change default settings permanently, use the "DEFAULT" command. Ec%-12345X@PJL SET COPIES = 3 <CR> <LF> @PJL SET RET = MEDIUM <CR> <LF> @PJL SET PAGEPROTECT = OFF <CR> <LF> @PJL ENTER LANGUAGE = PCL<CR> <LF> EcE. . . .pcl job data. . . . .EcE Ec%-12345X EXAMPLE: SWITCHING PRINTER LANGUAGES The following example contains two print jobs, one PCL and one PostScript. The PCL job prints first, the PJL code switches the printer language to prepare for the PostScript job. Ec%-12345X@PJL ENTER LANGUAGE = PCL <CR> <LF> EcE. . . . . . pcl data. . . . . . EcE @PJL ENTER LANGUAGE = POSTSCRIPT <CR> <LF> % ! PS-ADOBE. . . . postscript job data. . . .^D Ec%-12345X Copyright Hewlett-Packard Co. 1993 The information contained herein is subject to change without notice. Hewlett-Packard shall not be liable for incidental or consequential damages in connection with the use of this
Questions:
I have a HP5500PS want to be able to control via pjl, ink released on one cartridge than hold the print on the grippers and redo it with another cartridge,
Does anyone know how to do this please mighty please thanks
Mr. Newton,
I want to nest some PJL jobs. I have a 'large' job that contains several sections - some of which are double-sided, some of which are stapled (or combinations of the two)...
When I tried to create a job with some print, then nest a stapled job within that job, the initial data does not print - but shows as 'saved' on the printer (a Ricoh 2060)...
James Newton replies: That sounds like a support call to Ricoh.+
Comments:
Mr. Newton,
My guess is that the Ricoh is working as expected, but my print job is where the challenge lies... What I am trying is something like this:
Ec%-12345X@PJL JOB NAME="OUTER JOB"
@PJL ENTER LANGUAGE=PCL
Ec...blah.blah.blah...EcE
Ec%-12345X@PJL JOB NAME="NESTED SECTION"
@PJL ENTER LANGUAGE=PCL
Ec...blah.blah.blah...EcE
Ec%-12345X@PJL EOJ
@PJL ENTER LANGUAGE=PCL
Ec...blah.blah.blah...EcE
Ec%-12345XPJL EOJ
Ec$-12345X
file: /Techref/language/pcl/lj1686.htm, 7KB, , updated: 2018/10/4 18:56, local time: 2024/8/14 21:34,
18.117.102.253:LOG IN
|
©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? <A HREF="http://sxlist.com/techref/language/pcl/lj1686.htm"> USING PRINTER JOB LANGUAGE (PJL)</A> |
Did you find what you needed? |
Welcome to sxlist.com!sales, advertizing, & kind contributors just like you! Please don't rip/copy (here's why Copies of the site on CD are available at minimal cost. |
Welcome to sxlist.com! |
.