X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=grml_tips;h=641eb8bdebf538488703047676bf2a34dac4fb54;hb=e35c1c49ca5328167c8c1a78f0ad8c31dba76aed;hp=5f76a920222d393cdfcec41561c3397bdc848631;hpb=7c951e4766122978517cb192135b40445d16b01f;p=grml-tips.git diff --git a/grml_tips b/grml_tips index 5f76a92..641eb8b 100644 --- a/grml_tips +++ b/grml_tips @@ -2795,7 +2795,19 @@ Print two pages on one in a PDF file: Concatenate, extract pages/parts, encrypt/decrypt, compress PDFs using 'pdftk'. -- -Extract text from PostScript and PDF files: +Read a PS/PDF file on console: % pstotext file.pdf + +or on plain framebuffer console in graphical mode: + +% pdf2ps file.pdf ; ps2png file.ps file.png ; fbi file.png + +or + +% fbgs file.pdf +-- +Bypass the password of a PDF file: + +% gs -q -dNOPAUSE -sDEVICE=pdfwrite -sOutputFile=output.pdf input.pdf -c quit --