Date: Wed, 04 Apr 2001 16:05:00 Ok, I don't know the old BSD printing stuff but LPRng always worked for me. If I have trouble with SuSE rpms I wouldn't trust the SuSE source to fix my problems. I went for the original source by the author. I did uninstall lprng.rpm I pulled down the latest source: ftp://ftp.astart.com/pub/LPRng/LPRng/LPRng-3.7.4.tgz ungzip and untar. Then I did a ./configure It wouldn't configure because it complained it couldn't find gdbm.h file. So I did a rm config.cache and did ./configure --disable-gdbm make make install Note that this installs the binaries not in the usual SuSE locations. They are in /usr/local/bin and /usr/local/sbin and /usr/local/etc hence I did ln -s /etc/printcap /usr/local/etc/printcap I left the binaries in their location and adjusted the paths in /etc/smb.conf It also puts a script into /etc/init.d/lprng You need to put links to the run time versions in the sub rc{x}.d directories as it advises you to. I have symbolic links: /etc/init.d/rc0.d/K60lprng /etc/init.d/rc2.d/S60lprng /etc/init.d/rc4.d/S60lprng /etc/init.d/rc6.d/K60lprng /etc/init.d/rc1.d/K60lprng /etc/init.d/rc3.d/S60lprng /etc/init.d/rc5.d/S60lprng which all point to /etc/init.d/lprng I am not sure if they work as I have not rebooted since installation. After installation make sure you run checkpc This program checks your printer setup. It will most likely complain about permissions/ownership settings in /var/spool/lpd/* It also fixes the problems it reports by running checkpc -f My permissions had to be reset which surprised me: /var/spool: drwxr-xr-x 3 lp lp 56 Mar 31 14:00 lpd drwxrwxrwt 2 root root 35 Apr 3 17:35 samba /var/spool/lpd: drwx------ 2 daemon daemon 273 Apr 3 17:35 smurf /var/spool/smurf: -rw------- 1 daemon daemon 48561 Apr 3 17:35 acct -rw------- 1 daemon daemon 0 Mar 31 14:06 control.smurf -rw------- 1 daemon daemon 200 Apr 2 17:32 log -rw------- 1 daemon daemon 68 Apr 3 17:35 lpq -rw------- 1 daemon daemon 9090 Apr 3 17:35 lpq.0 -rw------- 1 daemon daemon 0 Apr 3 17:35 smurf -rw------- 1 daemon daemon 3120 Apr 3 17:35 status -rw------- 1 daemon daemon 7635 Apr 3 17:35 status.smurf -rw------- 1 daemon daemon 0 Apr 1 20:46 temp00oImtTV -rw------- 1 daemon daemon 6 Apr 3 17:35 unspooler.smurf There is a detailed how to on LPRng at: http://www.astart.com/LPRng/LPRng.html mk PS: my /etc/smb.conf printer section and /etc/printcap file: # smurf:cm=Network Printer smurf:\ :lp=smurf.mydomain.com%9100:\ :sd=/var/spool/lpd/%P:\ :ifhp=model=hp2100,status@:\ :sh:\ :filter=/usr/local/libexec/filters/ifhp:\ :mx#0 # <cut> [printers] path = /var/spool/samba print ok = yes printing = lprng printable = yes ; linked to /etc/printcap printcap name = /usr/local/etc/printcap guest ok = yes public = yes [smurf] path = /var/spool/samba print ok = yes printing = lprng printable = yes guest ok = yes public = yes print command = /usr/local/bin/lpr -P%p -r %s lpq command = /usr/local/bin/lpq -P%p lprm command = /usr/local/bin/lprm -P%p %j lppause command = /usr/local/sbin/lpc hold %p %j lpresume command = /usr/local/sbin/lpc release %p %j queuepause command = /usr/local/sbin/lpc -P%p stop queueresume command = /usr/local/sbin/lpc -P%p start
From: Mark Daglish
To: Purple Shirt , suse-linux-e Subject: Re: [SLE] Samba printers under 7.1 Date: Wed, 4 Apr 2001 16:14:46 +0100 Hi MK,
I discovered this problem the last weekend. The SuSE lprng.rpm is not working(at least under 2.4.2-4GB) for sharing samba printers with
clients.
You must uninstall lprng.rpm and compile your own. See this thread:
http://lists.suse.com/archives/suse-linux-e/2001-Apr/0139.html
You do not need to change the Samba rpms. They are working fine.
mk
I recently upgraded (well fresh install) from SuSE 7.0 to 7.1. Ever since then I can't get the network printers on the windows machines in the office to work. They used to work fine under 7.0. I am
installing
them with Yast2. I am not using CUPS. I can send the test pages to
printers but they come out very wrong. The most important one to get working is an Epson Stylus Colour 600 on a Win95 box. It prints about 6cms of green gecko with white horizontal stripes then moves on to the next page and prints a vague outline of the next bit of the test page then next page. That's as far as I let it go before deleting the job.
What changed from 7.0 to 7.1 (apart from kernel 2.4.2 that I'm using) that might account for this?
Any suggestions gratefully received,
Thanks, I tried to do what you suggested - using the source rpm from the SuSE 7.1 CD7. However, I got myself in a hugh mess with the install from the
Windows the sources. I was getting errors like lpd [30575]: Getprintcap_pathlist: entry not filter or absolute pathname 'etc/printcap' among others. I could also no longer print to the local printer either. However, in the course of all this I also noticed that I hadn't been using LPRng anyway, I had got LPRold installed.
Your email from the archives seemed to suggest that installing the sources was everso straightforward. Unfortunately it appears to be beyond my meagre IQ.
Any further hints most welcome.
regards,
Mark
_________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com