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

6
votes
4answers
6k views

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 its 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 ...
3
votes
1answer
286 views

using `lpr` to get file name and page numbers printed on pdf

I have a PDF file and I want to print it with the file name and page numbers added somewhere on the page. Is this possible with lpr? If not, what utility can I use to transform the PDF file first? I'm ...
3
votes
1answer
2k views

Merge several eps files into one PDF

I have several hundred encapulated postscript files, and I want to merge them all into one big PDF. How can I do this?
1
vote
1answer
246 views

Creating exact non-scaled booklets with pdfbook automatically

I've been trying to print a booklet for some non-standard page sizes, and cannot figure out how to get pdfbook to not scale to standard page size. All I want to do is just double the width of the pdf ...
2
votes
3answers
523 views

How to print multiple pages per side with one(right) page blank?

Input file is any pdf document. I want to have right side space for writing notes. output.pdf looks like !
11
votes
5answers
8k views

Add and edit bookmarks to pdf

By getting metadata from some pdf files with bookmarks by pdftk, I observe the format of bookmarks in pdf metadata. So I am guessing that with pdftk, it is possible to add and edit bookmarks of a pdf ...
3
votes
1answer
338 views

convert bulk of text files to pdf with naming based upon header file

Knowing that "How to convert from text to .pdf" is already well answered here link and here link, I am looking for something more specific: Using Claws-Mail [website] and a Plug-In [RSSyl] to read ...
3
votes
2answers
164 views

Looking for an efficient way to display PDFs

I've used several unix tools to display PDFs, like xpdf, evince, epdfview… What I'm looking for is not very complicated. I'd like to display a full page inside the application window with reduced ...
3
votes
2answers
2k views

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

Problems converting PDF to DjVu

I have a PDF file (copyrighted, so I can't include it here). I'm trying to convert it to DjVu, using some online websites as well as pdf2djvu, but they all fail. In the case of pdf2djvu, the error ...
11
votes
6answers
21k views

How to convert TXT to PDF?

I want to convert .txt files to .pdf. I'm using this: ls | while read ONELINE; do convert -density 400 "$ONELINE" "$(echo "$ONELINE" | sed 's/.txt/.pdf/g')"; done But this produces one "error" -- ...
4
votes
2answers
1k views

Convert PDF from sRGB color space to CMYK

Does anyone know how I can convert a PDF (or EPS) file from sRGB color space to CMYK color space? My workflow is currently the following: Draw an image with Powerpoint Print via postscript printer ...
3
votes
3answers
155 views

How do you output an info page to pdf?

If man -t ls | ps2pdf - > ls.pdf is useful for outputting the ls man page via ps2pdf to pdf, what about info pages? I've tried something like the following but with no success: info -o info | ...
1
vote
1answer
323 views

how to pdfjoin landscape and portrait oriented JPEG images to one PDF file?

I have some JPEG files. Most of them are landscape oriented, but some are portrait oriented. I want to combine them into one big PDF file. I tried pdfjoin but this results in all images beeing ...
1
vote
2answers
640 views

Splitting large PDF into small files

Using pdftk it is possible to extract page ranges from a pdf using pdftk a.pdf cat 124-end output b.pdf dont_ask I have a bunch of huge PDFs with about 500 pages and over 100 MB, is it possible to ...
5
votes
3answers
3k views

How to convert pdf to eBook format

Is there a way to convert a PDF document into an eBook format such as epub, azw or mobi? I am looking for an application, which is fast in conversion. I have just tried calibre. After 10 minutes not ...
3
votes
1answer
231 views

Change zathuras display mode to single page only

I recently switched from Debian to Arch. Now I have a newer version of zathura, which displays the pages continuously. For poppler as well as mupdf. I need the discrete display mode. Is this fixed ...
3
votes
2answers
2k views

Storing Okular PDF annotations and metadata in the PDF itself

The PDF viewer Okular (part of KDE desktop) has lots of nice features and supports lots of file formats. One of the things I like about it is the comments and annotations. Unfortunately, all of the ...
22
votes
5answers
15k views

Split pages in pdf

I have a scanned pdf file which has scanned two pages on one virtual page (page in pdf file). The resolution is with good quality. The problem is I have to zoom when reading and drag from left to the ...
1
vote
1answer
237 views

Convert ps to pdf by ps2pdf, but the pdf file is not well-behaved

I have a ps file,and converted it to a pdf file using ps2pdf. ps2pdf elden.ps elden.pdf When I open the pdf file in evince, and try to select some text in it using my mouse, the selected content ...
2
votes
0answers
69 views

Insert bookmark in .pdf file for print

I have searched many solutions on what is the best way to search a .pdf, and if a page named spec_out is located in the .pdf it will insert the first bookmark before other bookmarks as Spec Out. I'm ...
6
votes
4answers
568 views

how to merge pdf files so that each file begins on an odd page number?

I need to merge a few dozed pdfs, and i want all of the input pdfs to start on an odd page in the output pdf. Example: A.pdf has 3 pages, B.pdf has 4 pages. I don't want my output to have 7 pages. ...
0
votes
0answers
640 views

Unable to open EPS files

I am unable to open eps files in my machine. I have attached the screenshots of what happens when try to view a eps file with default pdf viewer and ghost script viewer (gv). The condition is same ...
9
votes
4answers
15k views

pdf to jpg without quality loss; gscan2pdf

When I convert a pdf file to bunch of jpg files using convert -quality 100 file.pdf page_%04d.jpg I have appreciable quality loss. However if I do the following, there is no (noticeable) quality ...
2
votes
2answers
594 views

Xpdf fit to page width in fullscreen mode

When I call the command: $ xpdf file.pdf -z width -fullscreen ...it does not have the desired effect. The individual options: $ xpdf file.pdf -z width ...and: $ xpdf file.pdf -fullscreen ...
3
votes
2answers
334 views

How can I convert raw printer commands back to a postscript or pdf file?

I have a string of raw printer commands that are for my postscript printer saved to a file. I believe there is a lpr option like -o raw which will read these raw command and send them to the printer. ...
1
vote
2answers
420 views

PDF tool similar to ImageMagick

I was introduced to ImageMagick a few months back for manipulating images for print but now I'm curious to know if anyone has seen one for .pdf? I would like to create scripts that will check or ...
1
vote
2answers
1k views

How to create indexes in a pdf?

iPdf is rotten. Is there any other software or any other way by which an "index" can be created in a pdf file?
3
votes
2answers
2k views

How to save a copy of a protected PDF form in Evince?

I've got a pretty long PDF form from my ISP and filled it carefully. Willing to save my work of filling it I've tried to use File - Save a copy.... But Evince says it can't save it because it is ...
1
vote
0answers
107 views

How to change font substitutions in kpdf?

I'm trying to read a pdf that was created with MSWord using Garamond and kpdf is substituting 'Deja Vu Sans'. But I've got Palladio! Where can I change it?
6
votes
1answer
1k views

How to make ghostscript not wipe PDF metadata

Ghostscript wipes the PDF metadata like author, title, subject etc. How can I tell ghostscript not to touch the metadata? I invoke it as follows: gs \ -dBATCH \ -dNOPAUSE ...
4
votes
4answers
546 views

Export terminal display to PDF

I want to include the display of my terminal in a beamer presentation. Simply taking a screenshot, however, produces a fairly low-resolution png that looks poor in the presentation. I would like it ...
4
votes
2answers
450 views

How do I extract the colours from a PDF?

I have a PDF and I want to verify the colours being used (check that they match our corporate colour scheme for instance). Specifically, I want to check that the correct CMYK colours are being used. ...
4
votes
1answer
569 views

Send a fax via SIP

How can I send a fax from my Linux machine using a SIP connection? I don't have a modem. Ideally, I'd like to provide a PDF or TIFF file, and send it via my SIP provider. Is this possible?
1
vote
2answers
2k views

Acroread Firefox plugin Ubuntu 12.04 issues

Since I upgraded to Ubuntu 12.04, every time I try to open a PDF through Firefox (which I like to do quite often as I read a lot of PDF documents and downloading each then deleting is tiresome) I get ...
1
vote
0answers
30 views

How do I unbooklet a PDF-booklet? [duplicate]

Possible Duplicate: How do I 'unbook' a pdf I'm not shure that what I have is actually a booklet, or a book. I have a paper in A4-format consisting of 96 pages (plus coverpages). I ...
9
votes
1answer
476 views

How do I 'unbook' a pdf

I have a pdf file that was made into a booklet format. It is meant to print on A4 paper in landscape orientation; here are two pages in the pdf, which should correspond to four pages in the actual ...
1
vote
0answers
91 views

PDF editor with regular expressions for bookmarks?

Are there any Unix-based PDF editors with automatic bookmark creation?
1
vote
0answers
24 views

Rescale a PDF file [duplicate]

Possible Duplicate: How to change height and width of each page of a pdf Is it possible to rescale a PDF file (retaining perspective) to be within a maximum width / height? Rendering to an ...
2
votes
1answer
574 views

Printing files as PDF with syntax highlighting via terminal [duplicate]

Possible Duplicate: syntax_highlight <source_file> | lpr I have about 20 Python scripts that I wish to print as PDF. I wish to print them the way GEdit would allow me to, with: ...
6
votes
1answer
2k views

Invert colors in whole PDF (convertion)

How to create pdf with inverted colours of original one? (Just like inverting whole screen with xcalib -i -a) Preferably : not loosing hyperlinks. But it's not requirement. It would be nice if ...
1
vote
1answer
634 views

Convert a .jpg to a one page .pdf at a certain location

I'm looking to convert a .jpg into a .pdf, where the .jpg is positioned at a certain coordinate say 30 pixels and centered. Right now I'm just using: convert image.jpg image.pdf
3
votes
4answers
3k views

convert single-page landscape pdf into rescaled double-page portrait pdf

I'm having trouble using convert to do the following: I have a bunch of single-page pdf files whose geometry corresponds to a landscape A4 sheet. The actual content is visually split in 2 pages. ...
2
votes
3answers
185 views

Manipulating a picture pdf

Is there a practical tool to modify (with eraser and pen) a pdf file whose content is a scanned document or a picture taken by a digital camera? If so, which one is good?
4
votes
2answers
3k views

pdf viewer for command line only

Is it possible to view pdf documents without having gdm (or similar) running? Rationale: I'm working on a remote server (assume no X forwarding) processing some data, creating some plots (assume pdf ...
4
votes
1answer
696 views

Open PDF previewer width specific size and position and “always on top” from command line

I'm using latexmk -pdf -pvc to keep compiling my LaTeX files to PDFs while they are displayed in evince. I'm doing that a lot with different files and I keep needing to zoom the PDF content, resize ...
1
vote
2answers
174 views

Can't view Chinese chars in evince or xpdf

Instead, I get white squares. I have no idea if they are used, but I installed "xfonts-intl-chinese" (didn't work). I googled this issue, and there was a lot of talk about some bug in poppler. But, ...
3
votes
2answers
2k views

How to create a single page PDF file out of multiple EPS files with GhostScript

I'm trying to merge eps files into a pdf file using GS, however, I cannot get it to put multiple eps files without page breaks in between even if original files are small. The command I'm using is: ...
2
votes
2answers
543 views

Custom title in PDF files when using ps2pdf

I convert .txt files to .ps files with enscript, OK! After that I use "ps2pdf" to convert the .ps files to .pdf files. OK! And I can see: Question: What parameter do I have to use (with enscript ...
6
votes
1answer
908 views

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