Difference between revisions of "ACKFORM.hdr"
(No difference)
|
Revision as of 17:55, 4 July 2007
% % Enscript styled header. % Copyright (c) 1995 Markku Rossi. % Author: Markku Rossi <mtr@iki.fi> % % % This file is part of GNU enscript. % % This program 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 2, or (at your option) % any later version. % % This program 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 this program; see the file COPYING. If not, write to % the Free Software Foundation, 59 Temple Place - Suite 330, % Boston, MA 02111-1307, USA. % % -- code follows this line -- %%DocumentNeededResources: font Times-Bold Times-Roman %Format: moddatestr $W %Format: modtimestr $C %Format: pagenumstr $% % Fonts. /Times-Bold /HeaderFont-Bold MF /HeaderDateF /HeaderFont-Bold findfont 12 scalefont def /Times-Roman /HeaderFont-Times MF /HeaderHDRF /HeaderFont-Times findfont 14 scalefont def /HeaderPageNumF /Helvetica-Bold findfont 28.8 scalefont def /do_header { % print enscript header % ok... this is a quick postscript tutorial, the % denotes comment lines % PostScript is RPN, the numbers come first followed by an action % the section below draws the lines on the page % postscript uses a cartesian plane with the lower left being 0,0 % do not use negatives to describe exact coordinates, bad things will happen % one inch is approximately 72 points % to fully understand this do a web search for "thinking in postscript" and act like you are % using a macintosh :) you will understand when you get there % Lines 2 setlinewidth 25 425 moveto 493 425 lineto 25 425 moveto 25 35 lineto 45 425 moveto 45 35 lineto 420 425 moveto 420 35 lineto 492 425 moveto 492 35 lineto 25 35 moveto 493 35 lineto stroke % Label Headings /Helvetica-Bold 10 selectfont 435 628 moveto (Date:) show 72 562 moveto (Mail To:) show 142 452 moveto (Customer P.O. #) show 430 452 moveto (Tool Order #) show /Courier 10 selectfont } bind def