From: gbcacm@ccs.neu.edu (Peter Sherwood)
Subject: How to print headers using lpr?
Date: 10 Oct 1994 16:48:31 GMT [thread overview]
Message-ID: <37br8v$fvq@narnia.ccs.neu.edu> (raw)
Under OSF/1 3.0, I'd like to have 'lpr <filename>' print a file to the
queued printer, an HP-4, as follows:
Set the printer to a non-standard font and pitch (I can supply the
byte stream to do this).
Paginate, with a header at the top of each page containing the full
path and filename, the file revision date/time, and the current
date/time.
Wrap lines longer than the page width.
The closest I can find is a utility 'pr', which does page headers, but
is a separate program. I'd consider writing an "input filter" ('if'
in printcap) if I could find some documentation on how to do so.
-----------------------------------------------------------------------------
Peter Sherwood
(617) 332-8880 (voice)
(617) 332-1675 (fax)
gbcacm@ccs.neu.edu
-----------------------------------------------------------------------------
reply other threads:[~1994-10-10 16:48 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox