Samba 3.0.23a Available for Download

Thomas Bork tombork at web.de
Sat Jul 22 11:52:45 GMT 2006


Gerald (Jerry) Carter wrote:

> This is the latest stable release of Samba. This is the version
> that production Samba servers should be running for all current
> bug-fixes.  Please read the changes in this section and for the
> original 3.0.23 release regarding new features and difference
> in behavior from previous releases.

Don't know, if this also exists in previous versions:

If looking in the "printers and faxes" folder on the samba server, I can 
see an amount of documents in the colum "documents", but I know, there 
are no documents to print:

printers and faxes on deveis

name		documents	status		comment
add printer
laserjet	4		ready		laserjet on deveis
pdf		4		ready		laserjet on deveis

If waiting some time, the amount of documents reduces from 4 to zero.
If going back to \\deveis and some time later time to "printers and 
faxes", there are again 4 non existant documents to print for each printer.
Sometimes only on printer has 4 documents to print and the other zero or 
one has 4 and the other one 3.
If changing fast between "\\deveis" and "printers and faxes", the amount 
of documents is increasing with 4:


name		documents	status		comment
add printer
laserjet	4		ready		laserjet on deveis
pdf		4		ready		laserjet on deveis
...
name		documents	status		comment
add printer
laserjet	8		ready		laserjet on deveis
pdf		8		ready		laserjet on deveis
...
name		documents	status		comment
add printer
laserjet	12		ready		laserjet on deveis
pdf		12		ready		laserjet on deveis
...
name		documents	status		comment
add printer
laserjet	16		ready		laserjet on deveis
pdf		16		ready		laserjet on deveis
...


And so on.



[global]
...
printing = lprng
  print command = chmod 666 %s; name="`echo '%J' | sed "s/^.*- //"`"; if 
[ -z "$name" ]; then name="%s"; fi; /usr/bin/lpr -P%p -J"$name" %s; rm %s
  lpq command = /usr/bin/lpq -P%p -L
  lprm command = /usr/bin/lprm -P%p %j
  lppause command = /usr/sbin/lpc hold %p %j
  lpresume command = /usr/sbin/lpc release %p %j
  queuepause command = /usr/sbin/lpc stop %p
  queueresume command = /usr/sbin/lpc start %p
  printcap name = /etc/printcap
  load printers = no
...

[laserjet]
  comment = laserjet on %h
  printing = lprng
  print command = chmod 666 %s; name="`echo '%J' | sed "s/^.*- //"`"; if 
[ -z "$name" ]; then name="%s"; fi; /usr/bin/lpr -P%p -J"$name" %s; rm %s
  lpq command = /usr/bin/lpq -P%p -L
  lprm command = /usr/bin/lprm -P%p %j
  lppause command = /usr/sbin/lpc hold %p %j
  lpresume command = /usr/sbin/lpc release %p %j
  queuepause command = /usr/sbin/lpc stop %p
  queueresume command = /usr/sbin/lpc start %p
  use client driver = yes
  browseable = yes
  printable = yes
  path = /var/spool/samba
  printer = pr1
  valid users = +users tb
  create mode = 0700

[pdf]
  comment = pdf default on %h
  printing = bsd
  print command = ( /var/install/bin/samba-print-pdf '%s' '%J' '%H' 
'//%L/%u' '%m' '%I' '%u' '-dPDFSETTINGS=/default' '-sOwnerPassword=xxx' 
'-sUserPassword=' '-dPermissions=-8' 'mail' 'no' ) &
  lpq command = /var/install/bin/samba-print-pdf status
  use client driver = yes
  browseable = yes
  printable = yes
  path = /var/spool/samba
  create mode = 0700


 From /var/install/bin/samba-print-pdf:

if [ "$1" = "status" ]
then
     echo "Printer: PDF-generator bogus status"
     echo "Queue: no printable jobs in queue"
     echo "Server: no server active"
     echo "Filter_status: done"
     echo "Rank  Owner/ID             Class Job Files    Size Time"
     exit 0
fi


der tom


More information about the samba-technical mailing list