Everything on this site comes without any warranty!
cups syslog printer
Submitted by admin on Thu, 02/24/2011 - 13:44
I wanted to print to syslog, instead of paper, so i created the syslog backend for cups.
You have to place this file in /usr/lib/cups/backend and make sure is has the execute bit on.
#!/bin/bash
logger $*
env | logger
cat $6 | logger
If you have named this file 'syslog' then configure your printer with a device URL starting with syslog: