We’re rewarding the question askers & reputations are being recalculated! Read more.

Questions tagged [pdftk]

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

Filter by
Sorted by
Tagged with
2
votes
1answer
71 views

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-...
0
votes
0answers
215 views

How to automate PDF processing (crop & reduce size) without breaking barcode? [duplicate]

I regularly receive shipping address labels in pdf format from the post. The pdf document containing the address label is formatted in a very stupid way taking up the entire A4, while just A6 would be ...
1
vote
1answer
211 views

PDFTK: combining files as root user

I have a website which uses PDFTK. My site allows users to send PDF files via a form, then, at the click of a button, launches a combination of all files to create one. When sending my files, my ...
0
votes
2answers
361 views

PDFTK library missing Apache Common Lib

I set up pdftk on Ubuntu 18.04 using the following instructions: sudo add-apt-repository ppa:malteworld/ppa sudo apt update sudo apt install pdftk taken from a previously asked Askubuntu question. I ...
1
vote
1answer
2k views

pdftk snap in 18.04 not accepting commands

following the simple instructions in this answer: https://askubuntu.com/a/1048975 I installed pdftk as a snap on an ubuntu 18.04 VM. (we need some of the advanced features of pdftk on the command line ...
2
votes
2answers
654 views

How to run a java executable without java -jar [duplicate]

As pdftk is not yet available on Ubuntu 18.04 I compiled a pdftk fork following this excellent answer to a related question. This works great, however I now have to type java -jar build/jar/pdftk....
46
votes
2answers
44k views

How to install pdftk on Ubuntu 18.04 Bionic? [duplicate]

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?
108
votes
12answers
48k views

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 ...
2
votes
0answers
1k views

pdftk on Lubuntu 18.04 - is it possible? [closed]

Today I've migrated onto Lubuntu 18.04 from Ubuntu 16.04. Got a lot of scripts that use pdftk tool. But now I can't install it either with apt-get or with synaptic. Tried to install from deb - got a ...
0
votes
0answers
139 views

How to replace pages in pdf with bookmarks?

I have a pdf-file pdf1 with bookmarks and I have another pdf-file pdf2. I want to replace all (or part of) the pages of pdf1 with the pages of pdf2 so that the bookmarks stay where they were. In ...
0
votes
1answer
533 views

Script to convert images in subfolders to individual PDF's [duplicate]

I am looking for a way of automating a manual conversion of directories containing images (jpgs & pngs) into PDF's. For example .. I currently use the following command to achieve what I want ...
7
votes
3answers
5k views

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....
0
votes
1answer
3k views

Install pdftk-1.44 on ubuntu 16

We have installed Ubuntu 16.04 and apt-get install pdftk install the release 2.02 But I need to install the pdftk-1.44 for an application dependency related. Any help in this matter would be highly ...
1
vote
0answers
123 views

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 ...
1
vote
2answers
1k views

Splitting all files in a folder with pdftk

I'm trying to use pdftk to split a folder containing pdf files into their constituent pages. Here is my code: ~/MCO/MCOs$ for file in *.pdf; do pdftk "$file" burst; done The command itself does not ...
0
votes
1answer
310 views

Splitting large pdf based on page range?

Let us say I have a large pdf called input.pdf and take the page ranges 1-4 5-9 10-13 14-end (say) and put them into individual pdfs called output1.pdf, output2.pdf ... What is the best (and quickest) ...
3
votes
0answers
337 views

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 ...
1
vote
1answer
623 views

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 ...
4
votes
2answers
8k views

Is there any tool to convert pdf to ppt 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 ...
5
votes
2answers
794 views

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 ...
2
votes
1answer
2k views

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 ...
1
vote
1answer
1k views

How to merge a pdf file as a first page into many pdf files?

I have a creative commons license in one .pdf file, say license.pdf. I want to merge this license.pdf as a first page in another .pdf file. I can do it manually by the following command: pdftk ...
3
votes
0answers
398 views

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 ...