Skip to main content

Questions tagged [pdftk]

0 votes
0 answers
35 views

2-up PDF bookmarks restoring

I did a 2-up from a PDF file with: $ pdfjam input.pdf '{},1-' -o output.pdf --nup 2x1 --papersize '{34.8cm,19.5cm}' and saved the bookmarks with: $ pdftk input.pdf dump_data output bookmarks.txt ...
Rodolfo Medina's user avatar
6 votes
3 answers
531 views

Passing data via stdin to pdftk which doesn't work with /proc/self/fd/0

I have received a PDF file from a network. It's sitting in a receive buffer. I'd like to pass that data to a bash script which runs pdftk which expects to receive a filename as an argument. I could ...
Stewart's user avatar
  • 16k
0 votes
1 answer
69 views

Spliting PDF while keeping index in the new file

I have got a PDF file with many tomes in it. Because it contains a lot (>5,000) of pages I want to split it. I have used pdftk like this: pdftk input.pdf cat 487-2987 output second_tome.pdf It ...
Felix.leg's user avatar
  • 103
0 votes
1 answer
75 views

How to concatenate various jpgs pngs and pdf into single pdf leaving their sizes as they where?

I am trying to make a kind of dossier out of various pngs,jpgs and single page pdf images. It has to be a single pdf file, but it doesn't matter that results into something conveniently printable. As ...
wpkzz's user avatar
  • 113
0 votes
0 answers
46 views

Remove PDF pages if content is subset of next page

I have a lot of uni-slides where a list of bullet points gets shown page by page until one slide contains all points. For the sake of explaining a topic this is quite nice but for learning I would ...
BillGatesPriv's user avatar
0 votes
2 answers
140 views

Create pdf output file alternating pages between two files

I have a pdf file, let's call it A, composed of a lot of pages. Then I have a second pdf file, let's call it B, composed of a single page. My goal is to have an output file, let's call it O, with the ...
Mark's user avatar
  • 805
0 votes
1 answer
142 views

Combine PDF forms including filled-in information

I have been trying to file my taxes by filling out the individual forms, which are fillable PDFs on the IRS's website, and concatenating them using the pdfunite command: pdfunite f1040.pdf f1040s1.pdf ...
Mirlan's user avatar
  • 101
0 votes
2 answers
259 views

How to define a multiple page ranges for pdftk with a bash variable

I'm using Arch linux, Openbox window manager, and bash. Everything is up to date with the latest versions. Can anyone tell me why I can't get the "$page_range" variable to show up within ...
Kes's user avatar
  • 909
2 votes
0 answers
385 views

Combine PDFs to new PDF with filenames as bookmarks

I have a directory foo containing .pdf files named with pattern X01, X02, ..., each two pages long. I want to combine them to a new .pdf, named "all_YY-MM-DDTHHMMSS.pdf" that will contain ...
jay.sf's user avatar
  • 237
0 votes
1 answer
189 views

Correcting typo in PDF, other solutions aren't working

I have a job interview on Tuesday, and I need to correct a typo "obestiy" [sic] to "obesity" in a PDF from LaTeX that I cannot recompile due to missing images and tables. I have ...
con's user avatar
  • 109
1 vote
0 answers
747 views

pdftk - WARNING: The creator of the input PDF: has set an owner password

I am trying to merge multiple .pdf files into one. I am getting an error stating there is a password on the files which prevents the consildation but there isn't a password request when I open the ...
mister mcdoogle's user avatar
0 votes
0 answers
1k views

Fixing slow-rendering PDFs on Linux

I've got some large document scans with embedded OCR text on Internet Archive I'd like to read. Unfortunately the PDF pages render very slowly on my document readers (Okular, Evince, Zathura). I ...
Kariuki's user avatar
0 votes
1 answer
1k views

shell script to combine PDF's in a folder and use pdf file name as bookmark

I have a series of folders with employee names and their documents in pdf format. I want to merge and create a single PDF file with pdf documents indexed as bookmarks in pdf file. I tried using PDFTK ...
Bibush GC's user avatar
2 votes
0 answers
603 views

A lot of my old PDF files have become unreadable, and pdftk doesn't seem to help

I have an extensive library of my old publications in PDF format. Recently I found that many of the older ones (as recent as early 2000s) are no longer readable by either okular or xpdf. xpdf says: ...
Jess H. Brewer's user avatar
2 votes
1 answer
4k views

Force pdfjam to fit a specific size in final output

My intentions is to make a full book cover (a wide page including the book’s back, the spine, and the front cover). To achieve this, I have three PDF files containing the front page (first-page.pdf A4 ...
fauve's user avatar
  • 1,529

15 30 50 per page
1
2 3 4 5 6