Previous Next Up Title Contents Index Top Library

7.2. OPENING A POSTSCRIPT WORKSTATION

GPHIGS creates a PostScript file. The name of the file is defined by the connection identifier parameter of OPEN WORKSTATION.

C syntax:

popen_ws (ws_id , "my_file" , PWS_TYPE_POSTSCRIPT_BW_A4);

FORTRAN syntax:

OPEN(CONNID,FILE='my_file')

CALL POPWK(WKID,CONNID,80791)

The new file contains a prologue that defines the procedures used by GPHIGS. This prologue is read from a file called gphigs.ps, for the grayscale driver, and gphigs.psc, for the color driver, both of which may be found in the run_time directory . The file may be freely edited to include definitions specific to each printer or interpreter. E.g. the definition of character fonts may be changed.


Previous Next Up Title Contents Index Top Library