home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!usc!zaphod.mps.ohio-state.edu!cs.utexas.edu!news
- From: swisher@cs.utexas.edu (Janet M. Swisher)
- Newsgroups: comp.os.ms-windows.apps
- Subject: Re: Postscript viewer for Windows and DOS
- Date: 21 Nov 1992 15:21:43 -0600
- Organization: CS Dept, University of Texas at Austin
- Lines: 62
- Message-ID: <lgta37INNq6r@boogie.cs.utexas.edu>
- References: <1992Nov21.160145.90666@vaxc.cc.monash.edu.au>
- NNTP-Posting-Host: boogie.cs.utexas.edu
-
- In article <1992Nov21.160145.90666@vaxc.cc.monash.edu.au>
- neiger@vaxc.cc.monash.edu.au (Neiger) writes:
-
- [info on where to find GSWIN deleted]
-
- >The only problem is that it does not have any user interface yet. That means
- >that if you want it to go you must send it a command line
- >eg. GS tiger.ps (to display the file tiger.ps).
- >
- >If someone out there knows more about using GS please post.
-
- I am not an expert in GhostScript. The following is the entirety of
- my knowledge of GhostScript. I hope it will save someone else the
- time I spent finding it out.
-
- <begin brain dump>
-
- GSWIN creates two windows for you: an interpreter window and an image
- window (which starts out as an icon and pops up when the image has
- been rendered). If you start GSWIN without arguments (such as by
- double-clicking on its ProgMan icon), you can load files to view by
- typing commands at the interpreter's GS> prompt. So, to load
- tiger.ps, you would type:
-
- (tiger.ps) run
-
- If the file is a multi-page document, you hit return in the interpreter
- to go to the next page image. (There's no way to back up.)
-
- Note that GhostScript uses C-like syntax, which interprets '\' as an
- escape character. To specify DOS pathnames, you have to use either
- '/' or '\\'. This is not necessary if you put the filename in the
- command line. If you have certain directories where you usually store
- PS files, you can specify them in the GS_LIB environment variable, and
- GS will search there automatically.
-
- You can use the 'selectdevice' command to send output to another
- device. For instance, the following commands will print tiger.ps on a
- color DeskJet, in color:
-
- (cdjcolor) selectdevice
- (tiger.ps) run
-
- Oddly, the printer does not begin to print the image until you exit
- GSWIN. I have found it more convenient to set up a batch file and PIF
- using GS for DOS to send PostScript to my printer. BTW, you can find
- out what devices your installation can drive by typing:
-
- devicenames ==
-
- The only Usenet newsgroup concerning GhostScript is
- gnu.ghostscript.bug. It is mainly oriented towards bug reports rather
- than user questions. Still, if you've read all the documentation and
- still can't figure something out, you might try there.
-
- <end brain dump>
-
- If anyone else has other tips on using GhostScript, and GSWIN in
- particular, please post.
-
- --
- Don't take life so serious ... it ain't *no how* permanent. -- Porkypine.
-