Pdf

From Linuxintro
Revision as of 09:02, 11 September 2010 by imported>ThorstenStaerk (New page: = 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...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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