Page Switching in Post Script file

I need to print the first page of my bills on a specified pre printed bill form and the next Page i.e two or three on plain sheet.  
I have follwoing command line for Page switching.
For First Page
<</Duplex false/PageSize  [595 842] /Tumble false /ManualFeed false /MediaPosition 0>>  setpagedevice
For Second Page
<</Duplex false/PageSize  [595 842] /Tumble false /ManualFeed false /MediaPosition 1>>  setpagedevice
Where Should I insert these lines in my PS File
Please see my PS file here
Dropbox - 1.PS
The first five page are single page bill that are to be printed in Bill form. the next bill is a two page bill so first page will be printed on bill form and the next on lain sheet.
Kinldy Guide where should I place those lines

If you do not need to alter the output order (e.g. to reverse), the following will be sufficient:
%%Page: 1 1
%%BeginPageSetup
<</Duplex false/PageSize  [595 842] /Tumble false /ManualFeed false /MediaPosition 0>>  setpagedevice
%%PageOrientation: Portrait
pdfStartPage
0 0 595 842 re W
%%EndPageSetup
%%Page: 2 2
%%BeginPageSetup
<</Duplex false/PageSize  [595 842] /Tumble false /ManualFeed false /MediaPosition 1>>  setpagedevice
%%PageOrientation: Portrait
pdfStartPage
0 0 595 842 re W
%%EndPageSetup
The italic lines are copied from your sample file, the bold line is what you should insert. For the 3rd and following
pages you need not do anything as long as you don't change the output order.
Helge

Similar Messages

  • Converting Back to Original PDF Using Post Script File

    Is there any way to convert back to an original PDF using a post srcipt file that was created from that original PDF?  Allow me to fully explain my situation:
    I converted multiple pdf's that I created into a post script file.  I then utilized Adobe Distiller to convert them into a pdf that could be used for better printing and better usability by the end user.  Unfortunately, when Distiller did this conversion, it replaced my original pdf with the new one.  By the time I realized what was happening, all files had been replaced.
    I still have the post script file that was created from the original PDF file; is there any way possible using this post script file that it can be somehow converted back to the original PDF file?  There are some edits that I need to do on the original PDF.  The pdf that Distiller creates doesn't allow for anymore edits.  My goal is to be able to make my edits without having to re-create 37 pages of documents. 
    The software versions I'm using are as follows: Adobe Acrobat X Version 10.1.4, Adobe Distiller Version 10.1.438.
    If anyone has any ideas, please let me know!

    Hello, thank you for responding.
    Yes the url links start with http:
    For example when I type in
    http://canberracontemporaryartspace.wordpress.com/2013/07/06/staying-out-of-trouble/
    in the word document and click on it, the link works; but when I save it as a pdf it says "not found"
    And then when I type in
    http://www.camberwellspecialists.com.au/what-is-skin-cancer.html
    in the word document and click on it, the link works; but when I save it as a pdf it says "page not found"

  • How can I rip a 10" x 10" post script file from InDesign 6, it keeps telling me "the active document

    How can I rip a 10" x 10" post script file from InDesign 6, it keeps telling me "the active document uses multiple pages sizes and won't print.  My page sizes are all 10" x 10"

    Please post in the InDesign forums here http://forums.adobe.com/community/indesign/indesign_general. They will be able to help you.

  • How to Edit Post Script file Programitically Using PSUTILS in Windows XP

    I am haiving millions of post scripts file. Each having 4 to 5 pages. Except at page number one each page has little content. So though the content size is small but stationery wastage is quite high.
    I googled arround and came to know about a produch PSUTILS that could narrow down my page numbers.
    But unfortunelely, I am not able to get through that how it works.
    Anybody having idea may please expalin in detail step by step that how to use Psutils. Anyother like software may also be intimated please.
    PSUTLIS may be downloded from
    http://gnuwin32.sourceforge.net/packages/psutils.htm
    My sample PS file can be downloaded from
    https://www.dropbox.com/s/m80x4hfcpf49r5x/1010493909.ps
    Regards
    [email protected]

    Hi gimbal2,
    about code
    jTextArea1.setText(e1.getMessage());I am using this code so that the user will be prompted with a message rather than stack trace.
    About the issue I am getting on linux i believe its because of following statement.
    processBuilder = new ProcessBuilder("sqlplus",userName+"/"+password+"@"+databaseName, script_location); //ORACLERegards,
    Ajay
    Edited by: Ajay Sharma on Nov 23, 2012 12:05 PM
    Edited by: Ajay Sharma on Nov 23, 2012 12:06 PM

  • Saving PDF files as Post Script files using Adobe Professional

    I have a 2 Page  PDf document that mainly has Text on each page. Both the Pages have a 2D Data Matrix Barcode also.
    I opened the PDF file in Adobe Professional and saved the file as Post Script file.
    Post Script file gets saved successfully. When I open the Post script file - It has almost 40,000 line for a 2 page post scipt file.
    It has lot of Hex data that looks so huge in the file. ( I thought only Images get converted to Hex format).
    Is there a setting or something I am missing that I have this huge Post script file for a 2 page text file PDF

    Your barcode may be a high resolution graphic. A lot of junk (hex) is what you would see in such a case with PS. How it looks to you may depend on what application you are using to view the PS file. If you open it in a code or text editor you might get a better idea of what is there. I don't look at PS files much and agree with graffiti's question of why do you want to?

  • How to Print Post Script Files

    Hi All,
    I am trying to make a utility software in foxpro that could print post script file on:-
    1) Post script printer
    2) Non Post Script printer
    Operating System Windows 95 & above
    Help is requested from all the community members
    Reagards
    Harsh

    PostScript printer - send it to the printer port e.g. LPT1: with a simple copy.
    Non-PostScript printer - you'll need to buy a PostScript RIP, or perhaps use Acrobat Distiller to convert the PostScript to PDF, then print the PDF with Acrobat's API - see the Acrobat SDK. (This is not possible with the free Reader).

  • Unable to create post script file in framemaker.

              I installed TCS 4.0 licensed suite. Due to some reason I need to delete Adobe PDF from Devices and Printers. Since then I am unable to create post script file using framemaker. I have tried uninstalling and installing TCS 4.0 again, but all in vain. What should I do now?

    If you delete critical parts of Acrobat there will be problems. Try doing a REPAIR of Acrobat Pro (from the Programs Control Panel), maybe it can undo the damage.

  • SapScript output spool to a POST script file

    We generate  billing invoice output using custom
    program/Sap script. Subsequently we release the invoice print out from
    the print spool to create a post script file from the print spool by configuring command set "G" in
    transaction u201CSPADu201D. This processis  is working fine in R/3
    However, when we migrated the same functionality to ECC, we are finding
    that the file created containing only garbage data.
    Anyone has encountered this issue and have suggestions to resolve this.
    Thanks
    Palani

    Hi Gary
    How the issue is resolved, please let me know. Since i am also facing same issue.
    Thanks
    M G Shankar

  • I am getting some errors while distilling the post script file.

    I am getting some errors while distilling the post script file. please check and suggest me, how to control this?
    <PDFX ISO="15930-1:2001" COMPLIANT="true">
    PDF/X Compliance Report
    1.  Summary
       Warnings: The total found in this document was 0.
       Violations: The total found in this document was 0.
       No problems were found in the document.
       This document passes PDF/X-1a:2001 compliance checks.
    </PDFX>
    Regards,
    Jack

    @Jack – you were using a joboptions file by Distiller to convert a PostScript file to a PDF/X-1a.
    What you get is no error message, just a report, that everything went ok. And in this case I cannot see any advantage using PDF Export for printing to PostScript/distilling to PDF. Ok, maybe one, CS5 and above would export in a background process.
    To prevent InDesign flattening transparency, you could use PDF/X-4 as your export setting. You cannot use writing to PostScript for that task.
    Check including tags for tagged export to prevent misalignment of text because of a strange bug with PDF Export when you are using 9pt text on 12pt leading or text with a ratio of 9/12 for point size and leading in multicolumn text frames.
    Uwe

  • Reading post script files

    Does Adobe offer a program that reads post script files?

    Adobe Acrobat can convert Postscript to PDF and display the PDF.

  • Exctract data from Post Script file

    Hi all;
    I need to extract, manipulate some data from post script file send them to database.
    How can i do that process?

    OT: Hey Rene, I see you've become a local celebrity
    around here!I'm still waiting for the groupies to show up, though. No luck so far. :p
    I think it's a nice initiative and
    enjoyed reading the interview.
    ; )Thanks. :)

  • Creating Post Script File from Word Document

    Hi How to create a Ps File from Word document.. Is there any api to do this ?
    ~Arjun

    (1) It is
    PostScript, not
    Post Script or
    Ps!
    (2) To create PostScript from a Microsoft Word document, you simply open such a document in Microsoft Word and print to a PostScript printer driver instance, but chose the
    Print to file option. Note that since PostScript from drivers is device-dependent, you do need to choose a PostScript printer driver instance very carefully based on a PPD that has few device dependencies.
    - Dov

  • Is Obfuscation in Post Script files Possible ?

    Hi. Is there any method or tool by which PS files can be obfusciated. Please Guide
    Regards

    Go here for the files: ftp://ftp.cs.brown.edu/pub/postscript/obfuscated/
    My favourite was ftp://ftp.cs.brown.edu/pub/postscript/obfuscated/Tiny_RayTracing.ps which used to run for about 12 hours on older computers.

  • How can I get my Post Script files to print from a designated side?

    We're printing Cards through a PS combatible printer.
    The Vertical Cards are flat fed through the printer and the image is printing.
    However, I cannot consistently get the image to print out from the same side.
    Using Illustrator CS2, CS3 and CS4, we were able to get good results only using CS3.
    Since most of us are using CS4, we'll need to make this work, rather than toggling
    between versions.
    There must be some parameters that we are missing.
    Suggestions?
    How can we get the images to print consistently from the same side?

    Sounds more like an issue with the various combinations of AI and the PostScript printer drivers producing different PS being sent to the printer and naturally the printer producing a result based on the interpretation, which is perfectly correct. Short of printing it as bitmap data I don't see an easy way to fix this. this clearly requires som computer person to check it hands on and install the correct drivers and define the correct default settings...
    Mylenium

  • Unable to convert post script file

    keep getting the above message, still unable to print...help!

    Hi welshgold,
    You'll need to provide some additional information:
        - Adobe product and version number
        - Operating system and version number
        - The full text of any error message(s)
        - What you were doing when the problem occurred
        - Screenshots of the problem
        - Computer hardware, such as CPU; GPU; amount of RAM; etc.
    You can though try to remove your printer and re-install or you can try to reset your printer subsystem (this will remove every printer from your computer system).

Maybe you are looking for

  • Camera Connector doesn't work with Nikon DSLR?

    I just got the camera connector, and when I connect it to my Nikon D5200 to directly download photos to my iPhone 5, it tells me my Nikon isn't supported.  If it's just reading an SD card, I don't see how this should be an issue.  Am I just missing t

  • Lightroom 3: file changes not propagating into Finder even after saving metadata?

    Hello, I have recently purchased Lightroom 3 and have spent the past couple days educating myself on the program.  I have developed a file in Lightroom and I am now trying to open it in Photoshop Elements 10. I am running into two problems.  1. I hav

  • Payment WIzard PLD

    Hello experts i have an issue with the PLD in Payment Wizard. i have edited the default one in order to bring me the desired data except of one... i want to display the Bank account of the BP where is in Payment Terms Tab->Account field(DflAccount) i

  • How to control the permission for reports in share folder?

    Hi Experts, In OBIEE 11.1.1.6.0. I have created two folders in share folder,one is sales folder which contains some sales reports,and the other is dashboard folder which contains some dashboard pages that have these sales reports. So I want to new us

  • SBO Development Environment 2.4 Error (B1Wizard.Globals )

    Hi,expert I installed B1De but i can't open anything about him, when i open DB Browser it show me it "B1Wizard.Globals throw a exception" I found some threads about it, but My environment is different How can I solve this problem? install Windows 7 (