Pdf

From Linuxintro
Revision as of 09:54, 26 August 2011 by imported>ThorstenStaerk

Display a PDF

To display a PDF example.pdf, open a console and enter

okular example.pdf

Insert a picture into a pdf file

convert scan1*.png text1.ps
ps2pdf13 text1.ps text1.pdf
cat text1.ps | gs -q -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sPAPERSIZE=a4 -sOutputFile=text1.pdf -c save pop -

for the paper format you can also add

-page A4+0+0