How determine page size by opening PDF file in binary mode

Hi,
I have to print PDF file but I would like to know the page size of the PDF file.
What I have to verify (section, parameters) in order to know the page size? (Letter, Legal)
Thanks!
FE

And if you multiply the values by (1/72):
(792 - 0) / 72 = 11
(612 - 0) / 72 = 8.5
You may also have to consider rotated pages and not all pages within a PDF will match the size of the first page.
Using Acrobat JavaScript:
var nPage = 0;
var cBox = "Crop";
var aRect = this.getPageBox(cBox, nPage);
var width = aRect[2] - aRect[0];
var height = aRect[1] - aRect[3];
console.println("Page " + (nPage + 1) + " has a width of " + (width / 72) + " inches and a height of "
+ (height / 72) + " inches");
Produces the following output on the Acrobat JS debugging console:
Page 1 has a width of 8.25 inches and a height of 11 inches

Similar Messages

  • How come pages won't open PDF files made by Pages?

    How come pages won't open PDF files made by Pages?
    I have files I made with Pages and exported as PDF but I can't open them with pages to edit?
    Also, where are the recent files created by pages located? Can't find those to open either..

    Hi Tom,
    I was delighted when I signed up for Pages. Clunky yes, but it worked. I've been a graphic designer on a Mac for 25 plus years and have logged too many horror stories of "upgrade" wars which cost me massive lost time, data and money forcibly extracted just so I could finish a project.
    When I first used Pages in April of 2012? or there about, I was able to open Word documents exported to .pdf format, emailed to me, which I then dragged into Pages. I could make the changes I needed to make, export as a .pdf, return it back to my client which they could then edit on whatever it was they were using. I'm not a neophyte with this. I've had Original Photoshop as a stand alone, Quark (which locked users out 6 months after I purchased it.) Quark again, Freehand, Pagemaker, Illustrator, Photoshop again, Creative Suite for several upgrades, Acrobat Pro. 2 years ago I lost 6 years of Quicken data and had to and "upgrade" start over. This last go around I  had to "upgrade" my Apple ID - yes I had 2 on purpose, lost my Pandora One and my ability to get into the Tulsa County Library website.
    At this point, I'm retired and feel like what I've paid for in the past should WORK today. I have a 100+ page cookbook in Quark which I was able to export as a .pdf, that I've lost the tags too, Easier to start over. I have artwork that is hundreds of megs in Photoshop. Not the least bit interested in anybody's "cloud".
    Thanks for letting me vent. I'm determined to keep my equipment and software up to date so I can enjoy the skills I've acquired, but I completely cringe at Apple's antics. I truly hate it when I have to respond to some new "tip" or product offer. BooHiss. Happy Turkey Day. Pages is a "turkey" program.
    Best regards, mbd

  • Getting the page size and knowing how many pages they are in PDF file

    Hi There,
    when i do this script (
    var myPDFFile = File.openDialog(["Choose a PDF File"]); ) 
    with JS via Windows it is used for opening a new PDF file when i import this file i need to
    get the page size and how many pages they are in PDF file. but i dont know how to do it.
    please help me.

    Ask here: http://forums.adobe.com/community/indesign/indesign_scripting

  • How to reduce size or compress PDF files?

    Hi guys,
    Does someone knows if there is a way  to reduce the size of the PDF file with good quality even on Pictures and Scanned documents? I know the option 'export', 'quartz filter' 'reduce size', but the compression is so extrem. Many files can't not been read, the quality is so bad. Is there a additional app, software or extension that let the user play with the compression on pdf files and let it be more personalized like the dopdf V7 available for windows? i am very dissapointed with this. Please help or suggestion. I will appreciate it. Thanks

    I have used the excellent PDF Toolkit app for a while, and its preformed well. Occassionaly it makes the document into a negative image...which Im noyt sure why...
    Mathishk, im trying your online version out, and am impressed and admire the fact that you have done this.
    Well done. 
    A TRICK i use often. Once all hires images are on the designed document - and its coming in at 15-20mb, just change the link to the images so they are 'missing' then make a pdf.
    i.e 'Hi Res images' to HRes images - old'
    The screen resolution of images is still great, but file comes in at fraction of the size.
    You 'trick' the document to use screen images only. So my 18mb file comes in as 5.2mb.
    Just remember to change the images folder name back, so files relink.
    Andy

  • How do you download and open PDF files that come in the email?

    I can NOT download or open PDF files. It prompts me to open in IBooks and then it's not there. I am so frustrated. PLEASE HELP!

    Touch the attachement once to download it.  Then touch it a second time, after it is downloaded ( watch the attachment icon) to open it in quick view. if you want to do something more than just view it, and if you want to save it,  Touch and hold the downloaded attachment to get the 'open in' pop up, and any app that supports PDFs, like I books, or any of the other PDF ready apps.
    If it is not downloaded yet, it will not be in I books.

  • How [Insert|Add] Image into Opening PDF file with Acrobat SDK.

    Hi Guys,
    I'm trying to insert|add image file into opening PDF file with specified location (X|Y) and scale (Width|Hight) but got many of troubles
    If use third party like iTextSharp or something else thing become simple but i want to use Acrobat SDK to do this
    Any suggestion or idea?
    Any help appreciated.

    Thank for your interested.
    I use VB.NET and Acrobat
    Here is some my code:
    Try
       If File.Exists(T(0)) Then
       Dim AcroAVDoc As AcroAVDoc = Ap.GetActiveDoc
       Dim AcroPDDoc As AcroPDDoc = AcroAVDoc.GetPDDoc
       Dim AcroPDPage As Acrobat.AcroPDPage = AcroPDDoc.AcquirePage(Integer.Parse(T(3)))
       Dim data() As String = T(1).Split("^")
       Dim imgX = data(0)
       Dim imgY = data(1)
       Dim imgWidth = data(3)
       Dim imgHight = data(4)
       'TODO: insert into opening PDF file
       Return 1
       End If
       Catch ex As Exception
       End Try
    I don not know what to do next to insert an image (JPEG, PNG, ..) into PDF file.
    Can you show me or suggest some solution, idea?
    Thank in advance.

  • How to reduce size of a PDF file without loss of sharp graphics

    Hi, I'm working in Acrobat Pro X.  I have combined a file of graphics, and need to reduce the size.  Original graphics were created in PScs6, and saved as .jpg's.  What would be the best way to reduce the overall size of the PDF file and still maintain the clarity of the graphics?  Advice would be appreciated.

    When you are dealing with graphics, you are almost always talking about reducing the resolution or color depth. A lot depends on the graphics themselves. You might check one of the graphics and see what the color depth and resolution are. The 300 dpi setting is fine in most cases, unless you are wanting folks to zoom in. For many applications a color depth of 256 is fine rather than millions of colors. If those are acceptable options, be sure your graphics are set that way. You can try the Optimize to see if you can improve the size and still have adequate resolution (File>Save As>Optimize PDF).

  • Acrobat 9 Std-how to append new pages to existed/opened pdf file

    i am using Acrobat 9 standard version.
    when i used the scanner to create a pdf, but the file had many pages so i could not finish it before lunch. Therefore, i had to append new pages to the opened file.
    In past, 7 standard i could choose append to the opened file but 9 standard i don't have this function. Finally, i found the
    DOCUMENT / SCAN TO PDF / CUSTOM SCAN / TICK THE APPEND TO .....
    But, only 1 scan is allowed , what can i do now ????

    You can scan to different files, the you should be able to insert the
    second group of files into the first file using Documtent->Insert Pages.
    Mike

  • Different page sizes in one pdf file will not scale to print correctly

    Hello all,
         I have a pdf document that contains three different page sizes; 8.5"x11", 11"x17" and 34"x22".  These pdf files are custom manuals and we print many of these over the course of a month.
         In the older versions of Adobe Acrobat when printing this type of file, I could click print, select the page setup size to 11"x17", then select shrink oversize pages (or fit, depending), and choose paper by pdf page size and I would get the following pages from the printer - 8.5"x11" page would print on a 8.5"x11" paper, 11"x17" on 11"x17" and (most importantly) 34"x22" on 11"x17".  We do this because our printer does not have paper larger than 11"x17" yet the customer also receives a soft copy of the file and many times prints the large pages full size as needed on their large format plotters.
         With the newer versions of Acrobat, this will not work.  The only way these files will print automatically is to scale the 22"x34" down to 8.5"x11".   Why would I want to scale it smaller than my largest available paper size?  Also, all of the 11"x17" pages in a multi page size document will come out of the printer rotated 180° yet Adobe shows them correctly when the file is opened.
         Also, when I use the settings above, the print preview box shows the document correctly!  The HP technicians have the latest drivers installed and they have shown me where it seems that Adobe is not even sending the larger sheets but instead stops the printing process with an error.  So I try to send a 20 page document but Adobe stops at the first 22x34 page.
         We have now lost our old computers with every last old version of Acrobat that I could use to make this work due to mandatory hardware and OS upgrades.  I must find a way to print these documents without individually selecting different pages to print and then trying to assemble the document afterward.
         How do I preserve the pages sizes in my document and print the large pages scaled down to the largest paper size I have available in my printer?
    Thanks ahead of time.

    Ajlan,
         Thank you for your time.  I am still having the issue.  I am using Adobe reader 11.0.09 and Adobe Acrobat 10.1.12.  Neither one have the option in the print menu that you show for a physical printer.  They only offer that option for an Adobe PDF creation driver.
         It seems as though the printer you have selected in your menu is only for creating a pdf.  I need to physically print the pdf.  Do you have this same option when you select a physical printer?
    (edited to update screen shot)

  • How can you minimize all open pdf files at once in Acrobat 10?

    My company just switched us to Acrobat 10 from 6.  Now if I have a number of pdf files open I have to minimize each of them individually.  Before all you did was click the minimize button and the program just minimized to the taskbar.  How do you do that in Acrobat 10?  The Help link is of no use in the program.  Maybe this can't be done any longer.  If not, pretty stupid.

    Use the menu Window > Minimize All Windows

  • [JS][CS5] how to use bridgetalk to open pdf file through indesign?

    Hi,
    I need help on this:
    I have created a dialog box which has a button and on click of tht button i wanna open an external pdf file using bridgetalk. Or if not bridgtetalk then how to do it?
    Thanks.

    Mark,
    Yes, i would like to open the PDF in system's default reader.
    So how can i do that?
    Thanks.

  • In C#, how can I detect an opened PDF file and save it into disk?

    he WebBrowse componente in C# opened an PDF file inside. The file came from the Internet. So, the Adobe Acrobat Reader was called and opened the file correctly. I want to save this file to disk. How can I do it?
    The WebBRowse component does not have access to the PDF content.

    PDFs are not designed to be editable. Your engineers can make comments using Adobe Reader without any extra steps provided they use the highlight and sticky note comments. If you want them to have access to the full range of comment markup you will need to use Acrobat to apply extended rights to the file.

  • How to make fileDownloadActionListener to open pdf file in new window

    Hi all ,
    i used the component [ fileDownloadActionListener ] to make download pdf file ,
    my question is
    How make this components to download and open file in new window ?
    Jdeveloper version 11.1.2.3

    Here is a sample http://technology.amis.nl/2011/07/28/adf-11g-show-pdf-in-a-popup/
    or http://mahmoudoracle.blogspot.de/2012/06/genius-adf-buttons.html#.UZygjrVM_Lk
    in General you can use the technique described here http://tompeez.wordpress.com/2011/12/16/jdev11-1-2-1-0-handling-imagesfiles-in-adf-part-3/ and configure hte browser to püen the doenloaded file using the configured application (pdf reader in your case).
    Timo

  • How to read,dispaly and open pdf files

    Hi, I am very new to Java butI have VB6.0 background. My current requirement is to read pdf file names from a directory, then
    show them on a form in a list (with their path in background pointing to the actual pdf files) and then once a user clicks any
    file name, open that file on the form.
    For example:
    My pdf files are in a directory as following:
    C:\myreports\user1\
    report1.pdf
    report2.pdf
    report3.pdf
    C:\myreports\user2\
    report1.pdf
    report5.pdf
    The output on the form should look like this if user1 has logged in the system. Side note: I am able to get userid of the logged in person in a variable.
    My Reports:
    . Report 1
    . Report 2
    . Report 3
    When a user clicks Report 1, it opens on the same form in pdf format.
    Thanks
    S.yhong

    For the first part (Listing thepdf files in the directory) you can use the java.lang.File class.
    File f = new File("path to your directory");
    File files[] = f.listFiles();
    then process the files array to find the files with extenction pdf
    You can also use a file filter object and make the listFiles method return only the pdf files.
    Please read the documentation about the File class for more info about it.
    */ For the displaying the pdf part is it good enough if you load the accrobat reader and with it. In that case you can do that using the Runtime.exec
    Also you can search for free java based pdf viewers I am sure there must be meny.
    And also the JTextPane might support pdf but I am not sure about it.
    EDIT:
    Just to say that this is my 1000th post :)
    Message was edited by:
    LRMK

  • How to configure to not open pdf files into Internet Explorer 10?

    I have disabled the adobe complements from Internet Explorer and the preferences of Adobe to don't show the pdf files in internet but it keep also doing it.
    How can configure the computer? I am using Internet Explorer 10, Adobe Acrobat 8.1 and Adobe Reader XI
    Thanks for your help

    Hi BG-Zic,
    Acrobat 8 and Reader 11 is not a recommended configuration to install on one machine.
    Please check the KB : http://helpx.adobe.com/acrobat/kb/acrobat-product-interoperability-install-remove.html
    For disabling the pdf view in Browser please refer the KB : http://helpx.adobe.com/acrobat/using/display-pdf-browser-acrobat-xi.html
    There's also a related registry entry :
    1.Click "Start," type "Regedit" into the Search box and press "Enter."
    2.Click "Yes" if a User Account Control prompt appears.
    3.Navigate to the ""HKCU\Software\Adobe\Acrobat Reader\[version]\Originals\" key in the left pane of the Registry Editor, where "[version]" is the currently installed version of Adobe Reader.
    4.Create the bBrowserIntegration value if it doesn't exist in the right pane by clicking "Edit," "New." Click "DWORD Value," type "bBrowserIntegration" and press "Enter."
    5.Double-click the bBrowserIntegration value in the right pane.
    6.Type "0" into the value data box and press "Enter."
    Hope this helps.
    Regards,
    Ravi.

Maybe you are looking for

  • Iphone 4 can't hear me, but I hear them

    My iphone 4 I can hear them, but they can't hear me. They can hear me on speaker and they can hear me with my Bluetooth. This happened a couple of months ago. I went to the Apple store. They told me that the moisture indicator was orange at the botto

  • Keyboard Malfunction

    Just got my MacBook Pro this morning, and just a few hours ago I found the column of keys below F2 (F2, 2, W, S, X, Command) stopped responding. Later, the 0 and P keys stopped working. After fiddling for a while, I came to find that using the trackp

  • Prevent numeric input

    Hi, how can I prevent numeric input from user in a PDF form (text) field? I want the user to be able to enter any character, except 0,1,2,3,4,5,6,7,8 and 9 Without displaying an alert or a sound, I just need to diseable any numeric input. Thanks.

  • Yosemite Time Machine with Synology slow

    Hi all, now im trying to run a time machine backup (50GB) since more than one week. I don't now the bottleneck MacPro or the Synology Disk Station. But the access to the disk station works fine, also normal network file transfer is running with a goo

  • Essbase Installation on desktop/laptop

    Hi all, I am thinking of installing Hyperion Essbase system 9 on my laptop/desktop. Please advice 1. Whether its possible to have a complete essbase 9 installation on a standalone machine? 2. What are the components that we need to install? 3. Is it