Re: [expert] CUPS printers with Samba
Our printserver runs cups and samba. Once cups was working, restarting samba then loaded all the printers available on the network without any trouble. Of course I had to edit the print command for "raw" and "-r" (remove) Buchan Stephen Carville wrote: > > I just installed a Brother HL-1240 (very nice printer BTW) on my Linux box > and I want it to be sharable with my wife's NT computer. IN the 'old' > days of lpd I just defined a [printer] section in smb.conf and -- viola! > -- my printers were available to NT. With CUPS that does not seem to > work. I tried defining it thru SWAT but that does not work. > > I am sure this is simple procedure but the details have, so far, escaped > me. I used the "printing=cups" option suggested by the CUPS faq but I > still cannot see the printer as a printer from the NT box. Suggestions? > > -- > --Stephen Carville > http://www.heronforge.net/~stephen/gnupgkey.txt > == > All religions are equally vile. What the Aztecs did with people's > hearts, Judaeo-Christianity does with their minds. > L. Neil Smith > == -- |Registered Linux User #182071-| Buchan MilneMechanical Engineer, Network Manager Cellphone * Work +27 82 472 2231 * +27 21 808 2497 Stellenbosch Automotive Engineering http://www.cae.co.za
Re: [expert] CUPS printers with Samba
On Sun, 28 Jan 2001, Alen Salamun wrote: - Hi! - - Let me remind you, that you left out the "-r" parameter in "print command"! - So all files you'll print will be kept in /var/spool/samba (and fill up your - disk)! It is a bug in smb.conf example. I already reported it... Oops! Thanks! -- --Stephen Carville http://www.heronforge.net/~stephen/gnupgkey.txt == All religions are equally vile. What the Aztecs did with people's hearts, Judaeo-Christianity does with their minds. L. Neil Smith ==
Re: [expert] CUPS printers with Samba
Hi! Let me remind you, that you left out the "-r" parameter in "print command"! So all files you'll print will be kept in /var/spool/samba (and fill up your disk)! It is a bug in smb.conf example. I already reported it... Bye, Alen > [HL-1240] > path = /var/spool/samba > browseable = yes > guest ok = yes > writable = no > printable = yes > create mode = 0700 > print command = lpr-cups -P lp -o raw %s > lprm command = cancel %p-%j > > It works now... > > On Sat, 27 Jan 2001, Stephen Carville wrote: > > - I just installed a Brother HL-1240 (very nice printer BTW) on my Linux box > - and I want it to be sharable with my wife's NT computer. IN the 'old' > - days of lpd I just defined a [printer] section in smb.conf and -- viola! > - -- my printers were available to NT. With CUPS that does not seem to > - work. I tried defining it thru SWAT but that does not work. > - > - I am sure this is simple procedure but the details have, so far, escaped > - me. I used the "printing=cups" option suggested by the CUPS faq but I > - still cannot see the printer as a printer from the NT box. Suggestions? > - > - > > -- > --Stephen Carville > http://www.heronforge.net/~stephen/gnupgkey.txt > == > All religions are equally vile. What the Aztecs did with people's > hearts, Judaeo-Christianity does with their minds. > L. Neil Smith > == > > > >
RE: [expert] CUPS printers with Samba
I too had similiar trouble with Samba and CUPS after a new 7.2 installation. I found that I had to REMOVE all of the 7.2 cups RPMS (-e command) then install all of the updated RPMs. This fixed all my CUPS-Samba printing trouble. -JMS -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Stephen Carville Sent: Saturday, January 27, 2001 6:08 PM To: Mandrake Expert Subject: [expert] CUPS printers with Samba I just installed a Brother HL-1240 (very nice printer BTW) on my Linux box and I want it to be sharable with my wife's NT computer. IN the 'old' days of lpd I just defined a [printer] section in smb.conf and -- viola! -- my printers were available to NT. With CUPS that does not seem to work. I tried defining it thru SWAT but that does not work. I am sure this is simple procedure but the details have, so far, escaped me. I used the "printing=cups" option suggested by the CUPS faq but I still cannot see the printer as a printer from the NT box. Suggestions? -- --Stephen Carville http://www.heronforge.net/~stephen/gnupgkey.txt == All religions are equally vile. What the Aztecs did with people's hearts, Judaeo-Christianity does with their minds. L. Neil Smith ==
Re: [expert] CUPS printers with Samba
Solving my own problem. I had to explicitly define the print command and printer queue in the smb.conf file: [HL-1240] path = /var/spool/samba browseable = yes guest ok = yes writable = no printable = yes create mode = 0700 print command = lpr-cups -P lp -o raw %s lprm command = cancel %p-%j It works now... On Sat, 27 Jan 2001, Stephen Carville wrote: - I just installed a Brother HL-1240 (very nice printer BTW) on my Linux box - and I want it to be sharable with my wife's NT computer. IN the 'old' - days of lpd I just defined a [printer] section in smb.conf and -- viola! - -- my printers were available to NT. With CUPS that does not seem to - work. I tried defining it thru SWAT but that does not work. - - I am sure this is simple procedure but the details have, so far, escaped - me. I used the "printing=cups" option suggested by the CUPS faq but I - still cannot see the printer as a printer from the NT box. Suggestions? - - -- --Stephen Carville http://www.heronforge.net/~stephen/gnupgkey.txt == All religions are equally vile. What the Aztecs did with people's hearts, Judaeo-Christianity does with their minds. L. Neil Smith ==
[expert] CUPS printers with Samba
I just installed a Brother HL-1240 (very nice printer BTW) on my Linux box and I want it to be sharable with my wife's NT computer. IN the 'old' days of lpd I just defined a [printer] section in smb.conf and -- viola! -- my printers were available to NT. With CUPS that does not seem to work. I tried defining it thru SWAT but that does not work. I am sure this is simple procedure but the details have, so far, escaped me. I used the "printing=cups" option suggested by the CUPS faq but I still cannot see the printer as a printer from the NT box. Suggestions? -- --Stephen Carville http://www.heronforge.net/~stephen/gnupgkey.txt == All religions are equally vile. What the Aztecs did with people's hearts, Judaeo-Christianity does with their minds. L. Neil Smith ==