Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Jul 2012 18:36:34 +0200 (CEST)
From:      Wojciech Puchar <wojtek@wojtek.tensor.gdynia.pl>
To:        Konrad Heuer <kheuer2@gwdg.de>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: lpd+samba question
Message-ID:  <alpine.BSF.2.00.1207191835420.17487@wojtek.tensor.gdynia.pl>
In-Reply-To: <alpine.BSF.2.00.1207191736140.35161@gwdu60.gwdg.de>
References:  <alpine.BSF.2.00.1207191655580.16978@wojtek.tensor.gdynia.pl> <alpine.BSF.2.00.1207191736140.35161@gwdu60.gwdg.de>

next in thread | previous in thread | raw e-mail | index | archive | help
> 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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.1207191835420.17487>