I have such a pdf opened by Okular with Facing pages view mode (center first page).
I want to get all the two-pages view pictures, so manually crop them one by one.
How could extract them to pictures with combining two pages as single one?
Aware that pdf can be read into the terminal using The Poppler Developers tools.
One of the tools which helps in checking for a pattern in the pdf and then printing in the terminal is
pdfgrep
Suppose say, I am interested in the word "Happy" in a set of PDF files in the current working directory. I also wish to get the context in which Happy word has been used in all the PDFs. We can use the following code to print 2 lines above and 2 lines below the word 'Happy' in all the PDF in the directory using the following code
pdfgrep 'Happy' * -H -A 2 -B 2
Now my question is not this. I want to highlight the word Happy in all the PDF present in my directory through the terminal
I am adding the required output to make things more clear.
In the attached PDF which is one among the many in the directory, I need this kind of output to be made.
Any ideas on ways to execute this?
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 a similar function to the above command, but output each page range to its own PDF.
I've looked for solutions to this problem in the PDFTK and CPDF documentation, but haven't found any help.
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 all of them:
sudo apt list pdf*
Listing... Done
pdf-presenter-console/bionic 4.1-2 amd64
pdf-redact-tools/bionic,bionic 0.1.2-1 all
pdf.js-common/bionic,bionic 1.5.188+dfsg-1 all
pdf2djvu/bionic 0.9.8-0ubuntu1 amd64
pdf2svg/bionic 0.2.3-1 amd64
pdfcrack/bionic 0.16-1 amd64
pdfcube/bionic 0.0.5-2build6 amd64
pdfcube-dbg/bionic 0.0.5-2build6 amd64
pdfgrep/bionic 2.0.1-1 amd64
pdfminer-data/bionic,bionic 20140328+dfsg-1 all
pdfmod/bionic,bionic 0.9.1-8 all
pdfmod-dbg/bionic,bionic 0.9.1-8 all
pdfposter/bionic,bionic 0.6.0-2 all
pdfresurrect/bionic 0.14-1 amd64
pdfsam/bionic,bionic 3.3.5-1 all
pdfsandwich/bionic 0.1.6-1 amd64
pdfshuffler/bionic,bionic 0.6.0-8 all
pdftoipe/bionic 1:7.2.7-1build1 amd64
But did not find a working tool.