Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Cupsaddsmb No Drivers
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
steve_d555
Guru
Guru


Joined: 07 Nov 2004
Posts: 458
Location: Belmont, Massachusetts

PostPosted: Mon Jan 10, 2005 1:27 am    Post subject: Cupsaddsmb No Drivers Reply with quote

Hi,
I am trying to follow the CUPS+SAMBA documentation, but whenever i get to the cupsaddsmb part the only output is it running a command then saying it was successful. I does not have the complicated/long output the writer of the docs has.

Code:

# cupsaddsmb -H gentoobox -U root -h gentoobox -v HPDeskJet5650
Password for root required to access gentoobox via SAMBA:
Running command: rpcclient gentoobox -N -U'root%*****' -c 'setdriver HPDeskJet5650 HPDeskJet5650'
Succesfully set HPDeskJet5650 to driver HPDeskJet5650.


Thnx
Steve


Last edited by steve_d555 on Sun Jun 19, 2005 5:54 am; edited 1 time in total
Back to top
View user's profile Send private message
Riftwing
Apprentice
Apprentice


Joined: 06 Oct 2002
Posts: 293

PostPosted: Fri Jan 21, 2005 3:35 am    Post subject: Reply with quote

I am having the exact same issue... any help would be great.
_________________
Good, bad, I'm the guy with the gun. - Ash, Army of Darkness
Back to top
View user's profile Send private message
steve_d555
Guru
Guru


Joined: 07 Nov 2004
Posts: 458
Location: Belmont, Massachusetts

PostPosted: Fri Jan 21, 2005 4:27 am    Post subject: Reply with quote

I dont know, I never got an answer, but I was able to use just CUPS to print from windows. You just have to add the ip address then the printer name and it should work. But help would be great anyways.

--Steve
Back to top
View user's profile Send private message
Riftwing
Apprentice
Apprentice


Joined: 06 Oct 2002
Posts: 293

PostPosted: Fri Jan 21, 2005 4:50 am    Post subject: Reply with quote

Of course it will still print but you won't be able to install the drivers from the server which is the whole point of the cupsaddsmb stuff.
_________________
Good, bad, I'm the guy with the gun. - Ash, Army of Darkness
Back to top
View user's profile Send private message
chtof
n00b
n00b


Joined: 29 Aug 2003
Posts: 62
Location: France

PostPosted: Mon Jan 31, 2005 5:00 pm    Post subject: Reply with quote

Hi,

I have exactly the same problem too...
Back to top
View user's profile Send private message
steve_d555
Guru
Guru


Joined: 07 Nov 2004
Posts: 458
Location: Belmont, Massachusetts

PostPosted: Mon Jan 31, 2005 10:31 pm    Post subject: Reply with quote

What printers do you guys have?
Back to top
View user's profile Send private message
chtof
n00b
n00b


Joined: 29 Aug 2003
Posts: 62
Location: France

PostPosted: Wed Feb 02, 2005 10:48 pm    Post subject: Reply with quote

Hi ! I have this problem with several common printers like HP LaserJet 4000, HP LaserJet 4050 or HP LaserJet 5si.
Back to top
View user's profile Send private message
j79zlr
Apprentice
Apprentice


Joined: 05 Dec 2004
Posts: 235
Location: Chicago, IL

PostPosted: Fri Apr 01, 2005 10:41 pm    Post subject: Reply with quote

I was having the same problem as everyone else. I solved it by running the rpcclient command manually:

rpcclient localhost -N -U'root%PASSWORD' -c 'adddriver "Windows NT x86" "hp845c:cupsdrv5.dll:hp845c.ppd:cupsui5.dll:cups5.hlp:NULL:RAW:NULL"'

Obviously change the PASSWORD to your password, and use your printer share name where mine is hp845c
Back to top
View user's profile Send private message
Thunrida
n00b
n00b


Joined: 14 Jul 2004
Posts: 24

PostPosted: Sat Apr 09, 2005 2:12 pm    Post subject: Reply with quote

I found solution in this topic https://forums.gentoo.org/viewtopic-t-110931-postdays-0-postorder-asc-start-175.html
poster: monkey89
Worked perfectly.
Back to top
View user's profile Send private message
korngerd
Tux's lil' helper
Tux's lil' helper


Joined: 12 Mar 2004
Posts: 104

PostPosted: Wed Apr 13, 2005 6:38 am    Post subject: Reply with quote

Thunrida wrote:
I found solution in this topic https://forums.gentoo.org/viewtopic-t-110931-postdays-0-postorder-asc-start-175.html
poster: monkey89
Worked perfectly.


Cool guide ;) Works like a charm here, too! (too bad the CUPS native drivers don't work properly, though)

j79zlr: did you install the CUPS Windows driver using the cups-samba.install script, or did you extract it manually (tar -xf cups-samba.ss)? I tried the manual extraction (maybe that's the problem), but can't get CUPS to actually install the driver (and I have the exact same printer you have - HP 845C)...
Back to top
View user's profile Send private message
j79zlr
Apprentice
Apprentice


Joined: 05 Dec 2004
Posts: 235
Location: Chicago, IL

PostPosted: Wed Apr 13, 2005 7:40 pm    Post subject: Reply with quote

I extracted the driver manually. Running that command is not really necessary. You just have to create the print$ share and place the cups dll's and the ppd file in it. You would also have to create the directory as well, relevant smb.conf section:

Code:
[print$]
  comment = Printer Drivers
  # this path holds the driver structure
  path = /etc/samba/printer
  guest ok = no
  browseable = yes
  read only = yes
  write list = root


The create the directory, /etc/samba/printer/W32X86/2 and in it you should have:
cups5.hlp cupsdrv5.dll cupsui5.dll hp845c.ppd

This must be caused by a change in the cupsaddsmb utility, because it doesn't work on my FreeBSD installation anymore either, where it used to. I think it changed ~ cups v1.1.21. You can get the ppd file at http://linuxprinting.org/show_printer.cgi?recnum=HP-DeskJet_845C
Back to top
View user's profile Send private message
chovy
Guru
Guru


Joined: 03 Dec 2004
Posts: 453

PostPosted: Sun Jun 19, 2005 6:25 am    Post subject: Reply with quote

would somebody like to post the commands to get cups drivers to work (not PS)? That's what I used, since that's what the manual has.

I can't seem to figure it out.
_________________
Woof, Woof! Add "[solved]" to the title! Woof, Woof!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum