If just a once or twice ordeal, then you can do the following (must have lpadmin rights:
Disable the printer. If the print spooler is named 'hplaser', for example, you would type 'disable hplaser'. Print jobs are still submitted to the print spooler, but held until the printing is enabled.
These jobs are held in '/usr/spool/lp/temp/**print_job_id**-1'
Note there are '*-0' and '*-1' files, the actual file to print will be the file(s) ending with '-1'.
copy these files to someplces nice, then 'enable hplaser' and the jobs will print and you have a copy.
I use this method when I need to check actual data to a printer, but not consistantly.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.