> SV: [Samba] Trouble with CUPS/SAMBA - Solved > Bo Mellberg bo.mellberg at jolife.se > Mon Jun 23 18:21:05 GMT 2003 > > > I solved the problem by using: >Which versions of CUPS and Samba are you using? And are you *really* still using the "cupsomatic"-PPD from Linuxprinting.org for that *PostScript*-printer??> [global] > printing = cups > printcap name = lpstat > load printers = yes > > and in [printers]-section: > > [printers] > comment = All Printers > path = /var/spool/samba > browseable = no > guest ok = yes > writable = no > printable = yes > create mode = 0700 > print command = lpr -P %p -o raw %s -r > lpq command = lpstat -o %p > lprm command = cancel %p-%j > printer admin = @users > > With great help from: > http://www.buberel.org/linux/cups-samba.php > > Hope it helps someone...I fear it does more confuse than help -- unless your version info is forthcoming.... Cheers, Kurt
Yeah, it really helps me that you come after I managed to get ANYTHING out of that printer, and say that all I do is wrong. The versions are the the one installed by RedHat Linux 9 (shrike). I installed the printer using the redhat utility, and I configured samba using, first the redhat utility, and then fiddling with the smb.conf. Any drivers used by the Windows clients are their own (postscript). Dont ask me how cupsomatic got in there, 'cause I dont know. Until you can come up with a better idea of installing the printer, I'll manage with this one, thank you very much. And just how is getting this to work properly confusing to others? /Bo -----Original Message----- From: samba-bounces+bosse=mellberg.org@lists.samba.org [mailto:samba-bounces+bosse=mellberg.org@lists.samba.org] On Behalf Of Kurt Pfeifle Sent: den 23 juni 2003 21:44 To: samba@lists.samba.org Subject: [Samba] Trouble with CUPS/SAMBA - Solved> SV: [Samba] Trouble with CUPS/SAMBA - Solved > Bo Mellberg bo.mellberg at jolife.se > Mon Jun 23 18:21:05 GMT 2003 > > > I solved the problem by using: >Which versions of CUPS and Samba are you using? And are you *really* still using the "cupsomatic"-PPD from Linuxprinting.org for that *PostScript*-printer??> [global] > printing = cups > printcap name = lpstat > load printers = yes > > and in [printers]-section: > > [printers] > comment = All Printers > path = /var/spool/samba > browseable = no > guest ok = yes > writable = no > printable = yes > create mode = 0700 > print command = lpr -P %p -o raw %s -r > lpq command = lpstat -o %p > lprm command = cancel %p-%j > printer admin = @users > > With great help from: http://www.buberel.org/linux/cups-samba.php > > Hope it helps someone...I fear it does more confuse than help -- unless your version info is forthcoming.... Cheers, Kurt -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Not to add to the confusion but maybe I will. :) If you still are having problems with cups and samba, may I suggest that you get rid of a lot after the [printers] section. Here is mine and it works great. Here it is: [printers] comment = All Printers path = /var/spool/samba guest ok = yes browseable = no public = yes writable = no printable = yes printer admin = (user or @group name here) You could repeat this for individual printers if you wanted with the allow user = user. I personally have not done this but would be easy enough. By the way your [global] parameters look great, same as mine. I use Cups 1.1.8 and samba 2.2.8a along with CupsOmatic for the self loading drivers in SAMBA. Sweet, love CUPS and SAMBA. Hope that helps. >> Yeah, it really helps me that you come >> after I managed to get ANYTHING out of >> that printer, and say that all I do is wrong. >> The versions are the the one installed by >> RedHat Linux 9 (shrike). I installed the >> printer using the redhat utility, and I >> configured samba using, first the redhat >> utility, and then fiddling with the smb.conf. >> Any drivers used by the Windows clients are >> their own (postscript). Dont ask me how >> cupsomatic got in there, 'cause I dont know. >> Until you can come up with a better idea of >> installing the printer, I'll manage with this >> one, thank you very much. >> And just how is getting this to work properly >> confusing to others? >> /Bo >> -----Original Message----- >> From: samba-bounces+bosse=mellberg.org@lists.samba.org >> [mailto:samba-bounces+bosse=mellberg.org@lists.samba.org] On Behalf Of >> Kurt Pfeifle >> Sent: den 23 juni 2003 21:44 >> To: samba@lists.samba.org >> Subject: [Samba] Trouble with CUPS/SAMBA - Solved >> > SV: [Samba] Trouble with CUPS/SAMBA - Solved >> > Bo Mellberg bo.mellberg at jolife.se >> > Mon Jun 23 18:21:05 GMT 2003 >> > >> > >> > I solved the problem by using: >> > >> Which versions of CUPS and Samba are you using? >> And are you *really* still using the "cupsomatic"-PPD >> from Linuxprinting.org for that *PostScript*-printer?? >> > [global] >> > printing = cups >> > printcap name = lpstat >> > load printers = yes >> > >> > and in [printers]-section: >> > >> > [printers] >> > comment = All Printers >> > path = /var/spool/samba >> > browseable = no >> > guest ok = yes >> > writable = no >> > printable = yes >> > create mode = 0700 >> > print command = lpr -P %p -o raw %s -r >> > lpq command = lpstat -o %p >> > lprm command = cancel %p-%j >> > printer admin = @users >> > >> > With great help from: http://www.buberel.org/linux/cups-samba.php >> > >> > Hope it helps someone... >> I fear it does more confuse than help -- unless >> your version info is forthcoming.... >> Cheers, >> Kurt >> -- >> To unsubscribe from this list go to the following URL and read the >> instructions: http://lists.samba.org/mailman/listinfo/samba >> -- >> To unsubscribe from this list go to the following URL and read the >> instructions: http://lists.samba.org/mailman/listinfo/samba
Bo Mellberg bosse at mellberg.org> Mon Jun 23 23:31:26 GMT 2003 > > > Yeah, it really helps me that you come > after I managed to get ANYTHING out of > that printer,I am so very sorry, that I have not been *constatntly* watching the list for your feedback, and that once I had responded to your second mail also, your "SOLVED" mail appeared within a minute in my mailbox. Now that *some* feedback from you is forthcoming, it is not what was asked for, unfortunately.> and say that all I do is wrong.Did I say so? Did I say "All"? You have been asked a few very specific questions to help solve your problem which you never bothered to answer.> The versions are the the one installed by > RedHat Linux 9 (shrike).Now, if I knew by heart which versions of CUPS and Samba RH9 do install, I wouldn't need to ask further...> I installed the > printer using the redhat utility, and I > configured samba using, first the redhat > utility, and then fiddling with the smb.conf. > > Any drivers used by the Windows clients are > their own (postscript). Dont ask me how > cupsomatic got in there, 'cause I dont know. > > Until you can come up with a better idea of > installing the printer, I'll manage with this > one, thank you very much. > > And just how is getting this to work properly > confusing to others? >I tell you: * You was posting a smb.conf with a "print command = lpr -P %p -o raw %s -r" and some other manually set commands. * Your posted smb.conf is quite in opposition to what the smb.conf man page advices. * The "man page" says this: ".......If SAMBA is compiled against libcups, then printcap = cups uses the CUPS API to submit jobs, etc. Otherwise it maps to the System V commands with the -oraw option for printing, i.e. it uses lp -c -d%p -oraw; rm %s. With printing = cups, and if SAMBA is com-? piled against libcups, any manually set print command will be ignored." So *your* questions have been ansered. Maybe not well enough...> /Bo >Cheers, Kurt