Questions tagged [pdf]

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 retrieved from the file properties, or using "file document_name.pdf"

Tools used for manipulating PDF files:

Generation:

  • rst2pdf
  • convert (from imagemagick)

Conversion:

  • pdf2ps
  • pdftotext
  • pdftk

Extract metadata:

  • pdfinfo

GUI based editing:

  • pdfedit
703 questions
265
votes
20 answers

How can I add a signature .png to a PDF in Linux?

I have a scanned copy of my written signature and I need to apply it to some documents in the signature block. I used to do this on Windows all the time but I now have only Linux. Is this possible? How can I add a signature image to a PDF file in…
Freedom_Ben
  • 4,494
74
votes
11 answers

Pdf reader that supports XFA forms (while Adobe Reader for Linux is not supported anymore)?

XFA forms are features of a pdf file involving options to complete fields in certain documents - in many cases official documents. These options may open a calendar, for example, in order to select day, month and year, etc. Usually these forms…
user32012
49
votes
5 answers

How to query pdf page size from the command line?

For scripting I need to get the page dimensions of a PDF file (in mm). pdfinfo just prints it in 'pts', e.g.: Page size: 624 x 312 pts What should I use? Or what unit is 'pts' anyway - in case I want to convert them ...
maxschlepzig
  • 57,532
28
votes
4 answers

How to reverse the page order of a PDF file?

Is there an easy (preferably command line) way to reverse the pages in a PDF file?
28
votes
4 answers

How to know if a PDF file is compressed or not and to (un)compress it

I just learned that PDF files can be compressed to reduce their disk size. I was wondering how to know if a PDF file has already been compressed? What applications/commands can be used to compress or uncompress a PDF file? My environment is Linux…
Tim
  • 101,790
21
votes
4 answers

How to view and edit the code of a PDF file

I was wondering how to view and edit the code of a PDF file? By viewing, I don't want to see the binary format, so I think hexdump may not be what I want. I tried gedit, but no encoding method can be used to decode the PDF content. By editing, I…
Tim
  • 101,790
17
votes
4 answers

Converting PDF to PDF/A?

Given a PDF of random origin, how do I, on Linux: confirm whether it is in PDF/A format already? if it is not in PDF/A format, convert it to PDF/A with a minimum loss of fidelity? I am aware that the conversion may cause loss of exotic elements of…
user
  • 28,901
14
votes
5 answers

List named destinations in a PDF

How can I list the named destinations in a PDF file? Named destinations are the formal name for what you might call anchors. Major browsers jump to the named destination foo when you follow a link to http://example.com/some.pdf#foo. I have documents…
13
votes
3 answers

Rotate every other page with pdfjam

I want to rotate every odd page 180 degrees using pdfjam. I do not want to use pdftk, as in this question. The command seems to be pdf180 (for pdfjam before version 3.02), but the selection does not seem to take rules like odd/even pages. Also, if I…
10
votes
2 answers

What program will save a fillable PDF?

There are several nice fillable PDFs available for the RPG hobby. These have boxes that number values can be entered and simple formulas are calculated throughout the sheet. I'm finding that the programs I've tried cannot save this data. I've tried…
10
votes
2 answers

How to print a pdf document with mupdf?

I didn't find any print key in the mupdf manual (http://mupdf.com/docs/manual). Is there an undocumented printing function or any other good way to print the document when opened with mupdf?
student
  • 18,305
9
votes
4 answers

Rotate pdf file less than 90 degree?

How can I rotate a PDF file less than 90 degree under Ubuntu? Can I do that interactively?
Tim
  • 101,790
9
votes
1 answer

Split PDF into colour and black/white pages

I would like to automatically split a large PDF document into two files: one file should contain only the pages with black and white content, and the other should contain only the pages with any colour content. The colour and black/white pages do…
SabreWolfy
  • 1,154
9
votes
3 answers

How to extract bookmarks from a PDF file

I have a PDF file. I need the bookmarks in that file extracted to a text file or an Excel spreadsheet. I also need to validate the bookmarks from the large PDF file. How would I do that?
Shankar
  • 91
8
votes
3 answers

How to resize a PDF's pages?

I got a PDF file for which I want to change its pages' sizes; let's call it file.pdf. And I got another PDF file which will serve as the model to file.pdf; let's call it model.pdf. To clarify: I want file.pdf's pages to be of equal measure as…
Carl Rojas
  • 1,059
  • 4
  • 14
  • 27
1
2 3 4 5 6