2 % Default simple header.
3 % Copyright (c) 1995 Markku Rossi.
4 % Author: Markku Rossi <mtr@iki.fi>
8 % This file is part of GNU enscript.
10 % This program is free software; you can redistribute it and/or modify
11 % it under the terms of the GNU General Public License as published by
12 % the Free Software Foundation; either version 2, or (at your option)
15 % This program is distributed in the hope that it will be useful,
16 % but WITHOUT ANY WARRANTY; without even the implied warranty of
17 % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 % GNU General Public License for more details.
20 % You should have received a copy of the GNU General Public License
21 % along with this program; see the file COPYING. If not, write to
22 % the Free Software Foundation, 51 Franklin Street, Fifth Floor,
23 % Boston, MA 02110-1301, USA.
26 % -- code follows this line --
27 %Format: fmodstr $D{%a %b %d %H:%M:%S %Y}
28 %Format: pagenumstr $V$%
30 /do_header { % print default simple header
32 d_header_x d_header_y HFpt_h 3 div add translate
36 5 0 moveto user_header_left_str show
38 d_header_w user_header_center_str stringwidth pop sub 2 div
39 0 moveto user_header_center_str show
41 d_header_w user_header_right_str stringwidth pop sub 5 sub
42 0 moveto user_header_right_str show
45 45 0 rmoveto fmodstr show
46 45 0 rmoveto pagenumstr show