[Lvlug] KDE, Mozilla, and postscript printing
scottp at fivestarassoc.com
Wed Dec 20 11:45:53 EST 2006
> Does anyone know how to create a decent pdf from a web page without jumping
> through hoops? Right now I use Mozilla (any version) to print to postscript
> (.ps) and then open the file in KGhostView finally choosing to print to pdf
> from there.
> You can see my long explanation next if you want.
> ******* Long Explanation Begins *******************
> Sometimes I like to save a web page as a pdf but to get good results I have to
> go through several steps. I use Mozilla Seamonkey but it's the same with
> For example http://www.heise-security.co.uk/articles/print/82481 is a "print
> friendly" view of a web page that I would like to save as a pdf. After
> loading the page in Seamonkey I choose File->Print and in the Printer section
> I check "Print to File." The choice of printer seems to make no difference.
> After clicking on print I get a prompt asking for a filename.
> That creates a .ps file but not pdf. Now I open the file using KGhostView (it
> won't open with a regular pdf viewer) and it looks great. The fonts are clean
> and without error and any alternate fonts that are used for displaying code
> look correct too. From here I print to PDF by using the "Print to PDF"
> printer selection and the resulting PDF looks great.
> But if I try to print directly to PDF from Konqueror while viewing the same
> web page it comes out looking like crap. The font is all wrong and it only
> uses one font throughout the document. There are spacing errors and the font
> that was used is completely different from the original. I can also print
> to .ps directly from Konqueror and it looks "better" but still only uses a
> single font throughout.
> Lvlug mailing list
> Lvlug at thelinuxlink.net
You could use the command line ps2pdf for the conversion step.
I used to print through Kprinter which has a selection for pdf files,
but I don't know how to get Mozilla (Firefox) to launch kprinter
Scott Phelan, President
Five Star Associates, Inc.
889 Lower South Main St.
Bangor, PA 18013
Ph: (610) 588-7426
Fax: (610) 599-0408
More information about the Lvlug