-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello, everyone - I've been trying for two weeks now to get my print server operational under Samba. After walking through the howtos and tweaking the configs per spec, it just ain't working. Printing from a client machine sends, and then nothing happens. No error messages or anything similar. Printing from the server works fine, but not from the clients. Setup: 4 machine network, 3 clients, 1 samba file/print server SuSE 7.3 running on all machines. HP 2P parallel printer on lp0 of server What else can I tell you to help figure this out? - -Dan Sawyer -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE9nJ7TaB8ur/y6V8gRArm9AJ9rRc8yhDm5Catchqv4SXedOqs5qwCfSWS/ 2IayciR10uTYysD/3F24UdE=TMQV -----END PGP SIGNATURE-----
Do you understand how printing works with samba? Essentially, you just transfer the file to the samba spool directory, and invoke lpr to print the file. You will need to look at your smb.conf file to see what is supposed to happen. I would set up a share just for your printer and not rely on the generic printer share that smb.conf comes with. Here is the sort of printer share I have: This take a postscript file as input, invokes lpr to print to queue ps on the server, which translates postscript files for my lexmark printer. Joel [ps] path = /tmp read only = No create mask = 0700 guest ok = yes hosts allow = 192.168. printable = Yes printing = lprng print command = echo %J %p %s >> /tmp/junkJ;\ a="`echo '%J' | sed "s/^.*- //"`" ;\ echo This is truncated $a >> /tmp/junkJ;\ /usr/bin/lpr -Pps -J"$a" %s;\ rm %s lpq command = /usr/bin/lpq -Pps lprm command = /usr/bin/lprm -Pps %j lppause command = /usr/sbin/lpc hold z53 %j lpresume command = /usr/sbin/lpc release z53 %j share modes = No use client driver = yes On Thu, Oct 03, 2002 at 12:47:27PM -0700, Dan Sawyer wrote:> -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hello, everyone - > > I've been trying for two weeks now to get my print server operational under > Samba. After walking through the howtos and tweaking the configs per spec, > it just ain't working. Printing from a client machine sends, and then > nothing happens. No error messages or anything similar. > > Printing from the server works fine, but not from the clients. > > Setup: > > 4 machine network, 3 clients, 1 samba file/print server > SuSE 7.3 running on all machines. > HP 2P parallel printer on lp0 of server > > What else can I tell you to help figure this out? > - -Dan Sawyer > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.0.6 (GNU/Linux) > Comment: For info see http://www.gnupg.org > > iD8DBQE9nJ7TaB8ur/y6V8gRArm9AJ9rRc8yhDm5Catchqv4SXedOqs5qwCfSWS/ > 2IayciR10uTYysD/3F24UdE> =TMQV > -----END PGP SIGNATURE----- > -- > To unsubscribe from this list go to the following URL and read the > instructions: http://lists.samba.org/mailman/listinfo/samba
> Message: 28 > From: Dan Sawyer <dsawyer@blenderwars.com> > Organization: ArtisticWhispers/Blenderwars > To: samba@lists.samba.org > Date: Thu, 3 Oct 2002 12:47:27 -0700 > Subject: [Samba] Print server on all linux network > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hello, everyone - > > I've been trying for two weeks now to get my print server operational under > Samba. After walking through the howtos and tweaking the configs per spec, > it just ain't working. Printing from a client machine sends, and then > nothing happens. No error messages or anything similar. > > Printing from the server works fine, but not from the clients. > > Setup: > > 4 machine network, 3 clients, 1 samba file/print server > SuSE 7.3 running on all machines. > HP 2P parallel printer on lp0 of server > > What else can I tell you to help figure this out?I don't think samba needs to be in this equation at all. samba is mainly for networking between unix and windows. If you don't have windows boxen, you shouldn't even need to have samba installed. The easiest way to get printing to work for multiple linux machines is to use CUPS. Install and start cups on all the machines, configure the printer on the server, and within 5 minutes all the machines should see the printer (via lpstat -t, and the queue via lpq). I don't know if SuSE 7.3 has CUPS, Mandrake has worked out-the-box for CUPS (and samba for our windows machines) since about 7.2 (before that Mandrake used lpr). You may have more luck on an SuSE specific list .... (my suggestion would be to run 'printerdrake', but it would only apply for Mandrake). Buchan -- |----------------Registered Linux User #182071-----------------| Buchan Milne Mechanical Engineer, Network Manager Cellphone * Work +27 82 472 2231 * +27 21 8828820x121 Stellenbosch Automotive Engineering http://www.cae.co.za GPG Key http://ranger.dnsalias.com/bgmilne.asc 1024D/60D204A7 2919 E232 5610 A038 87B1 72D6 AC92 BA50 60D2 04A7
> Message: 10 > From: Dan Sawyer <dsawyer@blenderwars.com> > Organization: ArtisticWhispers/Blenderwars > To: Joel Hammer <Joel@HammersHome.com>, samba@lists.samba.org > Subject: Re: [Samba] Print server on all linux network > Date: Sun, 6 Oct 2002 19:13:17 -0700 > > Second update: > > On the advice of someone else on this mailing list, I converted from BSD > printing to CUPS (still using samba).WHY?????? (using samba) You don't need samba to do printing between two unix boxen!!! You use samba to either share a printer on a unix box to windows clients, or you setup a print spooler from a unix box to a windows print share. If you're doing both, you're wasting your time ... You can either use bsd-style lpd, or you can use CUPS (usually much easier). We added a new printer to our network on Friday. Attached it to a Mandrake 9.0 box, set it up with CUPS, waited a few minutes and it popped up on our main print server (Mandrake 8.1), restarted samba on that box to force samba to pick up the new printer (since we share all the printers and their drivers out to the windows boxen via that box, since the windows boxen are more effort to configure than the linux boxen which pick all the printers up automatically). So, I would suggest you take this to a SuSE-specific list, since they will be able to tell you where to click (it won't help me telling you to run printerdrake). Buchan -- |----------------Registered Linux User #182071-----------------| Buchan Milne Mechanical Engineer, Network Manager Cellphone * Work +27 82 472 2231 * +27 21 8828820x121 Stellenbosch Automotive Engineering http://www.cae.co.za GPG Key http://ranger.dnsalias.com/bgmilne.asc 1024D/60D204A7 2919 E232 5610 A038 87B1 72D6 AC92 BA50 60D2 04A7