~ K A L I ~
UNAME : Linux web63.extendcp.co.uk 4.18.0-553.56.1.el8_10.x86_64 #1 SMP Tue Jun 10 05:00:59 EDT 2025 x86_64SERVER IP : 10.0.187.63 -________-
CLIENT IP : 216.73.216.230 MINI SHELL D ZAB '
Current File : //usr/share/enscript/emacs.hdr |
%
% Emacs ps-print-buffer styled header.
% Copyright (c) 1995 Markku Rossi.
% Author: Markku Rossi <mtr@iki.fi>
%
%
% This file is part of GNU Enscript.
%
% Enscript is free software: you can redistribute it and/or modify
% it under the terms of the GNU General Public License as published by
% the Free Software Foundation, either version 3 of the License, or
% (at your option) any later version.
%
% Enscript is distributed in the hope that it will be useful,
% but WITHOUT ANY WARRANTY; without even the implied warranty of
% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
% GNU General Public License for more details.
%
% You should have received a copy of the GNU General Public License
% along with Enscript. If not, see <http://www.gnu.org/licenses/>.
%
% -- code follows this line --
%%DocumentNeededResources: font Helvetica
%Format: eurdatestr %E
%Format: pagenumstr $V$%/$=
% Fonts.
/Helvetica /HeaderFont-Bold MF
/HeaderF /HeaderFont-Bold findfont 12 scalefont def
/Helvetica /HeaderFont-Large MF
/HeaderLF /HeaderFont-Large findfont 12 1.3 mul scalefont def
/do_header { % print emacs header
gsave
d_header_x d_header_y translate
0 setgray
.5 setlinewidth
% black shadow
1 0 d_header_w 1 sub d_header_h 1 sub Box fill
% gray box with black frames
0 1 d_header_w 1 sub d_header_h 1 sub Box
gsave
.9 setgray fill
grestore
stroke
% texts
/xmarg 5 def
% Top line.
HeaderLF setfont
/y d_header_h 12 div d_header_h 2 div add def
xmarg y moveto ftail show
pagenumstr dup stringwidth pop
d_header_w exch sub 1 sub xmarg sub y moveto show
% Bottom line
HeaderF setfont
/y d_header_h 6 div def
xmarg y moveto fdir show
eurdatestr dup stringwidth pop
d_header_w exch sub 1 sub xmarg sub y moveto show
grestore
} def
Coded by KALI :v Greetz to DR HARD ../ kali.zbi@hotmail.com