[Samba] Print Job Notification

Tim Potter tpot at samba.org
Sun Jun 23 18:47:04 GMT 2002

On Sat, Jun 22, 2002 at 03:31:28PM -0500, Chad Edwards wrote:

> Can anyone suggest a way to have a notification after a print job has
> completed. I currently have this as my print command:
> lpr -r -P%p %s; csh -c 'echo \"%J has started printing on %S\" |
> /usr/bin/smbclient -U %L -M %m -I %I' &

As another poster has remarked, it's probably better to get your lpr
back end to perform this.  Currently Samba doesn't support this,
although Samba 3.0 most likely will (i.e I'm probably adding it to CVS
as part of a rewrite of the printer change notification system).


More information about the samba mailing list