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

learn more… | top users | synonyms

0
votes
0answers
13 views

My gnuplot-pdflatex plot script produces a pdf with a bug

I have written a script in bash to easily make gnuplot multiplots via the epslatex terminal and then automatically make a pdf file via pdflatex. However when I open the pdf file with evince (on Ubuntu ...
1
vote
0answers
37 views

Can htmldoc create multi-level pdf bookmarks?

I downloaded an online html book (http://www.cim.mcgill.ca/~franco/OpSys-304-427/lecture-notes/lecture-notes.html), by the following command wget -r -np -nH --cut-dirs=3 -p -k ...
0
votes
0answers
15 views

How to print pcl or esc/p code on host-driven printer?

I have a host-based printer (HP Deskjet D2460) and have some printer language files (pcl codes) that I would like to print out. I saw that in cups there are some filters like rastertopcl, etc. which ...
0
votes
1answer
26 views

how to extract pattern from pdf and save to text file [closed]

How can I extract some pattern contained in PDF file to text file using shell?
5
votes
0answers
45 views

Open signed PDFs in Linux

We have some PDF files which are secured by a .pfx certificate. On Windows we can use Adobe Reader to read these PDF files (with previously imported certificate). I've googled for a long time but I ...
1
vote
1answer
49 views

Convert linked html files into a pdf file?

I would like to convert an online book (linked html files) into a pdf file. I tried the two-step way in http://kmkeen.com/mirror/2009-02-05-14-00-00.html First, download the html files by wget -nd ...
2
votes
1answer
18 views

Clickable PDFs in rxvt

I would like to open PDFs (say, with evince) by clicking in the terminal. The setup is urxvt in Fedora 19 here, but if urxvt cannot do this, can you let me know which terminal emulators can. I got ...
2
votes
1answer
42 views

Image size with gscan2pdf and ImageMagick `convert` bloat

I scan all my important incoming physical-mail to PDF. I am trying to move this activity to Linux as part of the process of eliminating my dependence on Windows - where I used to use the excellent but ...
1
vote
0answers
30 views

What is the resolution of a scanned pdf file? [migrated]

I scanned some documents using a Canon scanner, with resolution specified to be 300. I saved it into a pdf file Then I checked the resolution of the pdf file, by ImageMagick identify -verbose ...
1
vote
0answers
19 views

scan directories of .pdf and .ps files for keyword in title and author

I have got directories full of research papers. I would like to scan the files for keywords in the titles, the author lists, etc. Does a tool for that purpose exist?
4
votes
1answer
56 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 ...
0
votes
0answers
35 views

Firefox freezes with attachments or pdf

I am working on an old CentOs 5 machine. I am using Firefox as a browser. It worked fine until now, when every time I try to open a pdf or to attach something to the emails, it crashes. I tried to ...
1
vote
1answer
43 views

Print PDF scaled-down and aligned

I want to print a PDF file with all pages scaled down equally (to, say, 70 %). The scaled-down pages should then be left-aligned on the printing paper. This doesn't seem to be possible with lpr ...
5
votes
1answer
62 views

How to print password protected pdf with cups from command line?

I have a *.pdf file that is password protected. I have the password and I can view the pdf with mupdf. However, printing with CUPS via lpr -P PRINTERNAME *.pdf does not work. All my printing is done ...
2
votes
0answers
24 views

MasterPDFEditor use black theme for PDF pages

@Crunchbang/Debian x32 I've been using MasterPDFEditor for quite some time & I'm impressed by its PDF annotation capabilities. However I decided to start using a black GTK+ theme & after ...
1
vote
2answers
23 views

How to extract bookmarks from a pdf file

I have a PDF file. I need the bookmarks in that file extracted to a text file or an excel. I also need to validate the bookmarks from the large PDF file. How could I do that?
8
votes
2answers
256 views

Discovering metadata about a PDF

Suppose I have a PDF and I want to obtain whatever metadata is available for that PDF. What utility should I use? I find the piece of information I am usually most interested in knowing is the paper ...
3
votes
1answer
56 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 ...
2
votes
1answer
29 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 ...
3
votes
0answers
67 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 ...
1
vote
0answers
18 views

How can you pdfjoin smartly different sized pictures?

I'm running the default pdfjoin and getting results like this: How can you pdfjoin different sized pictures? My first idea is to add an empty page in front of all things.
1
vote
0answers
17 views

Can one move the OCRed text from one PDF to another PDF file?

Given a PDF file with OCRed text, is it possible to move the OCRed text to another PDF file?
1
vote
0answers
15 views

How can OCRed text be preserved while converting between djvu and pdf files?

Suppose a pdf file has OCRed text. How can we convert it to a djvu file and pass the OCRed text to the djvu file? Conversely, if exchange "pdf" and "djvu" in the above? Thanks!
2
votes
0answers
93 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 ...
1
vote
1answer
313 views

gs can't find the proper font

I am running the following command to add bookmarks to a pdf file. The file bookmarks.txt contains bookmarks in Chinese characters and in pdfmarks format. The output of gs shows that there seem to be ...
2
votes
0answers
203 views

Can't print pdf file with lpr

I am currently using Arch linux. I am trying to print a pdf file for the command line, it is easier that way as I need to print several range of pages. Just for testing I issue a command to print a ...
1
vote
0answers
49 views

pdf viewer for text documents saved as images — bad rendering

The situation I have in mind is a .pdf document obtained from a scan, or at least such that some readers view it as an image (as opposed to text) and render it badly (see the screenshot below) My ...
2
votes
1answer
103 views

Change and save pdf annotation setting in Okular?

In Okular, I add inline notes to a pdf file. I change the default settings for inline notes: from default font "Ubuntu 13" to "Ubuntu 6", and from default opacity 100% to opacity 0%. But I ...
1
vote
1answer
52 views

problem with text added to pdf under Xournal after exporting to pdf

Under Xournal, I add some text to a pdf file, and then I export to a pdf file. In the exported pdf file, the text I added is shown correctly, and selectable, but when I copy and paste the selected ...
2
votes
0answers
85 views

Extract bookmarks from a pdf and add them to another in gs?

I have two pdf files, one with bookmarks, and the other without. I would like the second pdf file to have the same bookmarks as the first. I wonder how to do that using gs? Ideally, it will be nice ...
2
votes
1answer
113 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 ...
3
votes
2answers
143 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 ...
2
votes
1answer
347 views

How can I extract images from a pdf file? [duplicate]

I have a pdf file that consists of an image per page. Are there any command line programs that can extract these images?
2
votes
1answer
72 views

How to change the color of all highlights in a PDF file?

I want to change the color of every highlight in a PDF file (without having it do for every highlight manually). Preferably with a command line command. Here is an example PDF with a highlighted ...
2
votes
2answers
675 views

Can't print to PDF using cups-pdf; used to work, now “failed to set file mode” printing as non-root

Here's something really odd: something that used to work fine in Debian, and then broke, even without a dist-upgrade. I used to be able to use the CUPS PDF virtual printer to print anything to a PDF ...
4
votes
3answers
500 views

Text annotations and image additions to PDF file using free software

I'm mostly interested in annotating a PDF file with text at a predetermined position. GUIs and command line utilities are both Ok, but only free software solutions, please. However, I included image ...
2
votes
1answer
164 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 ...
3
votes
1answer
74 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, ...
5
votes
1answer
54 views

Is there a tool or method for magnifying existing PostScript or PDF files for printing - not just for display

Almost all my printing, including web pages and emails works fine and has done so for years, but ... When I print web pages and emails, I routinely run into a few that print in something like 1 point ...
2
votes
1answer
205 views

Converting .okular file to pdf

I am using a djvu file, and with okular I have annotations in it. Now, I wish to be able to use this file in Mendeley, which supports only pdf extensions. I know that I can save annotations in okular ...
-1
votes
2answers
194 views

How to install Okular under SUSE (on a server)?

I would like to install the pdf viewer Okular on a SUSE Linux Enterprise Server 11. I am familiar with apt under Ubuntu, but on SUSE, I only found rpm to install .rpm files. I am wondering how Okular ...
3
votes
1answer
370 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 ...
2
votes
2answers
83 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 ...
9
votes
1answer
402 views

generate a hyperlinked table of contents and insert into existing PDF

I have an existing PDF (without any corresponding source file), and a text file which is a list of items referencing sections within the PDF file, along with a page number for each item. I would like ...
4
votes
3answers
1k 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 ...
4
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
575 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
423 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
72 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 ...