Solved

PCL wont Duplex and Tray Pull together

Posted on 2004-09-23
11
1,127 Views
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)
         else  
            %%FormFeed =  %%FormFeed | x'1B266C3153' | x'1B266C3158' | X'1B266C3548' //FF,Print Duplex,# copies1,Aux tray
         EndIf

         // 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
         else            
            %%FormFeed =  %%FormFeed  | x'1B' | '&a1G' // all odd # pages print on the front of the page
         End If  

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..
&l1S&l1X&l1H&a1G*b0M
The top of page 2 (backside of page 1 has)
&l1S&l1X&l1H&a0G*b0M
Page 3 (this should pull from Aux tray and print front side)
&l1S&l1X&l5H&a1G*b0M

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!
0
Comment
Question by:Sweaver99
11 Comments
 
LVL 21

Expert Comment

by:wyliecoyoteuk
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.
0
 

Author Comment

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

Author Comment

by:Sweaver99
ID: 12138621
keep in mind the duplex works fine by itself...and so does the tray calls...just don't work together....
0
 

Author Comment

by:Sweaver99
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):  http://img.villagephotos.com/p/2004-9/836102/PCLtop.JPG
and here is the top of Page 1: http://img.villagephotos.com/p/2004-9/836102/NewPCLpage1.JPG

0
 
LVL 21

Expert Comment

by:wyliecoyoteuk
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.
0
How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

 

Author Comment

by:Sweaver99
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.
0
 
LVL 21

Expert Comment

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

Author Comment

by:Sweaver99
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!
0
 
LVL 8

Expert Comment

by:Wojciech Duda
ID: 12190587
Hi Sweaver99,


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

Expert Comment

by:Herman D'Hondt
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:
PAQ/Refund
Any objections should be posted here in the next 4 days. After that time, the question will be closed.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

hdhondt
EE Cleanup Volunteer
0
 

Accepted Solution

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

modulo
Community Support Moderator
0

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

If you use a Brother DCP 130C or similar Brother printer, at some point you might encounter the following problem: after you change the ink cartridge, the printer displays an "ink empty" message. Sometimes you just need to follow the instructions…
Printers have changed substantially in the last 30 or so years, not just in technical capabilities but in cost and usage as well.  Printers were originally used for interfacing with the operator, not necessarily for printing copy or pictures. In …
This video discusses moving either the default database or any database to a new volume.
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…

746 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

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now