Here is the logo without -J parameter:
tail -f log.pinguim | grep Running
Running the command `lpr -Udws@10.0.0.16 -r -Plp
smbprn.000036.oy3tMi' gave 0
Running the command `lpr -Udws@10.0.0.16 -r -Plp
smbprn.000037.7x120j' gave 0
[root@eduteclinux samba]# lpq
Printer: lp@eduteclinux (printing disabled)
Queue: 2 printable jobs
Server: no server active
Rank Owner/ID Class Job Files
Size Time
1 dws@10+221 A 221 smbprn.000036.oy3tM
160872 15:05:55
2 dws@10+223 A 223 smbprn.000037.7x120j
14206 15:06:01
Without -J appears like this :/
SMB.conf:
printing = lprng
load printers = yes
use client driver = yes
printer admin = @edutec, root
printcap name = /etc/printcap
print command = lpr -U%U@%M -r -P%p %s
lpq command = lpq -P%p
lprm command = lprm -U%U@%M -P%p %j
lppause command = /usr/sbin/lpc -U%U@%M hold %p %j
lpresume command =/usr/sbin/lpc -U%U@%M release %p %j
queuepause command = /usr/sbin/lpc -U%U@%M -P%p stop
queueresume command = /usr/sbin/lpc -U%U@%M -P%p start
Thanks in advance
> ---------- Mensagem original -----------
>
> De : Joel Hammer <Joel@HammersHome.com>
> Para : Daniel William Schultz
<danws@terra.com.br>,samba@lists.samba.org> Cc :
> Data : Wed, 21 Nov 2001 11:28:53 -0500
> Assunto : Re: Spool filename. ( What is the problem? )
>
> In 2.2.2 %s will hold a somewhat truncated version of the windows
file, not> the smb.XXXXX job name. I am using windows 98. Have you just tried
dropping the -J paramater and> see what happens?
> I have never seen the J variable in any samba documentation.
Undocumented> things tend to get lost over time, IMHO.
> Joel
> On Wed, Nov 21, 2001 at 12:23:01PM -0300, Daniel William Schultz
wrote:> > Here is my printer config:
> >
> > printing = lprng
> > load printers = yes
> > use client driver = yes
> > printer admin = @edutec, root
> > printcap name = /etc/printcap
> > print command = lpr -U%U@%M -r -P%p -J'%J' %s
> > lpq command = lpq -P%p
> > lprm command = lprm -U%U@%M -P%p %j
> > lppause command = /usr/sbin/lpc -U%U@%M hold %p %j
> > lpresume command =/usr/sbin/lpc -U%U@%M release %p %j
> > queuepause command = /usr/sbin/lpc -U%U@%M -P%p stop
> > queueresume command = /usr/sbin/lpc -U%U@%M -P%p start
> >
> >
> > On the print command I have put the variable %J , to get the
original > > filename, but it's empty...
> > On samba 2.2.1a it worked, but now in 2.2.2 seems to not work.
> > This variable get deprecated ?
> > Please, any help is welcome, my boss is asking me all the time
about > > this, and I don't want to downgrade to 2.2.1a to have oplock
problems > > again :)
>
>