lpd+samba question

2012-07-19 Thread Wojciech Puchar
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

Re: lpd+samba question

2012-07-19 Thread Konrad Heuer
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

Re: lpd+samba question

2012-07-19 Thread Wojciech Puchar
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