home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / sys / next / programm / 6069 < prev    next >
Encoding:
Internet Message Format  |  1992-09-09  |  1.9 KB

  1. Path: sparky!uunet!sun-barr!olivea!hal.com!decwrl!rosie!italian.next.com
  2. From: jpasqua@italian.next.com (Joe Pasqua)
  3. Newsgroups: comp.sys.next.programmer
  4. Subject: Re: strange color PS problem....
  5. Message-ID: <4945@rosie.NeXT.COM>
  6. Date: 9 Sep 92 15:59:12 GMT
  7. References: <6602@vtserf.cc.vt.edu>
  8. Sender: news@NeXT.COM
  9. Lines: 36
  10.  
  11. In article <6602@vtserf.cc.vt.edu> gbol@rglnext.geol.vt.edu (Gregory Lampshire)  
  12. writes:
  13.  
  14. > I am attempting to view SAS generated color PS on a NeXTdimensions.   
  15. > Here's what happens:
  16. > If I use YAP the image is in color.
  17. > If I use Preview the image is in B&W but dithered for color (ie the
  18. >     colored lines look like greyscale--they look bad).
  19. > If I use Mme2.0 and preview a color plot, the previewer uses color.
  20. > The SAS PS file is pretty trashy, no comments anywhere.  Anybody have a  
  21. > clue as to why my SAS PS file only is in color in Yap and not in Preview?   
  22. > Is it just very poor PS on SAS's part? (the SAS color ps file is using the  
  23. > setrgbcolor command.  I can see them in the file).
  24.  
  25.  
  26. If your SAS generated PostScript file does not contain at least minimal  
  27. Document Structuring Convention (DSC) comments, then Preview can't do much more  
  28. than effectively treat it as a print job. That's why it tells you that you can  
  29. only page through the document sequentially. When this is the case, you'll only  
  30. see grayscale output - no color.
  31.  
  32. Mma2.0 is producing correctly commented PostScript output - that's why the  
  33. Previewer shows it in color.
  34.  
  35. YAP ignores comments and shoves the PostScript code down to the window server  
  36. as is, so you get color. This means that if you have a multipage PostScript  
  37. file, the output of all the pages will show up overlaid on top of one another. 
  38.  
  39. Note also that some of the TranScript utilities won't work on PostScript  
  40. documents that don't conform to the DSC. For instance, you can't page reverse  
  41. such a file or print selected pages out of the middle.
  42.  
  43. Hope this helps explain things,
  44. joe
  45.