Hello Managres, Thanks to Tim Chiman , tony.tibbenham@sonoco.com,David foster Due to the length the mail iam not putting other solutions here. The whole effort updated our knowledge how windows recognises a printer > second part just shows how it's done. > here for printer you need not load a driver just when you click on the > printer share driver gets installed . > > #samba configuration file /etc/smb.conf > > #samba conf# This is the main Samba configuration file. You should read > the > # smb.conf(5) manual page in order to understand the options listed > # here. Samba has a huge number of configurable options (perhaps too > # many!) most of which are not shown in this example > # > # Any line which starts with a ; (semi-colon) or a # (hash) > # is a comment and is ignored. In this example we will use a # > # for commentry and a ; for parts of the config file that you > # may wish to enable > # > # NOTE: Whenever you modify this file you should run the command > "testparm" > # to check that you have not many any basic syntactic errors. > # > #======================= Global Settings > ===================================== > [global] > workgroup = ap01 > server string = Hplocal%v on (%L) > security = SERVER > encrypt passwords = Yes > password server = ii0015dc00 > log level = 2 > debug level = 2 > netbios name = labyrinth > log file = /var/log/samba/samba.log.%m.%R > name resolve order = wins host dns > wins server = 135.252.76.238 > hosts allow 135.254.213.0/255.255.255.0 > socket options = TCP_NODELAY > os level = 0 > max connections = 400 > printer = lp > load printers = no > > #------------------------------------------------------ > # Local shares you need to copy msprint.inf where the printer is > installed and run make-printersdef > #------------------------------------------------------ > [PRINTER$] > path = /opt/local/samba/printers > public = yes > writable = no > browsable = yes > > [Hplocal] > comment = Hplaserjet > #path = /var/spool/lp > path = /tmp > printer driver = HP LaserJet 6L PCL > printer driver file = /opt/local/samba/printers.def > printer driver location = \\%h\PRINTER$ > browseable = yes > printable = yes > > > > > labyrinth# ./bin/make_printerdef /home/raghunathl/6lpro/MSPRINT3.INF "HP > > LaserJet 6L PCL" >> printers.def > > Found:PCL5EMS3.DRV > > End of section found > > CopyFiles: @PCL5EMS3.DRV,UNI,FINSTALL > > Datasection: UNI_DATA > > Datafile: PCL5EMS3.DRV > > Driverfile: PCL5EMS3.DRV > > Helpfile: UNIDRV.HLP > > LanguageMonitor: (null) > > VendorSetup: (null) > > > > Copy the following files to your printer$ share location: > > PCL5EMS3.DRV > > UNIDRV.DLL > > UNIDRV.HLP > > ICONLIB.DLL > > FINSTALL.DLL > > FINSTALL.HLP > > > > Stating and stopping samba > > #!/bin/sh > > case "$1" in > 'start') > echo "Starting SMB services..." > /opt/local/samba/bin/smbd -D -s /etc/smb.conf > /opt/local/samba/bin/nmbd -D -n labyrinth -s /etc/smb.conf > ;; > > 'stop') > echo "Stopping SMB services..." > kill `/bin/ps -ef | grep smbd | grep -v grep | awk '{print $2}'` > kill `/bin/ps -ef | grep nmbd | grep -v grep | awk '{print $2}'` > ;; > *) > echo "usage: $0 {start|stop}" > esac > > /etc/services file > netbios-ns 137/tcp nbns#all for samba > netbios-ns 137/udp nbns > netbios-dgm 138/tcp nbdgm > netbios-dgm 138/udp nbdgm > netbios-ssn 139/tcp nbssn > > /etc/rc3.d > total 12 > -rw-r--r-- 1 root sys 1708 Sep 1 1998 README > -rwxr--r-- 6 root sys 2307 Sep 1 1998 S15nfs.server > lrwxrwxrwx 1 root other 17 Nov 9 18:04 S99samba -> > /etc/init.d/samba > labyrinth# pwd > /etc/rc3.d > samba is installed in /opt/local > > > > > -- > > Thanx&Regards > > RaghuNathL > > Ux-Administrator > > CIO-GIO Helpdesk > > Lucent-Ins > > Ph:5500061 Ex:2048 > > "Change in themselves cause changes" -- Thanx&Regards RaghuNathL Ux-Administrator CIO-GIO Helpdesk Lucent-Ins Ph:5500061 Ex:2048 "Change in themselves cause changes"Received on Mon Nov 12 04:17:24 2001
This archive was generated by hypermail 2.1.8 : Wed Mar 23 2016 - 16:32:35 EDT