Printing only first page of multiple PDF's
I need to be able to process a stack of PDF documents.
What I need: to always print-out only the first page of all documens.
These are invoices with sometimes 5 pages, sometimes 2....but I only need to archive the frontpage.
So: opening each of these maybe 100 documents and always only print the first page manually seems a bit like "nonsense" to me.
Could do this on a friends machine who has an Acrobat Pro X installed.
Help appreciated
Anna
Great! Many thanks
Is there actually a kind of marketplace for Javascipts for Adobe Acrobat Pro somewhere? ...
Really useful!
Similar Messages
-
Extracting the first page of multiple PDFs & saving them as jpegs.
Dear all,
First post - hope its in the right place.
I work in Publishing, and I have been given the following task - I have about 400 ebooks, all in pdf format, and my task is to extract the cover from every one of them (which is the first page of every pdf) and export them all as separate jpeg files (file names can remain exactly the same - ie, the name of the pdf book will be the same as the jpeg file). So I will end up with 400 ebooks and 400 jpegs of their covers.
Anyone have any idea how to do this ?
i have Windows and acrobat 8
I have looked at batch processing in acrobat, but the option to extract the first page of multiple pdf files is not one of the options. there is an option to create your own script which im guessing is my best bet ? (hence why i have posted my question here) Though I don't have the first clue about this. Have done some google searches, and some people have created similar things, but I cant seem to get them to work.
Any advice greatly appreciated.
Cheers,
Richok, i have found a set of acrobat batch sequence and come across the following :
Batch sequence name: Extract Pages to Folder.sequ. Task: For each file from the selected files, extract each of its pages and save the extracted pages to a particular folder.
Example 2.10 Insert navigation icons
/* Extract Pages to Folder */
// A regular expression to acquire the base name of the file.
var re = /.*\/|\.pdf$/ig;
var filename = this.path.replace(re,"");
try
for ( var i = 0; i < this.numPages; i++ )
this.extractPages
nStart: i,
cPath: "/C/temp/myDocs/"+filename+"_"+i+".pdf" // change this });
catch (e)
console.println("Batch Aborted: " + e )
looks like i need something like this, but tried the above earlier, and couldnt get it to work (prob cause I didnt replace the words exactly correctly). I am guessing that i am entering this in the correct place though (ie - create new sequence, and got into the script editor box) -
My Page has data more than one page, it has verticle scroll bar to view all data .
I used window.print() to print the data of webpage, but it prints only first page and left the remaining information.
This works fine with Internet Explorer 6+ and Google Chrome.Does the entire webpage appear in Print Preview? <br />
File > Print Preview -
--____FSVYRLDZXHAFLIWKCCOF____
Content-Type: text/plain; charset=iso-8859-15
Content-Transfer-Encoding: quoted-printable
Greeitngs,=20
We have numerous long pages - lists, lists and more lists -
created in =
DW8. Just about everyone here uses IE7, but we also have a
few IE6 and =
Firefox workstations.=20
If a user tries to PRINT one of these long pages, such as
this one:=20
http://www.tsc.state.tn.us/geninfo/Programs/ADR/mediatorList.asp?chooseType=
=3DGeneral+Civil&mnuCounty=3DAnderson&DisplayList=3DDisplay+List
all they get is the first page of what ought to be six to
nine print =
pages.=20
It gets weirder. On our index page,
http://www.tsc.state.tn.us/
if the =
user tries to print it, the columns react differently. The
center column =
does not print past what fits ona printed page, while the
right hand =
column prints in its entirety. =20
I've checked the CSS to see if there was a "don't print me"
feature in any =
of the CSS scripts, and there is not. the z-indexes appear to
be ok. (the =
two columns have the same z-index and are reacting
differently to the =
print command) =20
My question(s) is(are): Can I better control the content of
the page (the =
two columns) and how? Is it CSS, html, or some other language
that will =
help me control this? Why is IE7 printing only one page of a
multi-page =
print job?=20
Any ideas?
NOTE: IE6 prints the entire page (multiple print pages). IE7
and FF do =
not.=20
Peter
--____FSVYRLDZXHAFLIWKCCOF____
Content-Type: multipart/related;
boundary="____RIVEUQBROELBXRGDYMGQ____"
--____RIVEUQBROELBXRGDYMGQ____
Content-Type: text/html; charset=windows-1252
Content-Transfer-Encoding: quoted-printable
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html;
charset=3Diso-8859-15=
">
<META content=3D"MSHTML 6.00.6000.16525"
name=3DGENERATOR></HEAD>
<BODY style=3D"MARGIN: 4px 4px 1px; FONT: 10pt Tahoma">
<DIV>Greeitngs, </DIV>
<DIV>We have numerous long pages - lists, lists and
more lists - created =
in DW8. Just about everyone here uses IE7, but we also have a
few IE6 and =
Firefox workstations. </DIV>
<DIV> </DIV>
<DIV>If a user tries to PRINT one of these long pages,
such as this one: =
</DIV>
<DIV> </DIV>
<DIV><A href=3D"
http://www.tsc.state.tn.us/geninfo/Programs/ADR/mediatorLis=
t.asp?chooseType=3DGeneral+Civil&mnuCounty=3DAnderson&DisplayList=
=3DDisplay+List">
http://www.tsc.state.tn.us/geninfo/Programs/ADR/mediatorLi=
st.asp?chooseType=3DGeneral+Civil&mnuCounty=3DAnderson&DisplayList=
=3DDisplay+List</A></DIV>
<DIV> </DIV>
<DIV>all they get is the first page of what ought to be
six to nine print =
pages. </DIV>
<DIV> </DIV>
<DIV>It gets weirder. On our index page,
<A href=3D"
http://www.tsc.st=
ate.tn.us/">
http://www.tsc.state.tn.us/</A> if
the user tries to =
print it, the columns react differently. The center
column does not =
print past what fits ona printed page, while the right hand
column prints =
in its entirety. </DIV>
<DIV> </DIV>
<DIV>I've checked the CSS to see if there was a "don't
print me" feature =
in any of the CSS scripts, and there is not. the z-indexes
appear to be =
ok. (the two columns have the same z-index and are reacting
differently to =
the print command) </DIV>
<DIV> </DIV>
<DIV>My question(s) is(are): Can I better
control the content of the =
page (the two columns) and how? Is it CSS, html, or
some other =
language that will help me control this? Why is IE7 printing
only one page =
of a multi-page print job? </DIV>
<DIV> </DIV>
<DIV>Any ideas?</DIV>
<DIV> </DIV>
<DIV>NOTE: IE6 prints the entire page (multiple print
pages). IE7 and FF =
do not. </DIV>
<DIV> </DIV>
<DIV>Peter</DIV>
<DIV> </DIV>
<DIV> </DIV></BODY></HTML>
--____RIVEUQBROELBXRGDYMGQ____--
--____FSVYRLDZXHAFLIWKCCOF____--Try one of these:
1/ In Adobe, deselect "Choose Paper based on PDF size" - you can leave the "Auto Rotate and Center" on.
2/ In Adobe, go into Advanced and choose "Print as Image".
3/ If this is a Canon H1 Fiery RIP, go into Printer Properties, Printing Preferences, Layout, Rotate 180degrees and choose "Large Paper Only." -
I recently purchased a new iMac with OS x Lion. Previously was using a four year old iMac with snow Leopard. I have three HP printers with up to date drivers for Lion. When I try to print an envelope from Address Book I have two problems:
1) I have to change the orientation to vertical to get the proper margins, which I never had to do before and
2) It prints a second blank envelope unless I tell it to only print the first page.
Neither of the problems occurred with my previous iMac/w Snow Leopard and it appears to be a Lion/HP software incompatibility. I have worked with a Apple supervisor (Case # 316225300) for hours and finally reinstalled the operating system to no avail.
I do I correct both problems???Contact HP and ask them to write better drivers for Lion. Find a printer that is more compatible with Lion. I've not printed envelopes with Lion before, though I've had no difficulty with either Epson Artisan 810 or Canon MX700 for regular printing. Sometimes open source drivers also work better than manufacturer drivers. See this FAQ*:
http://www.macmaps.com/printersx.html
While many open source drivers won't give you duplex or printer diagnostics, at least they may work better for other features.
Lastly, I've often found for a more consistent print, saving as PDF, and then printing from Preview can sometimes be the best work around. Someone in the Mac OS X Technologies forum might be able to help you write an automator script to do this in one fell swoop, if you find it works better for your needs. -
How do I print only the first page of multiple PDF documents?
I have about 1,500 PDF files (scientific papers) that I need to print only the first page of... Any suggestions on how to do this as a single job or as a few jobs? The files are organized in a bunch of different folders, so if there was some way to do this folder by folder, that would be ok too. Thanks!
Make sure that in System Preferences Printing & Fax pane you set the default printer to the one you want to use, then put all of these PDF files into their own folder, then open terminal and type the following (without hitting return afterward):
lpr -o page-ranges="1-1"
Then drag one of the PDF files into the terminal window (it will add it's path to the end of your command) and replace the file name with *.pdf, so it will look like this:
lpr -o page-ranges="1-1" /Users/todd/Documents/My\ Folder/*.pdf
Then hit return. -
How can I print only the first page of multiple PDF files at once in my PC?
That is, without having to open each file individually.
Thanks!Create an Action with the following JS command:
this.print({bUI: false, nStart: 0});
This will cause the first page of all the files you process with this Action to be sent to your default printer.
If you need to specify more complex parameters, you'll need to use a more complex code... -
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. -
Header line only prints on first page of multiple page document
Hi, I've created a SmartForms table and it has the Header, Main, and Footer sections. I've created table lines for the Header and Main sections. In the Header section, I've checked 'at Start of Table' and 'at Page Break'. The form prints multiple pages fine, BUT the header line only prints on the first page and not at any of the multiple page breaks.
Does anyone have any suggestions as to what might be causing this?
Thanks,Hi,
Remove that 'at Start of Table' check box and check it.
Regards
Muthappan. -
Printing only first page landscape not portrait
Acrobat Standard for Windows v.8
When using Acrobat to print any PDF document, the first page is printed in landscape instead of portrait, the rest of the pages print as expected. This is reproduceable behavior on a single machine. Printing the PDF using other applications like InDesign or eCopy Desktop print as expected. Only Acrobat is exhibiting this behavior.
Acrobat has been reapired, uninstalled and reinstalled, printer drivers reinstalled with no success. The work around I have figured out (as a temporary solution so the user can print documents properly) is to select to print the PDF in landscape orientation in the print driver when printing from Acrobat, which prints the whole document in portrait orientation, essentially what was supposed to happen in the first place. This orientation change only seems to affect the first page and doesn't have any affect on duplex orientation.
Does anyone have a solution to this one? Or some direction? Thanks in advance.Try one of these:
1/ In Adobe, deselect "Choose Paper based on PDF size" - you can leave the "Auto Rotate and Center" on.
2/ In Adobe, go into Advanced and choose "Print as Image".
3/ If this is a Canon H1 Fiery RIP, go into Printer Properties, Printing Preferences, Layout, Rotate 180degrees and choose "Large Paper Only." -
We just got the new CS4 and with the Acrobat Pro 9.0 install, we cannot seem to print multi-page documents. Only the first page comes through, and the queue clears as though the document's been fully printed.
We are running Windows XP Pro SP3, and the printer is the Canon ImageRunner irC3220.
I do not want to use the "Print as Image" option, as I don't want to rasterize the file before sending it to the printer. It's an important document and it's imperative that it is printed at high quality.
We had no problems printing with Acrobat 8.
I've seen old posts regarding this issue, but couldn't find anything newer that might have had an updated solution.
Thank you in advance!! any help would be sooo appreciated right now!Great! Many thanks
Is there actually a kind of marketplace for Javascipts for Adobe Acrobat Pro somewhere? ...
Really useful! -
InDesign CS5 - Printing, only first page is upside down.
Strange problem.
I have a multipage document that has threaded text on pages 2-10 (for example). When I print (duplex or not), the first page (cover page of the manual I writing) is upside down!
It shows correctly in indesign, as well as when I export it to a PDF and print it.
The printer i'm using is a Ricoh Aficio MP C4000 PS.
Our IT group at work says it's an indesign issue! I have had it successfully print on other printers, and I've tried everything I can think of on this printer.
HELP!In my experience, when an IT department can't figure things out, it's always the application's fault (or "those stinkin' Macs").
I'm pretty sure its a Ricoh thing. I do duplex booklet printing from Acrobat 9 (from a PDF file exported from InDesign CS5) to a Ricoh 5560. I often get the same problem. I find toggling the "Auto Rotate Pages" button in the print dialog on and off will fix it for me. There's no sense to it. If it first prints upside down, click the button and print again and it will work. But the next time you go to print with that setting, it will be upside down again. Click the button off, and it will work. I've given up trying to troubleshoot it. -
Smartform : Print only selected pages from multiple pages
Hi,
I've a smartform with six pages: Pag1, Page2 ...Page6. (all six pages are one smartform )
My driver program has six check boxes corresponding to the above six pages, based on my check box selection I want to print the pages.
Does it possible with one smartform ? and How ?
Do I need to create six different smartforms ?
Your comment on this is highly appreciated.Dear Raja
You have two option to full fill your requirment
1,
create a alternative in your main window.
right click-> create-> flow logic -> alternative.
Alternative hold two conditions namely true an false.
This alternative acts as a if else condition. So give your condition in true and start creating your windows and tables/templates under it.
And false condition create what all you require if true condition fails.
With this you can control pages with the conditions.
2.
Create pages as per your requirement.
In the global definition > initialization tab>
if w_page = 1.
control_parameters-startpage = '%PAGE1'.
else.
control_parameters-startpage = '%PAGE2'.
ENDIF.
w_page is the variable what you pass in the driver program
Hope this will help you. -
Hi people,
Hope you can help me with this problem.
Adobe Reader version : 7.0.9 (although it's 7.0.8 at the about section, but i read in another thread, it's really 7.0.9)
Operating System : Suse 9.2
Kernel version : 2.6.8-24-default (default installation)
Printer : EPSON LQ-2170 impact printer
RAM : 1G
Printer Driver : EPSON -> 24-pin driver
The problem is this :
I tried to print from my own created pdf (the one created from itext java library), printing only 1 page is OK, but when i tried to print selected pages, ex from page 1 - 2 .. only the first page will be printed. I've tried experimenting with print all, and other options in the print dialog, but with the same result, only the first page.
Then i tried printing other pdfs, others than i created, and still resulted the same, only the first page printed.
Frustated with this fact, i tried printing the pdf to another printer, HP laserjet 1010, and it works fine !
The problem only occurs for the EPSON LQ-2170 and only while printing PDF. Printing from other apps is ok.
Could you point direction / ideas about how to solve this problem ?
Thank you for your time ..
Regards,
AlbertHi,
I just used the 'tail -f /var/log/cups/error_log', reprint the pdf, and found these error messages :
D [10/Jul/2007:10:30:16 +0700] [Job 2624] /undefined
D [10/Jul/2007:10:30:16 +0700] [Job 2624] /cupsWidth
D [10/Jul/2007:10:30:16 +0700] [Job 2624] /undefined
D [10/Jul/2007:10:30:16 +0700] [Job 2624] /cupsHeight
D [10/Jul/2007:10:30:16 +0700] [Job 2624] /undefined
D [10/Jul/2007:10:30:16 +0700] [Job 2624] /cupsBitsPerPixel
D [10/Jul/2007:10:30:16 +0700] [Job 2624] /undefined
D [10/Jul/2007:10:30:16 +0700] [Job 2624] /cupsBytesPerLine
D [10/Jul/2007:10:30:16 +0700] [Job 2624] -mark-
D [10/Jul/2007:10:30:16 +0700] [Job 2624] true
D [10/Jul/2007:10:30:16 +0700] [Job 2624] null
D [10/Jul/2007:10:30:16 +0700] [Job 2624] -device-
D [10/Jul/2007:10:30:16 +0700] [Job 2624] null
D [10/Jul/2007:10:30:16 +0700] [Job 2624] -dict-
D [10/Jul/2007:10:30:16 +0700] [Job 2624] Error in .trysetparams!
D [10/Jul/2007:10:30:16 +0700] [Job 2624] /undefined
D [10/Jul/2007:10:30:16 +0700] [Job 2624] /cupsWidth
D [10/Jul/2007:10:30:16 +0700] [Job 2624] /undefined
D [10/Jul/2007:10:30:16 +0700] [Job 2624] /cupsHeight
D [10/Jul/2007:10:30:16 +0700] [Job 2624] /undefined
D [10/Jul/2007:10:30:16 +0700] [Job 2624] /cupsBitsPerPixel
D [10/Jul/2007:10:30:16 +0700] [Job 2624] /undefined
D [10/Jul/2007:10:30:16 +0700] [Job 2624] /cupsBytesPerLine
D [10/Jul/2007:10:30:16 +0700] [Job 2624] -mark-
D [10/Jul/2007:10:30:16 +0700] [Job 2624] true
D [10/Jul/2007:10:30:16 +0700] [Job 2624] null
D [10/Jul/2007:10:30:16 +0700] [Job 2624] -device-
D [10/Jul/2007:10:30:16 +0700] [Job 2624] null
D [10/Jul/2007:10:30:16 +0700] [Job 2624] -dict-
D [10/Jul/2007:10:30:16 +0700] [Job 2624] Error: /rangecheck in .installpagedevice
D [10/Jul/2007:10:30:16 +0700] [Job 2624] Operand stack:
D [10/Jul/2007:10:30:16 +0700] [Job 2624] --dict:70/79(ro)(L)-- --nostringval--
D [10/Jul/2007:10:30:16 +0700] [Job 2624] Execution stack:
D [10/Jul/2007:10:30:16 +0700] [Job 2624] %interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- false 1 %stopped_push 1 3 %oparray_pop1 3 %oparray_pop 1 3 %oparray_pop .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- --nostringval--
D [10/Jul/2007:10:30:16 +0700] [Job 2624] Dictionary stack:
D [10/Jul/2007:10:30:16 +0700] [Job 2624] --dict:1070/3371(ro)(G)-- --dict:0/20(G)-- --dict:78/200(L)--
D [10/Jul/2007:10:30:16 +0700] [Job 2624] Current allocation mode is local
D [10/Jul/2007:10:30:16 +0700] [Job 2624] Last OS error: 2
D [10/Jul/2007:10:30:16 +0700] [Job 2624] ESP Ghostscript 7.07.1: Unrecoverable error, exit code 1
D [10/Jul/2007:10:30:16 +0700] [Job 2624] 0 %%PageTrailer
D [10/Jul/2007:10:30:16 +0700] [Job 2624] 0 %%Trailer
D [10/Jul/2007:10:30:16 +0700] [Job 2624] Saw Trailer!
D [10/Jul/2007:10:30:16 +0700] [Job 2624] Saw EOF!
D [10/Jul/2007:10:30:16 +0700] UpdateJob: job 2624, file 0 is complete.
D [10/Jul/2007:10:30:16 +0700] CancelJob: id = 2624
D [10/Jul/2007:10:30:16 +0700] StopJob: id = 2624, force = 0
D [10/Jul/2007:10:30:16 +0700] StopJob: printer state is 3
Although i dont know what is wrong and how to fix it, haha ..
Any ideas ? -
Help - Trying to email 2 page PDF but only first page is attaching
I have been trying to email a two page pdf (resume) but each time in Mail, it only attaches the first page (actually, it doesn't attach it but paste the first page of the pdf into the document).
I've tried this three different ways, all with the same result:
1) First I created the document in Pages '09, then saved it as a PDF. When I open up the PDF itself, the entire two page document is there. When open on the PDF document, I click the share button, select mail, and when a mail window opens up, only the first page of my resume appears pasted into the body of the email.
2) I open a new window in Mail, I click on the paperclip to attach a document, I select the two page PDF I created, and once again, only the first page appears pasted into the body of the email.
3). When on the Pages version of my resume, I go to File, then Print, and select "Mail PDF" from the PDF drop down menu...once again only page 1 is pasted into the body of the email.
I also tried this with a different document and once again only the first page gets pasted.
I am running Mac OSX Version 10.9
Thanks in advance for your insight.Are you sure that it is only the first page? It is a file and usually only the first page shows, but the rest are there.
What happens when you double click on the pdf in the email?
Peter
Maybe you are looking for
-
LaCie d2 Blu Ray Burner not burning in Encore Mac
So I've built a blu ray disk in Encore and all set to burn the Blu Ray disk. When I hit burn, the LaCie drive asks for a disk. When I put the disk in, it waits and waits and then spits it back out. The disk is blank, and is a writeable Blu Ray disk.
-
How to make qury form and copy one data from one form to another
Hi, i would like to develop a form which is used to query a particular data and copy that data to other form. Thanks
-
Table/colum used in html pages in oracle apps
Hello All, If we want to find table name against oracle forms in apps . then we can find it from help -> Diagnostics -> examine .But how we will find table name used against HTML Page in oracle apps? Thanks..
-
Change Customer data...
Dear all, I have to change the E-mail address of so many customers, So, first i ahve choose the option BDC but it is not working properly, so can u suggest me how to do this...? Regards.
-
I've had several pinned apps, tab groups etc that always reappeared when I closed and opened Firefox. I always had history stored without a problem. Today I opened Firefox, and my pinned apps, tab groups, and history were all gone, and the option to