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
2answers
470 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
25 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 ...
4
votes
1answer
69 views

Ways to convert and combine image files into a pdf file?

I have about 190 image files (png and jpg) in a directory. For more information, each image has 2500 x 3072 pixels, and about 500KB. I use the command convert from ImageMagik to convert and combine ...
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 ...
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
1answer
820 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.
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 ...
4
votes
1answer
369 views

Extract graphs from PDFs

I have a situation where I need to extract images from lots of PDF files and display them on a website. My PDFs have "regular" images as well as lots of graphs. I used pdf2xml and it pulls out the ...
4
votes
1answer
78 views

Shortcut to google selected text

Is there a way to customize evince to search on Google a selected phrase? Like in Firefox where I select a text and right-click--> "Search Google for ..." If evince isn't customizable, is there any ...
4
votes
1answer
575 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?
4
votes
0answers
24 views

Compare PDF documents with embedded links?

diffpdf shows the visual differences in two PDF documents. Since some PDF documents include hyperlinks is there a diff that handles those also?
4
votes
1answer
605 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 - ...
4
votes
2answers
430 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 ...
4
votes
1answer
490 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 ...
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 ...
3
votes
3answers
160 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
4answers
2k views

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 ...
3
votes
2answers
165 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
2k views

Convert a folder of images into a multi-page pdf file usind command line tools?

I have a folder with 100 jpg images. I want to convert these images into a multi-page pdf file, with all the images (cropped to A4 size). They are already in the correct rotation. Which tools should ...
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: ...
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 ...
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 ...
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. ...
3
votes
3answers
836 views

Lightweight feature-rich alternatives to OpenOffice and LibreOffice

I really like LibreOffice however I'm having issues with it freezing up and I can't seem to start a new instance of the writer on multiple desktops (I'm using dwm and want several documents open). ...
3
votes
1answer
81 views

Concatenate in a PDF the first page of several odt files alphabetically

I have, in the same directory, several odt files. I'd like to have in one PDF document the first page of these odt files, sorted alphabetically based on their filename. For example, if I have these ...
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?
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 ...
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. ...
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 ...
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 ?
3
votes
1answer
606 views

Embeded video in PDF

I'm creating a presentation that will have embedded video in it (using beamer). The issue is that I can't make this work on Linux. I have downloaded some example presentations that contained video, ...
3
votes
1answer
63 views

Is there a way to flatten a .pdf image from the command line?

In GIMP, I can import a .pdf, and use the GUI to flatten it (if it was made with many layers) by selecting "Flatten Image" in the "Image" dropdown menu. I can then export the .pdf with a new ...
3
votes
2answers
385 views

Good ways for annotating and searching in document (pdf, djvu)

For djvu files, I enjoy reading it in djview, because when I search for some words, it can show where all the results are at a glance, and highlight them simultaneously. This is much more convenient ...
3
votes
1answer
294 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
244 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
1answer
376 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 ...
3
votes
1answer
774 views

How to change height and width of each page of a pdf

I was wondering how to change width and height of each page of a pdf? In my scanned pdf, each page has paper size too big, 31.98 × 49.20 inch. I would like to shrink the width and height to smaller ...
3
votes
1answer
143 views

Ligatures missing in some PDFs

I have some PDFs which, when viewed in readers under Linux (tried atril from MATE and evince from GNOME), the ligatures (e.g. fi, fl) are missing, as can be seen from the example (it should be ...
3
votes
1answer
101 views

What do you do to scan with 600 dpi while maintaing a small output file?

I just installed xsane which I already successfully tested with my Epson Perfection V30. When scanning with these settings the output file is remarkably large. Is there a way to decrease the size, ...
3
votes
1answer
605 views

TexLive and RHEL 6 — can I install 2011 *in addition* to 2007?

Our environment is Red Hat Enterprise Linux 6. By default, RHEL 6 comes with a version of TexLive from 2007. A user would like one of the extensions to TexLive ("PDFTex") to be updated. From ...
3
votes
1answer
357 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
1answer
562 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 ...
3
votes
0answers
78 views

Standard workflow to digitize magazines or books using OCR while minimizing file size?

To scan books containing just text, black&white images and clear borders, the workflow I've been using is: digitize the source using a camera or just a scanner use scantailor finally use ...
3
votes
1answer
296 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: ...
2
votes
4answers
14k views

How to install Adobe Acrobat Reader in Debian?

I've got deb http://debian-multimedia.org squeeze main in "/etc/apt/sources.list", but wajig update && wajig install acroread results in: E: Package ‘acroread’ has no installation candidate ...
2
votes
3answers
561 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 !
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?
2
votes
1answer
203 views

Easiest method to create pdf from template using command line (without pdflatex)?

For ten years I have been generating billings for me and my wife in this way: Create TeX template with LyX or by hand Using in this source placeholder text Then: cat template | sed ...
2
votes
2answers
556 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 ...