Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 11-08-2011, 07:09 PM   #1
Bryan Higgins
Junior Member
Bryan Higgins began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Nov 2011
Device: none
pdfmanipulate is crappy

pdfmanipulate split file page-number

seems to result in "page-number" forward, not a single page.

pdfmanipulate crop

sometimes results in a trashed file that Adobe Reader can't open. Of the hundred or so files I had to process, about 15% had this result.

Not ready for prime time, I'd say. I thought I'd put this out there for those doing a web search--beware!
Bryan Higgins is offline   Reply With Quote
Old 11-09-2011, 03:19 AM   #2
gweminence
Fat Guy
gweminence can name that song in three notesgweminence can name that song in three notesgweminence can name that song in three notesgweminence can name that song in three notesgweminence can name that song in three notesgweminence can name that song in three notesgweminence can name that song in three notesgweminence can name that song in three notesgweminence can name that song in three notesgweminence can name that song in three notesgweminence can name that song in three notes
 
Posts: 395
Karma: 24165
Join Date: Jun 2010
Device: Kindle 3
If only there was something in the documentation that warned users that pdf was the WORST format to try to work with....


Oh, wait...
gweminence is offline   Reply With Quote
Old 11-09-2011, 01:36 PM   #3
Bryan Higgins
Junior Member
Bryan Higgins began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Nov 2011
Device: none
If only there were documentation. In order to find out if pdfmanipulate did what I wanted, I had to install it and then type pdfmanipulate -help. It appeared to do what I wanted, so I planned my project, only to find that it's buggy as hell (not to mention extremely slow).

It's not the worst format to work with if you have decent tools. pdftk, by the way, has a command-line interface (which is what I was looking for) and seems very robust. It lacks the crop feature, though.

I couldn't get calibre off of my machine fast enough...
Bryan Higgins is offline   Reply With Quote
Old 11-09-2011, 01:39 PM   #4
Serpentine
Evangelist
Serpentine ought to be getting tired of karma fortunes by now.Serpentine ought to be getting tired of karma fortunes by now.Serpentine ought to be getting tired of karma fortunes by now.Serpentine ought to be getting tired of karma fortunes by now.Serpentine ought to be getting tired of karma fortunes by now.Serpentine ought to be getting tired of karma fortunes by now.Serpentine ought to be getting tired of karma fortunes by now.Serpentine ought to be getting tired of karma fortunes by now.Serpentine ought to be getting tired of karma fortunes by now.Serpentine ought to be getting tired of karma fortunes by now.Serpentine ought to be getting tired of karma fortunes by now.
 
Posts: 416
Karma: 1045911
Join Date: Sep 2011
Location: Cape Town, South Africa
Device: Kindle 3
Quote:
Originally Posted by Bryan Higgins View Post
pdfmanipulate split file page-number

seems to result in "page-number" forward, not a single page.
I assume you are using something like : pdfmanipulate split test.pdf 8 -o wat.pdf

This will split page 8 and onwards from the input. You seem to expect this to return a pdf only with page 8? If that is the case, you could try using two steps(i.e split 11-12 -> split 12 -> 12.pdf) - it is labeled split for a reason.

Quote:
Originally Posted by Bryan Higgins View Post
pdfmanipulate crop

sometimes results in a trashed file that Adobe Reader can't open. Of the hundred or so files I had to process, about 15% had this result.
Welcome to using a format which is not intended for manipulation.

You could always give some samples or at least explain a bit more, rather than just aimlessly moaning.
Serpentine is offline   Reply With Quote
Old 11-09-2011, 04:10 PM   #5
gweminence
Fat Guy
gweminence can name that song in three notesgweminence can name that song in three notesgweminence can name that song in three notesgweminence can name that song in three notesgweminence can name that song in three notesgweminence can name that song in three notesgweminence can name that song in three notesgweminence can name that song in three notesgweminence can name that song in three notesgweminence can name that song in three notesgweminence can name that song in three notes
 
Posts: 395
Karma: 24165
Join Date: Jun 2010
Device: Kindle 3
Quote:
Originally Posted by Bryan Higgins View Post
If only there were documentation.
Here, allow me to do the work for you.

Quote:
I couldn't get calibre off of my machine fast enough...

Don't let the door hit you on the way out...
gweminence is offline   Reply With Quote
Old 11-09-2011, 04:34 PM   #6
alansplace
Wizard
alansplace ought to be getting tired of karma fortunes by now.alansplace ought to be getting tired of karma fortunes by now.alansplace ought to be getting tired of karma fortunes by now.alansplace ought to be getting tired of karma fortunes by now.alansplace ought to be getting tired of karma fortunes by now.alansplace ought to be getting tired of karma fortunes by now.alansplace ought to be getting tired of karma fortunes by now.alansplace ought to be getting tired of karma fortunes by now.alansplace ought to be getting tired of karma fortunes by now.alansplace ought to be getting tired of karma fortunes by now.alansplace ought to be getting tired of karma fortunes by now.
 
alansplace's Avatar
 
Posts: 3,653
Karma: 18926380
Join Date: Feb 2010
Location: USA, 33.938556° N, -117.271334° W
Device: Kindle 2, Kindle KB, Kindle PW 1 & 2, Kindle Fire 2, iPad Mini
Cool don't feed the troll

alansplace is online now   Reply With Quote
Old 11-09-2011, 05:21 PM   #7
PeterT
Taking a break; Fed up
PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.
 
PeterT's Avatar
 
Posts: 6,531
Karma: 43521910
Join Date: Nov 2007
Location: Toronto
Device: Wife: Touch, Arc, Vox Me: Nexus 7, Glo
Quote:
Originally Posted by gweminence View Post
Here, allow me to do the work for you.




Don't let the door hit you on the way out...
Actually, the online documentation on pdfmanipulate IS a bit sparse
Quote:
pdfmanipulate command ...
command can be one of the following: [crop, decrypt, encrypt, info, merge, reverse, rotate, split]

Use pdfmanipulate command –help to get more information about a specific command

Manipulate a PDF.

Whenever you pass arguments to pdfmanipulate that have spaces in them, enclose the arguments in quotation marks.

[options]
--help, -h
show this help message and exit

--version
show program’s version number and exit
PeterT is offline   Reply With Quote
Old 11-09-2011, 07:05 PM   #8
DoctorOhh
US Navy, Retired
DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.
 
DoctorOhh's Avatar
 
Posts: 8,781
Karma: 12516053
Join Date: Feb 2009
Location: North Carolina
Device: Nexus 7
Quote:
Originally Posted by PeterT View Post
Actually, the online documentation on pdfmanipulate IS a bit sparse
When I first looked at the docs I thought the same thing. But on second look it is not as sparse as it looks. It lists all of the commands.

Quote:
pdfmanipulate command ...
command can be one of the following: [crop, decrypt, encrypt, info, merge, reverse, rotate, split]
Then it tells you how to get full syntax/help on each command.

Quote:
Use pdfmanipulate command –help to get more information about a specific command.
Pretty much covers it all.
DoctorOhh is offline   Reply With Quote
Old 11-11-2011, 01:43 AM   #9
Bryan Higgins
Junior Member
Bryan Higgins began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Nov 2011
Device: none
Yes, the online documentation for pdfmanipulate is minimal, quoted by PeterT above in its entirety. The manual should describe what the command does and its available options, and perhaps include some examples, not merely tell you to run the program to get help.

I guess I did misinterpret "split." Decent documentation would describe what it does. But if "split 11-12" gets you 11 and 12, as Serpentine says, shouldn't "split 8-8" give you only 8? I tried that, too ("8-8" appears to be equivalent to "8"). How bizarre that it can extract ranges of two or more, but not a single page, the lone exception!

Mysteriously, files created by specifying -o did not get the requested name. For example, -o file01.pdf might result in file23.pdf or file40.pdf.

But no matter: I found another program, pdftk, (which appears to be quite robust) to do the page extraction.

The real problems came with "crop," which I was forced to rely on as I couldn't find anything else that cropped via a command line. As I said, it worked only on about 85% of the files I needed to crop. The files were all similar, so I couldn't tell you any pattern as to what it had trouble with. In those 15% of cases the resulting files couldn't be opened by Adobe Reader due to a PDF format error.

Anyway, perhaps Calibre is a good ebook organizer (I didn't explore it) but pdfmanipulate I'm afraid is not fit for public consumption.
Bryan Higgins is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
running pdfmanipulate stand-alone Bryan Higgins Calibre 1 11-07-2011 01:51 PM
Crappy epub font - any way to change? thinkpad ePub 6 12-04-2010 04:12 AM
pdfmanipulate-split and merge, why deleted pages come back? bthoven Calibre 4 03-29-2010 06:30 AM
What do you when someone gives you a REALLY crappy Christmas present? HarryT Lounge 26 01-02-2010 10:41 PM
Penguin Producing Crappy eBooks? Gideon News 39 08-15-2009 10:37 PM


All times are GMT -4. The time now is 12:34 AM.


MobileRead.com is a privately owned, operated and funded community.