kheuer2 at gwdg.de
Thu Jul 19 16:31:54 UTC 2012
I didn't try by myself, but what about something like
print command = /usr/bin/lpr -P%p -J"%J" -U"%I" -r %f
I'm sorry to say that you additionally probably have to change
near line 87 to
#define OTHER_USERID_CHARS "-_." /* special chars valid in a userid */
and to recompile lpd:
At less I've to do so to make the dot "." a valid character within a user
Hope this helps and best regards
GWDG, Am Fassberg, 37077 Goettingen, Germany, kheuer2 at gwdg.de
On Thu, 19 Jul 2012, Wojciech Puchar wrote:
> is there any simple way to get data about workstation that prints using lpd
> from samba?
> what i need is to get IP/name of workstation that queued a print job to lpd
> subsystem through samba.
> or is the only way to change everything to print to lpd directly using lpd
> protocol? quite a bit of work but possible.
> I want to do accounting, not just how many pages are printed on each printer
> (done), but WHO printed it. No problem for local user, but not with samba.
> freebsd-questions at freebsd.org mailing list
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
More information about the freebsd-questions