[comp.lang.postscript] Downloading Fonts from UNIX - how?

colin@gouldnl.encore.nl (Colin Smale) (04/11/91)

Hi,
	can anyone help me with a simple question?

I'm trying to download an Adobe type 1 font (I'm testing with Garamond
Light) to a LaserWriter II NTX.  Having got the font program itself
from a Mac using SendPS, by 'printing' a dummy Postscript file with
"%%IncludeFont: GaramLig" and sending the output to a file, I can
transfer this file to a UNIX system, convert CR's to NL's and trim the
top and tail off.  I am then left with a file which begins with
%%BeginFont and ends with %%EndFont.

I want to be able to use this font, both on a per-job basis (I'll handle
%%IncludeFont myself) and 'permanently' using an exitserver job.

When I try a permanent download with:
	%!
	serverdict begin
	0 exitserver
	%%BeginFont
	..
	%%EndFont

I get a 'syntaxerror' with offending command '--nostringval--' somewhere
near the beginning of the exec code.  The stack is:

	false
	-mark-
	true
	-savelevel-
	-mark-
	/OtherSubrs
	-dictionary-
	/Private
	-dictionary-
	-dictionary-
courtesy of Adobe's ehandler.ps.

With an 'embedded' download I get similar problems.

Can anyone help me?  Software is Adobe Transcript 2.1 by the way.