For gnome desktop (I don't know for kde or other desktop), there is an old tool which can be installed and is usable from Windows programs run under wine, I want to talk about: cups-pdf
Look for doc here (in french)
or here (in english)
The only problem is that some images aren't saved in pdf for example, this page
), but when needed, you can always, exceptionnaly, use Firefox, and the cups feature save in a file and in ps or pdf format.
Mozilla/5.0 (x11; U; Linux x86_64; fr-FR; rv:38.0) Gecko/20100101 Ubuntu/12.04 K-Meleon/76.0
Mail : alain [dot] aupeix [at] wanadoo [dot] fr
Ubuntu 12.04 - Gramps 3.4.9 - Harbour 3.2.0 - Hwgui 2.20-3 - K-Meleon 76.0 rc