[comp.sys.mac] Laserwriter, line width, Fortran

housen@ssc-vax.UUCP (Kevin Housen) (12/03/86)

I have been generating plots on a Mac via Absoft/Microsoft
Fortran and printing them on a Laserwriter.  However, when the plot
(which is actually stored as a picture) is printed, the default
linewidth is pretty thick.  I have tried to set the linewidth by
including PicComments in the picture but have had no luck.  Any
suggestions would be appreciated beyond the power of any descriptive
adjectives.  This is what Ive tried ...
(1) open a picture (with a reasonable clip rect)
(2) draw a few lines
(3) make a call to PicComment(182, 4, handle).  The 182 is supposed
    to identify a Postscript SetLineWidth command.  The handle
    leads to a Quickdraw point, which was set to (1,1).
(4) draw some more lines - presumably at the new line width.
(5) close the picture
(6) open the printer port, draw the picture into it, close etc.

The result is that all the lines are of the same (default) linewidth.
I have looked inside the picture and - sure enough- the PicComment
is embedded in it in the correct format (as per Tech notes #21 and
#91).  By the by, I am using a Mac Plus, version 2.2 of Fortran, and
version 3.1 of the Laserwriter driver.  

Has anyone encountered a similar problem - or know what I am doing
wrong?



                    Thanks in advance


                    Kevin Housen