There are several, fairly similar pdf "printers" around. Google for tinypdf cutepdf to see a few reviews.
Under the hood, they are remarkably simple, because most of them use GhostScript to do the job. Attached a demo (hacked together in the last 5 hours, it took longer than expected :() showing how it can be done with Masm. Just launch the exe and follow the instructions below. When installed, print something from Word etc using the new printer.
txHelp LABEL BYTE
db "- Control Panel, printers etc, add printer", 13, 10
db "- add local printer", 13, 10
db "- use existing port C:\Output.ps", 13, 10, " (if it's not in the list, create new local port C:\Output.ps)", 13, 10
db "- choose HP on the left, HP xxx PS on the right", 13, 10
db "- give it a name, e.g. Ps2Pdf", 13, 10
db "- don't share", 13, 10, 10, "Click OK if you are ready to print", 0
EDIT: attachment removed, see version #2 in next post below.