Difference between revisions of "Pdf"

From Linuxintro
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...)
 
imported>ThorstenStaerk
Line 1: Line 1:
 +
= Display a PDF =
 +
To display a PDF ''example.pdf'', [[open a console]] and enter
 +
okular ''example.pdf''
 +
 
= Insert a picture into a pdf file =
 
= Insert a picture into a pdf file =
 
  [[convert]] ''scan1*''.png ''text1''.ps
 
  [[convert]] ''scan1*''.png ''text1''.ps

Revision as of 09:54, 26 August 2011

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