home *** CD-ROM | disk | FTP | other *** search
- /*
- gps.h - prelude text for GRAPH output to PostScript printer
- */
-
- char *prelude1[]=
- {
- "%!PS-Adobe-2.0\n",
- "%%Creator: James R. Van Zandt\n",
- "%%Title: GRAPH PostScript Output\n",
- "%%BoundingBox: 0 0 612 792\n",
- "%%Pages: 1\n",
- "%%EndComments\n",
- "%\n",
- "% GRAPH PostScript driver version ", VERSION, "\n",
- "%\n",
- "% This file is a printout from GRAPH intended for a PostScript printer. \n",
- "% The PostScript code is largely due to Thomas B. Passin. \n",
- "% The adaptation for GRAPH was written by James R. Van Zandt. \n",
- "% Thanks are also due to David Paul Feldman. His program GLOPS,\n",
- "% which converts an HPGL file into PostScript, inspired the\n",
- "% original PostScript version of GRAPH.\n",
- "%\n",
- "% This file includes structure comments required by Tom Passin's POSTOGRF, \n",
- "% which can be used to add labels.\n",
- "%\n",
- "% ------------------------ Prologue -------------------------------\n",
- "% DVIALW by Nelson H. F. Beebe (Beebe@Science.Utah.Edu)\n",
- "% is a program to convert a TeX DVI file into PostScript for the \n",
- "% Apple LaserWriter. This structure comment tells DVIALW which \n",
- "% part of a GRAPHPS plot to incorporate into a TeX document...\n",
- "%begin(plot)\n",
- "\n",
- "%Abbreviations\n",
- "/cpt /currentpoint load def\n",
- "/l /lineto load def\n",
- "/m /moveto load def\n",
- "/sd /setdash load def\n",
- "/sf /setfont load def\n",
- "/sg /setgray load def\n",
- "/st /stroke load def\n",
- "\n",
- "/inch { 72 mul } def\n",
- "/linethick 10 def %default line thickness\n",
- "\n",
- 0
- };
-
- /*
- setorigin definition goes here
- */
-
- char *prelude2[] =
- {
- "\n",
- "%FontDefinitions\n",
- "/font0 /Helvetica-Bold findfont 181 scalefont def\n",
- "%EndFonts\n",
- "%%EndProlog\n",
- "%%BeginSetup\n",
- "gsave\n",
- "statusdict /jobname (GRAPH) put\n",
- "statusdict /waittimeout 30 put\n",
- "newpath\n",
- "setorigin\n",
- "0.072 0.072 scale % set scale to 1/1000 inch\n",
- "linethick setlinewidth\n",
- "%%EndSetup\n",
- "%StartLabels\n",
- "%EndLabels\n",
- "\n",
- "%StartGraph\n",
- "[] 0 sd \n",
- "0 sg \n",
- 0
- };
-