Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* How to print headers using lpr?
@ 1994-10-10 16:48 Peter Sherwood
  0 siblings, 0 replies; only message in thread
From: Peter Sherwood @ 1994-10-10 16:48 UTC (permalink / 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
-----------------------------------------------------------------------------


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1994-10-10 16:48 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1994-10-10 16:48 How to print headers using lpr? Peter Sherwood

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox