Questions tagged [pdftk]

PDFtk Free is our friendly graphical tool for quickly merging and splitting PDF documents and pages.

PDFtk Free is a graphical tool for quickly merging and splitting PDF documents and pages.

Official site

37 questions
173
votes
18 answers

How can I install pdftk in Ubuntu 18.04 and later?

Is there any chance of getting pdftk working in Ubuntu 18.04? I need this for creating PDF files with a watermark in shell. Or, does anybody know a working alternative to pdftk to generate a PDF with a watermark in shell? I already check/try out…
WiKrIe
  • 1,969
52
votes
2 answers

How to install pdftk on Ubuntu 18.04 Bionic?

I tried to install pdftk in Ubuntu 18.04. It seems to be that the package is missing from official repositories. How can I install pdftk?
Ivan
  • 889
26
votes
5 answers

Create a PDF with specific page ranges of multiple PDF files?

I have found many related questions in this forum. But, none addresses my issue. Please double-check before marking it as duplicate. Suppose I have two PDF files. first.pdf having 10 pages. second.pdf having 20 pages. I want to create a new PDF…
ddas
  • 466
11
votes
3 answers

Is there any tool to convert pdf to ppt/odp slides in Linux/ Ubuntu offline?

I am looking for a tool that converts PDF into PPT files or supports any tweak to import PDF files into LibreOffice-impress, LibreOffice-Draw imports the PDF but that does not do the job. So far I am trying to use a workaround called pdftk+pdfchain…
5
votes
2 answers

How to extract first 10pages from each pdf files of a folder

I have 90 sub-folders in a folder. Each sub-folder contains pdf files. Total pdf files are nearly 2200. How can I extract page number 3 to 10 from all pdfs? To extract the pages from one pdf, I am using the following command. pdftk *.pdf cat 3-10…
5
votes
0 answers

How do I add a video to a PDF file?

Adobe Acrobat allows to embed videos in PDF files. Is there a way to do this with a free tool like pdftk? I have several slides in my pdf and I would like to add an mp4 or webm file among those slides.
colin
  • 151
4
votes
1 answer

How can I merge numbered pdf files with pdftk?

I have to merge a lot of pdf files and I numbered them from 1 to 100 or more. I want to merge specific files. Can I merge them doing something similar to this? pdftk [1-20].pdf cat output out.pdf
Ram
  • 101
3
votes
0 answers

inserting few copies of the same page into PDF

I want to insert X blank pages into PDF document. I can do it with pdftk : pdftk A=book.pdf B=page.pdf cat A1-end B output output.pdf When I want insert more than one page, I can do something like that: pdftk A=book.pdf B=page.pdf cat A1-end B B B…
ts01
  • 419
3
votes
0 answers

Translate the page numbers of internal links in a pdf link to?

I use pdftk to (extract and) merge some pdf files. One of the input pdf files has internal links within it, i.e. when clicking such links will jump to another position in the pdf file. But in the output pdf file, the page numbers that the internal…
Tim
  • 26,107
3
votes
1 answer

Why does installing "pdftk-java" change root certificate authority? Is this bad?

new ubuntu user here. I installed pdftk-java using sudo-apt, and it changed a lot of my root certificate authorities. Is this bad? I don't understand why this root certificate authority is needed by a PDF editing software/program. I'm not sure if I…
Daycent
  • 83
3
votes
2 answers

Split PDF into Multiple Page Ranges with Multiple Outputs

I need to split one PDF file into multiple PDFs, but using specific page ranges. This CPDF command will split multiple page ranges, but merge them into a single PDF file. cpdf in.pdf 1-3,90-97,112-end -o out.pdf I need a command that will carry out…
2
votes
0 answers

How to split a PDF and keep its form fields

I am trying to split a multi-paged PDF document that contains form fields (check boxes, text boxes). In case it is important to know, the PDF's form fields are initially all blank/empty/un-checked. I have tried using pdfsam and pdftk, but the form…
Arya
  • 671
2
votes
1 answer

Can I make a PDF to expire after a specific date

I am using Ubuntu 14.04 LTS. I want to know some extra security tips in dealing with PDF files. I found that we can easily make a PDF file password protected using pdftk command from here. But is it possible to make PDF files to expire after a…
ddas
  • 466
2
votes
1 answer

PDFTK, CODE128 and UTF-8

I'm used to fill PDF forms from PHP using PDFTK. Recently, I was asked to insert a code-128 barcode in a PDF. To do so, I created a PDF with several text fields for human-readable entries plus a special text fields which text is render with a…
MaxAuray
  • 231
  • 3
  • 8
2
votes
0 answers

pdftk stopped working with error "Unable to find file"

Since some time (possibly a month or two), pdftk stopped working on my system (Ubuntu 18.04, AFAIK all latest updates applied). I now unconditionally get the error Error: Unable to find file: pdftk A=file1.pdf B=file2.pdf cat A1 B2 output…
Cal-linux
  • 129
1
2 3