Samba and CUPS - Pull hair out here
Hi, I'm having trouble sharing a printer from a Debian system (server) to WinXP (client).
I can print locally on either machine. I can "connect" to the printer from the client and it shows ready, but when I try to print Windows gives me a "Failed to create job" error. I have tried several different compatable drivers, I have hooked up the printer to the Win box and this has worked before via the network when it was two win boxes. The CUPS error log gives me only one error: LoadAllClasses: Unable to open /etc/cups/classes.conf - No such file or directory I installed CUPS via apt-get. My printer & Samba are set up for raw mode and yes, I modified the all three config files (cupsd.conf, mime.conv & mime.types) for raw mode, Here is my smb.conf Thanks in davance for any help. RK [global] printcap name = cups printing = cups security = share use client driver = yes workgroup = mshome netbios name = debian [printers] browseable = yes printable = yes public = yes create mode = 0777 guest only = yes guest account = smbprint path = /home/smbprint [xfer] path = /home/shunter |
might try reading this
http://www.owlfish.com/thoughts/wini...003-07-20.html because you are using debian (i love debian) my system is alot newer than yours so take that into consideration (unfortunately this stuff seems to change like the wind) Quote:
this may be what the page above is refering to when he says make a class ?? i have never seen that before that file classes.conf for me is just a sample file and every entry in it is commented out try making a dummy file with the same permissions as cupsd.conf i'm wondering why that is not there -- most likely a version thing i guess (i'm using cups 1.1.21) Quote:
and i don't know about changes to cupsd.conf for raw printing (don't think you need any) you just need to allow the connection cups is very complex so it's even kind of hard to talk about so i move on to samba is this all there is in your samba config ?? or did yu just give us pieces ? all i can think to do is give you my global and print section now i am doing more than just using shared printer i have shared drives and dvd drives and whatnot so it's hard for me to know now what is what but this does anyway point to some errors in your samba.conf file (i guess all the authentication stuff you can ignore ?) not sure Code:
[global] |
Yes, that link you gave me had the answer (At least it appears so) - Thank you.
I used PCAnywhere to send a test page and got no "Windows has recovered from a serious error" dialog box. That's a good sign, eh? I'll find out tonight when I get home from work if it really worked or not. Previously, I had received several different error messages that I had never seen Windoze spit out at me before. (ie Error: StartDocPrint not sent) Instead of using Samba, that article just has you unbind CUPS from your local loopback. You then tell windoze to connect to port 631 and voila, your done!!. I even went a little further and set it up to where I could (get this) admin CUPS via my LAN from a WinXP Box. Again, Thanks. RK |
All times are GMT -5. The time now is 06:21 AM. |