[CLUE-Talk] Printing Man Pages
Jeffery C. Cann
jccann at home.com
Fri Dec 15 05:24:33 MST 2000
Ken,
If enscript won't work for you, edit your /etc/printcap file. There is 'pl'
attribute (default 66) which specifies the default lines per page. Slackware
uses BSD printcap & print services (your mileage with other distros may vary).
In my case, my current /etc/printcap entry for my 'ascii' type files:
# Hp 722c
ascii:\
:lp=/dev/lp0:\
:sd=/var/spool/lpd/ascii:\
:lf=/var/spool/lpd/ascii/log:\
:af=/var/spool/lpd/ascii/acct:\
:if=/usr/local/bin/ascii.if:\
:la:mx#0:\
:sh:sf:
If I want 50 lines per page, I would edit this to include the 'pl' attribute:
(:pl=50:)
# Hp 722c
ascii:\
:lp=/dev/lp0:\
:sd=/var/spool/lpd/ascii:\
:lf=/var/spool/lpd/ascii/log:\
:af=/var/spool/lpd/ascii/acct:\
:if=/usr/local/bin/ascii.if:\
:pl=50:\
:la:mx#0:\
:sh:sf:
Later,
Jeff
--
5:24am up 151 days, 16:14, 1 user, load average: 1.02, 1.11, 1.24
More information about the clue-talk
mailing list