Mailinglist Archive: opensuse (3644 mails)

< Previous Next >
Re: [SLE] Printing HTML Source
  • From: "Jason A.Van Cleve" <jason@xxxxxxxxxxxx>
  • Date: Sun, 10 Mar 2002 20:15:50 -0800
  • Message-id: <20020310201550.22e3befd.jason@xxxxxxxxxxxx>
Hi,

Someone suggested konqueror, but I next a text mode solution. Another
suggested lpr -Plp -oraw filename, but that didn't work (again, my version of
lpr doesn't seem to have an -o option). So here's my /etc/printcap:

### BEGIN apsfilter: ### /etc/gs.upp/y2prn_lp.upp lp ###
# Warning: Configured for apsfilter, do not edit the labels!
# apsfilter setup Sun Dec 9 23:31:52 PST 2001
#
lp-ascii|lp1|y2prn_lp.upp--ascii-lp|y2prn_lp.upp ascii:\
:lp=/dev/lp0:\
:sd=/var/spool/lpd/y2prn_lp.upp--ascii-lp:\
:lf=/var/spool/lpd/y2prn_lp.upp--ascii-lp/log:\
:af=/var/spool/lpd/y2prn_lp.upp--ascii-lp/acct:\
:if=/var/lib/apsfilter/bin/y2prn_lp.upp--ascii-lp:\
:la@:mx#0:\
:tr=:cl:sh:
#
lp|lp2|y2prn_lp.upp--auto-lp|y2prn_lp.upp auto:\
:lp=/dev/lp0:\
:sd=/var/spool/lpd/y2prn_lp.upp--auto-lp:\
:lf=/var/spool/lpd/y2prn_lp.upp--auto-lp/log:\
:af=/var/spool/lpd/y2prn_lp.upp--auto-lp/acct:\
:if=/var/lib/apsfilter/bin/y2prn_lp.upp--auto-lp:\
:la@:mx#0:\
:tr=:cl:sh:
#
lp-mono|lp3|y2prn_lp.upp--auto-lp|y2prn_lp.upp auto:\
:lp=/dev/lp0:\
:sd=/var/spool/lpd/y2prn_lp.upp--auto-lp:\
:lf=/var/spool/lpd/y2prn_lp.upp--auto-lp/log:\
:af=/var/spool/lpd/y2prn_lp.upp--auto-lp/acct:\
:if=/var/lib/apsfilter/bin/y2prn_lp.upp--auto-lp:\
:la@:mx#0:\
:tr=:cl:sh:
#
lp-raw|lp4|y2prn_lp.upp--raw-lp|y2prn_lp.upp raw:\
:lp=/dev/lp0:\
:sd=/var/spool/lpd/y2prn_lp.upp--raw-lp:\
:lf=/var/spool/lpd/y2prn_lp.upp--raw-lp/log:\
:af=/var/spool/lpd/y2prn_lp.upp--raw-lp/acct:\
:if=/var/lib/apsfilter/bin/y2prn_lp.upp--raw-lp:\
:la@:mx#0:\
:tr=:cl:sh:
#
### END apsfilter: ### /etc/gs.upp/y2prn_lp.upp lp ###

I've tried cat'ting the file strait to /dev/lp0, but nothing happened. I'd
sure like to know why this one is so difficult, for I don't see why lpr should
be doing this conversion in the first place, especially on a .txt file.

--Jason V. C.

< Previous Next >