Print to file in Unix
Posted on 1997-12-14
In Microsoft Windows, it is possible to use the "print to file" option when printing. In this case, the binary data, including printer control codes, is written to a file instead of being sent to the printer.
I want to do this in unix (ideally Hewlett-Packard unix), in order to see what control codes are being sent to the printer.
NOTE: I want to see the printer control codes added by the unix printer driver, so simple file redirection (using the ">" character) will not work.