Trying to print one page of a document in duplex - help!

Hi,
I've done a fair bit of work generating postscript from an OpenVMS COBOL system in the past, and while not an expert, have usually managed to produce something that works. This time I'm failing. Can anyone assist.
The problem: I have a document which has to print from 2 trays.
Tray 1: (Headed paper with blank background)
Tray 2: (Special paper with writing on the back)
Up to now it has been a simple simplex job, printing one page on headed paper and then page 2 (and more) on the special paper
<< /MediaPosition 0 >> setpagedevice
(PAGE 1) show
showpage
<< /MediaPosition 1 >> setpagedevice
(PAGE 2) show
showpage
I have to add a sheet printed on both sides between page 1 and page 2  (A) on the headed side and (B) on the blank reverse.
I tried
<< /MediaPosition 0 >> setpagedevice
(PAGE 1) show
showpage
<< /MediaPosition 0 /Duplex true >> setpage
(PAGE A) show
showpage
(PAGE B) show
showpage
<< /MediaPosition 1 /Duplex false>> setpagedevice
(PAGE 2) show
showpage
This produced page 1 on headed, page B on headed with page A upside down on rear. then page 2 on special paper.
I can get A to be the right way up by changing to
<< /MediaPosition 0 >> setpagedevice
(PAGE 1) show
showpage
<< /MediaPosition 0 /Duplex true /Tumble false>> setpage
(PAGE A) show
showpage
(PAGE B) show
showpage
<< /MediaPosition 1 /Duplex false>> setpagedevice
(PAGE 2) show
showpage
but still I get page B on the front and A on the back.
if I reverse thus:
<< /MediaPosition 0 >> setpagedevice
(PAGE 1) show
showpage
<< /MediaPosition 0 /Duplex true /Tumble false>> setpage
(PAGE B) show
showpage
(PAGE A) show
showpage
<< /MediaPosition 1 /Duplex false>> setpagedevice
(PAGE 2) show
showpage
I get A on the headed side, but upside down, and B on the back (also upside down)  and B is stacked first so someone looking at it will see 1 B(upside down) A(upside down on headed), 2
I just want  1 (headed)  A (headed), B (reverse of headed), 2 (special)
Can anyone suggest the solution (to an HP Laserjet or 5550dfn if it helps)

You need to alter the page orientations independent of the duplexing/tumble commands. you may be able to do this in setpage or setpagedevice, if not then reorient the specific pages using "moveto" and "rotate" PostScript commands within your pages.

Similar Messages

  • Will only print one page.

    When i go to a multi page site ,the printer will only print one page .

    Hi @elkman_5883,
    Welcome to the HP Forums!
    I noticed that your printer will only print one page, and I am happy to help you with this issue!
    For further assistance, I require some additional information:
    The Product/Model Number of your printer. Follow instructions in this link. Finding Your HP Product Model Number.
    If you are using a Windows or Mac Operating System, and the version number. To find the exact version, visit this link. Whatsmyos.
    If the printer is connected, Wireless, Ethernet, or USB.
    If the printer is able to make copies.
    If the power cable is plugged into a surge protector, or directly to the wall outlet. Issues when Connected to an Uninterruptible Power Supply/Power Strip/Surge Protector. This applies to Inkjet printers as well.
    Please see this post, Want Good Answers? Ask Good Questions, by @Bob_Headrick, so you can get the most out of these forums.  
    If you are using Windows, I recommend trying our HP Print and Scan Doctor, and please let me know what happens!
    Hope to hear from you soon!
    RnRMusicMan
    I work on behalf of HP
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos Thumbs Up" to say “Thanks” for helping!

  • I am trying to print all the PDF pages in a range of 5 pages but can only print one page at a time . . . It will print the current page, but not all or pages 1-5.  Can this be overcome?

    I am trying to print all the PDF pages in a range of 5 pages but can only print one page at a time . . . It will print the current page only, but not all or pages 1-5.  I need to go to the next subsequent page and command to print current page; continuing with this procedure until all pages are printed one at a time. Can this be overcome?

    You can use printPages(1, 5), however I need to know how you print current page.

  • How do I just print one page not all of the pages in the document?

    When I print the document, I usually just want to print just the first page and not having to print all of the pages which is a waste of paper.

    Hi debed,
    I understand you're wanting to print particular pages of a document not the entire thing. I will certainly do my best to assist you with this.
    It will depend on what program you're using, but you should see something similar to the image below allowing you to select the current page you're on, or pages 1-3 for example.
    If you're still not sure, I will just need a bit more information to try and get more specific instructions.
    1. What model of printer are you using?
    2. Are you using Windows or Mac on your computer?
    3. What program are you printing from that you'd like to select just the one page?
    Hope this helps! Happy Holidays!!
    Please click “Accept as Solution ” if you feel my post resolved your issue, as it will help others find the solution faster
    Click the “Kudos Thumbs Up" on the right to say “Thanks” for helping!
    **MissTeriLynn**
    I work on behalf of HP

  • Can only print one page at a time

    Using Adobe Reader 9.4.2
    Operating system Arch Linux
    Printer Brother DCP-115C
    When trying to print more than one page at a time in a PDF document,
    Adobe Reader appears to create the print
    the print job appears in my print queue
    the printer says 'Receiving Data', but only momentarily
    the printer resumes 'normal' status
    the printer does not print anything
    It is as if there is very little data actually sent to the printer, even though the print job appears to be 254k in size
    When I try to print one page at a time from a PDF document
    Adobe Reader appears to create the print
    the print job appears in my print queue
    the printer says 'Receiving Data' for several seconds
    the printer prints the page
    no problem
    It seems to me that Adobe is creating a print job (for multiple pages) that the printer either does not understand, or the printer believes that there is nothing to print.
    I am able to print everything that I need to, but only one page at a time!
    Does anyone else experience this problem? Do you know how to overcome this?

    You can use printPages(1, 5), however I need to know how you print current page.

  • Message- Print No pages from the document were selected to be printed

    I have had this application for some time, simply never used it.  Last night I tried converting a PDF file to word, unsuccessfully, I might add.
    Today, whilst printing a page, my printing settings appear to have been reset because when I selected Print selected page, the following message appeared:
    Print
         No pages from the document were selected to be printed message
    How do I reconfigure my settings to preview rather than defaulting to PDF?  Kindly advise.  Cheers.

    I have only been able to print by exporting from iphoto. I have a new HP printer and there is software that supports photo printing ("HP photo smart") and I have been able to do it this way. On some occasions I have been able to use the iphoto>print>then preview before actually printing. There is a print option on the preview pane and that has worked on occasion...unsure why it doesn't work always. Please pass on any other hints, or let me know if this works for you!!
    G4 Power book 867Mhz   Mac OS X (10.3.9)  

  • How do I print one page at a time for a photobook .pse project?

    I am trying to print a photobook project one page at a time as I am using double sided paper that I need to turn over.  One other project I did asked me if I wanted both sides and would I do the turning myself, but this one doesn't.  I also wanted no border on the prints and it came out with a border.  It is also frustrating to have to wait for it to load 75 pages and then it prints them back to front.  Is this PSE or the printer software?

    Yes, you can print one page one at time as you want .
    In print dialog, select other pages and click on remove button.(refer to screenshot).
    For border click on more options and ensure check box is not selected ( refer to screenshot)

  • InDesign CS5 only prints one page at a time.

    InDesign CS5 only prints one page at a time. No multiple copies. Each page in a document has to be printed one at a time. I didn't have this problem with any version before this. No matter what I do, change settings, etc. I still have the same outcome. How do I work around this problem so I can print a 5 copies of a 3 page document without having to do each copy of each page one at a time.

    Sounds like a printer driver issue. Can you export to PDF and print that correctly?

  • Can't print off my statements like before...have to print one page at a time instead of whole statement...what gives?  did up dates ...updates no good?

    Can't print off my statements like I did before...have to print one page at a time now...what happened?   never had proble  before....I did an update that they said was available...did that cause the problem...Apple???

    Hi Charlott...
    Open System Preferences > Print & Scan then select the Print tab.
    Click:  Open Print Queue...
    Delete all documents in the queue
    Restart your Mac, turn off the printer then turn it back on then try printing.
    Not sure which update you are referring to. If you have Lion installed and updated to v10.7.3, I doubt that had any effect on printing.
    BTW... when you post, please tell us which Mac OS X you have installed. Thanks!  

  • Designjet T520 will only print one page.

    Hi, Brand new Windows 8 HP PC printing to a Designjet T520, will only print one page.I have met this problem on laserjets in the past and resolved it by enabling/disabling mopier mode.However none of the drivers I have tried (many) for the Designjet T520 have the option to turn on or off Mopier Mode. After many hours spent troubleshooting, I formatted and installed the Windows 8 machine again from scratch.Even with this brand new install on a bran new PC, I still cannot print multiple copies to the designjet. In the same office, 3 other Windows 8 machines are printing fine to the same plotter and can print mutliple copies. The driver versions are the same on all machines. Hope someone can help.Thanks.

    This forum is focused on consumer level products.  For the Designjet you may have better results posting in the HP DesignJet forum here, that is where the DesignJet experts can be found.

  • JS: How to make a script to print one page at a time and set print job name?

    What I want is to print one page at a time to the printer.
    Document.print(false, app.printerPresets.item(0)) almost get me there. But how do I get it to print page by page? There seems to be no way to set which page to print to printerPreset.
    Also, is it possible to change print job name from the default of using document name?

    >Is there any solution to this other than saving the document to a different name before each page print?
    Here is an altered and abriged version of the script that I use. I use print preset called "PS to PDF" in it, so you should change it to your own.
    if(app.documents.length == 0){
       alert("Please open a document and try again.");
       exit();
    var myFolder = Folder ("~/Desktop");
    var myDoc = app.activeDocument;
    var myNoExtention = getFileNameOnly (myDoc.name);
    var myPrintPrefs = myDoc.printPreferences;
    if (app.printerPresets.item("PS to PDF") == null) {
       alert("Preset \"PS to PDF\" has not been installed");
       exit();
    else {
       myPrintPrefs.activePrinterPreset = app.printerPresets.item("PS to PDF"); 
    myDoc.sections.everyItem().sectionPrefix = "";
    myDoc.sections.everyItem().includeSectionPrefix = false;
       var stop = myDoc.pages.length;
       var w = new Window ( 'window', 'Printing PS-files' );
       var pb = w.add ('progressbar', [12, 12, 300, 24], 0, stop);
       var txt = w.add('statictext');
       txt.bounds = [0, 0, 200, 20];
       txt.alignment = "left";
       w.show()
    for(var myCounter = 0; myCounter < myDoc.pages.length; myCounter++){
       curPage = myCounter + 1;
       pb.value = curPage;
       var myText = String("Page " + curPage + " of " + myDoc.pages.length);
       txt.text = myText;       
       var myPageName = myDoc.pages.item(myCounter).name;
       var cornumber = pagenum(myPageName);
       var myFilePath = myFolder + "/" + myNoExtention + "_" + cornumber + ".ps";
       var myFile = new File(myFilePath);
       myPrintPrefs.pageRange = myPageName;
       myPrintPrefs.printFile = myFile;
       myDoc.print(false);
    w.hide();
    alert("Done!");
    function pagenum(myNumber){
       if (myNumber >= 1 && myNumber <= 9)
       x =  "0" + "0" + myNumber;
       else if (myNumber >= 10 && myNumber <= 99)
       x = "0" + myNumber;
       else if (myNumber >= 100 && myNumber <= 999)
       x = myNumber;
    return x
    function getFileNameOnly (myFileName) {
       var myString = "";
       var myResult = myFileName.lastIndexOf(".");
       if (myResult == -1) {
          myString = myFileName;
       else {
          myString = myFileName.substr(0, myResult);
       return myString;
    Kasyan

  • Printer prints one page

    When i print a document, it prints only the first page, then i try to print something else and it takes the paper in but doesn't print it. i have to cancel printing, printer returns the blank paper it took in for printing, i turn off my printer then turn it on again in order for me to print another page.. what is the issue ?? it only started doing this recently...
    thanks

    Hello there, Welcome to the Forums! I hope you enjoy your experience
    I understand your printer is now only printing one page at a time. I would like to offer my help where I can with this concern. Please try Resetting the Printer and if you are running a Windows OS, run the HP Print and Scan Doctor.
    If this information does not curb the problem, please respond to me with which OS you're running and which printer you have.
    Help to find which Operating System you are running:
    Which Windows Operating System am I running?
    Mac OS X: How Do I Find Which Mac OS X Version Is on My Computer?
    Help to find your printers Model Number:
    How Do I Find My Model Number?
    Thanks for posting!
    Happy Monday
    R a i n b o w 7000I work on behalf of HP
    Click the “Kudos Thumbs Up" at the bottom of this post to say
    “Thanks” for helping!
    Click “Accept as Solution” if you feel my post solved your issue, it will help others find the solution!

  • Printer prints one page followed by blank page

    My HP printer will print one page followed by a blank page until the document is complete. Any suggestions on how to correct this?

    Try changing the 'Page Setup' > 'Format for' from 'Any Printer' to the printer you are using.

  • After printing one page, cartridge does not move

    i reinstalled HP Officejet j4680 all in one printer, was not connecting to wireless internet connection. Now after printing one page, ink cartridge does not move, giving paper jam error but actually there is no paper jam. Any solution to this problem. please help !!

    Hello @kalsi_k,
    Welcome to the HP Support Forums!
    I would like to assist you today with resolving the carriage issue that you're experiencing on your HP Officejet J4680 All-in-One Printer. Thank you for including in your post that you have already checked for paper jams. At this point I am going to run your through some troubleshooting steps to specifically check the carriage path area within the printer. There is always a chance that a piece of debris or paper may have been missed when you checked for paper jams as even the tiniest piece of paper can cause these types of issues. Can I please have you follow the steps below.
    To start, can I please have you click here. Once the support document opens can I please have you run through Solution two, Solution three, Solution four, Solution five, and Solution six. This includes any sub-steps under the listed Solutions. Please pay close attention to the carriage path area. Also, if you have already checked all the area in the printer for jams or debris you do not have to repeat those steps.
    Please respond to this post with the result of your troubleshooting. Best of luck!
    X-23
    I work on behalf of HP
    Please click "Accept as Solution" if you feel my post solved your issue, it will help others find the solution.
    Click the "Kudos, Thumbs Up" on the right to say "Thanks" for helping!

  • My MP960 printer printed one page today, and suddenly quit. It will not start up again.

    My MP960 printer printed one page today, and suddenly quit. It will not start up again. I'm a retired master electrician and I checked the power output and the power cord to the machine and everything is OK. I looked for a fuse location, but was not able to find any. Can anyone help me get my wonderful printer starter again? Thank you.

    I have had the same problem with my MX860... I am very sad... I just bought new set of Ink for it & I went to open the top and noticed that the print head would not move into position... then I closed the lid and noticed that ONLY THE YELLOW :ALARM: light was on... It will not turn ON and the Yellow light only goes out when I unplug the unit.  I tried the UNPLUG to reset and nothing happened when I plugged it back in and pushed the Power button on.  I have it on a HUGE SURGE PROTECTOR And we have not had a storm in Weeks!  My Laptop & Phone is plugged into the same surge/power back up.. besides, I know it's getting power or the Yellow ALARM LIGHT would not be on... Anyone have any IDEAS? The HELP staff is off for the WEEK END now..

Maybe you are looking for