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

4
votes
3answers
2k views

How can I print half of a page to a pdf file?

I have a one page PDF file with scanned documents. I need to send only top half of this document to someone. How can I generate a new PDF document with only the top half of the original page, without ...
5
votes
2answers
3k views

How to convert a color pdf to black-white?

I'd like to transform a pdf with some coloured text and images in another pdf with only black&white, in order to reduce its dimensions. Moreover, I would like to keep the text as text, without ...
4
votes
3answers
698 views

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?
0
votes
1answer
492 views

Convert .out file to .pdf using shell script [closed]

I have a .out file I want convert this file to PDF format. Is there any script available for this? File Format :o53770855.out I want to convert this into o53770855.pdf
2
votes
1answer
87 views

Configuring Org-mode to open PDFs with evince

I'm starting to use org-mode to export text to LaTeX. My problem is that it opens the generated PDF with ebook-viewer (it is a EPUB, CHM reader) instead of using evince. Question Does anyone know ...
1
vote
1answer
73 views

make “print to file” settings permanent in Iceape [Seamonkey]

Everytime I want to "print to file", say, a website in Iceape [Seamonkey] in Linux [Debian], I have to set all the options for printing anew to overwrite the default settings. Not just every time I ...
4
votes
2answers
502 views

PDF viewer with reflow capabilities for linux?

Anyone know of a PDF viewer for linux that can reflow text on the fly? There are a few for android, and at least one for windows, but I haven't found any for Linux. NOTE: I'm doing this on a 1600x900 ...
2
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?
3
votes
1answer
268 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 ...
5
votes
3answers
3k views

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? ...
2
votes
3answers
469 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 !
3
votes
2answers
3k views

How can I convert a pdf file from gray-scale to black-white?

My OS is Ubuntu 12.04. How can I convert a pdf file from gray-scale to black-white? The gray-scale pdf file comes from scanning with gray-scale option, and the black-white scale pdf is required by ...
1
vote
1answer
213 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 ...
3
votes
1answer
275 views

Corrupted PDF: Opens fine, but pyPdf bails with AssertionError

I received a PDF in an email and I want to crop and rotate it because it has two pages per sheet. Trying the solutions in Split pages in pdf I had problems with "AssertionError" in pyPDF and "Warning: ...
1
vote
1answer
298 views

Imagemagick convert incorrectly sizes landscape pdfs

When I run convert example.pdf example.png I get a png image, but the image in the pdf is off-center and too small. How do I convert so that the png image is the right size and takes the whole ...
3
votes
1answer
301 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
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 ...
4
votes
1answer
520 views

Configuring CUPS PDF writer for PDF/A output?

Can the PDF pseudo-printer in CUPS be configured to emit PDF/A files? If so, how to do it? I'm using CUPS 1.5.3-5 and CUPS-PDF 2.6.1-6 as provided by Debian Wheezy/7.0. Despite CUPS PDF Format - ...
2
votes
1answer
263 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 ...
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 ...
1
vote
1answer
296 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
606 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 ...
4
votes
1answer
452 views

How to convert a pdf to 4-up in landscape mode (ideally using ghostscript)?

I have pdf slides in landscape mode and would like to create a new pdf file containing the slides 4-up (in landscape mode again) like this: ----------------- | 1 | 2 | ----------------- | 3 ...
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
217 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 ...
4
votes
2answers
384 views

Looking for a good interactive pdf viewer

I like zathura for its simple UI, very nice for just reading. I like xournal for its rich annotation features. But what I still need is a reader that is interactive, has a "find" feature, is able ...
1
vote
1answer
223 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 ...
5
votes
4answers
2k views

Split PDF into documents with several pages each

There are several resources on the web explaining how one can split a PDF into many files with on page per file. But how can you split them into chunks of, say, five pages each? I have looked into ...
6
votes
4answers
492 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
635 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 ...
8
votes
1answer
370 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
145 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
326 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
405 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
156 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 ...
4
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
105 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
531 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
428 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
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 ...
2
votes
0answers
526 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
89 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
522 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. ...