Re: Still having Printer Problems
Make a copy of your /etc/printcap and then run magicfilterconfig.
I think the "if" line should be something like
:if=/usr/sbin/ljet4l-filter
ljet4l-filter is a magicfilter script (it starts with
#! /usr/sbin/magicfilter).
All lines should end with a \ until the end of the printer description.
In the example below there is a blank line after lp and the sh line
doesn't end with a \ either.
On Mon, Oct 26, 1998 at 10:27:10AM -0600, Kent West wrote:
> At 06:18 AM 10/26/1998 -0600, you wrote:
> >OK, this is how my printcap looks. I still get the insidious message
> >'transfer to lp@localhost failed'
> >What could be causing this? OR, what can I change in my printcap that
> >mught get my printer working.
> >It is an HP660C but I would think I could still get garbage out of it by
> >typing 'lp test'?
> >
> >
> >Is there anything special I need to do to set up magicfilter other than
> >put it in my printcap?
> >
> >
> >
> >
> > lp:\
> >
> > :lp=/dev/lp1:\
> > :sd=/var/spool/lpd/lp:\
> > :mx#0:\
> > :sh:
> > :if=/usr/sbin/magicfilter:\
>
> Okay, after specifying the options in printcap, you then need to tell lpr
> to read that file. You can reboot (but why reboot? this ain't winders) or
> you can issue the command:
> lpc reread all
> This tells lpr/lpc to read all the entries in printcap. Or you could just say:
> lpc reread lp
> to read just the lp entries (if you had 20 printers defined, you might want
> to do this).
>
> Then to double-check what lpr/lpc read, issue the command:
> lpc printcap all
>
> I'd run this last command first, to see if the printer utility knows about
> the changes you've made in printcap, then do the "lpc reread all" command,
> then run the "lpc printcap all" command again to make sure the changes were
> read. Now try printing and see what happens.
>
> Kent
--
Lee Bradshaw lee@sectionIV.com (preferred)
Alantro Communications lee@alantro.com
Reply to: