Petra,
> I am using a relatively simple programm that calls GKS and SPPS
> subroutines. Open and closing of the ps workstation is done as follows
>
> PARAMETER (IWKID=1)
> CALL GOPKS (IERRU, NOTUSED)
> CALL NGSETI('LX',LX)
> GSETI('LY',LY)
> CALL NGSETI('UX',IUX)
> CALL NGSETI('UY',IUY)
> IWTYPE = 26
> CALL GOPWK (IWKID, IRRELEVANT_FOR_PS, IWTYPE)
> CALL GACWK (IWKID)
>
> ...
>
> CALL GDAWK (IWKID)
> CALL GCLWK (IWKID)
> CALL GCLKS
>
> In the resulting, 1-page postscriptfile the final showpage command
> (defined as S previously in the ps-file) is missing. So I had to
> figure that out and than add it manually in order to be able to
> print the file.
>
> Petra Seibert
This is most likely caused by the failure to call FRAME:
CALL FRAME
before closing the workstation. Among other things, a call
to FRAME forces a showpage in PostScript output.
Fred Clare
---------------------------------------------
Fred Clare fred@ucar.edu 303-497-1284
Visualization & Enabling Technologies Section
NCAR Scientific Computing Division
---------------------------------------------
_______________________________________________
ncarg-talk mailing list
ncarg-talk@ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncarg-talk
This archive was generated by hypermail 2b29 : Thu Mar 04 2004 - 17:14:38 MST