1

How can I convert raw printer commands back to a postscript or pdf file?

view story
linux-howto

http://unix.stackexchange.com – I have a string of raw printer commands that are for my postscript printer saved to a file. I believe there is a lpr option like -o raw which will read these raw command and send them to the printer. How can I specify a virtual printer driver so that I can send the raw commands to lpr and have then come out as a postscript (or ultimately pdf) file? Is there a simpler way to convert raw printer commands back into postscript? (HowTos)