Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

PJL commands for more then one tray 1

Status
Not open for further replies.

disam

Technical User
Feb 10, 2012
3
CH
Hi
our problem ist,
1. how we can select tray one for the first page and tray 2 for the secong page. the file is a prn-file with two pages.
2. the two pages must have a saddle stitch on the upper left conrner.

here my command on the top of the first page:

%-12345X@PJL JOB
@PJL SET MEDIASOURCE=TRAY2
@PJL COMMENT CANPJL SET STAPLE=ONEUPLEFT
@PJL SET OUTBIN=BIN1
@PJL ENTER LANGUAGE=PCL

and at the top of the seconde page

%-12345X@PJL
@PJL SET MEDIASOURCE=TRAY3

but with this settings, only the paper feed are ok, no saddle stitch.
if i delete the command from the top on the second page, the stitch is ok but everything comes from cassette 1.

thanks for you help
 
>> with this settings, only the paper feed are ok, no saddle stitch

That is because the printer considers the print stream to contain TWO print jobs (each one introduced by the '<Esc>%-12345X' Universal Exit Language (UEL) escape sequence).

To achieve your aims, you'll have to:

(a) Remove the second UEL and set of PJL commands at the start of the second page.

(b) Select the different media source (i.e. paper tray) for each page using the requisite PCL5 escape sequences within the PCL job which follows the 'ENTER LANGUAGE = PCL" command.
 
thanks DansDadUK

it works now.

did you know if it works also with only pjl commands?
 
>> did you know if it works also with only pjl commands?

I don't really understand this question.

PJL commands are job-level commands, so influence the whole job; they cannot be invoked on a per-page basis.

Page-level control is the function of the underlying Page Description Language (PDL), usually one of PCL5, PCL6 (a.k.a. PCL XL) or PostScript.
 
Hi DansDadUK
yes now is clear, thanks a lot, it works fine.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top