Duplex printing script

Hi All,
  I have requirement for a customer Acct statement form, wherein I have to print different footers on alternate pages.. say like.
it's a duplex printing script.
for each customer statements, the first page should have a footer "Contd on reverse" and the second should have "contd.."
and again the third "Contd on reverse".
I.e for even pages it's "Contd on reverse"
and for odd pages it's "contd..".
I suppose we can manage using the PAGE variable.
Can you provide some help on how to go about this logic.

Hi,
Based on the page number try to print the footer. Try to define the text elements in the same window. In driver program, try to keep if condition based on page number then print the correspoding text elements.
or
In driver program-> calling Text elemnts-> keep this code in Text element in script.
consider the MOD of page No by 2.
If it is Zero
print that 'Conttd on reverse'.
else.
print 'Contd'.
endif.
Thanks & Regards,
Chandralekha.

Similar Messages

  • Always duplex printing when printing through cups server

    I have about 6 printers which people normally accesses through a cups server running on a Linux box.
    We have always printed through the cups server from the Macs we have - and this has always worked great (they get auto-detected as shared printers and so on).
    But a few months ago something changed on the Macs - they can now ONLY print duplex - nomatter what i tell them to do in the print dialog. When printing first to a postscript file and then sending the postscript file to the printer (via terminal/lpr) everything gets printing correctly - but when using the printing dialog it always prints duplex.
    When printing to the printers directly (many different models) everything works - but going through the cups server - only duplex.
    All our Linux machines prints both duplex and simplex as they should, so the cups server isn't the problem.
    Has anybody else had this problem?
      Other OS  

    Armin,
    You need to do the following to make the duplex printing work for postscript in Oracle Reports.
    You need a printer with duplex option and an appropriate PPD file.
    You also need the Unix tool sed to filter the output file.
    The problem is that duplexing is enabled in the job level set up of the PostScript document but gets reset in the page set up because paper size and printer tray information is generated for every page. The workaround would be to write a script, which removes page level set-up information for the paper size and printer tray set up commands. As a side effect of this - it is no longer possible to switch the printer tray between pages.
    Write a sed script file called 'duplexsed' with the following three lines. This
    /^%%BeginPageSetup/,$ {
    /^%%BeginFeature/,/^%%EndFeature/d
    Copy the file to an appropriate directory, for example $ORACLE_HOME/bin.
    Set the environment variable TK_PRINT:
    TK_PRINT="sed -f $ORACLE_HOME/bin/duplexsed | lpr -l -s -P'%n' -#'%c'"
    export TK_PRINT
    Note that the print command is different for the various kinds of Unix.
    You may need to refer your installation guide and make changes to the lpr command
    Thanks
    The Oracle Reports Team

  • Duplex printing with Designer 8 (not ES)

    Hi,
    I only have the Designer 8.0 that came with Adobe Design Standard CS3, so I don't have the "PDF Print Options" under "Form Properties". Is there any possiblity to set the DuplexMode anyway? I'm not used to coding, so I would be pleased for an easy to understand explanation, if it is possible via script.
    Thanks.

    Hello there bevspets, Welcome to the Forums! I hope you enjoy your experience
    I saw your post about not being able to duplex print on Windows 8 with your OJ J4500 series. I would suggest running the HP Print and Scan Doctor
    to start, which should correct printing or scanning issues for you. If there is more of a serious issue, it will alert you to what it is.
    Please let me know the results!
    Thanks for posting, enjoy your day
    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!

  • No Duplex printing (canon mp830) on mac os x v10.6.

    How can I configure this?  Updating the driver file to the latest version from canon failed.
    I can not get access to the printer setting like Duplex Printing.  Post Script printers usually have a lot of settings, but I don't see any. 
    Print Center is no longer available on Mac OS X v10.6.
    Any ideas?
    Thanks,
    smkilcoyne

    Hi,
    It seems as the printer is not supported in any Macintosh envoirnment..
    Check page 98 of the user guide, only Windows operating systems are listed within the system requirements:
    http://files.canon-europe.com/files/soft26391/manual/LBP2900_UG_EN.PDF
    Shlomi

  • Duplex printing: Please help with 2 sided manual printing

    Tried inserting script into document set action.  It did not work.  What script do I need to print a two sided document without a duplex printer
    pp.pageHandling = pp.constants.handling.booklet;
    pp.booklet.duplexMode = pp.constants.bookletDuplexModes.FrontSideOnly;
    this.print(pp);

    A quick Google search turns up:
    Print on both sides of the paper (duplex printing)
    HP LaserJet Printers - Steps to Print Manual Duplex Using the Application Settings or HP LaserJet Driver Settings
    Lexmark Manual duplex
    You have to print the even pages (you may need to select 'reverse order'), flip as needed, rotate as needed, reinsert printed pages in the paper source location, and then print the odd pages on the printed even pages.

  • Set Simplex/Duplex Print for Adobe Reader documents

    Hi,
    I'm developing documents using Adobe Acrobat Pro that our users will open with Adobe Reader 8.0 or higher. I need to set the Simplex/Duplex print parameters individually by each document.
    I've tried adding trusted javascript in C:\Program Files\Adobe\Reader 8.0\Reader\Javascripts directory. I can set the number of copies and lastPage properties but no luck with Simplex/Duplex.
    my script includes pp.DuplexType = pp.constants.duplexTypes.DuplexFlipLongEdge;
    The Simplex/Duplex works if the document is opened with Adobe Acrobat Pro but not using Adobe Reader 8.0
    I see a posting suggesting "Cos level APIs - see the PDF Reference 1.7" but do not find anything in PDF Reference 1.7.
    Any help would be appreciated.

    Thanks,
    I see Acrobat/Reader 9.0 is available. Is there anything regarding passing collate=true/false in 9.0?

  • Manual duplex printing doesn't work for LaserJet 100 color MFP M175a

    Hi !
    OS Windows 8.1. Printer LaserJet 100 color MFP M175a. Driver version 61.108.8.10073 date 2011 Apr 13th
    1. After switching on checkbox "Print on Both Sides (Manually)" on "Finishing" tab of Print Properties Dialog and
    start printing, dialog with instruction how to turn paper appears. Then printer must print odd pages, stop for
    turning paper and then continue printing of even pages on the back side of paper sheets. But my device prints
    all pages sequentually in order 1,2,3,... without any breaks. What is it- my mistake or possible bug in driver ?
    2. Windows API function DeviceCapabilities with fwCapability=DC_DUPLEX for this printer returns 0 (duplex printing
    impossible). This value for any other HP printer, even without automatic duplexer, always equel to 1.
    This question was solved.
    View Solution.

    Hi @Up205, 
    I see by your post that you are having issues manually printing two-sided. I can help you with this.
    The software for this model on Windows 8.1 is the Basic Solution Software and Driver. This basic software solution provides print and scan functionality only. Did you download and install the newest drivers?
    HP LaserJet Pro 100 color MFP M175nw Drivers.
    Check to make sure Bidirectional Support is Enabled.
    Go to the start up screen, (tiles menu) type in "Devices and Printers", select settings, click on Devices and Printers, right click on the printer, left click Printer Properties, on the Ports tab, put a check beside Enable Bidirectional Support.
    You might have to restart the computer.
    If you need further assistance, just let me know.
    Have a nice day!
    Thank You.
    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!
    Gemini02
    I work on behalf of HP

  • Duplex Printing on a HP OfficeJet Pro 8500 Wireless Printer

    Duplex printing - 1.  How do you change the settings to make the printer print on both sides of a single sheet of paper?
                             2.  How do you change the settings to make the printer print on both sides of a single sheer of paper and
                                  when it prints the backside of the sheet it rotates the text so that when you read the text you FLIP it
                                  up vertically to read the backside rather than just turning the over to read the text on the backside.
    I thought I knew the answer to this question - but yesterday when I printed an Owner's Manual for a friend the printer printed 10 sheets that you had to FLIP the sheet over to read the text on the other side (Note: FLIP was not "X"'d.  Then when I printed again I changed the setting so that FLIP was "X"d and it printed with the orientation that I needed (just turn the sheet over to read the text  on the backside of the sheet).
    NO instructions about "Printer Settings" came with the printer so I am in the dark about "HOW TO" things.  As I said before I thought I need how to do it - but it performed exactly backwards as I had thought,,,Have I got TOO old to remember HOW TO set up settings?  Would appreciate help with this and where I can do to get info about HP Printer Settings.  Thanks in advance.
    Kakki
    This question was solved.
    View Solution.

    Hi,
    I assume you are using Windows 7
    For 1)
    Click Start. Go to "Devices and Printers".
    Double Click on the printer icon.
    Click Customize Printer
    Click Preference
    Select "Print on both sides" and select "Flip on long Edge"
    For 2)
    Repeat the same steps but select "Flip on short Edge"
    You can find the same preferences when you click on preferences on the print menu (Ctrl + P)
    Say "Thanks" by clicking the Kudos Star in the post that helped you.
    Please mark the post that solves your problem as "Accepted Solution"
    (Although I am employed by HP, I am speaking for myself and not for HP)

  • Duplex printing problem with hp 9500 (right side always just half printed)

    Since OS X 10.6 was released there is a problem with the print out of duplex printed pages (specially via Indesign CS4 broschure printing function). Using Mac OS X 10.5.8 with old and new driver everything is fine - but under 10.6, 10.6.1 or 10.6.2 neither old nor one of the new driver releases 2.1, 2.2 or 2.3 will work.
    When I´m trying to print a duplex printing page the print of the right page will be cutted off at the half of the page - like the page would not print A3 horizontally but vertically (so the rest is cut off). The new print features within the printing menu (manual duplex print and print broschure will have same effect but with a strange miniaturization to A5 - although it should be A4). All in all the is no way to print out a duplex printing with OS X 10.6 and hp 9500. Will there be any solution in sight? Are there other with the same effect?

    I have an identical issue to neuegestaltung, but with an HP 5500. I can print single-sided to A3/tabloid successfully but when I try printing duplex the right quarter of the page is cut off on both sides - almost as if it thinks it's printing portrait.
    Applications affected include Adobe Acrobat 8 and 9, Adobe CS3 and CS4 applications including InDesign.
    Preview works fine, but of course the colour balance makes the output unusable.
    OS 10.6.2, print driver HP Color LaserJet 5500 v 3010.107.
    Using the Gutenprint driver I can't either do A3 or colour so there is no solution there.
    Worked fully and correctly with the same apps under 10.5.x.
    At the moment I am running Windows XP under VMWare to print from Acrobat, which is plainly silly.
    Any useful* observations, suggestions or workarounds welcome.
    *Needless to say, "It's Adobe's problem" or similar are not acceptable responses. It may well be an interaction between the Adobe's applications and Apple's printing system and/or driver of course; in that case the companies need to collaborate to solve the issue.

  • HP LaserJet 1320 Duplex Printing Not working with Windows 7

    Hi
    I've just bought a new PC with Windows 7 Home Premium. I have an HP LaserJet 1320 printer (Prod no. Q5927A, SN CNGW53RLRY).
    I cannot find driver that works the same way as the previous driver HP LaserJet PCL5. If I use this driver and can still get duplex printing but it will only print one copy at a time.
    If I upgrade to HP Universal Printing PLC (or PLC v5) I can print multiple copies but not duplex printing. I have searched high and low through the HP site but to no avail.
    Any help and advice will be much appreciated.
    Thanks
    GB

    Hello,
       I've seen this same issue with my printers (other HP printers) whereby the default setting to support the Duplexing hardware was set to 'off'.
      A quick method to check this is look at what the setting is for Duplex hardware in the Device Settings tab, and if it's not set, correct it.
      Printer Properties:
      From the 'Start' orb -> [Devices & Printers] -> right click on your Printer icon -> select 'Printer Properties' -> click on 'Device Settings' tab.
     You should see a dialog similar to the mine (attached): look for the 'Duplex unit (for 2-sided printing)' and see if it's set to "Not Installed":
        --> in either case, click on 'Not installed' and from the dropdown box, select 'Installed'... Click 'OK' to accept the changes and close the dialog.
    Printing Preferences:
     again, right click on your Printer icon -> select 'Printing Preferences' -> click on 'Advanced' tab.
     -->Check to see if there is a 'Duplex Hardware' or '2-sided printing' option in here: mine doesn't show one but thougth I'd mention it nonetheless.
      Click on the 'Finishing' tab and select 'Print on both sides'...or simply test print a multi-page document and set those preferences on-the-fly.
     Let me know if this helps...
    HardCopyTed
    Regards,
    HardCopy (I am employed by HP) [If this was helpful, please mark this 'Solved' or 'Accept as Solution' so others can find this too]
    How to Give Kudos | How to mark as Solved
    Attachments:
    PCL6-DeviceSettingsScreenCap.JPG ‏81 KB

  • CS5.5 InDesign: Last 2 pages of multipage duplex print come out 1-sided

    Using CS5.5 InDesign, last 2 pages of a multipage duplex print come out 1-sided. Same page ranges print OK in PDF. Printer is HP Color Laserjet 4700 with latest device firmware. Have latest HP drivers on Mac OS 10.7.
    This is a recent problem. Had no problems with CS5 InDesign duplex printing from this computer to this printer until a couple weeks ago. First sign of an issue was that printing slowed to a crawl. Literally 5 minutes to resolve one page to the printer. Updated the printer firmware and speedy printing returned, but then noticed the duplex printing issue. Problems began about the same time as a Mac OS system update, but I'm not sure which came first, the software update or the printing issues. No problems with the printer from other software or other computers on the network.
    I have read that certrain InDesign print settings sometimes produce unexpected results in some computer environments. Am hoping this is the case, and someone on this forum will know the trick.

    evollowitz wrote:
     ...and someone on this forum will know the trick.
    I think for most users, "the trick" that produces the most consistently predictable result is to never print directly from InDesign; always go to PDF and print that. Personally, I haven't even attempted to print from InDesign since CS2.

  • Can't do duplex printing!

    I'm in an office with four iMacs running OS X Leopard v10.5.8.
    We're all using CS4 Acrobat 9 Pro v9.4.6 (which Check For Updates tells me is up-to-date).
    We're printing to a networked Xerox Phaser 6180DN.
    And we can't print anything in two-sided duplex from Acrobat Pro.
    We can print in duplex from every other application on the iMacs (including other CS4 apps) without problem.
    But I need to be able to print non-CS PDF files in duplex.
    I've done Google searches and searches within Adobe Help.
    I've found the File>Properties>Advanced>Duplex Flip Long Edge
    This doesn't make any difference.
    Please don't tell me to upgrade to CS5 or Acrobat X Pro ... that's out of my hands.
    Please do tell me how I can enable duplex printing from Acrobat 9 Pro!

    Guys ... I've been using Macs and Adobe products since the late 80s.
    I still have a copy of Illustrator 88 (the original one) sitting on a ZIP disc somewhere.
    I do have a clue on using these applications.
    That's why problems like this are so frustrating. It should simply work ... and it doesn't!
    And Yes ... both are set to double sided printing and No it doesn't print doubled sided:
    1. File>Properties>Advanced>Duplex Mode is set to: Duplex Flip Long Edge
    2. In the Layout pane in the Print window, Two Sided is set to Long Edge Binding
    And all the pages are printed one one side of the paper.
    Further, we went the long way around and tried to print the catalog directly from the source InDesign file, which takes fricking forever.
    Even more annoying was that some of the pages were printed double sided and some of the pages were printed single sided.
    Now, I can pull up large documents in Microsoft Word 2008 Mac (which I HATE - I use Apple Pages at home) and just click Two Sided from Off to Long Edge Binding ... and I get a perfect (well almost) double sided print.
    Now what?????

  • Duplex printing in adobe reader XI

    Ladies and Gentlemen,
    I write because I have a problem with two-sided printing PDF files in Adobe Reader XI.
    Summary of the problem:
         When printing a PDF file that contains two pages I select the option "Print on both sides of the paper" parameters "by Flip on Long Edge" and the orientation of the "Auto. Vertical / horizontal. The result of these operations, when I print. Is that the first page prints correctly. On the back of the cards are printed the information from the second page in the correct format, but with the information from the first in a unique way, namely by me look as if they were printed in a mirror image.
         Prior to printing that is done smoothly, printed data to improve on the first and on the other side. Unfortunately, I am unable to say what was the turning point after which it changed, because I'm not a direct user of this computer. The printer supports duplex printing function, of course. Other programs such as Word office document are printing correctly on both sides as expected.
    The steps that I took to correct the problem:
    1. Restart your computer.
    2. Restart the printer.
    3. Re-install the program Adobre Reader.
    4. The use of different combinations of print settings in Adobe Reader.
    The type of computer:
    -Computer PC.
    -Operating-System: Windows XP SP3.
    -Printer Connected directly to the computer using the USB cable.
    Sincerely

    Thanks for the option.  It did work setting the print as image on.  Does this mean there is something wrong with how the PDF was created or that Adobe Reader is just having a problem reading it?
    Jason Kuhns
    Sr. Design Technician
    Description: Description: Description: cid:[email protected]
    Knowledge/ Creativity/ Innovation
    www.kci.com<http://www.kci.com/>
    1431 Greenway Drive, Suite 775
    Irving, TX  75038
    Office:  972-957-3016
    Cell:  571-308-5364

  • HP All in One C7280 no longer duplex printing

    I have had my C7280 for over 2 years now and the duplex printing is working fine.  I have checked the control panel printer properties, verified that double sided printing is on for each print in my programs - and still the duplex printing no longer works.  It stopped working suddenly.  Any helps will be greatly appreciated.
    Also, even tho I have paper in the feeder tray, it consistently refuses to accept that it is there and tells me to load paper.  I have tried everything I know.
    Please someone help - this is end of year reporting time.
    Cody
    Cody

    There is such as thing as being too close to the wireless router, try moving it at least 15 feet away.  Also, just turn it off and back on again, sometimes that clears up slow printing.
    insert signature here

  • Can't get duplex printing to work

    I have a HP Color LaserJet 4650 which is a duplex unit. Before 10.5 I would print regularly selecting in the Layout "Two-Sided" and it would work fine. Now, in 10.5 it seems that no matter what I try it will not print on both sides... help? or is this some bug that needs to be sorted out?
    David

    This is still broken in 10.5.1. I found a trick that works for my printer... using the CUPS (Common UNIX Printing System) configuration system as a workaround.
    Go to http://localhost:631/ in your web browser.
    Then click "manage printer".
    Click "set printer options" on the printer with problems.
    Scroll down to "duplex" under finishing and change the option here to "Long edge".
    Duplex print, although you lose the option to single print it seems without going through this process.
    If it works for your printer post it here.

Maybe you are looking for

  • Clean_reqreq_up and BBP_get_status_2

    I am bit confused about the use of these two programs Clean_reqreq_up and BBP_get_status_2. What I understand from the different forums i read is that clean_reqreq_up creates the PO in the backend (classic scenario) after the shopping cart is approve

  • Where are the jar files added to a project listed?

    Hi Guys and Gals, This should be an easy one, and yes, I have searched google and the forums. My Master application/project uses task flows from other projects. These projects have been deployed to jar files, which are then added to my Resource Palet

  • How to create java files into windows applications i,e. exe files

    I been trying to convert my java files to exe files, but i have been reading a lot of webpages speaking of writing a code in c++ source code, any easier way to do it.

  • Calling a webservice through altova tool

    Hi , I posted the same earlier . the error is not yet solved. If u tell me the email id i will send the screen shots and tell me where exactly the problem is. Thanks Srini

  • FCP to iDVD?    HELP!!

    I have 4+ years experience in iMovie and iDVD. Not as much in FCP. I have a 30 second FCP 16:9 commercial to output to iDVD. Can I output a file that is compatible with iDVD? How do I do this?