Need Help Programmatically setting Page Size for printing to Adobe PDF

We are upgrading from Adobe 5 to Adobe 9.  In Adobe 5, we set a few parameters in the __pdf.ini file to create a document with a specific Page Size.  For Example:
[Acrobat PDFWriter]
PDFFileName=
bDocInfo=0
Orient=1
bExecViewer=0
cpmarginwhole=18
cpwidepart=0
cpwidewhole=612
cpheightpart=0
cpheightwhole=792
Paper=0
Since upgrading to Adobe 9.2, this no longer appears to work.  I have also tried adding these values to the following Registry Locations with no luck:
HKCU\Software\Adobe\Acrobat PDFWrite
and
HKCU\Software\Adobe\Acrobat Distiller\PrinterJobControl
Is it still possible to create a custom page size using this method?  Or am I going to have to do that in a different way?

Bill, thanks for the quick response.  However, we generate many forms on a daily basis with different page size requirements.  The way this was accomplished through Adobe PDFWriter was by setting the various parameters in the __pdf.ini file for the Document that we are generating.  I believe we have about 7 different page sizes that we generate.

Similar Messages

  • PIXMA MG8220 default page size for printing is set incorrectly to 6x4, need Letter

    I have a PIXMA MG8220, and the default page size for printing is set incorrectly to 6x4, I need it to be Letter paper size. I'm wasting a lot of paper, and cannot figure how to reset the defaults on the printer vs. individual laptops using the printer?Simon

    Hi simonp, To set the paper size to be printed on, please follow these steps: 1.  Open an application such as TextEdit. 2.  Go up to File and select Print, or press the CMD+P keys on your keyboard. 3.  Locate the PAPER SIZE field, then select the LETTER paper size. 4.  Look for the drop-down menu labeled PRESETS, then expand this menu and choose SAVE AS.
    5.  Type in a name of your choice for this default setting, then click OK.
    You will now be able to select the above created preset from any application you print from, with the default paper size being Letter.  Hope this helps!

  • Set custom page size for printing

    I want to set a custom page size for printing some PDF three and four-page musical scores to roll paper on an Epson 1290 using Adobe Reader 9.3.4 on Ubuntu 10.04. The printer properties in the print dialog has a media size option, and one of the choices is "custom", but having chosen "custom", the dialog does not allow me to add the actual page size to the lpr printer command. I can see that when I choose "custom", the lpr command is
    lpr -P Stylus-Photo-1290 -o PageSize=Custom etc
    but what I need for a three page output, for example, is
    lpr -P Stylus-Photo-1290 -o PageSize=Custom.297x630mm etc
    and I can't see how to add the actual custom paper size. If I Ok the media size choice dialog with it just set to PageSize=Custom, I can see from the output preview in the print dialog that the actual page size that has been chosen is letter. The online Adobe doc for Reader 9 printing (http://help.adobe.com/en_US/Reader/9.0/content.html#heading2.3) says "For documents that are larger than the standard page size, go to File  > Page Setup.  Create a custom page size before you print your  document". The problem with that is that there is no "Page Setup" option on the File menu in the Unix version of Adobe Reader, only a "Print" option, which is where I already am.
    If I open the PDFs in Evince, it allows me to add the custom page sizes I want, but as Evince doesn't have the option to print multiple pages per sheet I can't use it either...

    Yes, it used to work, and the resize zoom bar used to work too (now its grayed out). I don't know if this is a "who's to blame for it" thing, but its not getting fixed and its pretty bad that no one seems to care enough even to respond. I found my own solution by opening it in Gimp. Just right click and select open with other ...Gimp and it will import into it. In the Gimp Print dialog, you have a scaling percentage in the "Page Setup" tab, and size settings in the "Image settings" plus loads of other stuff including multiple copies.

  • Can no longer create custom page size for printing to PDF?

    When printing from FrameMaker to PDF in Windows, I used to be able to create a custom page size by clicking on the Add button that appeared to the right of the Adobe PDF Page Size window, in the Adobe PDF Document Properties dialog box. With Frame 9, that button no longer appears; in fact, the whole dialog box is cut off just inside the edge of the entry windows. Do I need to set something? Thanks for any help you can offer. - Cindy Shaler

    Cindy,
    I am not sure to what dialog boxes you are referring.
    In the PDF Setup dialog box (in FrameMaker's Print dialog or Save as PDF dialog), the Settings tab displays two fields to change the width and height of the paper. I tried entering odd values, and the resulting PDF had the entered size. I see no Add button nor is the dialog box cut off.
    Maybe I am not looking at the correct boxes.
    Van

  • Default page size for printing

    Is there a way to configure (i.e., specify non-programatically) the default page size to use when printing in Java? We have several JREs installed on a single Solaris machine. It seems that all but the one that came installed with the OS defaults to a an ISO-A4 page size.
    I wrote a test program (see end of post) and compiled using a 1.2.2 JDK. Here are some results:
    $ /usr/java/bin/java -cp . PrintPageFormat
    Java version: 1.2.2
    Page size: 612.0 x 792.0 pts
    $ /opt/java-packages/jre-1.4.0_04-solaris-i586/bin/java -cp . PrintPageFormat
    Java version: 1.4.0_04
    Page size: 595.0 x 842.0 pts
    $ /opt/java-packages/jre-1.4.2_08-solaris-i586/bin/java -cp . PrintPageFormat
    Java version: 1.4.2_08
    Page size: 595.0 x 842.0 pts
    $ /opt/jre-1.5.0_04-solaris-i586/bin/java -cp . PrintPageFormat
    Java version: 1.5.0_04
    Page size: 595.2755813598633 x 841.8897399902344 pts
    I've searched the Internet, but cannot find how to go about setting the default page size for a JRE. I've opened a ticket with Sun, and was told you can't do this other than programatically. It seems unreasonable that I would have to recompile my existing applications just to get them to work correctly under newer JREs. Is Sun's response to my ticket correct???
    Thanks in advance!
    Chris Rorvick
    [email protected]
    ============================================================
    import java.awt.print.*;
      public class PrintPageFormat
          public static void main(String[] args)
              PrinterJob pj = PrinterJob.getPrinterJob();
              PageFormat pf = pj.defaultPage();
              double w = pf.getWidth();
              double h = pf.getHeight();
              String version = System.getProperty("java.version");
              System.out.println("    Java version: " + version);
              System.out.println("    Page size: " + w + " x " + h + " pts");
      }

    This problem was fixed by setting the locale variable LC_CTYPE to "C" or "en_US". The JREs 1.4.0 and above deployed on our Linux and Solaris environments all have the system property 'java.awt.printerjob' set to 'sun.print.PSPrinterJob'. This is a subclass of sun.print.RasterPrinterJob which in turn is a subclass of java.awt.print.PrinterJob. So, PSPrinterJob is the actual class of the PrinterJob returned by PrinterJob.getPrinterJob(). Looking at the code of RasterPrinterJob:
            /* Default to A4 paper outside North America.
            String defaultCountry = Locale.getDefault().getCountry();
            if (!Locale.getDefault().equals(Locale.ENGLISH) && // ie "C"
                defaultCountry != null &&
                !defaultCountry.equals(Locale.US.getCountry()) &&
                !defaultCountry.equals(Locale.CANADA.getCountry())) {
                double mmPerInch = 25.4;
                w = Math.rint((210.0*ptsPerInch)/mmPerInch);
                h = Math.rint((297.0*ptsPerInch)/mmPerInch);
                newPaper.setSize(w, h);
                newPaper.setImageableArea(ptsPerInch, ptsPerInch,
                                          w - 2.0*ptsPerInch,
                                          h - 2.0*ptsPerInch);
            }This should have been fairly obvious. Java's locale settings depend on the platform's locale settings (i.e., LC_ variables in this case), and then the default page size is determined (or actually altered) based on that.
    I'm kicking myself for not figuring this out much sooner. I would hope Sun is, too! (not me, themselves)

  • How do I set the default page size for printing on a 8450.

    A few days ago I printed some envelopes and now when I print from some programs, the print page size has remained the envelope size.  I want to print from any program on letter size paper without changing the settings every time.
    Thanks
    This question was solved.
    View Solution.

    This document can help you set the print settings for any type of printing. Not just for photos as the title suggests. You should not have to keep setting it every time.
    Printer settings
    007OHMSS
    I was a support engineer for HP.
    If the advice resolved the situation, please mark it as a solution. Thank you.

  • Efficient page size for print and SWF doc?

    I have to create an AR for a client who wishes to have it saved out as a SWF file for online usage, in addition to the printed books. I'm just wondering if there's a more efficient page size, other than 8 1/2 x 11", that would work better for online. As it is, I find the 8 1/2 x 11 size is a bit difficult to turn the pages in SWF. Comments please?
    Thanks in advance.
    Sandra

    You are right and wrong.  It stems from terminology and taking this a bit literally.  Yes, margins do not print.  However, they do print.  Typically you set margins as "guides" for page layout and it ends there.  If, you have elements that print in the margin areas, then they ( the elements ) will print.  Let's say you have a business card layout that equal 2"h x 3.5" w ( horizontal ).  You can set a margin of .25" all the way around the card as a guide. Now you apply a background bleed color of 100% Black at 2.25"h x 3.75"w ( 1/8" bleed all the way around ).  Eventhough you have a margin of .25", the Black will print entirely including the bleed.  Now, Page Margins are different.  Most desktop printers do not include bleed in an 8.5" x 11" page size.  For instance, my inkjet printer has non-printable areas or page margins that do not print.  They equal something like .139" top, left, and right with a bottom margin of .6".  Unless your printer has an option for "borderless" printing, there is a non-printable margin in the Page Setup.  This is different than layout margins which are printable and used as guides.  So, if your desktop printer does not have "borderless" printable areas ( option found in Print > Page Setup ), you'd have to print your 8.5" x 11" layout on a larger page size and then trim it down later.  Let me know if you have any other questions.  I hope I cleared it up for you.  Let me know if I didn't.

  • Need help to set up file and print sharing

    i just bought my router and i needed help setting up file and print sharing i am using windows xp on both of the computers one is a desktop and the other one is a laptop

    Here
    Enabling File and Printer Sharing
    "Sometimes your knight in shining armor is just a retard in tin foil.."-ARCHANGEL_06

  • Specify page size for webi reports as pdf

    Hi,
    Is it posible for a webi report generated as pdf, to specify the page size used inside that pdf ?
    Let's say I want that all pages of that pdf to have page size=A5.
    Is this possible using bo sdk ?
    Thank you.

    Hi Durga,
    log file shows Error  "Continue parsing report event"and/foldername/ SUBF/file name.pdf  means failed
    Can you come accross any such error.
    Regards,
    Ganesh Bothe

  • Problem setting page margins for printing

    I made a program that prints inventory reports at work, but I wanted to push back the margins a bit so I can use a font size one larger. As it is, some of the information is at font size 10. I do not want to use the "Page Settup" dialog to bug the user to change it; I wanted to set it automatically.
    I tried taking the PageFormat argument to Printable's print() method and setting the imageable area like so...
        public int print(Graphics graphics, PageFormat pageFormat, int pageIndex)
            Paper formatEdit = pageFormat.getPaper();
            formatEdit.setImageableArea( 36,36, pageFormat.getWidth()-36,pageFormat.getHeight()-36);
            pageFormat.setPaper(formatEdit);
            ...Is this at least the general approach I should be using, or should I be doing something totally different?
    As always, thanks much in advance.
    Edited by: Loduwijk on Sep 25, 2008 3:40 PM
    Edited by: Loduwijk on Sep 25, 2008 3:50 PM

    Set them automatically based on what criteria?
    If you just want to set them programatically, then as the Help indicates, use the Printing:Margins property to set those values.
    Attachments:
    Example_VI_BD.png ‏2 KB

  • Programmatically Set Page Setup when printing with Internet Explorer?

    Hello,
    I'm using the LabVIEW 7.1 Print HTML Report VIs.
    However, I'd like to change the default margings and footer and headres of Microsoft internet explorer which is used to do the actual printing.
    I tried to find a way using the functionality of IWebBrowser2 (Wich is actaully used by the original VIs). It seems I have to use OLECMDID_GETPRINTTEMPLATE and pass a structure of the type ITemplatePrinter.
    How can this be done - or is there a more simple way to do this?
    Thanx,
    Rainer

    I'm looking for the same features.  Ideally you would be able to send the page setup parameters to IE programatically but so far I've had no luck doing that or finding any reference on how it would be done.  The closest thing I've seen is the print templates, but I am still unsure how those would be implemented exactly.  I did find this reference for the template which seems fairly descriptive:
    http://msdn2.microsoft.com/en-us/library/bb250434.aspx
    Message Edited by Deej60 on 04-03-2007 06:17 PM

  • I need help to set font size in mail os x 10.9?

    Just upgraded to os x 10.9 and mail messages display at a very small font and can not be expanded by spreading fingers on screen as was the method prior to upgrade. Have thus far not found a way to change the default size. Would appreciate any help.

    No computer that runs Mac OS X 10.9 can change the size of things on screen by touching the screen -- the screens are not touch sensitive.
    Those settings are in Mail > Preferences > Fonts & Colors

  • Need help in setting up Gmail for mobile

    What is the localhost for gmail? Does it use httpProxy if yes what is the proxy host? thnks!!!

    These are the settings for my Gmail IMAP account:
    Account Information pane;
    Account Type: IMAP
    Description: Gmail
    Email Address:[email protected]
    Full Name: My Full Name
    Incoming Mail Server: imap.gmail.com
    User Name: My User Name (this is the part of my gmail address before the @ only)
    Password: mypassword
    Outgoing Mail Server (SMTP): smtp.gmail.com
    Advanced pane:
    Enable this account: checked
    Include when...: checked
    Keep copies..: All Messages and their attachments
    IMAP Path Prefix: blank
    Port: 993
    Use SSL: checked
    Authentication: password
    Use idle command...: unchecked
    Dah•veed

  • Cannot print to Adobe PDF from InDesign CS4 under Snow Leopard (10.6.2)

    Hello All,
    Hopefully the subject line says all. Running SL and CS4, and after manually deleting the "old" Adobe PDF 9.0 driver, I am unable to print to PDF — or select "Save As Adobe PDF" under the Mac OS print dialog. This is insanely frustrating on may levels, as this was once a 3-minute operation and now has stretched into two days of futile searching for a solution.
    There is a "tech doc" somewhere out there that offers a "solution". But beware, as it has not worked for me. Once you manually search for and remove the Adobe PDF 9.0 driver, you are supposed to magically be able to select the "Save As Adobe PDF" option. This is not the case for me.
    Am trying to print, once again, from InDesign CS4 (NOT via the Export command as that will not allow me to set page size, or print separations). There is no Adobe PDF driver there anymore and there is no option to print PDFs. Of course, I can rest easier with the knowledge that everything is easier now in SL.

    For a long time I was printing out of InDesign CS4 to a PS file and Distilling to a PDF, either composite or separated. Then Snow Leopard came along and that workflow seemed no longer available. It seems some well meaning people didn't understand a professional DTP workflow.
    I had to work between two Macs to create a project and then make separations.
    Eventually I went back to the Adobe InDesign forums and folks insisted that a Adobe PDF 9 printer should be available in my print drivers.
    On that suggestion I completely uninstalled Adobe Acrobat Pro 9 and then reinstalled it.
    It worked, I had the PDF printer back and can now print to a postscript file and do separations as I always have.
    (Another story is that Snow Leopard killed my Epson 2200 printer)
    At one stage I did an update of Acrobat 9 and it caused me to lose the Adobe printer again. Going through the procedure again brought it back and this time after a Acrobat 9 update it stuck.
    In my opinion somebody screwed up. It's not enough to be able to create PDFs out of Microsoft Word. There are people out here trying to make a living and need to be able to create print separations for some offset printers.

  • Issue with HelveticaNeue text not being included when printing to Adobe PDF?

    I have a document (Word 2010 docx) with a section of HelveticaNeue text on the front page that when printing through Adobe PDF the text does not appear.
    Using Acrobat 9.4.6
    Tried the same document with:
    Win2Pdf - Displays correctly
    Converted to .doc - Displays correctly
    File\Save as PDF - Dispalys correctly
    Any ideas? I can post the document up here but I can't see an option to.

    You can try disabling the “Rely on system fonts only: do not use document fonts” option in printer properties.
    To do the same.In MS Word:
    Goto File -> Print
    Select Adobe PDF as printer.
    Click on "Printer Properties".
    Go to "Adobe PDF Settings" tab.
    Uncheck the “Rely on system fonts only: do not use document fonts”
    Click Ok and try printing the document
    Also update your Acrobat to latest version 9.5.0.
    You can download the patch form: http://www.adobe.com/support/downloads/detail.jsp?ftpID=5330

Maybe you are looking for

  • Ipod shuffle 2nd gen. won't start

    My son has a ipod shuffle 2nd gen. and it won't play. When we plug it into the computer the orange light comes on and just stays on and the computer won't even show it as being plugged in. So when we even unplug it and try to play it,the ipod doesn't

  • Killing a query through JDBC

    Hi, Group. This seems like the type of question that has been asked / answered a million times before but a quick Google and a search in this forum didn't return what I was hoping for. I have a Java application that issues SQL statements against an O

  • Mail Duplicate Issue

    I have a strange issue with my clean install of Mavericks. I set up my two email accounts and emails were imported both using IMAP. I have an issue with emails received from this Apple Support Community that is it. They are doubling every message. Bu

  • How to create minute range

    Hi experts, I need to populate two column in order to get waiting time, then i need to create minute range as below:- i ) less than 30 minute ii) 30 minute - 60 minute iii) 60 minute - 90 minute iv) more than 90 minute select TO_CHAR(abs(vlh.SERVICIN

  • Need help Using AP Express in an AP Extrem Network

    i switched from ap express to ap extreme for my network connection to the internet. Now i want to use the ap express to connect a printer to the ap extreme network. Read a lot of documents but so far i still do not know how to do it. Anyone with some