home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / sys / hp / 9388 < prev    next >
Encoding:
Text File  |  1992-08-18  |  838 b   |  29 lines

  1. Newsgroups: comp.sys.hp
  2. Path: sparky!uunet!decwrl!world!lmh
  3. From: lmh@world.std.com (Larry M Headlund)
  4. Subject: Re: HPUX lp Print Header
  5. Message-ID: <Bt6pxK.16I@world.std.com>
  6. Organization: The World Public Access UNIX, Brookline, MA
  7. References: <1992Aug18.015122.14761@news.nd.edu>
  8. Distribution: usa
  9. Date: Tue, 18 Aug 1992 15:05:43 GMT
  10. Lines: 17
  11.  
  12. In article <1992Aug18.015122.14761@news.nd.edu> mandell@bach.helios.nd.edu (Dan Mandell) writes:
  13. >Is there a way to get utilities like HPUX's lp to print the 
  14. >name of the file printed somewhere on the banner page?
  15. >
  16. >
  17.     lp -tFILENAME FILENAME
  18.  
  19. or
  20.     cat FILENAME| lp -tFILENAME
  21.  
  22. The second example demonstrates why a general solution is not practical.
  23.  
  24. In csh or ksh you could set up an alias to do the work for you.
  25.  
  26.  
  27. -- 
  28. Larry Headlund  lmh@world.std.com    Eikonal Systems (617) 482-3345 
  29.