Link to home
Start Free TrialLog in
Avatar of itacyl
itacyl

asked on

Printer Windows Drivers with CUPS

Hi, I want to know how can i config CUPS to distribute printers' drivers to windows clients by CUPS and Samba with [print$] resource. I can't  use web interface because when i select administration button appears the next message: "Upgrade Required
Se requiere una actualización a una conexión segura. Si está viendo este mensaje en su navegador, entonces éste no soporta actualizaciones de encriptación HTTP. "
I have in global secction of samba: 
   printing = cups
   printcap name = cups
   printcap = cups
   use client driver = yes
   load printers = yes
   disable spoolss = yes
 
And the resorces: 
 
[printers]
   comment = All Printers
   public = yes
   path = /var/spool/samba
   browseable = yes
# Set public = yes to allow user 'guest account' to print
   guest ok = yes
   writable = no
   printable = yes
 
[print$]
   comment = Drivers de Impresoras
   path = /usr/share/cups/drivers
   browseable = yes
   guest ok = yes
   read only = yes
   write list = root

Open in new window

Avatar of Gns
Gns

Avatar of itacyl

ASKER

Thanks Glenn, but I have problems in te last step:
"cupsaddsmb -H localhost -U root -a -v

cupsaddsmb: No PPD file for printer "hp Laserjet 1320n" - skipping!
cupsaddsmb: No PPD file for printer "hp Laserjet 3800" - skipping!
cupsaddsmb: No PPD file for printer "hp laserjet 4250" - skipping!
cupsaddsmb: No PPD file for printer "hp laserjet 4250dtn" - skipping!
Password for root required to access localhost via SAMBA:
Running command: rpcclient localhost -N -U'root%XXXXXXXXXXX' -c 'setdriver hp_color_LaserJet_3700 hp_color_LaserJet_3700'
cli_nt_session_open: cli_nt_create failed on pipe \spoolss to machine localhost. Error was NT_STATUS_OBJECT_NAME_NOT_FOUND
Could not initialise \PIPE\spoolss

Password for root required to access localhost via SAMBA:
Running command: rpcclient localhost -N -U'root%XXXXXXXXXXo' -c 'setdriver hp_color_LaserJet_3700 hp_color_LaserJet_3700'
cli_nt_session_open: cli_nt_create failed on pipe \spoolss to machine localhost. Error was NT_STATUS_OBJECT_NAME_NOT_FOUND
Could not initialise \PIPE\spoolss"

Can you help me??
ASKER CERTIFIED SOLUTION
Avatar of noci
noci

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial