[Samba] Logging print jobs
Andrew Bartlett
abartlet at samba.org
Wed May 12 22:57:34 UTC 2021
On Wed, 2021-05-12 at 15:46 -0700, Luke Barone via samba wrote:
> Is there a way to log who is printing how many pages to what printer
> on a
> Samba Print Server?
The number of pages bit is hard, because Samba typically uses the
proprietary driver for the printer, not a generic postscript one (some
very early configurations used that, but this was far from the norm),
so counting pages is hard.
CUPS just sees it as a RAW job.
Looking online some have done this by querying the printer for page
stats after each job.
Otherwise, I suggest this ends up in the big 'print release system'
space, as used at universities etc.
Andrew Bartlett
--
Andrew Bartlett (he/him) https://samba.org/~abartlet/
Samba Team Member (since 2001) https://samba.org
Samba Team Lead, Catalyst IT https://catalyst.net.nz/services/samba
Samba Development and Support, Catalyst IT - Expert Open Source
Solutions
More information about the samba
mailing list