PDF (Portable Document Format) is an open standard for document exchange.

learn more… | top users | synonyms

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
348 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
50 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
508 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
1answer
442 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
325 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
401 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
483 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
137 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
1k 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
4k views

Use convert to grab a specific page from a PDF file?

I know I have done this before, so I'm sure it's possible, I just forget how to do it. There's a way to tell convert to grab a specific page of a PDF, and I'd like to keep the format of that page as ...
3
votes
2answers
161 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
2k 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
2k 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
770 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
44 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
2answers
303 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
4k 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
583 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
244 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
181 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
358 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
709 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
113 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
72 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
328 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
260 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
482 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
65 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
249 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
12k 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
340 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
184 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
143 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
500 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 ...
2
votes
1answer
470 views

Use convert or ghostscript to grab the odd-numbered pages of a PDF

I have a PDF that consists of several hundred pages of bilingual text. Since I need to use OCR on each language separately, I want to grab the even and odd pages and make two separate PDFs, using ...
2
votes
2answers
80 views

scripted pdf code review

What I try to achieve I need to review a bunch of C source code spread out into dozen of directories. I already have a bash script which does the following: It searches for all source codes in the ...
2
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?
2
votes
2answers
527 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 ...
2
votes
1answer
27 views

Compile pdf file from multiple images scanned in by scanimage --batch

Say I'm scanning in images of documents with something like: scanimage --mode Gray --resolution 300 -x 215 -y 280 --format=tiff \ --batch=document-p%d.tiff --batch-prompt (In the example I've ...
2
votes
1answer
99 views

Recursively find and move corrupted PDFs

The Issue I was using python-skydrive to download files to my PC, and I accidentally corrupted a good amount of my PDF files. When I try to view them in Document Viewer, I get the following error ...
2
votes
1answer
68 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 ...
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?
2
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
229 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 ...