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:

Comments: