Tagged Questions
1
vote
2answers
31 views
Splitting large PDF into small files
Using pdftk it is possible to extract page ranges from a pdf using
pdftk a.pdf cat 124-end output b.pdf dont_ask
I have a bunch of huge PDFs with about 500 pages and over 100 MB, is it possible to ...
2
votes
0answers
34 views
Insert bookmark in .pdf file for print
I have searched many solutions on what is the best way to search a .pdf, and if a page named spec_out is located in the .pdf it will insert the first bookmark before other bookmarks as Spec Out. I'm ...
1
vote
0answers
27 views
How do I unbooklet a PDF-booklet? [duplicate]
Possible Duplicate:
How do I 'unbook' a pdf
I'm not shure that what I have is actually a booklet, or a book. I have a paper in A4-format consisting of 96 pages (plus coverpages). I ...
1
vote
0answers
23 views
Rescale a PDF file [duplicate]
Possible Duplicate:
How to change height and width of each page of a pdf
Is it possible to rescale a PDF file (retaining perspective) to be within a maximum width / height?
Rendering to an ...
2
votes
0answers
177 views
Implementing a String -> PDF Stamp tool
I wrote a little shell function which creates a fixed-size PDF file (A4) from a character string using gs:
make_stamp() {
file=$1
string=$2
tmp=${file}-small.pdf
gs -o "$tmp" -sDEVICE=pdfwrite ...
8
votes
1answer
375 views
How do I 'unbook' a pdf
I have a pdf file that was made into a booklet format. It is meant to print on A4 paper in landscape orientation; here are two pages in the pdf, which should correspond to four pages in the actual ...
4
votes
2answers
2k views
Rotate pdf pages: 90 degree for even pages and -90 degree for odd pages
I was wondering in a pdf file, how to rotate pdf pages: 90 degree for even pages and -90 degree for odd pages?
By pdftk, all I know is to rotate a page by pdftk in.pdf cat 1W output out.pdf, and ...
7
votes
5answers
4k views
Add and edit bookmarks to pdf
By getting metadata from some pdf files with bookmarks by pdftk, I observe the format of bookmarks in pdf metadata. So I am guessing that with pdftk, it is possible to add and edit bookmarks of a pdf ...
6
votes
2answers
647 views
How to preserve bookmarks when rearranging pages of a PDF file with tools like pdftk?
I am using pdftk to rearrange pages of a pdf file with bookmarks/outlines, but after that, the output file lost the bookmarks of the original.
My command is pdftk in.pdf cat 1-22 43 23-42 44-end ...
3
votes
1answer
2k views
insert a blank page into a PDF using ghostscript or pdftk
I have a PDF file that needs a blank page inserted into it every so often. The pattern is unpredictable, so I need a command that will allow me to fit one in wherever necessary.