You are not logged in.

#1 2006-08-09 18:31:01

arew264
Member
From: Friendswood, Texas, US
Registered: 2006-07-01
Posts: 394
Website

Can Print through Samba, what about autoloading the driver?

I'm trying to set up a samba server to share a HP Deskjet 5550 printer on my network. I'm using cups, and can print to the printer over the network. The problem comes when I try to set up the autoloading of the driver. At this point I need some points clarified. Should the cups drivers to into /usr/share/cups/drivers or /usr/local/share/cups/drivers? What am I doing wrong? I have followed a how-to (I'll post up the link in a minute) and gotten a ppd file for my printer from linuxprinting.org (HP-Deskjet_5550-hpijs.ppd), and have copied necessary files from the windows postscript driver to the /usr/local/cups/driver folder and converted the names to lowercase. I then tried to run cupsaddsmb -H localhost -U root -h localhost -a -v, and it went into an endless loop because when it tried to set the driver for the cups printer, it got an access denied error. I have tried to set the admin area to have no authentication, but still no luck. I'll go dig up the loop...

Running command: smbclient //localhost/print$ -N -A /var/spool/cups/tmp/44da292e6ef55 -c 'mkdir W32X86;put /var/spool/cups/tmp/44da2908a877e W32X86/hp_deskjet_5550_USB_1.ppd;put /usr/share/cups/drivers/ps5ui.dll W32X86/ps5ui.dll;put /usr/share/cups/drivers/pscript.hlp W32X86/pscript.hlp;put /usr/share/cups/drivers/pscript.ntf W32X86/pscript.ntf;put /usr/share/cups/drivers/pscript5.dll W32X86/pscript5.dll'
WARNING: The "printer admin" option is deprecated
Domain=[LAGBOX] OS=[Unix] Server=[Samba 3.0.23a]
NT_STATUS_OBJECT_NAME_COLLISION making remote directory W32X86
putting file /var/spool/cups/tmp/44da2908a877e as W32X86/hp_deskjet_5550_USB_1.ppd (5701.4 kb/s) (average 5701.7 kb/s)
putting file /usr/share/cups/drivers/ps5ui.dll as W32X86/ps5ui.dll (931.7 kb/s) (average 999.3 kb/s)
putting file /usr/share/cups/drivers/pscript.hlp as W32X86/pscript.hlp (8475.6 kb/s) (average 1155.1 kb/s)
putting file /usr/share/cups/drivers/pscript.ntf as W32X86/pscript.ntf (3990.0 kb/s) (average 2782.2 kb/s)
putting file /usr/share/cups/drivers/pscript5.dll as W32X86/pscript5.dll (2816.8 kb/s) (average 2793.4 kb/s)

Running command: rpcclient localhost -N -A /var/spool/cups/tmp/44da292e6ef55 -c 'adddriver "Windows NT x86" "hp_deskjet_5550_USB_1:pscript5.dll:hp_deskjet_5550_USB_1.ppd:ps5ui.dll:pscript.hlp:NULL:RAW:pscript5.dll,hp_deskjet_5550_USB_1.ppd,ps5ui.dll,pscript.hlp,pscript.ntf"'
WARNING: The "printer admin" option is deprecated
Printer Driver hp_deskjet_5550_USB_1 successfully installed.

Running command: rpcclient localhost -N -A /var/spool/cups/tmp/44da292e6ef55 -c 'setdriver hp_deskjet_5550_USB_1 hp_deskjet_5550_USB_1'
WARNING: The "printer admin" option is deprecated
SetPrinter call failed!
result was WERR_ACCESS_DENIED

Unable to set Windows printer driver (1)!

That's the loop. Should I post config files?

Offline

Board footer

Powered by FluxBB