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

8
votes
1answer
398 views

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 ...
3
votes
3answers
163 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 | ...
3
votes
2answers
349 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
434 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 ...
5
votes
1answer
157 views

Wrong emblem used for PDFs created by LibreOffice

If I create a test pdf file in a directory, by using something like ls -al > testpdf.pdf the file is shown in Caja 1.4.0 with an understandable emblem that is 'acrobat-like'. If I create a ...
5
votes
2answers
2k views

Is there a pdf viewer capable of opening multiple documents in the same window?

I would like to open all chapters of my PDF ebooks in the same window but neither evince nor okular seems to be capable of doing that (at least not out-of-the-box). Is there a way to work this out?
1
vote
0answers
109 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
4answers
1k views

How to merge 2 PDF files with interleaving pages order?

I've got a double-side-printed multipage document to scan with a linear bulk scanner. So, as the result I get 2 PDF files: one containing all odd pages and the second containing all even pages. I need ...
4
votes
4answers
559 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
473 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. ...
6
votes
1answer
2k 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 ...
2
votes
0answers
580 views

troff to PDF conversion

I am very new to UNIX and trying to learn troff. I have some set of very old written troff files (before 20 years from now). Some samples are hereunder: file_00.g B,4.5,3.5,15.5,23.5 ...
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 ...
1
vote
0answers
93 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 ...
3
votes
1answer
565 views

Implementing a String -> PDF Stamp tool

I wrote a little shell function which creates a fixed-size PDF file (A4) from a character string using gs: make_stamp() { file=$1 string=$2 tmp=${file}-small.pdf gs -o "$tmp" -sDEVICE=pdfwrite ...
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 ...
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. ...
1
vote
1answer
646 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
2
votes
3answers
186 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?
14
votes
4answers
7k views

View pdf file in terminal

I want to see pdf files available on our cluster rather than copying them into my local machine and than visualize. Please tell me how can i do this.
5
votes
2answers
539 views

How to fix diacritics in PDF forms in Evince?

I happen to live in Czech Republic and we have such letters like ě, š, č, ť, etc in the alphabet and use them everywhere, including addresses. Today I was filling a PDF form in Evince and noticed that ...
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 ...
8
votes
3answers
3k views

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

Convert to postscript format using the Backend command before sending to a printer

Without using CUPS is there an way to add something on the Backend line in the print queue to convert all print sent to a queue to postscript from PDF format before sending the output to the printer?
4
votes
1answer
708 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 ...
4
votes
1answer
578 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?
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: ...
1
vote
2answers
176 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, ...
2
votes
1answer
601 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: ...
2
votes
2answers
557 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 ...
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 ...
1
vote
2answers
176 views

Shell script to detect PDFs with non-ASCII contents

I need a shell script to detect valid PDFs. That is, I need to retain only plain ASCII PDFs. Other PDFs which contain non-ASCII contents and malicious scripts need to be deleted. How could I go about ...
6
votes
1answer
931 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 ...
4
votes
6answers
3k views

Stitch two JPEGs together into a PDF

I need to take two 8.5in by 11in JPEG images and merge them together into two pages of a PDF. Is there a commandline or GUI tool to help me do this?
3
votes
2answers
502 views

jpg to pdf without data loss

Trying to make such things: 1st step: convert img.jpg img.pdf 2nd step: pdfimages -j img.pdf img1 Comparing source and extracted images in HEX shows difference. How to make such conversion ...
9
votes
4answers
859 views

Are there any full featured pdf readers that integrate comment function?

I'm needing reading some research papers whose formats are almost pdf.However I cannot find a good pdf reader which can make some notes while reading. Currently I use xournal however there seems not ...
0
votes
1answer
1k views

Extracting a file attachment from an email message and saving it to a file?

I have an email stored in plaintext (yes, headers, messages, attachments, everything in one plaintext file) and I'd like to extract a PDF document from it. I've copied the base64-encoded text, then ...
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 ...
6
votes
1answer
1k views

How to extract annotations from PDF files?

Is there a command-line tool to extract annotations (comments added using evince) from PDF-files? I search such a solution to send people feedback on their submitted documents. Apart from replying ...
4
votes
1answer
821 views

Remove watermarks from pdf file

Is it possible to remove annoying watermarks from pdf file in Linux? For example, every page contains text This file was merged by application XY.
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
1answer
378 views

Does using epub2pdf pose a potential security risk? Is there an alternative?

epub2pdf is a fairly platform-independent program. Based on Java, it executes without a hitch on my machine, with no dependencies. However, strangely enough, the program requires an active internet ...
9
votes
1answer
481 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 ...
4
votes
1answer
1k views

convert pdf to image [jpeg|png]

I need to convert pdf files into image files (like: png (prefer), jpeg). I used convert (from the ImageMagick package) but it takes more than 4 seconds for a 2 page pdf file with only tables ...
1
vote
0answers
60 views

How to search in PDF files recursively? [duplicate]

Possible Duplicate: grep pdf files? With a Linux machine, ex.: an Ubuntu, how can I search for a given word recursively in several PDFs?
1
vote
1answer
281 views

Javascript Adobe Reader problem in some linux distributions

Adobe Reader doesn't execute initial javascript code of 3D scene in pdf document. With friends we've tested several linux distributions, namely CentOS, Ubuntu, Arch Linux, Mandriva, OpenSUSE. Also ...
3
votes
2answers
166 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
1answer
5k views

Convert pdf file to epub

Is to possible to convert pdf file to epub format without errors? Is there some application in Linux that can do it? I found only Ecub and Calibre which give bad results or fail. A command-line ...
3
votes
1answer
3k views

convert djvu to pdf

How to convert djvu2pdf ? My current approach is : djvups x.djvu > x.ps ps2pdf x.ps Is there more efficient and better (in terms of output quality, data/metadata loss) way to handle that ?