Printing Support in Samba 2.2.x

Christian Barth barth at cck.uni-kl.de
Mon Oct 22 05:19:02 GMT 2001


1. Replay to the list, because
2. I don't use the [print$] feature right now, so I don't know were
   this files are. I have just read about it.
3. may be there is a driveres.tpb or so in a look-directory

Christian

> ----- Original Message -----
> From: "Christian Barth" <barth at cck.uni-kl.de>
> To: <samba at samba.org>; "Ing. Vladislav Krahulec" <krahulec at excon.cz>
> Sent: Monday, October 22, 2001 12:42 PM
> Subject: Re: Printing Support in Samba 2.2.x
> 
> .............................
> > > - I can restart smbd and nmbd and downloading of printer drivers still
> works
> > > - But when I restart whole server, information about printer driver in
> > > properties of print share is lost (I can fill up parameter PRINTER
> DRIVER,
> > > but information about printer driver files are lost also).
> > >
> > > Maybe there is some other necessary daemon, which is needed for saving
> > > informations about printer driver and its files (or some special
> parameter
> > > setting)
> > Hm,
> > I remember I have heard about this problem befor: Some times the
> > printer driver information of samba is stored in a directory that is
> > cleaned by one of the boot scripts. Checkt the location of the
> > dirveres and your boot skripts.
> 
> Please tell me where are usualy those files: I have only set the share
> print$ as described below (/usr/local/samba/printers) and there are files in
> directory ../W32X86/2 for printer HP LaserJet 1200 (which I testing now):
> /usr/local/samba/printers/W32X86/2    HPBAFD32.DLL
>                                                            HPBF3110.DLL
>                                                            HPBF3112.DLL
>                                                            HPBF3113.DLL
>                                                            HPBF3114.DLL
>                                                            HPBF3114.HLP
>                                                            HPBF3114.PMD
>                                                            HPBF3115.DLL
>                                                            HPBF3116.DLL
>                                                            HPBFTM32.DLL
>                                                            HPDCMON.DLL
> This directory is the same before or after restart but after restart I
> cannot get information about name of driver for share LINPRT (below) and
> information about files needed for this driver - in Windows NT registry:
> 
> [HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Print\Environments\Windows
> NT x86\Drivers\Version-2\HP LaserJet 1200 Series PCL 5e]
> "Configuration File"="HPBF3110.DLL"
> "Data File"="HPBF3114.PMD"
> "Driver"="HPBF3112.DLL"
> "Help File"="HPBF3114.HLP"
> "Monitor"="HP LaserJet 5 Language Monitor"
> "Datatype"=""
> "Dependent
> Files"=hex(7):48,50,44,43,4d,4f,4e,2e,44,4c,4c,00,48,50,44,43,4d,4f,\
> 
> 4e,2e,44,4c,4c,00,48,50,42,46,54,4d,33,32,2e,44,4c,4c,00,48,50,42,41,46,44,\
> 
> 33,32,2e,44,4c,4c,00,48,50,42,46,33,31,31,36,2e,44,4c,4c,00,48,50,42,46,33,\
> 
> 31,31,35,2e,44,4c,4c,00,48,50,42,46,33,31,31,34,2e,48,4c,50,00,48,50,42,46,\
> 
> 33,31,31,34,2e,44,4c,4c,00,48,50,42,46,33,31,31,34,2e,50,4d,44,00,48,50,42,\
> 
> 46,33,31,31,33,2e,44,4c,4c,00,48,50,42,46,33,31,31,32,2e,44,4c,4c,00,48,50,\
>   42,46,33,31,31,31,2e,44,4c,4c,00,48,50,42,46,33,31,31,30,2e,44,4c,4c,00,00
> "Version"=dword:00000002
> 
> In directory /usr/local/samba/printers I see only .DLL, .HLP and .PMD files
> and no file with current date and time (which should be changed during
> upload of printer driver and which has to set information for NT registry).
> Can you tell me something about default names and directories for the
> printer driver information of samba?
> 
> Thank you
> 
> Vladislav Krahulec
> 
> ... sorry for my CZenglish
> 
> >
> > Hope this helps to find a starting point,
> >
> > Christian
> >
> >
> > >
> > > # Samba config file created using SWAT
> > > # from 1.223.14.2 (1.223.14.2)
> > > # Date: 2001/10/22 11:41:12
> > >
> > > # Global parameters
> > > [global]
> > >  client code page = 852
> > >  workgroup = EXCON
> > >  security = SHARE
> > >  printer admin = nobody
> > >  printing = lprng
> > >
> > > [print$]
> > >  path = /usr/local/samba/printers
> > >  read only = No
> > >  guest ok = Yes
> > >
> > > [In]
> > >  comment = Free space
> > >  path = /tmp
> > >  read only = No
> > >  create mask = 0600
> > >  guest ok = Yes
> > >
> > > [Pavel]
> > >  path = /usr/local/httpd/htdocs
> > >  guest account = www
> > >  read only = No
> > >  create mask = 0644
> > >  guest ok = Yes
> > >
> > > [linprt]
> > >  comment = HP DeskJet via Samba & JetDirect
> > >  path = /tmp
> > >  guest ok = Yes
> > >  printable = Yes
> > >
> > >
> > >
> > >
> > > --
> > > To unsubscribe from this list go to the following URL and read the
> > > instructions:  http://lists.samba.org/mailman/listinfo/samba
> > >
> >
> >
> >                _(_)_                          wWWWw   _
> >    @@@@       (_)@(_)   vVVVv     _     @@@@  (___) _(_)_
> >   @@()@@ wWWWw  (_)\    (___)   _(_)_  @@()@@   Y  (_)@(_)
> >    @@@@  (___)     `|/    Y    (_)@(_)  @@@@   \|/   (_)\
> >     /      Y       \|    \|/    /(_)    \|      |/      |
> >  \ |     \ |/       | / \ | /  \|/       |/    \|      \|/
> > jgs|//   \\|///  \\\|//\\\|/// \|///  \\\|//  \\|//  \\\|//
> > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> >
> 
> 
> 


               _(_)_                          wWWWw   _
   @@@@       (_)@(_)   vVVVv     _     @@@@  (___) _(_)_
  @@()@@ wWWWw  (_)\    (___)   _(_)_  @@()@@   Y  (_)@(_)
   @@@@  (___)     `|/    Y    (_)@(_)  @@@@   \|/   (_)\
    /      Y       \|    \|/    /(_)    \|      |/      |
 \ |     \ |/       | / \ | /  \|/       |/    \|      \|/
jgs|//   \\|///  \\\|//\\\|/// \|///  \\\|//  \\|//  \\\|// 
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^




More information about the samba mailing list