PDF (Portable Document Format) is an open standard for document exchange.
14
votes
5answers
8k views
Split pages in pdf
I have a scanned pdf file which has scanned two pages on one virtual page (page in pdf file).
The resolution is with good quality. The problem is I have to zoom when reading and drag from left to the ...
8
votes
1answer
376 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 ...
9
votes
7answers
6k views
grep pdf files?
Is there a way to search pdf files using the power of grep, without converting to text first in Ubuntu?
2
votes
1answer
418 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 ...
8
votes
3answers
1k views
Is there some sort of PDF to text -converter?
I need PDF files to text so I can search over them in bulk from commandline. Is there some converter for Ubuntu, OBSD or similar distro?
Perhaps related post, OCR with ubuntu here.
4
votes
4answers
6k views
pdf to jpg without quality loss; gscan2pdf
When I convert a pdf file to bunch of jpg files using
convert -quality 100 file.pdf page_%04d.jpg
I have appreciable quality loss.
However if I do the following, there is no (noticeable) quality ...
4
votes
2answers
708 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 ...
3
votes
2answers
318 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 ...
2
votes
0answers
178 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 ...
2
votes
1answer
191 views
Possible to extract title and pagenum of each page in a pdf file
I was wondering if there are some ways to extract title and pagenum of each page in a pdf file? Either by some applications, or by programming in some programming language with some pdf libraries?
...