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

Hello

I'm in a situation where I constantly have to deal with several documents in PDF format, and I need to print the last page in each of them and ONLY the last page. The total number of pages vary for each file, so the page to the last page number will also vary.

I really prefer to not do it manually, to open each file in the visible window of Adobe Reader, and then print.

Question:

Is it possible with Adobe Reader (perhaps with the help of another Adobe product) to print only the last page of a PDF document using some sort of command line without having to open the PDF file in the Adobe Reader window visible?

I use Windows.

Thanks in advance,

Kind regards

Emil

Hey, I've just set up a measure of inquiry by accident. That's really bad thinking. Here's what to do.

When the "Create new Action" checkbox is shown...

Choose Start with: a file open in Acrobat

DO NOT CLICK on add a step statement

Open tools more

Click once on run JavaScript

A blue line to run JavaScript must appear on the right side.

Click on the small box under Options inside the blue line

A JavaScript editor should appear; Enter the program, and then click Ok

To save in: select do not save the changes.

Click Save

Give a name; you don't need to enter a description (although it won't hurt if you do).

Tags: Acrobat

Similar Questions

  • Please, how can I delete several existing pages in a PDF document?

    Please, how can I delete several existing pages in a PDF document?

    I used to do in the recent past.

    Now, I'm subscribed to ExportPDF, but it does not eliminate me pages.

    What could I do to reach my goal?

    Thank you very much for your answer!

    Antonella

    You need Acrobat for that.

    The game, August 7, 2014 19:17, antonella pretali [email protected]>

  • How can I print only selected pages in a Multipage document?

    HP Envy 114 e - All - in-One Printer

    How to print only pages 2 and 4 of a 10 page document using my printer of 114 do you want?

    Hello

    Where to print from? Under Word or PDF, you can select which pages to print.

    Kind regards.

  • All of a sudden, I can't print any web page. After the print command, she wants to save it to an XPS file.

    All of a sudden, I can't print any web page. After the print command, he wants me to save a file in XPS, and I can't spend.

    This has happened

    Each time Firefox opened

    Is a few weeks ago

    In the print dialog box, change the selected Microsoft XPS Document Writer printer in your printer you want.

  • I use Vista Home Premium on a laptop Dell 1545 Inspiron and Dell 968AIO wireless printer. I can't print the attachments of email but I can print several pages on the internet.

    I use Vista Home Premium on a laptop Dell 1545 Inspiron and Dell 968AIO wireless printer. I can't print the attachments of email but I can print several pages on the internet. I updated drivers and tried everything that other people have told me to try on other forums to the best of my abilities. I'm not otherwise qualified in computer science. Also, I will mention this all started when I restored my computer laptop back to factory settings. I did it because that's all I could think about. As far as coming back on my laptop, he did do the trick. Thus, suggestions, thoughts will be appreciated.

    Thank you

    Jim

    Lima, Ohio

    original title: unable to print attachments from Windows Mail

    Hello

    The print job goes to the queue?

    Method 1:
    I suggest you through the Windows 7 steps in this document.

    Method 2:
    Alternatively, you can try to plug in the printer and the laptop to see if it makes a difference.

  • Printing a Web page to a .pdf or .xps file generates a file but it is empty. How can I fix it? I have Firefox 40.0 on a new computer laptop for Windows 10

    When I print a Web page to a .pdf or .xps file, it creates a new file, but file Explorer says it's 0 KB in size. These .pdf files will open, but they are white - the only thing that appears is the outline of a page, without anything in the outline. When I print an .xps file, File Explorer shows that it contains 0 KB. When I try to open it, I get a message saying that the XPS Viewer cannot open the file. These things just started for me a few days after I installed Firefox 40.0 on a new computer laptop of Toshiba Satellite with 10 Home Windows operating system. I have the latest version of Flash Player (in fact, I just tried redownloading and reinstalling the current version; that does not solve the problem). I tried to change the format by default to print to .pdf file, but that has not solved the problem. I contacted the chat Windows support site; They told me that it was not a Windows problem. Is this a Firefox problem? If so, you can tell me how to solve the problem, please?

    Thank you
    ssavage

    First of all, try to disable the extensions to see if that helps this, then try safe mode.

  • How can I 'print' the list of passwords saved?

    How can I print the list of "saved passwords"

    You can export the passwords in a file signons.json by evaluating the code in the Console browser (Firefox/tools > Web Developer).

    See:

    You can open the Console browser (Firefox/tools > Web Developer).
    Paste the JavaScript code into the command line, and then press the Enter key to evaluate the code.
    You can enable/disable devtools.chrome.enabled true on the topic: config page to allow the command line.

    You can open the topic: config page via the address bar.
    You can accept the warning and click on "I'll be careful" to continue.

    You can open this file in Notepad (Firefox/tools > Web Developer).
    Click on the button to "Pretty Print" to fit the file for readability.

  • How can I enter in the start page of the command line "firefox.exe"?

    I want to write a script to use firefox to download information about a series of addresses on a street. For example: 101 State St, 102, 103 State St State St,... etc. The script will travel addresses and streets, on interest. Firefox.exe accepts command line parameters that define a web page specific and data to be filled in this page?

    You can start Firefox to open a specific web page or a local file by adding the url to the command line, but you cannot specify the data to display, unless these data does not appear in the page source.

  • How can I print the results of my research?

    I have more than 3000 DWF files in my search results. They are located in different folders on our server. How can I print the results of my research?

    This means that nomo did not read your question carefully.

    I think Directory printer Karen will do what you want.  3000 files is a lot of paper.  You can download Cute PDF Writer and save the output to a PDF instead - at least until you get the options sorted...

  • How can I print the list of documents in a folder?

    I just need to print a list of the contents of some folders - how can I do this?

    You can go to the command prompt and navigate to the folder or in Win7 you can Shift - click with the right button on the file in Explorer and choose 'Open command here window' and then perform a

    dir *. * /a > MyFile.txt

    and then you can print the MyFile.txt or change first in Notepad and then print it.

    Steve

  • How can I print the individual lists in a group of Windows Mail?

    Original title: Group of Windows Mail in Vista

    How can I print the individual lists in a group of Windows Mail?

    There is no printing functionality in Windows Vista Mail group.

    However, if you highlight all the individuals that you want to print, then click Print in the toolbar, it will print out them pretty much the same way that you would expect from a group.

    Click here to enlarge this photo.

  • I can't print the pdf downloaded files without saving them first - but before yesterday I could

    I can't print the pdf downloaded files without saving them first but before yesterday I could

    It wasn't a problem 2 days ago... just start... I click on print and gives me only the ability to save... so I have to save the document, then open the saved document before I can print it

    Hi joeb1542313,

    In the print dialog box make sure "Print to a file" is not checked in the settings advanced.

    Kind regards
    Nicos

  • How to scan multiple pages into a single document using the CanoScan LiDE 200?

    How to scan multiple pages into a single document using the CanoScan LiDE 200?

    I can't find a way to get them to analyze all the time, or a way to put together them later.

    Hi dagda24,

    You can scan multiple pages into a single document with the scan PDF option.  Use the following steps to do:

    1. open MP Navigator.

    2. click on a Clcik.

    3. click Save to PC.

    4. change the Type of PDF file to PDF (multiple pages).

    5 other changes, as needed, and then click Scan.

  • My HP Officejet Pro L7680 print a blank page before every PDF print job

    My HP Officejet Pro L7680 print a blank page before every PDF print job, regardless if it's a PDF I create or a tht is sen for me.  All PDF files behave in the same way. The Document is good, but its annoying to have to go out the blank sheets and put back them in the printer.

    Hello @RMorley,

    Thank you for visiting the Forums from the HP Support! I understand that when you print pdf documents on your HP Officejet Pro L7680, it prints a blank page.

    There could be a few things gong here, we will make sure that you have not configured it to use a separator between the draw sheet:

    1. go to your devices and printers

    2. right-click on your JO L7680

    3. navigate to printing properties

    4. click on the Advanced tab

    5. click on the Separator Page

    It was empty or was there something put there? If something is listed here please delete and apply the changes.

    If there was no set of pages of separation, I would like to you to perform printing and scanning doctor > www.hp.com/go/tools- it was designed by HP to offer users troubleshooting and characteristics of fix needed to solve many common problems experienced with HP print and scan the products related to Windows computers.

    The PSDR find something, let me know the results?

    If you still print the extra, please check the size of the paper, that is - this currently fixed at?

    Please let me the following information if you still get the blank page before prints:

    1. What is your current operating system, Windows or Mac and what version?

    2. What is the connected printer, USB or wireless?

    3. If you print from the internet or e-mail you get the blank page or documents?

    Thanks again,

  • How can I delete pages in a PDF document?

    How can I delete pages in a PDF document?

    Hi Nancy,.

    You must use Acrobat to be able to delete a page in the pdf file.

    Please see the following link for instructions on how to remove pages from pdf in detail: using Acrobat | Rotate, move, delete and renumber PDF pages

    Kind regards

    Rahul

Maybe you are looking for

  • Where can I find that firefox sends to the server?

    If I go over a left link under I see what request is sent to the server.What happens when I see: javascript: {_JSL (PAGE_, ' A43 ","_self", )}What is a script that is executed on the client side or server side?In general, how to find out what request

  • Cannot delete messages on mozilla thunderbird on Linux Mint

    I can't delete messages on mozilla thunderbird on Linux Mint, delete no options works, so for me I found a temporal solution, which is to create a new folder inside the Inbox and then move mail in this folder, and then delete the folder. However, I t

  • Clear the BIOS for Presario S4000V password

    How to clear a BIOS password unknown for a Presario S4000V?

  • Error 646 and 80070652

    Well, I've experienced this before, and it seems every time I have to send my laptop for service, this problem occurs.Luckliey you guys saves always the day even if it just takes a time.Thank you by the way. Well, I have Vista Home Premium w/SP1 32-b

  • Addicted to the computer - message from automatic detection

    I plugged my computer and everything turns on, but this message: Auto detect (analog input) mode energy saving, press the computer's power button or any key on the keyboard or move the mouse.  None of these work, it does nothing.  Help, please. Thank