Can I print the last page of a PDF document using command line?

Hi
I am in a situation in which I constantly have to deal with multiple PDF documents and I need to print the last page in each of these, and ONLY the last page. The total number of pages will vary for each file, so the page number for the last page will also vary.
I would really prefer to not do this manually, by opening up each file in the visible Adobe Reader window and then print.
Question:
Is there a way with Adobe Reader (maybe with the help of some other Adobe product) to print only the last page of a PDF document using some kind of command line without opening up the PDF file in the visible Adobe Reader window?
I'm using Windows.
Thanks in advance,
Regards,
Emil

Thank you for taking the time to reply.
I tried both ways and neither works.  It gives me a prompt box that I have to click "next" for every page but after going thru all pages, nothing is sent to the printer.
Also, all directions I've read indicate it will print to the default printer.  If my default printer is on a network, will that cause problems....
and...
should I be getting a prompt box on every page?  I thought all this would happen behind the scenes and not force me to interact with every page.
dc

Similar Messages

  • I can only print the current page of downloaded pdf's.  Not able to print "all".  I'm using a Macbook air.

    I can only print the current page of downloaded pdf's.  Not able to print "all".  I'm using a Macbook air.

    it says "the document could not be printed".  "There were no ages selected to print".
    I selected "all".  I always tried selecting pages "1-3".
    The only choice that works is current page.  Very strange.

  • How to print a specific page from a given PDF document, using command line, please?

    Hello,
    I need your advise, please. My customer requires to print a specfic page from a pdf document they receive, using command line or 3rd party solution.
    Anything you can advise, please? I have seen AcroRD32.exe options, but can only print the whole document.
    Kind Regards

    Not sure if there are any examples. The Acrobat SDK is a must, but it is best treated as documentation to study rather than examples to copy. The examples only illustrate a tiny fraction of the capabiliies.
    (One other note: the solution must involve the client owning Acrobat; Acrobat is not for server use).

  • The last page of every pdf document won't print.

    If I ask to print just one page - nothing.   If I ask for two pages, I get the first page.   Help.  Using Mac OSX 10.9.5 and Adobe 11.0.09
    I tried printing using an older version of Adobe, had the 'won't print last page problem' so I upgraded to the latest version.   Still the same exact problem.    Does anyone have suggestions?

    I have the same problem, but not just in Acrobat. Indesign also. So... I can't print a single page. Have to print two, and toss the one I don't want. Seems to be a problem with Adobe print interface. I can sometimes "trick" it by going to system print dialog box and back out again.

  • I have a macbook pro using version 10.7.4 and I can't print multiple size pages in a pdf file using the brother laser printer hl-5470 dwt

    I have a Macbook Pro using the 10.7.4 version. I recently bought a Brother HL-5470DWT Laser Printer. I can't seem to tell the printer to print multiple size pages in my pdf files.
    No matter what I do it still prints all the documents as 8.5x11! It isn't pulling the paper from both printer trays.
    Please Please help me out....
    deb

    Contact Brother tech support.

  • I am unable to print PDF's using either Adobe Reader or Safari. In Adobe Reader, I get an error message from my Cannon printer that says, "/usr.libexec/cups/filter/pstocupsraster failed". In Safari, I can only print the first page of a PDF.

    To try to resolve this problem, I have done the following actions.
    1 - I have run Disk Warrior.
    2 - I have repaired permissions.
    3 - I have deleted all plist that are either Cannon or Adobe.
    4 - I have downloaded and installed the lastest versions of Adobe Reader and the Cannon printer drivers.
    I am still unable to print PDF's.
    In Safari, I can print only the first page. In a multipage PDF, Safari only seems to recognize the first page.
    In Adobe Reader, I get an error message from my printer: "/usr/libexec/cups/filter/pstocupsraster failed".
    Any help would be greatly appreicated!

    Quit Safari.
    Open the Library folder in your home folder as follows:
    ☞ If running OS X 10.7 or later, hold down the option key and select Go ▹ Library from the Finder menu bar.
    ☞ If running an older version of OS X, select Go ▹ Go to Folder… from the Finder menu bar and copy the line below into the text box that opens:
    ~/Library
    Delete the following items from the Library folder:
    Caches/com.apple.Safari/Cache.db
    Preferences/com.apple.quicktime.plugin.preferences.plist
    Preferences/QuickTime Preferences
    Relaunch Safari and test.
    Launch the Console application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ If you’re running OS X 10.7 or later, open LaunchPad. Click Utilities, then Console in the page that opens.
    Select "/var/log/cups/error_log" from the file list. Post the messages from the time of the last printing attempt.
    Post the log text, please, not a screenshot. If there are runs of repeated messages, post only one example of each. Don’t post many repetitions of the same message.

  • Since the last 3 upgrades (thru Firefox 7.0) I can't print a web page. This is true using 2 different printers. I have an iMac 10.6.8.

    Since the last 3 upgrades (thru Firefox 7.0) I can't print a web page. This is true using 2 different printers. I have an iMac 10.6.8.

    Just read that the default memory storage on FF is set to 5 mbs. You can up that by clicking on tools, advanced and overriding the default and set it to 50 mbs (if you use lots of tabs) or 10 mbs (if you use just a few).
    I open a blank tab and clear the cache periodically, while I am working. I can have several tabs open and watch videos on Youtube, by doing this. Have you cleared your cache?
    Since I have an older computer, I've also used CCleaner for years. I use it often, but always before signing off. You can get it free...search for CCleaner, download from Pirifoam free. I didn't change any of the settings and it clears crap left behind from uninstalling programs, clears all browsers at once of: cookies, history, passwords, etc. I love it!
    I had freezing, before using the "open blank tab, clear the cache" thing. Now I have no problems. Plus, as I said...you can change the default memory usage for FF and that should help too.
    Hope this helps! Good luck! :)

  • HP LaserJet P2055dn Printer won't print the last page of documents & envelope problem

    My HP LaserJet P2055dn Printer won't print the last page of documents until i send another document, then it will print the last page of the previous document, but omit the last page of the current document.  I need to keep printing a blank page or any other page to get my previous documents completely printed.  Also, the envelopes print with large rectangular boxes on them and no address (I don't know if this is a result of the previous stated problem or not - it started happening at the same time) I use the envelope feature in Microsoft Word 2010.  I never used to have either of these problems - didn't make any changes to the system or add any software to the computer, so I know it's not that.  Any help would be greatly appreciated!!

    This seems to be a commercial product. For the best chance at finding a solution I would suggest posting in the forum for HP Business Support!
    You can find the Commercial Laserjet board here:
    http://h30499.www3.hp.com/t5/Printers-LaserJet/bd-p/bsc-413
    Best of Luck!
    You can say thanks by clicking the Kudos Star in my post. If my post resolves your problem, please mark it as Accepted Solution so others can benefit too.

  • Photosmart C6380 only prints the last page in documents

    My printer only prints the last page of multi page documents. To choose more than one page in a page interval in the print menu does not help, but it is possible to print all pages in a document if I only print one page at a time which takes forever for longer documents. I use Windows 7 64 bits and it used to work until the end of 2011. If I uninstall drivers and reinstall, it sometimes work for a short while and then the problem comes back. All my drivers are updated and I run the printer on wifi.

    Just to add some information: I do not get any error messages, blinking lamps or anything like that. I've got the same problem independent of file-format as it seems. I have tried word-files, pdf-files and to print from the web browser Explorer.

  • I want to print an email which has multi pages but I can only print the first page

    Can anyone help please?
    i want to print an email which has multi pages but I can only print the first page
    Tony

    Firefox cuts off the URL in your printout, if it's really long, and you also have on the same line (header or footer), the Date and Pages
    What I have summarized below is based on this page . . . http://www.watchingthenet.com/how-to-change-or-customize-firefox-printing-defaults.html
    I have two questions:
    To fix, do a custom setting, for the Header and Footer as follows:
    Print / Page Setup / Margins & Header/Footer / "Customize" the "Left" as follows (leave Center and Right all blank)
    &T
    &U . . . . . . . &D . . . . . . . &PT
    &D shows the Short date as: M/d/yyyy - and then the time
    To change the format of the Short date in Win 8.1, go to:
    Control Panel / Date and Time / Date and Time tab / Change date and time / Change calendar settings /
    Date / Short date . . . change from M/d/yyyy . . . to . . . MM/dd/yy
    QUESTIONS:
    1.) How do you get rid of the time, which appears after the date? In IE, you use a lowercase "d" - but that doesn't work here.
    2.) Is there a way to change the font just for the Header and Footer, to something like Microsoft Sans Serif 10?
    Firefox leaves no room around the text in the Header and Footer at the edge. To fix:
    Address Bar / about:config
    Enter keyword "edge"
    Then change all four values for the printer you're using to:
    print.printer_Foxit_PhantomPDF_Printer.print_edge_bottom . . . 5
    print.printer_Foxit_PhantomPDF_Printer.print_edge_left . . . 10
    print.printer_Foxit_PhantomPDF_Printer.print_edge_right . . . 10
    print.printer_Foxit_PhantomPDF_Printer.print_edge_top . . . 5

  • When reading an EBook, how can I mark the last page I have read?

    When reading a PDF EBook, how can I mark the last page I have read?

    Hi Pickles 77,
    Sorry to hear you are having issues with your iTunes Store purchase.   The following information should help you with this:
    How to report an issue with your iTunes Store, App Store, Mac App Store, or iBookstore purchase
    To report an issue with your iTunes Store, App Store, Mac App Store, or iBookstore purchase, follow these steps:
    Find the email receipt for your purchase.
    Click Report a Problem under the app that is having the issue.
    When prompted, enter the Apple ID and password you used to purchase the item, then click Report a Problem.
    Click Report a Problem next to the item you are having an issue with.
    From the Choose Problem dropdown menu, choose the appropriate issue.
    Follow the onscreen instructions and—if prompted—type a description of the problem into the text field.
    Click Submit to have your issue reviewed.
    Hope this helps ....
    - Judy

  • I don't want to print the last page of a smartform when there is no content

    I don't want to print the last page of a smartform when there is no content. Kindly help

    If the last page is printed, there are two possibilities
    -1- The MAIN WINDOW is only in this page
    -2- The page is explicitly printed from another page (new-page)
    -3- There is date but its only space or skip line.
    So in your form
    -1- Redefine the logic of your form
    -2- Check that, there are some data to be printed before calling the NEW-PAGE
    -3- Do skip or write space lines before printing an actual line and not after
    Regards

  • How can I print the Help page before I quit iTunes to open a Library?

    How can I print the HELP page, before I quit iTunes to create a new library?

    File > Print

  • Print range does not print the last page in the range.

    Adobe Reader for New IPAD - The print range function does not print the last page in the range. For example, if you enter a print range of 2-18, pages 2-17 print and page 18 does not print.  Also, if you enter a print range of 9-9, page 8 prints and page 9 does not print.

    I have the Epson 4540 printer. I don't know for sure if it connects via AirPrint.  I didn't do any thing to set up Air Print.  The printer is attached directly to my network router and it shows up IPad apps.  I have not printed docs from other apps, but I will give it try and let you know.
    Christopher J. Bilcz
    [email protected]

  • How can I print the test page with the Arabic type from the command line

    Hi,
    I have been trying to make the tool for printing the test page from the command line on the Arabic OS. I used "rundll32 printui dll printuientry" with "/k /n" options. My tool is to print the test page in all OS when pushing the
    button.
    Normally, in the Arabic Windows, the test page is printed with RTL type when printing the test page in the "Devices and Printers". But in my tool, the test page is printed with LTR type. I'm confused because of this result.
    Is it possilbe to print the test page with RTL type when using the "rundll32 printui dll printuientry"? If it is possible, could anyone give me the hint or information for resolving?
    Please check for me.

    Hello,
    Thank you for your post.
    Your issue is out of support range of Test Tools in Visual Studio 2010 and 2012 forum which discusses Visual Studio Test issues.
    I am moving your question to the moderator forum ("Where is the forum for..?"). The owner of the forum will direct you to a right forum.
    Best regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

Maybe you are looking for

  • How do I use AirDrop to share files and documents between my iPad and computer?

    Even directly plugging in my two devices to eachother I cannot get my documents onto both of my devices unless I go through a rediculously long route to do so. The only reason I got the IPAD was to NOT have to go save afile on my computer, email it t

  • APP Error messages

    Hi , Can anyone tell me if the APP error messages(ex:APP-PO-14040 ) are stored in any tables /  logs. Thanks Karthic

  • SDO_INDEX_METADATA not populated after impdp

    I have a table in instance 1 that I would like to export to instance 2. I use expdp to export the table from instance 1 and impdp to import the table into instance 2. Syntax for the import as follows: impdp mapinfo/mapinfo TABLES=COUNTY DIRECTORY=opu

  • How to set up replenishment or what must maintain in master data?

    I seted up replenishment in master data but it was not available when the stock less than minimum. So I will set what and How to set it.

  • Can't open ANY on demand apps

    My BT service started on Monday and I've just tried opening the on demand apps and not a single one of them will load.  I've left them all for a few minutes and it just says loading and if you exit and try to reopen I get an error yvm105. I'm using t