PCL wont Duplex and Tray Pull together
Posted on 2004-09-23
I have a pcl file that comes in simplex and has no tray calls other than auto select. I need the first page front and back to pull from tray 2 and all other pages front and back to pull from the Aux tray. If I insert just the duplex calls it works fine. If I insert just the tray pull calls it works just fine. When I insert both calls I get tray pulls and no duplexing. What am I doing wrong?
// Write a command to pull page 1 front and back from lower tray and all other pages from Aux tray.
If %%PAGE_NO < 3 Then
%%FormFeed = %%FormFeed | x'1B266C3153' | x'1B266C3158' | X'1B266C3148' // FF,Print Duplex,# copies1,Lower tray(2)
%%FormFeed = %%FormFeed | x'1B266C3153' | x'1B266C3158' | X'1B266C3548' //FF,Print Duplex,# copies1,Aux tray
// In the pcl file coming in all pages start with a form feed. I add what side of the page to print the data on
If %%PAGE_NO # 2 = 0 Then
%%FormFeed = %%FormFeed | x'1B' | '&a0G' // all even # pages print on the back side of the page
%%FormFeed = %%FormFeed | x'1B' | '&a1G' // all odd # pages print on the front of the page
start of my output looks like:
%-12345X@PJL SET PAGEPROTECT=OFF
@PJL DEFAULT DUPLEX=ON
@PJL SET QTY=1
@PJL SET RESOLUTION=600
@PJL ENTER LANGUAGE=PCL
as you can see duplex is on in the PJL and call it on each page (also tried not calling on each page with the above pcl command no change)
This is where the first page starts after the form macro etc..
The top of page 2 (backside of page 1 has)
Page 3 (this should pull from Aux tray and print front side)
I've tried putting the tray calls first, putting all the duplex calls first. Nothing changes when I use both duplex and tray calls I only get the tray calls. Any help would be appreciated!