Thread View: comp.sys.next.programmer
4 messages
4 total messages
Started by Gregory Lampshire
Tue, 08 Sep 1992 23:22
strange color PS problem....
Author: Gregory Lampshire
Date: Tue, 08 Sep 1992 23:22
Date: Tue, 08 Sep 1992 23:22
27 lines
1149 bytes
1149 bytes
I am attempting to view SAS generated color PS on a NeXTdimensions. Here's what happens: If I use YAP the image is in color. If I use Preview the image is in B&W but dithered for color (ie the colored lines look like greyscale--they look bad). If I use Mme2.0 and preview a color plot, the previewer uses color. The SAS PS file is pretty trashy, no comments anywhere. Anybody have a clue as to why my SAS PS file only is in color in Yap and not in Preview? Is it just very poor PS on SAS's part? (the SAS color ps file is using the setrgbcolor command. I can see them in the file). -- Gregory Lampshire Virginia Tech Bradley Department of Electrical Engineering gbol@rglnext.geol.vt.edu (NeXTmail welcome) ------------------------ My opinions are my very own and do not reflect the opinions of any employer
Re: strange color PS problem....
Author: Steven M. Boker
Date: Wed, 09 Sep 1992 03:39
Date: Wed, 09 Sep 1992 03:39
22 lines
1533 bytes
1533 bytes
In article <6602@vtserf.cc.vt.edu> gbol@rglnext.geol.vt.edu (Gregory Lampshire) writes: > >I am attempting to view SAS generated color PS on a NeXTdimensions. > >The SAS PS file is pretty trashy, no comments anywhere. Anybody have a >clue as to why my SAS PS file only is in color in Yap and not in Preview? >Is it just very poor PS on SAS's part? (the SAS color ps file is using the >setrgbcolor command. I can see them in the file). > I don't know about the color, but we have had considerable trouble with SAS PostScript run through Preview crashing the windowserver. Not much fun. This is the only commercially generated PostScript we have had this problem with. I won't mention how I feel about SAS. Steve -- #====#====#====#====#====#====#====#====#====#====#====#====#====#====# # Steven M. Boker # "Two's bifurcation # # boker@virginia.edu # but three's chaotic" # #====#====#====#====#====#====#====#====#====#====#====#====#====#====#
Re: strange color PS problem....
Author: Dave Hess
Date: Wed, 09 Sep 1992 13:34
Date: Wed, 09 Sep 1992 13:34
52 lines
2108 bytes
2108 bytes
In article <6602@vtserf.cc.vt.edu> gbol@rglnext.geol.vt.edu (Gregory Lampshire) writes: > > I am attempting to view SAS generated color PS on a NeXTdimensions. > Here's what happens: > > If I use YAP the image is in color. > If I use Preview the image is in B&W but dithered for color (ie the > colored lines look like greyscale--they look bad). > If I use Mme2.0 and preview a color plot, the previewer uses color. > > > The SAS PS file is pretty trashy, no comments anywhere. Anybody have a > clue as to why my SAS PS file only is in color in Yap and not in Preview? > Is it just very poor PS on SAS's part? (the SAS color ps file is using the > setrgbcolor command. I can see them in the file). > Poor PostScript is probably your problem. If Preview doesn't see the proper header and page information in the document it will not display it in color. I usually add the following to a trashy PS document to get Preview to display it properly. Add/change the following at the top of the doc. %!PS-Adobe-2.0 %%EndComments %%BeginProlog Put the following just before the first page begins. %%EndProlog %%Page: 1 1 Put the following before the rest of the pages (usually after showpage's) where x is the proper page number. %%Page: x x That is usually enough to make Preview happy. Note that depending on the consistency of the output, you can probably automate these steps in a shell script (I've got one for PATRAN on the Cray). Hope that helps. Dave -- David K. Hess Graduate Assistant David-Hess@tamu.edu Supercomputer Center Texas A&M University
Re: strange color PS problem....
Author: Joe Pasqua
Date: Wed, 09 Sep 1992 15:59
Date: Wed, 09 Sep 1992 15:59
36 lines
2034 bytes
2034 bytes
In article <6602@vtserf.cc.vt.edu> gbol@rglnext.geol.vt.edu (Gregory Lampshire) writes: > I am attempting to view SAS generated color PS on a NeXTdimensions. > Here's what happens: > > If I use YAP the image is in color. > If I use Preview the image is in B&W but dithered for color (ie the > colored lines look like greyscale--they look bad). > If I use Mme2.0 and preview a color plot, the previewer uses color. > > The SAS PS file is pretty trashy, no comments anywhere. Anybody have a > clue as to why my SAS PS file only is in color in Yap and not in Preview? > Is it just very poor PS on SAS's part? (the SAS color ps file is using the > setrgbcolor command. I can see them in the file). If your SAS generated PostScript file does not contain at least minimal Document Structuring Convention (DSC) comments, then Preview can't do much more than effectively treat it as a print job. That's why it tells you that you can only page through the document sequentially. When this is the case, you'll only see grayscale output - no color. Mma2.0 is producing correctly commented PostScript output - that's why the Previewer shows it in color. YAP ignores comments and shoves the PostScript code down to the window server as is, so you get color. This means that if you have a multipage PostScript file, the output of all the pages will show up overlaid on top of one another. Note also that some of the TranScript utilities won't work on PostScript documents that don't conform to the DSC. For instance, you can't page reverse such a file or print selected pages out of the middle. Hope this helps explain things, joe
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads