home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.hp
- Path: sparky!uunet!decwrl!world!lmh
- From: lmh@world.std.com (Larry M Headlund)
- Subject: Re: HPUX lp Print Header
- Message-ID: <Bt6pxK.16I@world.std.com>
- Organization: The World Public Access UNIX, Brookline, MA
- References: <1992Aug18.015122.14761@news.nd.edu>
- Distribution: usa
- Date: Tue, 18 Aug 1992 15:05:43 GMT
- Lines: 17
-
- In article <1992Aug18.015122.14761@news.nd.edu> mandell@bach.helios.nd.edu (Dan Mandell) writes:
- >Is there a way to get utilities like HPUX's lp to print the
- >name of the file printed somewhere on the banner page?
- >
- >
- lp -tFILENAME FILENAME
-
- or
- cat FILENAME| lp -tFILENAME
-
- The second example demonstrates why a general solution is not practical.
-
- In csh or ksh you could set up an alias to do the work for you.
-
-
- --
- Larry Headlund lmh@world.std.com Eikonal Systems (617) 482-3345
-