[Samba] Problem print driver distrib. for NT with smb2.2.3.a

Peer-Joachim Koch pkoch at bgc-jena.mpg.de
Thu Apr 18 05:04:02 GMT 2002


Hi,

I want to set up a samba print server for our institute.
It works well, but I'm not able to get the printer drivers
on the samba server, so that a client is able to connect
to a printer and get the printer drivers (if necessary)
from the samba server too.
I'm using a linux box with suse 7.2. I downloaded the
current samba and installed it. I added the smb.conf
and the output from the rpcclient commands.
The driver are added to the W32X86 folder, but can not
be installed. Also the print server does not seemed to know
the files.

Has somebody a hint for me ?
How can I see something in the log files (log level 5 is not
good enough, what would be good for this problem) ?

Please send a copy of your answer as e-mail. I will
post a summary with (hopefully) the solution.

Thanks a lot, Peer


##############################################################

print:/opt/imprints # more ../smb_print/lib/smb.conf
#
# Samba als Printserver fuer alle WIN$$ maschinen
# Forlage Tacoma; PJK 15-04-2002
#
[global]

workgroup = MPIBGC
server string = DVA.TEST_PRINT_SERVER
netbios name = PRINT
guest account = nobody
time server = yes
printing = cups
log file = /var/log/samba/%m.log
max log size = 50
os level = 20
security = share
printer admin = root

[print$]
        comment = All Printers
        path = /opt/smb_print/printers
        browseable = yes
        guest ok = yes
        read only =yes
        public = yes
        writeable = no
        write list = root

[10a_HP8000]
        comment = HP8000
        printable = yes
        printer = 10a_HP8000 -o raw
        path=/tmp/print
        guest ok = yes
        public = yes
        printer driver = HP8000PS

##############################################################

vibra:~ # rpcclient manta -UAdmin%XXX -c "getdriver 10a_HP8000"
session setup ok
Domain=[MPIBGC] OS=[Windows NT 4.0] Server=[NT LAN Manager 4.0]

[Windows NT x86]
Printer Driver Info 3:
        Version: [2]
        Driver Name: [HP LaserJet 8000 Series PS]
        Architecture: [Windows NT x86]
        Driver Path: [\\MANTA\print$\W32X86\2\PSCRIPT.DLL]
        Datafile: [\\MANTA\print$\W32X86\2\HP8000_6.PPD]
        Configfile: [\\MANTA\print$\W32X86\2\PSCRPTUI.DLL]
        Helpfile: [\\MANTA\print$\W32X86\2\PSCRIPT.HLP]

        Dependentfiles: [\\MANTA\print$\W32X86\2\HP8000_6.PPD]
        Dependentfiles: [\\MANTA\print$\W32X86\2\PSCRIPT.DLL]
        Dependentfiles: [\\MANTA\print$\W32X86\2\PSCRIPT.HLP]
        Dependentfiles: [\\MANTA\print$\W32X86\2\PSCRPTUI.DLL]

        Monitorname: [HP LaserJet 5 Language Monitor]
        Defaultdatatype: [RAW]


##############################################################

print:/opt/imprints # ./scripts/install_printer_drivers.pl --verbose 
--local-pkg=/opt/imprints/driver/hp8000-0.01.tar.gz 'HP LaserJet 8000 
Series PS'
Exploding package...
Installing package...
Server: print
Username: root
Password: XXX
Testing logon credentials...
Printer name (press <ENTER> to default to the printer model name):
Retrieving remote server information...
        Valid Printer Share Names:
                10a_HP8000

        Valid Port Names:
                Samba Printer Port

Samba share name: 10a_HP8000
Printer port: Samba Printer Port
[rpc]: Printer Driver Information :
[rpc]:     Printer Model   = HP LaserJet 8000 Series PS
[rpc]:     Environment     = W32X86
[rpc]:     Driver Filename = PSCRIPT.DLL
[rpc]:     Data Filename   = HP8000_6.PPD
[rpc]:     Config Filename = PSCRPTUI.DLL
[rpc]:     Help Filename   = PSCRIPT.HLP
[rpc]: Installing Windows NT x86 drivers for HP LaserJet 8000 Series PS...
[rpc]: Printer Driver Upload Directory = \\vibra\print$\W32X86
[rpc]: putting file pscript.hlp as \W32X86\pscript.hlp (4633.3 kb/s) 
(average 4633.5 kb/s)
[rpc]: putting file hpdcmon.dll as \W32X86\hpdcmon.dll (14249.7 kb/s) 
(average 10128.6 kb/s)
[rpc]: putting file pscript.dll as \W32X86\pscript.dll (16950.6 kb/s) 
(average 14563.0 kb/s)
[rpc]: putting file hp8000_6.ppd as \W32X86\hp8000_6.ppd (18325.7 kb/s) 
(average 15431.4 kb/s)
[rpc]: putting file pscrptui.dll as \W32X86\pscrptui.dll (19473.7 kb/s) 
(average 16470.9 kb/s)
[rpc]: putting file pscript.sep as \W32X86\pscript.sep (49.8 kb/s) (average 
16014.8 kb/s)
Cleaning up temporary files...

print:~ # rpcclient print -Uroot%XXX -c "getdriver 10a_HP8000"
session setup ok
Domain=[MPIBGC] OS=[Unix] Server=[Samba 2.2.3a]

##############################################################

_________________________________________________________
Max-Planck-Institut fuer Biogeochemie
Dr. Peer-Joachim Koch
Carl-Zeiss-Promenade 10      Telefon: ++49 3641 6437-52
D-07745 Jena                 Telefax: ++49 3641 6437-10  




More information about the samba mailing list