X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=grml_tips;h=e9f73e130866465149c36b0cb446d6a293fdf76e;hb=9859dacad91685e2add2ffd97ba910e2d6903c18;hp=2d96b61d489d31f9b519dcd4ce194f25fcafd0cc;hpb=cb61efe22438483247917bc02f3490ad4d435eb1;p=grml-tips.git diff --git a/grml_tips b/grml_tips index 2d96b61..e9f73e1 100644 --- a/grml_tips +++ b/grml_tips @@ -2783,3 +2783,27 @@ 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'. +-- +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 +--