[comp.sys.sun] CGM Format

hermann@frodo.tech.nwu.edu (02/16/90)

I have bought the graphics package PHIGS from Sun and need to get a
printer that is suitable to print that graphics also. Apparently PHIGS
only produces output on the screen or on file in the CGM format. 

Does anybody know of a program that translates CGM format into postscript?
Is there a postscript driver available for PHIGS?  Is there another
possibility (besides screen-dumps)?

Thanks
Hermann Riecke
HRIECKE@NUACC.BITNET

herzog@sun.com (Brian Herzog) (02/25/90)

> X-Sun-Spots-Digest: Volume 9, Issue 37, message 7

> Does anybody know of a program that translates CGM format into postscript?

Precision Visuals, Inc. (PVI), a Sun Catalyst vendor, has such a product.
It interprets CGM files from SunGKS and SunPHIGS.  Last I heard, they had
drivers for:  Sunraster (for on-screen previewing), PostScript (mono,
greyscale and color), HPGL, and CalComp (pen and electrostatic).  For
current information and pricing, contact:

Precision Visuals, Inc.
6260 Lookout Road
Boulder, CO  80301

(303) 530-9000

Caveat Emptor:  Catalyst product information is provided by the vendors.
"Sun Microsystems, Inc. has not qualified or reviewed any claims made about
product features or functions and is not responsible for their accuracy."

Brian Herzog
herzog@sun.com

davis@karl.ucar.edu (Glenn P. Davis) (02/27/90)

[ The Question is how to go from CGM to PostScript. herzog@sun.com
[ suggests Precision Visuals . . .

SunGKS supports CGM as an input workstation and a PostScript as an output
workstation.  So, if you have SunGKS, you can write a very simple GKS
program that opens the CGM file as an input and PostScript as output ...
This is the sort of thing GKS is good at.

Note there is a bug in SunGKS (Bug ID 1025729, originally reported 15 Feb
*1989* !), which prevents it from properly interpreting 'short form' CGM
strings.  Many systems, including NCAR Graphics, will generate these for
'TEXT' primitives whose length is less than 255.  You will have no problem
with CGM files produced by SunGKS, however.

Glenn P. Davis
UCAR / Unidata
PO Box 3000                   1685 38th St.
Boulder, CO 80307-3000        Boulder, CO  80301

(303) 497 8643