[comp.sys.mac.misc] Apple laser-writer code...

cgwst@unix.cis.pitt.edu (Gray Watson) (09/17/90)

I am writing a Asynch laser writer driver for my Sun Sparc station.  I have
to trick the Mac printer-driver into thinking that it has control of a
real laser-writer (I have a HP LaserJet III with HP Postscript board).

Graphics seem to be working okay accept for a few excentricities.  My
problem is when I go to print formatted text.  The laserwriter driver
asks politely what fonts the printer has online in the below ps text:

save/scratch 100 string def FontDirectory{pop = flush}forall systemdict/filenameforall known{(fonts/*){dup length 6 sub 6 exch getinterval = flush}scratch filenameforall}if(*) = flush restore

What is a proper response?

Also, what *exact* code does the laserwriter send back when it wants to print
a message on the macintosh screen??  Like Waiting for Mac9... etc.

I am using the APDA asynch laserwriter driver.  Now I think I should be
using something else.  What other asynch laser printer drivers are out there?

When I am all done with this puppy I plan to post the whole damn thing.
I hope someone never has to go through this again.

thanks for any help.
gray