[comp.sys.sgi] need psview help

weinhous@CASTOR.WUSTL.EDU ("Martin S. Weinhous") (07/08/90)

I would like to
(1)  do text and picture preparation on a Mac (using Microsoft Word
     4.00B, Mac System 6.0.5, and LaserWriter 6.0.1)
(2)  write the resulting Postscript file to the Mac's disk,
(3)  transfer the Postscript "text" file to our 4D120GTX (Irix 3.3),
(4)  and display the result with psview.

Items 2 and 4 are giving me fits! I've hacked the LaserWriter driver
to include a "Print to Disk" box and get a file labeled Postscript0.
This file seems to have some Apple specific stuff in the beginning.
When I try to display it on the Iris with psview, the psview window
immediately dissapears!

I've tried to get rid of the Apple specific stuff by using commond-K
when printing from Word (this is supposed to direct output to disk
rather than to LaserWriter -- and do so without the header). All I've
managed to do is incrementally kill another tree (waste paper).

Can anyone offer suggestions for doing items 2 and 4?

I'm going through this exercise because I want to use our Film Recorder
to produce 35mm slides of my documents. The Film Recorder only handles
NTSC video which I can achieve on the Iris (albeit showing only the lower
left quadrant of the screen), but not on the Mac.

The file Postscript0 follows. Maybe someone can tell me how to alter the
header (Apple specific stuff) so that psview can display it.

------------------------- cut here ------------------------------------
%!PS-Adobe-2.0
%%Title: junk
%%Creator: PrintMonitor
%%CreationDate: July 7, 1990
%%Pages: (atend)
%%BoundingBox: ? ? ? ?
%%PageBoundingBox: 18 8 594 784
%%For: weinhous
%%IncludeProcSet: "(AppleDict md)" 70 0
%%EndComments
%%EndProlog
%%BeginDocumentSetup
md begin

T T 0 0 776 576 -8 -18 784 594 100 72 72 1 F F F F F F T F psu
(weinhous; document: junk)jn
0 mf
od
%%EndDocumentSetup
%%Page: ? 1
op
0 0 776 576 fr
0 0 xl
1 1 pen
0 0 gm
(nc 0 0 0 0 6 rc)kp
0.09019 0.18431 0.14117 setrgbcolor
74 54 gm
(nc 0 0 776 576 6 rc)kp
0 gr
T 1 setTxMode
0 fs
bu fc
{}mark T /NewCenturySchlbk-Roman /|______NewCenturySchlbk-Roman 0 rf
bn
12 fz
bu fc
2 F /|______NewCenturySchlbk-Roman fnt
bn
(Test Document)show
F T cp
%%Trailer
cd
end
%%Pages: 1 0
%%EOF
------------------------- cut here ------------------------------------

Thanks in advance.

					Marty Weinhous

 weinhous@castor.wustl.edu	   Radiation Oncology, Washington U.
 !uunet!wucs1!dinorah!weinhous	   St. Louis, MO 63105, 314/362-2600

russell@CCU1.AUKUNI.AC.NZ (07/09/90)

I don't think that you will get psview to display output from Word. I
understand that it is not a complete implemantation of postscript and that
which is implemented is biased towards graphics. I have seen varying opinions
expressed in this group on this point. 

Assuming that psview is actually capable of displaying the file what you need
in addition to the postscript0 file is the laserprep file which contains the
definition of the 'Apple dependent stuff' that you observed. I am not a
Mac user and don't know the details of how to extract a file containing
the laserprep stuff. I have seen recipies for do so in some of the TeX related
discussions that I follow. I think there was a detailed article in Tugboat
(TeX Users Group journal) recently but I can't find it.

Russell.
--
+-----------------------------------------------------------------+
|  Russell Fulton		'phone +64 9 737-999 x 8955       |
|  Computer Centre		domain	rj_fulton@aukuni.ac.nz	  |
|  University of Auckland	fax     +64 9 303-2467		  |
|  Private Bag			time    gmt -12 (13) (summer time)|
|  Auckland, New Zealand.					  |
+-----------------------------------------------------------------+