[cups.general] Dummy print queue

Jan Engelhardt jengelh at linux01.gwdg.de
Thu Dec 7 02:45:47 PST 2006


On Dec 6 2006 17:30, thrope wrote:
>>I would like to set up a cups printer to just dump files in a spool
>>directory for another application. I have a filter script to do
>>this on an lp system.
>>
>>How would I do the equivalent of:
>>     1	dummy:\
>>     2		:sd=/var/spool/lpd/dummy:\
>>     3		:sh:\
>>     4		:lp=|/usr/share/printconf/util/nofilter:
>>
>>with CUPS (since manual printcap entries get overwritten when cups 
>>restarts).
>
>See "man filter" and note the so called "System V style interface
>script" (e.g. in "man lpadmin").
>
>Furthermore see "man backend" and have a look at "FileDevice" in
>http://www.cups.org/documentation.php/ref-cupsd-conf.html

Set up yourself any printer, and have its address be 
socket://localhost:9/ . Then configure xinetd to activate the 'discard' 
interface. Perfect debugging stuff.


	-`J'
-- 





More information about the cups mailing list