[Samba] Printing to /dev/null ?

Felipe Augusto van de Wiel felipe at paranacidade.org.br
Fri Oct 14 23:44:12 GMT 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

samba at vaag.nu escreveu:
> Hi list!
> I need a Samba printer that will route all printjobs 
> to /dev/null (We have accounting software that
> requires every invoice to be printed before it can
> be booked and the invoice data is imported from other
> software so it's just wasting paper).

<off-topic>
	The accounting software is F/OSS?
	I'm curious because I'm looking for a nice F/OSS
accounting software. :o)
</off-topic>


> I tried creating a printer in cups with a printer URI 
> of /dev/null but that doesn't work, the print jobs
> are just piling up and never disappear.
> Anyone know a solution for such an unusual printer in 
> Samba?

	Just an idea, did you try to setup a "print command"
and redirect it to /dev/null? Instead of using cups-api with
Samba or setup a Printer with /dev/null, you could setup a
printer to run a command and then redirects it to /dev/null,
not sure if it is going to work. Good luck.

	Kind regards,

- --
//////////
// Felipe Augusto van de Wiel <felipe at paranacidade.org.br>
// CTI/Suporte - SEDU/PARANACIDADE
// http://www.paranacidade.org.br/
//////////
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Debian - http://enigmail.mozdev.org

iD8DBQFDUELMCj65ZxU4gPQRArmHAJ4pjn8Yqo35NtJj5qJbW+lp6U6qdgCfSuYB
RtDb1NceTrF7m80J8ITQW5I=
=rsN3
-----END PGP SIGNATURE-----


More information about the samba mailing list