home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / os / mswindo / apps / 5179 < prev    next >
Encoding:
Internet Message Format  |  1992-11-21  |  2.8 KB

  1. Path: sparky!uunet!usc!zaphod.mps.ohio-state.edu!cs.utexas.edu!news
  2. From: swisher@cs.utexas.edu (Janet M. Swisher)
  3. Newsgroups: comp.os.ms-windows.apps
  4. Subject: Re: Postscript viewer for Windows and DOS
  5. Date: 21 Nov 1992 15:21:43 -0600
  6. Organization: CS Dept, University of Texas at Austin
  7. Lines: 62
  8. Message-ID: <lgta37INNq6r@boogie.cs.utexas.edu>
  9. References: <1992Nov21.160145.90666@vaxc.cc.monash.edu.au>
  10. NNTP-Posting-Host: boogie.cs.utexas.edu
  11.  
  12. In article <1992Nov21.160145.90666@vaxc.cc.monash.edu.au>
  13. neiger@vaxc.cc.monash.edu.au (Neiger) writes:
  14.  
  15. [info on where to find GSWIN deleted]
  16.  
  17. >The only problem is that it does not have any user interface yet.  That means
  18. >that if you want it to go you must send it a command line
  19. >eg. GS tiger.ps  (to display the file tiger.ps).
  20. >
  21. >If someone out there knows more about using GS please post.
  22.  
  23. I am not an expert in GhostScript.  The following is the entirety of
  24. my knowledge of GhostScript.  I hope it will save someone else the
  25. time I spent finding it out.
  26.  
  27. <begin brain dump>
  28.  
  29. GSWIN creates two windows for you: an interpreter window and an image
  30. window (which starts out as an icon and pops up when the image has
  31. been rendered).  If you start GSWIN without arguments (such as by
  32. double-clicking on its ProgMan icon), you can load files to view by
  33. typing commands at the interpreter's GS> prompt.  So, to load
  34. tiger.ps, you would type:
  35.  
  36.     (tiger.ps) run
  37.  
  38. If the file is a multi-page document, you hit return in the interpreter
  39. to go to the next page image. (There's no way to back up.)
  40.  
  41. Note that GhostScript uses C-like syntax, which interprets '\' as an
  42. escape character.  To specify DOS pathnames, you have to use either
  43. '/' or '\\'.  This is not necessary if you put the filename in the
  44. command line.  If you have certain directories where you usually store
  45. PS files, you can specify them in the GS_LIB environment variable, and
  46. GS will search there automatically.
  47.  
  48. You can use the 'selectdevice' command to send output to another
  49. device.  For instance, the following commands will print tiger.ps on a
  50. color DeskJet, in color:
  51.  
  52.     (cdjcolor) selectdevice
  53.     (tiger.ps) run
  54.  
  55. Oddly, the printer does not begin to print the image until you exit
  56. GSWIN.  I have found it more convenient to set up a batch file and PIF
  57. using GS for DOS to send PostScript to my printer.  BTW, you can find
  58. out what devices your installation can drive by typing:
  59.  
  60.     devicenames ==
  61.  
  62. The only Usenet newsgroup concerning GhostScript is
  63. gnu.ghostscript.bug.  It is mainly oriented towards bug reports rather
  64. than user questions.  Still, if you've read all the documentation and
  65. still can't figure something out, you might try there.
  66.  
  67. <end brain dump>
  68.  
  69. If anyone else has other tips on using GhostScript, and GSWIN in
  70. particular, please post.
  71.  
  72. -- 
  73. Don't take life so serious ... it ain't *no how* permanent. -- Porkypine. 
  74.