home *** CD-ROM | disk | FTP | other *** search
/ Geek Gadgets 1 / ADE-1.bin / ade-alpha / enscript-1.4.0-bin.lha / share / enscript / simple.hdr < prev    next >
Encoding:
Text File  |  1996-10-14  |  1.2 KB  |  44 lines

  1. % Default simple header.
  2. % Copyright (c) 1995 Markku Rossi.
  3. % Author: Markku Rossi <mtr@iki.fi>
  4. %
  5.  
  6. %
  7. % This file is part of GNU enscript.
  8. % This program is free software; you can redistribute it and/or modify
  9. % it under the terms of the GNU General Public License as published by
  10. % the Free Software Foundation; either version 2, or (at your option)
  11. % any later version.
  12. %
  13. % This program is distributed in the hope that it will be useful,
  14. % but WITHOUT ANY WARRANTY; without even the implied warranty of
  15. % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  16. % GNU General Public License for more details.
  17. %
  18. % You should have received a copy of the GNU General Public License
  19. % along with this program; see the file COPYING.  If not, write to
  20. % the Free Software Foundation, 59 Temple Place - Suite 330,
  21. % Boston, MA 02111-1307, USA.
  22. %
  23.  
  24. % -- code follows this line --
  25. %Format: fmodstr    $D{%a %b %2d %T %Y}
  26.  
  27. /do_header {    % print default simple header
  28.   gsave
  29.     d_header_x d_header_y HFpt 3 div add translate
  30.  
  31.     HF setfont
  32.     user_header_p {
  33.       5 0 moveto user_header_str show
  34.     } {
  35.       5 0 moveto fname show
  36.       45 0 rmoveto fmodstr show
  37.       45 0 rmoveto pagenum 10 string cvs show
  38.     } ifelse
  39.  
  40.   grestore
  41. } def
  42.