[comp.sys.sgi] Help - unix to vax to unix to postscript output

csax@helix.nih.gov (Carl Saxinger) (03/28/91)

I am running VAX programs on a unix machine (convex) in a shell
which is emulating a VAX.  Graphic output from the programs can
be sent to a postscript file.  The postcript version is PS-Adobe-1.0.
I get no graphics printed from my PI using such a file.  

Is there a utility which will convert v1.0 postscript to a form which
can be printed?  I am in my second day of waiting for a response from 
the "hotline" and am thinking that there must be a better way!

Thanks for the time
Carl Saxinger
 

ib@ivan.esd.sgi.com (Ivan Bach) (03/28/91)

Your PS code should always start with %!.  If your code starts with:

    %!PS-Adobe-1.0

try changing the first line of your PS programs to just:

    %!

There was a bug in the Adobe TranScript program which prevented the PS
programs that started with anything but the characters "%!" (followed 
by a line ending) from printing on some printers. 

You should be able to print v1.0 PS files without converting them. 

Can you print any PS file on your printer?  Can you display any PS file
on the screen of your video terminal by using the program 'psview'?
Try displaying your PS file by entering the command:

    psview PS-file-name

If nothing gets displayed, check the console window and the file 
/usr/adm/SYSLOG for PostScript error messages.

You said that you could not print your PS file on a PI.  Can you print
it on any other machine?  How do you know that your program is generating
valid PS programs?

Ivan Bach, ib@sgi.com
Any opinions expressed above are mine, not SGI's.

blbates@aero36.larc.nasa.gov (Brent Bates ViGYAN AAD/TAB) (03/29/91)

     Using psview wont show anything.  If it does work then you know the
file should work in the printer.  However, if psview doesn't work it means
nothing, because most files DON'T work with psview.  I hear that IRIX 4.0
will have Adobe Display PostScript, so maybe then we will have a working
psview.

	Brent L. Bates
	NASA-Langley Research Center
	M.S. 361
	Hampton, Virginia  23665-5225
	Phone:(804) 864-2854          FAX:(804) 864-6792
	E-mail: blbates@aero36.larc.nasa.gov or blbates@aero8.larc.nasa.gov