topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Saturday December 14, 2024, 9:26 am
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Last post Author Topic: split PDF files - context menu program?  (Read 22793 times)

brotherS

  • Master of Good Ideas
  • Honorary Member
  • Joined in 2005
  • **
  • Posts: 2,261
    • View Profile
    • Donate to Member
split PDF files - context menu program?
« on: October 17, 2007, 08:04 AM »
Hi,

long time no type!  8)

Is there a tool that I could use like any other "Open with..." tool? I sometimes get PDF files of 2 or 3 pages and need to split them (always into single pages), which I now do in another program. Not the most handy solution... Any ideas?

Darwin

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 6,984
    • View Profile
    • Donate to Member
Re: split PDF files - context menu program?
« Reply #1 on: November 05, 2007, 08:57 PM »
Crap! How'd I miss this post - welcome back, brotherS - you've been missed! I'm not sure I understand what you're looking for - an alternative to the "Open With" functionality in the context menu or an application to split pdfs into discrete pages?

lanux128

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 6,277
    • View Profile
    • Donate to Member
Re: split PDF files - context menu program?
« Reply #2 on: November 05, 2007, 09:04 PM »
yes, welcome back! it's been exactly 6 months between your posts.. :)

ws-brotherS-1.png

brotherS

  • Master of Good Ideas
  • Honorary Member
  • Joined in 2005
  • **
  • Posts: 2,261
    • View Profile
    • Donate to Member
Re: split PDF files - context menu program?
« Reply #3 on: November 06, 2007, 04:26 AM »
Crap! How'd I miss this post - welcome back, brotherS - you've been missed!

yes, welcome back! it's been exactly 6 months between your posts.. :)
Thanks guys  :) Funny coincidence that I made that exactly 6 months... those were 6 very busy months, and while the level of 'business' (in the fullest meaning of the word) won't drop much, I plan to post a little bit more often again. 8)

I'm not sure I understand what you're looking for - an alternative to the "Open With" functionality in the context menu or an application to split pdfs into discrete pages?
Both! :D I need such an application that I could assign to the "Open with" menu. I don't want to open an external program, just right-click such a file and pick "split PDF file" from the context menu.

Darwin

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 6,984
    • View Profile
    • Donate to Member
Re: split PDF files - context menu program?
« Reply #4 on: November 06, 2007, 07:23 AM »
Hmm... I just googled on "split pdf" and there are a lot of choices - many of them shareware and many offering context menu functionality and some even command line functinonality (I only looked at the first three or four hits). What are you using at the moment?

rjbull

  • Charter Member
  • Joined in 2005
  • ***
  • default avatar
  • Posts: 3,205
    • View Profile
    • Donate to Member
Re: split PDF files - context menu program?
« Reply #5 on: November 06, 2007, 09:07 AM »
pdftk - PDF toolkit can split PDFs into separate files for each page, and there's a pdftk Builder Windows GUI shell, but I don't know of any context-menu integration.  However, I seem to remember seeing various forums and Web sites devoted to PDF tools,maybe they'd be the place to search.



Frank D

  • Participant
  • Joined in 2006
  • *
  • default avatar
  • Posts: 2
    • View Profile
    • Donate to Member
Re: split PDF files - context menu program?
« Reply #6 on: November 06, 2007, 08:02 PM »
I tried various PDF splitters, but couldn't find one that was both free and easy to get to work (note that I didn't say "easy to use" <g>) -- they're all easy to use but hard to get to do exactly what you want (i.e., the ones I tried all split the original PDF into single output pages and I wanted multiple pages).

Finally I found a workaround. Here it is: download and install CutePDF Writer (http://www.cutepdf.c...s/CutePDF/writer.asp). Open the long PDF document in your PDF reader (I use Foxit). Then when you want to "split" this long PDF file into a PDF of, say, 25 pages, just click on File > Print, specify CutePDF Writer as your printer and input the number of the first and last pages (like, for example, 7-31), give the new page range a name when prompted, and there you go -- your new, smaller PDF file is created. Of course you can "print" single pages if you want.

Frank D

lanux128

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 6,277
    • View Profile
    • Donate to Member
Re: split PDF files - context menu program?
« Reply #7 on: November 06, 2007, 08:34 PM »
good work-around, Frank but it won't work for PDFs that are restricted from printing.. :)

Frank D

  • Participant
  • Joined in 2006
  • *
  • default avatar
  • Posts: 2
    • View Profile
    • Donate to Member
Re: split PDF files - context menu program?
« Reply #8 on: November 06, 2007, 08:49 PM »
Posted by: lanux128
". . . it won't work for PDFs that are restricted from printing.. <smiley>"

Drat! I knew it was too easy! <g>

Hmm, I never even thought of that angle, because I've never run into a PDF that was restricted from printing. Guess I've lived a sheltered life! <g> Oh well, at least it'll work for some folks.

I'm following this topic up with interest.

Frank D


Carol Haynes

  • Waffles for England (patent pending)
  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 8,069
    • View Profile
    • Donate to Member
Re: split PDF files - context menu program?
« Reply #9 on: November 07, 2007, 05:14 AM »
Have you tried PDF Shell Tools: http://homepage.onid...pdfe/shelltools.html

It isn't free or cheap (40 Euros) but it does work well and there is a free fully functional trial version. Each time a new version/update comes out you can trial it again. I think have even been able to manipulate password protected files (IIRC) - its been a while.

The developer is responsive when you have any problems (I found a bug early on and he fixed it very quickly).

PDF Explorer is also a good product (same site) but at 60 Euros I think it is a little pricey for home use.
« Last Edit: November 07, 2007, 05:15 AM by Carol Haynes »

Carol Haynes

  • Waffles for England (patent pending)
  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 8,069
    • View Profile
    • Donate to Member
Re: split PDF files - context menu program?
« Reply #10 on: November 07, 2007, 11:13 AM »
Follow up ...

Just checked latest build of PDF Shell Tools again and you can split/combine/extract pages from PDF files very easily.

It does allow you to extract pages (up to the whole document) for password protected files too and produces an unprotected version of the PDF file. (So much for tamper proof DRM in PDF files.) Just use PDF Merge/Rearrange ... but only specify one file and then click Go. It asks for an output file and the resulting file is the same as the one you started with (except book marks are removed) just unlocked.

Even easier - right click on a locked PDF file and select "Password Security ..." from the submenu and click on "No security". Check that the backup option at the bottom is set the way you want and then click GO. A new PDF, identical to the original (including bookmarks etc) except that it is unlocked, is produced and the original backed up (if specified).

By the way the splitting and combining of PDFs has lots of options and you can specify an exact list of pages sets which are extracted to separate files or combined into a single file - whatever you want.
« Last Edit: November 07, 2007, 11:15 AM by Carol Haynes »

brotherS

  • Master of Good Ideas
  • Honorary Member
  • Joined in 2005
  • **
  • Posts: 2,261
    • View Profile
    • Donate to Member
Re: split PDF files - context menu program?
« Reply #11 on: November 07, 2007, 11:43 AM »
Thanks for all your comments! Since it doesn't happen daily, the annoyance is not big enough that I'm willing to spend money to get around this problem (yet?) ;)

Currently I use PaperPort to do the splitting, but that means I sometimes have to close other programs first (limited resources), and I have to move the documents around manually.

Darwin

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 6,984
    • View Profile
    • Donate to Member
Re: split PDF files - context menu program?
« Reply #12 on: November 07, 2007, 11:44 AM »
I take it that the PDF Explorer and PDF Shell Tools are two distinct products? I did look at the website, I swear! Anyway, Carol, do you also use PDF Explorer? I use Archivarius, Endnote and PaperPort (the latter very minimally) and wonder if PDF Explorer is an advance over any/a combination of these? With the Canadian dollar so strong at the moment the price might even be acceptable...

Darwin

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 6,984
    • View Profile
    • Donate to Member
Re: split PDF files - context menu program?
« Reply #13 on: November 07, 2007, 11:45 AM »
BrotherS - I hope this signals a return to "active duty" on your part? Seriously, it really is good to see you posting again  :Thmbsup:

Edvard

  • Coding Snacks Author
  • Charter Honorary Member
  • Joined in 2005
  • ***
  • Posts: 3,022
    • View Profile
    • Donate to Member
Re: split PDF files - context menu program?
« Reply #14 on: November 07, 2007, 12:16 PM »
Here's an AutoHotkey script I have in my "Send To..." folder.
It uses PDFTK and you'll have to change the program file paths, but here it is...
file = %1%
filesel = %1%
If file =
{
FileSelectFile,filesel,3,,Select a PDF to Burst,PDF Documents (*.pdf)
file = %filesel%
}
If filesel =
{
MsgBox,0,Pdftk Burst,No files selected
ExitApp
}
SplitPath,file,,filepath,,name,
newdir = %filepath%\%name%
FileCreateDir,%newdir%
Loop,%file%
    sh_file = %A_LoopFileShortPath%
SplashTextOn,400,75,Pdftk Burst,Now bursting %file%
WinSet,Enable,,Pdftk Burst
WinActivate,Pdftk Burst
RunWait,E:\Program Files\pdftk\pdftk.exe %sh_file% burst,%newdir%,hide
Sleep,200
SplashTextOff
FileDelete,%newdir%\doc_data.txt
MsgBox,64,Pdftk Burst,PDF Burst Operation Complete
ExitApp

;To Do---
;
;select output directory

I would recommend compiling to .exe and using the standard "Open With..." tool to select it.
What it does is create a folder in the same directory as the pdf file you are bursting, and fills it with the pages from your pdf.
Hope this helps!

Carol Haynes

  • Waffles for England (patent pending)
  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 8,069
    • View Profile
    • Donate to Member
Re: split PDF files - context menu program?
« Reply #15 on: November 07, 2007, 12:27 PM »
I take it that the PDF Explorer and PDF Shell Tools are two distinct products? I did look at the website, I swear! Anyway, Carol, do you also use PDF Explorer? I use Archivarius, Endnote and PaperPort (the latter very minimally) and wonder if PDF Explorer is an advance over any/a combination of these? With the Canadian dollar so strong at the moment the price might even be acceptable...

Yes they are two separate products.

I have tried PDF Explorer but I haven't really used it enough to say I know it well. I'm afraid the price put me off somewhat.

I keep thinking Shell Tools might be worth having - but again the price is a bit steep.

Perhaps we should see if he'll do a discount for DC ?

Darwin

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 6,984
    • View Profile
    • Donate to Member
Re: split PDF files - context menu program?
« Reply #16 on: November 07, 2007, 06:08 PM »
Good thinking, Carol! No point spending more of my grossly inflated Canadian dollars than I have to! A dollar, after all, is still a dollar. Unless of course it is more than a dollar... Now I'm confused  :(

jar

  • Participant
  • Joined in 2008
  • *
  • default avatar
  • Posts: 1
    • View Profile
    • Donate to Member
Re: split PDF files - context menu program?
« Reply #17 on: March 09, 2008, 03:46 AM »
Hello,

I have tried a commercial program PDFExplode http://www.pdfexplode.com and that is working very nice. It works with tags included in the source-pdf and you can burst pdf's easily. The program also offers the option to email the resulting pdf's when the tags are emailadresses. Very nice. I am still looking for an opensource alternative but have not found anything.

Greetings,
Jar

Carol Haynes

  • Waffles for England (patent pending)
  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 8,069
    • View Profile
    • Donate to Member
Re: split PDF files - context menu program?
« Reply #18 on: March 09, 2008, 07:26 AM »
Hmmm at $350 ..... not even bothering with the demo

tomos

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 11,964
    • View Profile
    • Donate to Member
Re: split PDF files - context menu program?
« Reply #19 on: October 21, 2008, 04:34 AM »
pdftk - PDF toolkit can split PDFs into separate files for each page, and there's a pdftk Builder Windows GUI shell, but I don't know of any context-menu integration.  However, I seem to remember seeing various forums and Web sites devoted to PDF tools,maybe they'd be the place to search.

had to quickly combine PDF's - the GUI version has everything in one install, has been updated a few times this year and
worked a treat, thanks rj  :Thmbsup:
Tom

Darwin

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 6,984
    • View Profile
    • Donate to Member
Re: split PDF files - context menu program?
« Reply #20 on: October 21, 2008, 08:34 AM »
Hmmm at $350 ..... not even bothering with the demo
-Carol Haynes (March 09, 2008, 07:26 AM)

Thanks for posting that, Carol! I'm not even bothering following the link at that price!

lanux128

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 6,277
    • View Profile
    • Donate to Member
Re: split PDF files - context menu program?
« Reply #21 on: October 21, 2008, 10:05 AM »
Hmmm at $350 ..... not even bothering with the demo
-Carol Haynes (March 09, 2008, 07:26 AM)

Thanks for posting that, Carol! I'm not even bothering following the link at that price!

another first post recommending a commercial product.. :-\

Darwin

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 6,984
    • View Profile
    • Donate to Member
Re: split PDF files - context menu program?
« Reply #22 on: October 21, 2008, 03:48 PM »
another first post recommending a commercial product..

I wondered about that, too...

nogojoe

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 169
    • View Profile
    • Donate to Member
Re: split PDF files - context menu program?
« Reply #23 on: October 21, 2008, 09:18 PM »
have you tried PDF Splitter/Merge maybe that what you want.

I use the merge option works well

lookup

http://sourceforge.n...mp;sel_platform=6826


Often the most convincing people are those who have lost the plot so much they don't recognize the difference between fact and fantasy

jgpaiva

  • Global Moderator
  • Joined in 2006
  • *****
  • Posts: 4,727
    • View Profile
    • Donate to Member
Re: split PDF files - context menu program?
« Reply #24 on: October 22, 2008, 05:07 AM »
Hmmm at $350 ..... not even bothering with the demo
-Carol Haynes (March 09, 2008, 07:26 AM)

Thanks for posting that, Carol! I'm not even bothering following the link at that price!

another first post recommending a commercial product.. :-\
Not only that, as they also didn't come back after july 11. I guess that means something. :)