[TriLUG] printing to dev/null

Matt Frye mattfrye at gmail.com
Mon Nov 22 11:49:12 EST 2004


> We need to set up a printer that sends output to /dev/null or otherwise
> disposes of it without printing.
> We are running redhat 2.1 es, and 3.0 as.  We also use cups.  Any help
> would be appreciated.

There are probably more adminski ways of doing this, e.g. don't sent
print output, but I have the following in my /etc/cups/printers.conf
for testing and it works* fine.

<Printer devnull>
DeviceURI file:/dev/null
Location Print queue devnull for testing.
State Idle
Accepting Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
</Printer>

* It "works" because I don't get any output.  I get only "lp -ddevnull
/etc/passwd
request id is devnull-12 (1 file(s))."


-- 
Matt Frye
mattfrye.net



More information about the TriLUG mailing list