In RedHat's control-panel utility, you can clock on the printer icon
and generate entries for your printer. It updates the /etc/printcap and
creates appropriate filters if necessary.
Run
control-panel
as root.
: i have recently installed linux (red hat) but have trouble printing.
: i've used "running linux" as a guide but it doesn't quite work. i am a
: novice and out of ideas.
: my /etc/printcap file includes if=/usr/sbin/myfilter where myfilter is
: either
: A) a link to the standard lpf filter
: B) a link to scriptfile that executes the following:
: nenscript -p-
: In case A the following commands work as desired
: lpr textfile.ps # where textfile.ps
: is, as suggested,
: in postscript
: format
:
: cat textfile | scriptfile | lpr # where scriptfile is as described
: above
: and textfile
: is not in ps format
:
: In case A the following command works as expected but
: not as desired in that it stairsteps; i.e. eol at end of line instead of
: eol and cr, which the printer needs
: lpr textfile
: In case B --- it seems to be a black hole ... nothing goes to the printer
: or
: anywhere else (i.e. not to the error file either).
: I can print, of course, but would like to fix things so that
: lpr textfile
: works. one final note, the ownership and permissions of scriptfile are the
: same as lpf.
: any advice? thanks.
--
Yoonsuck Choe