[ not really replying to myself, but reacting to requested config files received by direct email ]
On Thu, Feb 28, 2002 at 01:46:56AM +0100, Carel Fellinger wrote: > On Wed, Feb 27, 2002 at 04:41:41AM -0800, paul wrote: ... > > #PRINTCAP > > # Copyright (c) 1983 Regents of the University of > > California. > > I see you're editor has wrapped lines. A good thing in general, but > awfull when sending configuration files, as there layout matters. > So make sure you don't automatically wrap when sending config files, > or send them as attachement. I'll just assume that all the lines > that look funny are actually wrapped. Indeed all funny things were just line wrappings:) The printcap file looks fine to me. > > #lp|hplj4l|hplaserjet4plus: > > lp|hp4:\ > > :lp=/dev/lp0:\ > > :sd=/var/spool/lpd/lp:\ > > :if=/etc/magicfilter/hp4000t-filter:\ The above file is very similar to /etc/magicfilter/ljet4m-filter, but for the use of 600 instead of 1200 (dpi) in the dvips and pnmtops lines, the rejection of printing PCL files and for using the default `default' line instead of `text' in the last line. This filter file will only work when your printer is capable of printing Postscript. So check to make sure you have the Postscript option installed in the printer. The file itself looks okee. So the real problem is probably the missing printer commands and exim not being configured correctly. Mind you, those are two seperate issues. I'm eagerly waiting for the results of the tests I proposed below. > > Commands: > > cat filename > /dev/lp0 > > works but no cr or lf > > No lf are you sure? Dit you try very short lines? Try as root (the > leading spaces are here to make it stand out in the post and '# ' and > `> ' are computer prompts, ignore those; the rest has to be typed by you): > > # cat << EOF > /dev/lp0 > > a very short line > > a second line > > a final line > > << EOF > > This should produce output like: > > a very short line > a second line > a final line > > If so, this means > a) your printer is working > b) your printer needs filtering (magicfilter) to get ride ot the > stair-case effect shown above > > > > lp filename > > command not found > > lpr filename lpr not found > > lp -Plp (found in netscape only) > > sh lp not found > > The above three commands failing means you don't have a printer daemon > installed. Please give the output of the following command: > > # ps ax | grep lp > > There should be a line with `lpd' in it. > > > > files commented: > > /etc/exim.conf > > /etc/mailname > > I really don't understand what you mean with `file commented'. > Please be more specific. > > > > when taken out mail no longer is sent to [EMAIL PROTECTED] > > Now that I think of it, what was in those emails? > Just a message to tell that the printer isn't working? > And if so, it just means your email isn't set up properly either. > Can you send email locally from one user to an other on your own > machine? > > > > log file now says can't open exim. > > Okee, so let me guess: you renamed `/etc/exim.conf' to something else > so exim can't start anymore? > > > > I don't know how to use vi to get the last 10 lines > > To get the last 10 lines of the log: > > # tail -n 10 /var/log/syslog > > > exim is in /usr/sbin/exim (machine language) > > I can't find a reference to exim in /var/spool/lpd > > exim is the mail transport agent, it looks after getting mail out > of your machine or delivered locally. It has no knowledge of printers > what so ever. But it's quit possible that the printer daemon sends > emails to root to tell him of failures. > > > > I don't think dselect is working at full blast but > > here is what I got > > dselect lp unknown action string > > dselect lpr unknown action string > > dselect lprng unknown action string > > Well, that's not how you're supposed to use dselect. > Did you install Debian GNU/Linux yourself? > Anyhow, the info I needed can be obtained by the following commands: > > # dpkg -s lpr | head -n 2 > # dpkg -s lprng | head -n 2 > # dpkg -s magicfilter | head -n 2 > # dpkg -s cups | head -n 2 > # dpkg -s cupssys | head -n 2 -- groetjes, carel