[comp.lang.postscript] PS preview problems

Sundar_Prasad@mtsg.ubc.ca (Sundar) (05/10/90)

I am using a DA called Smart Art on the Mac which has a function that 
allows a postscript file to be sent to our attached laserwriter and the 
printer sends back a bitmap which we then use to help us place the graphic 
properly in Pagemaker. I have had no problem with this technique on 
Postscript files generated on a mainframe. All I did was remove the 
showpage command at the end and fool around with the bounding box 
parameter in the file and managed to get very good results.
However, if I generate a postscript file using the F-key technique on the 
Mac itself (this is a graph generated by Wingz which I would like to 
format in Pagemaker), I have problems galore. Firstly, the postscript 
generated by the Mac is in short form (i guess its because the AppleDict 
procedure set is used to do the translation). I managed to determine that 
the instruction 'cp' had something to do with showpage and so I deleted 
it. In place of the question marks in the bounding box area, I put some 
numbers. However, if I try to do get a bitmap, the printer seems to 
indicate some translation activity, but all I get is a blank page. I feel 
it is something to do with the line:

T T -124 -120 3044 2328 100 288 288 1 F F F F T T T psu

in the sample file I am attaching below. I would be very thankful if 
someone could let me know what the above line does. It seems to use the 
coordinates of the PageBoundingBox parameter in some way to establish some 
scaling, but I can't make out anything.

Mac generated postscript file below (without laser prep):

%%CreationDate: Wednesday, May 9, 1990
%%Pages: (atend)
%%BoundingBox: ? ? ? ?   (i put 0 0 600 600 here)
%%PageBoundingBox: 120 124 2328 3044
%%For: Ocean Engg. Group
%%IncludeProcSet: "(AppleDict md)" 68 0
%%EndComments
%%EndProlog
%%BeginDocumentSetup
md begin

T T -124 -120 3044 2328 100 288 288 1 F F F F T T T psu
(Ocean Engg. Group; document: Untitled-Layer#1)jn
0 mf
od
%%EndDocumentSetup
%%Page: ? 1
op
0 0 xl
1 1 pen
0 0 gm
(nc 0 0 2920 2208 6 rc)kp
0 setlinecap
currentscreen
3 1 roll pop pop 60 45 3 -1 roll setscreen
64 gr
72 144 1080 1656 1 rc
16 16 pen
0 gr
15 25 453 683 0 rc
F T cp ..... (i deleted cp and added  ' save  RESTORE ' in its place)
%%Trailer
cd
end
%%Pages: 1 0
%%EOF

Sundar_Prasad@mtsg.ubc.ca  <Internet>
userffa3@ubcmtsg           <Bitnet>
Civil Engineering
UBC, Vancouver V6T 1W5
CANADA