home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / sys / mac / apps / 17560 < prev    next >
Encoding:
Text File  |  1992-11-23  |  2.9 KB  |  62 lines

  1. Newsgroups: comp.sys.mac.apps
  2. 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
  3. From: f0975893@jaguar.csc.wsu.edu
  4. Subject: Re: Postscript to PICT/TIFF ?
  5. Message-ID: <1992Nov23.114005.1@jaguar.csc.wsu.edu>
  6. Lines: 50
  7. Sender: news@serval.net.wsu.edu (USENET News System)
  8. Organization: Washington State University
  9. References: <1992Nov21.172709.45126@fourd.com> <1992Nov23.094436.9529@fys.ruu.nl>
  10. Date: 23 Nov 92 11:40:05 -0800
  11.  
  12. In article <1992Nov23.094436.9529@fys.ruu.nl>, walsteyn@fys.ruu.nl 
  13.     (Fred Walsteijn) writes:> 
  14. If you have access to a Unix system running GhostScript ("gs")
  15. > and the PBM tools then you might try the following script:
  16. > ------------------------------------------------------
  17. > #
  18. > # the GhostScript file "pstoppm.ps" must reside in the 
  19. > # same directory as this file !!!
  20. > #
  21. > gs -dNODISPLAY -q pstoppm.ps > /dev/null <<%EOF
  22. > ($1:r)ppm24run
  23. > quit
  24. > %EOF
  25. > ppmquant 256 $1:r.ppm | ppmtopict > $1:r.pict 
  26. > -----------------------------------------------------
  27. > Store this in an executable file named "pstopict"; put it in your 
  28. > "bin" directory and convert your ps file using the command:   
  29. >   pstopict yourfile.ps
  30. > The script will create the file yourfile.pict, which may resemble
  31. > the ps original (ha-ha).
  32.  
  33. As far as I know, ppmtopict only creates a 72dpi image of the ppm file.
  34. Unfortunately, this is fixed and not adjustable. If someone, or the author
  35. if he is reading this) would care to correct this so that the output was
  36. 300dpi, those of us with QuickDraw printers would be eternally greatful.
  37.  
  38. There is a workaround (that I have not tried yet) and that is to add the
  39. line "scale 4 4" to your postscript and then resize the PICT image to 
  40. 25% once you have it on the mac. You should get an image around 300dpi.
  41. As I said, a ppmtopict program that does this directly would be preferable.
  42.  
  43. > Transfer the file to your Mac in binary mode and set the file's creator
  44. > and type; or use CAP with a sensible extension mapping.
  45.  
  46. If you have ghostscript and the pbmtools installed, you might like to try
  47. ps2eps-mac (vers 1.1) for UNIX based systems. It is available from sumex
  48. in the /info-mac/unix directory I beleive. This creates an eps with
  49. embedded pict file in macbinary format. Once transferred to the 
  50. mac it can be read into WORD 5 (not 4 or below unfortunately). You then
  51. have a low-resolution PICT for the screen (72dpi) and embedded post-
  52. script for printing on a postscript printer. Any annotating performed
  53. on the PICT file is also added to the postscript. The picture may be
  54. resized etc. without any loss in picture quality. A great application
  55. for importing postscript output into a word document.
  56.  
  57. Richard
  58.   _\_   Richard J Appleyard  f0975893@jaguar.csc.wsu.edu
  59.  /   \  Washington State University  
  60. (   ) ) Voice (509) 335-7728  Fax (509) 335-9688 
  61.  \___/  "To err is human, but to really screw things up takes a computer!"
  62.