[Eisfair] eisfair-1: Druck mit Samba und lprng funktioniert nicht mehr

Ralph Mory yankeeRM63 at gmx.de
Sa Jun 13 13:32:58 CEST 2015


Thomas Bork schrieb:
> Am 13.06.2015 um 01:34 schrieb Ralph Mory:
> 
> 
> Richte die Clients *genau so ein*, wie in der aktuellen 
> Samba-Dokumentation beschrieben. Denn wenn Jobs erst gar nicht bei eis 
> ankommen, muss auf dieser Seite auch nicht gesucht werden...

..nun, das wurde ja genau so auch gemacht. In der früheren Version 
funktionierte es problemlos, wie schon erwähnt

> 
> 
> Poste die genaue Konfiguration von LPRng und Samba.
> 

..ich beschränke mich mal auf die IMHO relevanten Abschnitte:

/etc/config.d/lprng
---------------------------------------
LPRNG_REMOTE_PRINTER_N='1'

LPRNG_REMOTE_PRINTER_1_ACTIVE='yes'
LPRNG_REMOTE_PRINTER_1_IP='192.168.46.100'
LPRNG_REMOTE_PRINTER_1_QUEUENAME='pr1'
LPRNG_REMOTE_PRINTER_1_PORT=''
LPRNG_REMOTE_PRINTER_1_COMMENT='Brother-MFC'
LPRNG_REMOTE_PRINTER_1_NOTIFY='yes'


/etc/config.d/samba
---------------------------------------
SAMBA_PRINTER_2_ACTIVE='yes'
SAMBA_PRINTER_2_NAME='Brother'    # This is the name of the 2. printer
SAMBA_PRINTER_2_TYPE='printcap'   # Type of the 2. printer
SAMBA_PRINTER_2_PDF_QUALITY=''    # Quality of pdf files
SAMBA_PRINTER_2_PDF_OWNERPASS=''  # Password for editing PDF files
SAMBA_PRINTER_2_PDF_USERPASS=''   # Password for opening PDF files
SAMBA_PRINTER_2_PDF_PERMS=''      # Permissions for PDF files
SAMBA_PRINTER_2_PDF_MESSAGES='yes'
                                   # Messages for PDF files: yes or no
SAMBA_PRINTER_2_CAPNAME='repr1'   # The name of the 2. printer in
                                   # /etc/printcap
SAMBA_PRINTER_2_COMMENT='Brother MFC auf  %h'
                                   # Comment of the 2. printer
SAMBA_PRINTER_2_CLIENTDRIVER='no' # Use clientdriver for the 2. printer:
                                   # yes or no
SAMBA_PRINTER_2_BROWSE='yes'      # Should printer browseable: yes or no
SAMBA_PRINTER_2_USER=''           # Allowed user/groups for 2. printer
SAMBA_PRINTER_2_PUBLIC='yes'

/etc/smb.conf
---------------------------------------
[Brother]
  comment = Brother MFC auf  %h
  printing = lprng
  print command = chmod 666 "%s"; jobname=`echo "%J" | sed "s/^.*- //"`; 
if [ -z "$jobname" ]; then jobname="%s"; fi; /var/inst
all/bin/lprng-print "%p" "%s" "%U" "%m" "%L" "%I" "%a" "$jobname"
  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
  printable = yes
  use client driver = no
  browseable = yes
  path = /var/spool/samba
  printer = repr1
  create mode = 0700

[print$]
  comment = samba printer drivers on %h
  browseable = yes
  writeable = no
  path = /samba_printer_drivers
  write list = root

Inzwischen hab ich samba und lprng wieder auf den aktuellen Stand gebracht.

Ich bin auch einem anderen Hinweis gefolgt, Windows direkt auf den lprng 
drucken zu lassen. DAS funktioniert....


Mehr Informationen über die Mailingliste Eisfair