printer driver's continuing past restart

Mr E_T troll at arach.net.au
Thu Jan 20 07:07:45 GMT 2005


On Friday 07 January 2005 22:45, you wrote:
> Mr E_T wrote:
> | When assigning printer drivers to the print serving
> | system - how is the information cached through
> | restarts, reboots etc.
> 
> The Samba server stores thie metadata in the $(lockdir)/nt*tdb
> files and the physical driver files in the [print$] share.

My version of samba - samba-3.0.10
configured with -
./configure  --build=i486-pc-linux-gnu --prefix=/usr --libexecdir=/usr/lib/samba --sysconfdir=/etc \
--localstatedir=/var --mandir=/usr/share/man --infodir=/usr/share/info --includedir=/usr/include \
--datadir=/usr/share  --enable-cups --with-smbmount --with-pam --with-configdir=/etc/samba \
--with-privatedir=/etc/samba/private --with-lockdir=/var/lock --with-piddir=/var/lock \
--with-swatdir=/usr/share/samba/swat --with-logfilebase=/var/log --with-libdir=/usr/lib/samba

does not keep the installed drivers past a reboot

every time the machine reboots I have to reinstall the printer drivers.

I would like to know why and how to fix this aside from reinstalling them each time.

(
  I now use the attached scripts
  The adobe -* files are kept in /etc/samba/drivers.configs
  The rest are kept in /etc/samba
  The drivers are kept in /etc/samba/drivers.cache
)

-- 
regs MR E_T
_______________________
\                      \
  \   OOHH I hate TYPOS  \
    \                      \
      ~~~~~~~~~~~~~~~~~~~~~~~

-------------- next part --------------
A non-text attachment was scrubbed...
Name: checkdrivers
Type: application/x-shellscript
Size: 509 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20050120/cbc66ca2/checkdrivers.bin
-------------- next part --------------
# config file for install-drivers
#driver-name		printer list
# # or ; denote comment lines
adobe-ps-generic	fax
adobe-ps-hp-dj-3820	hp
#cups-ps-generic	
#cups-ps-hp-dj-3820	hp-mono
#hp-dj-3820		hp-raw
-------------- next part --------------
A non-text attachment was scrubbed...
Name: install-drivers
Type: application/x-shellscript
Size: 2303 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20050120/cbc66ca2/install-drivers.bin
-------------- next part --------------
DATA_DIR="/etc/samba/drivers.cache/adobe/WinXP"
DRIVER_DIR="/etc/samba/drivers.cache/adobe/WinXP"

SYSTEM="Windows NT x86"
SYSTEMDIR="w32x86"

DRIVER="PSCRIPT5.DLL"
DATA="DEFPRTR2.PPD"
CONF="PS5UI.DLL"
HELP="PSCRIPT.HLP"
LANG="NULL"
TYPE="RAW"
XTRAFILES="PSCRIPT.NTF PSCRPTFE.NTF"
-------------- next part --------------
DATA_DIR="/etc/samba/drivers.cache/adobe/WinNT"
DRIVER_DIR="/etc/samba/drivers.cache/adobe/WinNT"

SYSTEM="Windows NT x86"
SYSTEMDIR="w32x86"

DRIVER="AdobePS5.dll"
DATA="defprtr2.ppd"
CONF="AdobePSu.dll"
HELP="ADOBEPSU.HLP"
LANG="NULL"
TYPE="RAW"
XTRAFILES="AdobeKor.ntf  AdobePS5.ntf AdobeJpn.ntf AdobeZhS.ntf AdobeZhT.ntf"
-------------- next part --------------
DATA_DIR="/etc/samba/drivers.cache/adobe/Windows"
DRIVER_DIR="/etc/samba/drivers.cache/adobe/Windows"

SYSTEM="Windows 4.0"
SYSTEMDIR="WIN40"

DRIVER="ADOBEPS4.DRV"
DATA="defprtr2.ppd"
CONF="ADOBEPS4.DRV"
HELP="ADOBEPS4.HLP"
LANG="NULL"
TYPE="RAW"
XTRAFILES="ICONLIB.DLL PSMON.DLL adfonts.mfm"
-------------- next part --------------
DATA_DIR="/etc/cups/ppd"
DRIVER_DIR="/etc/samba/drivers.cache/adobe/WinNT"

SYSTEM="Windows NT x86"
SYSTEMDIR="w32x86"

DRIVER="AdobePS5.dll"
DATA="hp.ppd"
CONF="AdobePSu.dll"
HELP="ADOBEPSU.HLP"
LANG="NULL"
TYPE="RAW"
XTRAFILES="AdobeKor.ntf  AdobePS5.ntf AdobeJpn.ntf AdobeZhS.ntf AdobeZhT.ntf"
-------------- next part --------------
DATA_DIR="/etc/cups/ppd"
DRIVER_DIR="/etc/samba/drivers.cache/adobe/WinXP"

SYSTEM="Windows NT x86"
SYSTEMDIR="w32x86"

DRIVER="PSCRIPT5.DLL"
DATA="hp.ppd"
CONF="PS5UI.DLL"
HELP="PSCRIPT.HLP"
LANG="NULL"
TYPE="RAW"
XTRAFILES="PSCRIPT.NTF PSCRPTFE.NTF"

-------------- next part --------------
DATA_DIR="/etc/cups/ppd"
DRIVER_DIR="/etc/samba/drivers.cache/adobe/Windows"

SYSTEM="Windows 4.0"
SYSTEMDIR="WIN40"

DRIVER="ADOBEPS4.DRV"
DATA="hp.ppd"
CONF="ADOBEPS4.DRV"
HELP="ADOBEPS4.HLP"
LANG="NULL"
TYPE="RAW"
XTRAFILES="ICONLIB.DLL PSMON.DLL adfonts.mfm"


More information about the samba-technical mailing list