PDF (Portable Document Format) is an open standard for fixed format document exchange. Use this tag to indicate questions involving files in this format and also when software is generating/processing this format. When possible and possible relevant indicate the version of the PDF document (as ...

learn more… | top users | synonyms

2
votes
2answers
123 views

Batch rename according to number of pages in pdf file

I have a lot of papers in pdf files (and also other type of files in the same folder). I'd like to rename them using the pattern <current file name>[<number of pages>].pdf But after ...
0
votes
0answers
23 views

Why Javascript embebed in PDF opened with Firefox in Linux is not executed?

I have embebed a simple Javascript (app.alert messagebox) in a PDF using Didier Stevens pdf-tools. Then I open that PDF in Firefox in Linux and the Javascript is not executed. The messagebox is not ...
0
votes
3answers
46 views

Splitting a pdf-file into 2 pdf's (one contining equal pages etc…) [duplicate]

I have a 600 pages long pdf file. I would love to be able to split it in different pdf files, one containing odd-numbered pages: 1,3,5,7,9,11 etc. and another file containing even-numbered pages: 2, ...
0
votes
0answers
45 views

ubuntu document reader for acrobat pdf forms

I have an acrobat pdf form that I need to fill. I am using ubuntu 14.04 trusty. Is there a reader that can handle this, the default (evince) doesn't seem to work. thanks
0
votes
1answer
38 views

Sign a PDF file to verify integrity and validity

I've been asked to distribute electronic certificates (they were originally paper), in a PDF format, but I'd like to sign them with gpg or something similar so users can upload them to my site to ...
0
votes
0answers
10 views

How can I comfortably highlight PDF files without KDE?

Okular is great but has many KDE dependencies. Xournal is not very suitable for highlighting. Evince doesn't have any "editing" functionality.
0
votes
2answers
73 views

convert a html book to a pdf file?

How can I convert a html book (consisting of a number of html files linked to each other) to a pdf file on Ubuntu? Hope the resulting pdf file can have bookmarks according to the structures of the ...
0
votes
0answers
142 views

Can't download all of specified webpages by using wkhtmltopdf

i try to download the webpages specified as a list of urls in a text file urls, and convert and merge them to a single pdf file, by running: $ wkhtmltopdf $(cat urls) all.pdf Loading pages (1/6) ...
2
votes
2answers
95 views

How can I shuffle pages from a pdf file in a random order?

I would like to shuffle the pages of a pdf document in a random order. How can this be done?
1
vote
0answers
54 views

Replace a image in a PDF using command line

I need to process some PDF files. The task consists in exchange a given image file by another. My first problem is how to replace a PDF image from command line in a batch process. Next I'll try to ...
2
votes
0answers
33 views

Using interface file with LP and txt2pdf utility to transform print file to PDF

Our legacy application uses LP commands on Solaris 5.10 to print report files to printers throughout our org. However, now we have a remote location that won't have access to a printer (at least not ...
3
votes
1answer
52 views

Extract completed slides of a slide show PDF

PDF files of slide show presentations distributed by my lecturers often contain a huge number of pages, because each animation step results in an new page (sometimes 20 pages per slide). This is nice ...
-5
votes
2answers
74 views

PDF: Using Terminal [closed]

I tried creating a PDF file using terminal . I wrote "vi New.pdf". It created the file. Now that when i trying to double click and open it . It said something like :- The file "New.pdf" could not ...
1
vote
0answers
56 views

How do I encrypt (password protect) a PDF without encrypting the metadata?

It seems that the encryption provided by pdftk(1) is the level supported by Acrobat 5 (I added a password to a PDF file using pdftk then opened it in Acrobat Pro 9 and examined the security settings; ...
1
vote
1answer
65 views

Convert Blog to PDF or Epub Book

I want a command or script to collect all the posts on a given blog and convert them into a PDF and/or Epub book without needing to be the owner of the blog. This website allows users to convert blogs ...
0
votes
1answer
41 views

Why my rescued PDFs forms are empty?

First, I'm no expert, so don't assume I know much about data recovery. I'm using ddrescue and photorec to try to rescue files from a USB stick. It's a 32GB stick that has no more partition information ...
2
votes
1answer
81 views

How can I rasterize all of the text in a PDF?

You know when you have a pdf, which is a scan of a document and it's a really huge file, because it just stores the picture of the scanned document? And there are OCR tools which can help you to ...
0
votes
2answers
82 views

Download an article with cURL given a dynamic download link

I'm trying to download this published journal article using cURL. It's the main page of an open access, so there should be not problems for anyone to see/download the article. I then extract the ...
4
votes
1answer
56 views

How to convert ęąśćżńł TXT to PDF with enscript?

I have problem converting a file to PDF. I create the file with echo ęąśćżńł > text and convert: enscript -O text -o - | ps2pdf - out.pdf However, out.pdf has an encoding problem:
4
votes
2answers
524 views

How to convert libreoffice ODT to PDF in bash

I am using libreoffice under CentOS 6. I can convert ODT files to PDF with: libreoffice --headless --convert-to pdf *.odt but the problem is that it only works when no document is open in ...
2
votes
0answers
168 views

Printing on custom paper size / adding paper size to PPD

I have some trouble when printing to custom paper sizes. Currently, I want to print something to a 21cm x 21cm card. So, I created a document with this size in libre office and exported it to PDF. ...
3
votes
1answer
32 views

tiff2pdf coloured

I converted some scanned .tif files to .pdf using tiff2pdf (libtiff version 4.0.3 ) with JPEG compression. Viewing them in evince showed a coloured (pinkish) background. My initial thought was that ...
1
vote
1answer
86 views

textutil convert PDF to txt producing garbled output

I am trying to convert PDF files to text files using textutil. I don't if there are special types of PDFs that can and cannot be converted. The files I am trying to convert are in a searchable ...
0
votes
0answers
36 views

How to make a PDF portfolio from merged files

Adobe Acrobat has a feature where PDF files can be merged into a single portfolio document. The various PDF files can be set out with a template, and clicking on its icon views the appropriate PDF. ...
0
votes
1answer
140 views

How to get `pdftotext` to output text in a readable encoding?

I converted a PDF file into a txt file using pdftotext. As an example, i have the sentence "This is the first study on the functional relevance of", notice the f in "first", when i process this sentence ...
1
vote
1answer
120 views

Gnome printing (Evince): Scale pdf up and center (get rid of page margin)

As you know, latex documents often have quite a substantial amount of page margin. I don't like that. The printing dialog offers the option to print the document scaled up (let's say 120%), but then ...
1
vote
2answers
27 views

Substituting file extensions on a variable

I'd like to do the following : create a .tex and directly show it after compilation with evince, ideally it would be like this: showpdf file.tex so I wrote #!/bin/sh pdflatex $1 && ...
0
votes
1answer
55 views

Syntax highlighting and export EPUB format

I need to write RTL format and finaly export as Epub (pdf as freedom).I need to explain my codes and somthing such as syntax highlighting, Do you have any solution? UPDATE: My question has 2 aspect: ...
2
votes
2answers
511 views

How to set password for pdf files?

I need to password protect my PDF file(s), because I am going to send them through email and I want anyone who would view my PDF file(s) to be prompted for a password. How can I add a password to a ...
0
votes
1answer
40 views

How can this pdf file be created from this website?

This pdf file seems created from this site. I check the information of the pdf file by pdfinfo the pdf file: Creator: pdftk 1.12 - www.pdftk.com Producer: itext-paulo ...
2
votes
1answer
108 views

Recover pdf from extracted images

Here is the information of images in a single-page pdf file: $ pdfimages -list p1.pdf page num type width height color comp bpc enc interp object ID ...
2
votes
1answer
758 views

Convert pdf to a different page size (US Letter -> A4)

I'm trying to print a simple US Letter document, but for some reason, I just cannot manage to fit it properly onto A4 when printing multiple pages per-list. I have tried converting the pdf using: gs ...
1
vote
2answers
121 views

Extract words instead of letters from pdf files?

I use less which uses pdftotext to extract text from pdf files, by less my.pdf. In this way, some words' letters are separated by spaces from a pdf file. CH APTE R 2 5 T E ST IN G WE B A P P ...
2
votes
1answer
112 views

Exchange odd and even pages in a pdf file?

Is it possible to exchange odd and even pages in a pdf file, e.g. page 1 and page 2 exchange, page 3 and page 4 exchange, ..., assuming the pdf file has even number of pages? Can it be done using ...
1
vote
1answer
89 views

Splitting a PDF file with Ghostscript results in one extra blank page

I try to split the pages of one PDF file into a separated one-page PDF files. This command does the job so far: gs \ -q \ -dQUIET \ -dSAFER \ -dBATCH \ -dNOPAUSE \ -dNOPROMPT \ ...
1
vote
0answers
103 views

Show annotations in PDF

I have a PDF file that has annotations in them. Comments that are in a box show up, but removed words or other insertions do not appear. I don't need to add any annotations; I just need to view them. ...
3
votes
1answer
91 views

Combine parts of pages of a PDF document

I have a PDF which has some content split onto 2 pages. The first part takes less or equal the bottom half of the first page and the second part takes less than the top half of the second page. For ...
1
vote
0answers
59 views

zathura : auto reload but looses zoom

I use zathura as my pdfreader. It is great but I have some issue with the auto-reload. When I compile a .tex file, it's associated .pdf file is automatically reloaded in zathura and correctly displays ...
2
votes
1answer
378 views

What happened to ePDFview‽

In my older Fedora installation (It's Fedora 20 right now, but I've been updating it since well before FC18), I'm using a rather minimal PDF viewer, called "ePDFview". It seems to be gone from more ...
0
votes
2answers
61 views

How do I download a PDF, then output a chunk of text?

My city water bill is emailed to me every month as a link to the current PDF hosted on their server. So I can easily download this PDF any time I want. How do I take that PDF and extract my account ...
1
vote
1answer
131 views

Print a PDF with scaled content

I have a 150 page long pdf file where individual pages are shrunk. I need to magnify the file upto 900% to read anything on the screen (and it is readable at that magnification). I would like to print ...
1
vote
1answer
87 views

Vi keys in Xpdf?

The Xpdf man page says that it can be customized to work with Vi style keybindings: Previous versions of xpdf included a "viKeys" X resource. It is no longer available, but the following ...
0
votes
0answers
250 views

How to install evince on CentOS Linux release 7.0.1406

On my CentOS Linux release 7.0.1406 the PDF reader doesn't render image colours correctly that's sent from MacOSx/CS Adobe Acrobat. Is there a way to install Evince with Yum on this particular ...
1
vote
1answer
58 views

Does okular/poppler support following intra-document cross-references in PDF files?

Using docbook and Apache FOP I can create PDFs that contain cross-references. For example, the Table of Contents of a book looks like this: Chapter 1 Introduction........................12 Using ...
2
votes
2answers
24 views

How do I export visiting cards onto one page?

I have a script to generate visiting cards for the entire team from an svg template. It spits out a single pdf the size of a visiting card, like so: +-----------------+ | o o | | ...
2
votes
1answer
168 views

All PDF applications mix the width and height of a PDF file

I have this PDF file created by scanning. When viewing it in any PDF viewer, the page's width is greater than the height. But it seems like all the PDF applications I have tried mistake the width as ...
9
votes
8answers
319 views

Find duplicate PDF files by content

Some journals generate a different PDF for each download. APS for example stores time and the IP address in the PDF. Or there is a paper version with hyper links and one with text references. How ...
2
votes
1answer
163 views

How to tell if the hidden text layer in a pdf file is from OCR or not? [closed]

I have seen some pdf files after OCR have very accurate text (both in terms of recognition rate, and in terms of alignment of text to the image). What Unix/Linux tools help me tell, if the hidden ...
4
votes
1answer
91 views

Avoid bloating file size when removing OCRed text from a pdf file?

I use pdfimages and convert recommended by Anthon to remove the OCRed text of a pdf file, and the size of the pdf file changes from 29MB to 373MB. My first step is split the pdf file into a pbm file ...
3
votes
3answers
223 views

How can I convert a scanned PDF with OCRed text to one without OCRed text?

I have a scanned PDF file, with low-quality OCRed text. I would like to have a PDF file without the OCRed text. How can I convert a scanned PDF with OCRed text to without OCRed text? I am thinking ...