GPHIGS creates an HPGL 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_HPGL_A4);
FORTRAN syntax:
OPEN(CONNID,FILE='my_file')
CALL POPWK(WKID,CONNID,72801)