just a note, but you can do that in linux and afaik windows as well
Re:Firefox introduces PDF viewer
by iso-8859-1 on Wednesday February 20, 2013 @06:25PM
(#5254094)
on Windows, you can print to XPS out of the box, but not PDF.
http://en.wikipedia.org/wiki/Quartz_2D