PCL wont Duplex and Tray Pull together

Posted on 2004-09-23
Last Modified: 2007-12-19
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
         End If  

start of my output looks like:

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!
Question by:Sweaver99
LVL 21

Expert Comment

ID: 12138552
just a stab in the dark, and it will depend on your printer make and model, but:
When duplexing, some  printers  print the second side first, in order for the output to be stacked in the right order.
thus, if you set page 3 to be duplex, and there is no page 4, you may get problems.
Also, not all printers fully support PCL, and may differ in their command subsets(tray definitions are particularly fussy on some ricohs, for instance).
Printer make and model would help.

Author Comment

ID: 12138576
xerox 490 with high capacity tray and canon 105 same results on both

Author Comment

ID: 12138621
keep in mind the duplex works fine by itself...and so does the tray calls...just don't work together....
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.


Author Comment

ID: 12141781
Here is another way I tried writing the calls in a diffrent order....same results.

Here is what my PCL header looks like(top portion):
and here is the top of Page 1:

LVL 21

Expert Comment

ID: 12148126
It may not actually be possible to combine duplex and tray selection, depends on a lot of variables.

What might be useful is to use the windows driver to send a similar job to a file, and then analyse that.(assuming that the windows driver supports what you want, if it does not, it is almost certainly impossible)

i.e.If the windows driver does not support the type of  job you are trying to send, then the printer probably does not support it either.

You have to realise that duplexing is more complex than it initally appears, as stacking in the correct order often requires printing even pages first, even though odd pages are first in the print stream.
Often printers do not support changing paper source in mid job.

I use PJL and PCL, unfortunately, generally without duplex,.But I have come to realise that the order of commands is very important.

Author Comment

ID: 12148221
I now have it working on all pages except page 1. Page 1 should print front and back from the lower tray but this is not happening. The other pages are duplexing from the Aux tray. I sent just a duplex job to the lower tray and it works. Its close just need to figure out why its not happening on that tray.
LVL 21

Expert Comment

ID: 12151870
Does the windows print driver allow multiple page sources?

Author Comment

ID: 12162271
I forogt to mention I also print a banner page before the first document. This page prints simplex. So I moved the duplex call below this page and added a simplex call above it...and everything works now!

Expert Comment

by:Wojciech Duda
ID: 12190587
Hi Sweaver99,

as you answered your question yourself get your points back by posting in Community Support.
LVL 38

Expert Comment

ID: 12601944
No comment has been added to this question in more than 21 days, so it is now classified as abandoned..
I will leave a recommendation in the Cleanup topic area that this question is:
Any objections should be posted here in the next 4 days. After that time, the question will be closed.


EE Cleanup Volunteer

Accepted Solution

modulo earned 0 total points
ID: 12637499
PAQed with points refunded (500)

Community Support Moderator

Featured Post

Flexible connectivity for any environment

The KE6900 series can extend and deploy computers with high definition displays across multiple stations in a variety of applications that suit any environment. Expand computer use to stations across multiple rooms with dynamic access.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

When I recently replaced my image transfer kit on my office HP color laserjet 5550dn printer, I had a slight problem.  The left bracket that holds the transfer kit got stuck in the upright locked position instead of being at a 45 degree angle facing…
When you try to share a printer , you may receive one of the following error messages. Error message when you use the Add Printer Wizard to share a printer: Windows could not share your printer. Operation could not be completed (Error 0x000006…
In an interesting question ( here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

830 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question