Yes, I really wish Firefox added this feature! As far as I know, they even have this in the Android version of Firefox.
Anyway, if your operating system comes with a PDF printer or if you installed one manually, you can use the normal printing feature that every browser has.