I'm not sure if you can specify an output to a file, you can set it to /dev/null. However a workaround would be to create the printer as you would a useable printer, accept printername, but disable printername. This would have the effect of writing all the requested prints to the directory /var/spool/lp/request/printername. Watch out for /var filling up over time or setup a symbolic link.
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.