I didn't try by myself, but what about something like
print command = /usr/bin/lpr -P%p -J"%J" -U"%I" -r %f
in smb.conf?
I'm sorry to say that you additionally probably have to change
/usr/src/usr.sbin/lpr/common_source/ctlinfo.c
near line 87 to
#define OTHER_USERID_CHARS "-_." /* special chars valid in a userid */
and to recompile lpd:
cd /usr/src/usr.sbin/lpr
make clean
make install
This is exactly what i asked for.
Thank you very much for help.
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"