Wednesday, April 04, 2007

web page to pdf with Linux

I often save web pages for later detail reading. This results in a lot of directories since the web page images are put into a separate direcotry.

I have found that if I print to a file I get a post script version (i.e. name.ps) of the web page. I then use the ps2pdf13 utility and create a pdf file. Works like a charm.

I also found that I can combine several separately printed (to a file) pages into one pdf by first combining the files:

cat name1.ps name 2.ps > final_name.ps
ps2pdf13 final_name.ps

This results in final_name.pdf which contains name1 and name2 (can have more than two files).

0 Comments:

Post a Comment

<< Home