home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.mac.apps
- Path: sparky!uunet!spool.mu.edu!caen!saimiri.primate.wisc.edu!usenet.coe.montana.edu!news.u.washington.edu!serval!jaguar.csc.wsu.edu!f0975893
- From: f0975893@jaguar.csc.wsu.edu
- Subject: Re: Postscript to PICT/TIFF ?
- Message-ID: <1992Nov23.114005.1@jaguar.csc.wsu.edu>
- Lines: 50
- Sender: news@serval.net.wsu.edu (USENET News System)
- Organization: Washington State University
- References: <1992Nov21.172709.45126@fourd.com> <1992Nov23.094436.9529@fys.ruu.nl>
- Date: 23 Nov 92 11:40:05 -0800
-
- In article <1992Nov23.094436.9529@fys.ruu.nl>, walsteyn@fys.ruu.nl
- (Fred Walsteijn) writes:>
- If you have access to a Unix system running GhostScript ("gs")
- > and the PBM tools then you might try the following script:
- > ------------------------------------------------------
- > #
- > # the GhostScript file "pstoppm.ps" must reside in the
- > # same directory as this file !!!
- > #
- > gs -dNODISPLAY -q pstoppm.ps > /dev/null <<%EOF
- > ($1:r)ppm24run
- > quit
- > %EOF
- > ppmquant 256 $1:r.ppm | ppmtopict > $1:r.pict
- > -----------------------------------------------------
- > Store this in an executable file named "pstopict"; put it in your
- > "bin" directory and convert your ps file using the command:
- > pstopict yourfile.ps
- > The script will create the file yourfile.pict, which may resemble
- > the ps original (ha-ha).
-
- As far as I know, ppmtopict only creates a 72dpi image of the ppm file.
- Unfortunately, this is fixed and not adjustable. If someone, or the author
- if he is reading this) would care to correct this so that the output was
- 300dpi, those of us with QuickDraw printers would be eternally greatful.
-
- There is a workaround (that I have not tried yet) and that is to add the
- line "scale 4 4" to your postscript and then resize the PICT image to
- 25% once you have it on the mac. You should get an image around 300dpi.
- As I said, a ppmtopict program that does this directly would be preferable.
-
- > Transfer the file to your Mac in binary mode and set the file's creator
- > and type; or use CAP with a sensible extension mapping.
-
- If you have ghostscript and the pbmtools installed, you might like to try
- ps2eps-mac (vers 1.1) for UNIX based systems. It is available from sumex
- in the /info-mac/unix directory I beleive. This creates an eps with
- embedded pict file in macbinary format. Once transferred to the
- mac it can be read into WORD 5 (not 4 or below unfortunately). You then
- have a low-resolution PICT for the screen (72dpi) and embedded post-
- script for printing on a postscript printer. Any annotating performed
- on the PICT file is also added to the postscript. The picture may be
- resized etc. without any loss in picture quality. A great application
- for importing postscript output into a word document.
-
- Richard
- _\_ Richard J Appleyard f0975893@jaguar.csc.wsu.edu
- / \ Washington State University
- ( ) ) Voice (509) 335-7728 Fax (509) 335-9688
- \___/ "To err is human, but to really screw things up takes a computer!"
-