View previous topic :: View next topic |
Author |
Message |
hurricane Tux's lil' helper
Joined: 15 Jul 2004 Posts: 107
|
Posted: Thu Nov 10, 2005 2:43 pm Post subject: UPDATE: Actual status of CUPS+SAMBA = UNUSABLE! DO NOT TRY! |
|
|
Hello,
i ran a working cups+samba system but reinstalled my windows xp box and killed the old cups drivers because i always got a general protection fault when i wanted to configure the printer in the windows printing dialogue.
so i installed net-print/hplip (foomatic, cups and samba were installed) and got cups working and printing the test page in very good quality.
now my print$ share just contains empty direcories, so i needed the cups printer driver again.
The problem with this is: files like cups-samba-5.0.r3.* DO NOT EXIST ANYMORE ON THE NET
The only ones i could find are for BSD and don't work on gentoo. (completely other structure inside)
I even blindly tried creating /usr/share/cups/drivers and putting the 2 .dlls and 1 .hlp file inside.
But "cupsaddsmb -v -a" does not copy any of those files. it just tells me it adds the printers.
Well. the printers are there and you can drag them to your printer directory in windows, BUT: windows can't find the driver wich makes sense, because if you look at print$/W32X86, then it's empty!
so i did it manually and added the .ppd-files, and the 3 cups driver files to "print$/W32X86/2".
Still it does not work! (windows wants an .inf-file")
So as a result there is ACUTALLY NO WAY OF INSTALLING CUPS-PRINTERS TO SAMBA!
If anyone can prove me wrong, i would appreciate it very much! |
|
Back to top |
|
|
TheRAt Veteran
Joined: 03 Jun 2002 Posts: 1580
|
Posted: Thu Nov 10, 2005 3:51 pm Post subject: |
|
|
Have you looked at this at the Gentoo-Wiki? _________________ All reality is the construct of the observer.
Get Firefox and rediscover the web!
BOFH Excuse #295:
The Token fell out of the ring. Call us when you find it. |
|
Back to top |
|
|
hurricane Tux's lil' helper
Joined: 15 Jul 2004 Posts: 107
|
Posted: Fri Nov 11, 2005 1:21 pm Post subject: |
|
|
Oh. did i forget that i read trough ALL the guides one could find... (including all of these...) and could not find a solution that works?
the main problem is always that in the examples "cupsaddsmb -v -a" does copy some driver files from no idea where to print$/W32X86/*/
an on my system i get the following output:
Code: |
Password for root required to access localhost via SAMBA:
Running command: rpcclient localhost -N -U'root%********' -c 'setdriver HP_DeskJet_640C HP_DeskJet_640C'
Succesfully set HP_DeskJet_640C to driver HP_DeskJet_640C.
Running command: rpcclient localhost -N -U'root%********' -c 'setdriver HP_DeskJet_640C_DL HP_DeskJet_640C_DL'
Succesfully set HP_DeskJet_640C_DL to driver HP_DeskJet_640C_DL.
Running command: rpcclient localhost -N -U'root%********' -c 'setdriver HP_DeskJet_640C_HQ HP_DeskJet_640C_HQ'
Succesfully set HP_DeskJet_640C_HQ to driver HP_DeskJet_640C_HQ.
Running command: rpcclient localhost -N -U'root%********' -c 'setdriver PDFGenerator PDFGenerator'
Succesfully set PDFGenerator to driver PDFGenerator.
|
As you can see: no driver files!
So of course it does not work.
And on none of the howtos/guides someone has a clue where to put what files EXACTLY.
So this is my main question?
Where do i put wich files for this CRAP of cupsaddsmb to get the fuck to work! (why the hell is this not even documented in the man page??) |
|
Back to top |
|
|
Rammoth n00b
Joined: 05 Jan 2005 Posts: 36
|
Posted: Sat Nov 12, 2005 12:36 pm Post subject: |
|
|
Instead of getting angry and typing in caps, have patience. You clearly havn't read _all_ guides on this matter, or even the posts on this forum. I just installed CUPS+SAMBA perfectly for the fun of it.
See this post. https://forums.gentoo.org/viewtopic-p-2364445.html#2364445
Following this guide with a bit of common sense (please, not verbatim) yields a perfect outcome. |
|
Back to top |
|
|
|