[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

PCL wont Duplex and Tray Pull together

Posted on 2004-09-23
11
Medium Priority
?
1,153 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 

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
 

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 39

Expert Comment

by:hdhondt
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

Tech or Treat!

Submit an article about your scariest tech experience—and the solution—and you’ll be automatically entered to win one of 4 fantastic tech gadgets.

Question has a verified solution.

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

How to solve seemingly unsolvable printer issues. Users sometimes run into printing issues where all the normal steps do not seem to work. Well the steps below can show users how to take one extra step beyond the normal steps needed to remove old…
This article shows how to get a list of available printers for display in a drop-down list, and then to use the selected printer to print an Access report or a Word document filled with Access data, using different syntax as needed for working with …
This video Micro Tutorial shows how to password-protect PDF files with free software. Many software products can do this, such as Adobe Acrobat (but not Adobe Reader), Nuance PaperPort, and Nuance Power PDF, but they are not free products. This vide…
Please read the paragraph below before following the instructions in the video — there are important caveats in the paragraph that I did not mention in the video. If your PaperPort 12 or PaperPort 14 is failing to start, or crashing, or hanging, …

649 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