home *** CD-ROM | disk | FTP | other *** search
/ Internet Magazine 2002 February / INTERNET88.ISO / pc / software / windows / bits / pdf995 / data1.cab / Program_Executable_Files / res / viewps2a.ps < prev    next >
Encoding:
Text File  |  2001-12-08  |  1.5 KB  |  36 lines

  1. %    Copyright (C) 1995 Aladdin Enterprises.  All rights reserved.
  2. % This file is part of GNU Ghostscript.
  3. % GNU Ghostscript is distributed in the hope that it will be useful, but
  4. % WITHOUT ANY WARRANTY.  No author or distributor accepts responsibility
  5. % to anyone for the consequences of using it or for whether it serves any
  6. % particular purpose or works at all, unless he says so in writing.  Refer
  7. % to the GNU General Public License for full details.
  8. % Everyone is granted permission to copy, modify and redistribute GNU
  9. % Ghostscript, but only under the conditions described in the GNU General
  10. % Public License.  A copy of this license is supposed to have been given
  11. % to you along with GNU Ghostscript so you can know your rights and
  12. % responsibilities.  It should be in a file named COPYING.  Among other
  13. % things, the copyright notice and this notice must be preserved on all
  14. % copies.
  15.  
  16. % $RCSfile: viewps2a.ps,v $ $Revision: 1.2.2.1 $
  17. % Display a file produced by ps2ascii with no switch or with -dCOMPLEX.
  18. % This is just a procset to read in before the file to display.
  19.  
  20. /init { 0.1 0.1 scale } bind def
  21. init
  22. /next { currentfile token pop } bind def
  23. /F { next next pop next exch selectfont } bind def
  24. /P { showpage init } bind def
  25. /S
  26.  { next next moveto
  27.    next dup stringwidth pop next exch div
  28.    gsave 1 scale show grestore
  29.  } bind def
  30. /C { next next next setrgbcolor } bind def
  31. /I { next next next next gsave 0.75 setgray rectfill grestore } bind def
  32. /R { next next next next rectfill } bind def
  33.