From: Michael Prokop Date: Thu, 19 Jul 2007 12:47:54 +0000 (+0200) Subject: Added some PDF tips X-Git-Tag: 0.4.3~2 X-Git-Url: http://git.grml.org/?p=grml-tips.git;a=commitdiff_plain;h=7c951e4766122978517cb192135b40445d16b01f Added some PDF tips --- diff --git a/debian/changelog b/debian/changelog index d4f774a..abf0930 100644 --- a/debian/changelog +++ b/debian/changelog @@ -2,7 +2,7 @@ grml-tips (0.4.3) unstable; urgency=low * Added tips for LinuxBIOS, usenet, ipv6, NFS, shadow passwords and cloop (thanks Rhonda) as requested by keywords database. :) - Updated [k]qemu tip, added mimms to stream tip. + Updated [k]qemu tip, added mimms to stream tip, some PDF tips. -- Michael Prokop Mon, 16 Jul 2007 21:16:13 +0200 diff --git a/grml_tips b/grml_tips index 2d96b61..5f76a92 100644 --- a/grml_tips +++ b/grml_tips @@ -2783,3 +2783,19 @@ Mount a cloop file: # modprobe cloop file=/path/to/cloop/file # mount -r -t iso9660 /dev/cloop /mnt/test -- +Create a PS/PDF of a plaintext file: + +% a2ps --medium A4dj -E -o output.ps input_file +% ps2pdf output.ps +-- +Print two pages on one in a PDF file: + +% pdfnup --nup 2x1 input.pdf + +Concatenate, extract pages/parts, encrypt/decrypt, +compress PDFs using 'pdftk'. +-- +Extract text from PostScript and PDF files: + +% pstotext file.pdf +--