From: quang@draco.engr.csufresno.edu (Quang Ngo)
Newsgroups: comp.sys.amiga.emulations
Subject: Re: PostScript laser printers on parallel port with AMAX
Date: 12 Jan 93 07:11:57 GMT
Organization: California State University, Fresno

nygren@athena.mit.edu (Erik Nygren):
> -- 
> 
> I have an Amiga 500 running AMAX II with a PostScript laser printer
> attached to my parallel port.  Is there any way to print to this printer
> from the AMAX side directly from applications? Right now I have to save
> the PostScript file to disk, transfer it to an Amiga floppy, then
> copy it to par:.  Since this requires quitting AMAX, this can be
> time consuming.
> 
> Thank you.
> 
> Erik Nygren
> 
> __________________________________________________________________________
>                                      | Erik Nygren <nygren@athena.mit.edu>
>                APATHY IS             | 450 Memorial Drive
>                 SLAVERY              | Cambridge, MA 02139
>                                      | VOICE: 617/225-6384


Here's what I wrote in the past.  Hope it helps!
-Quang
-----------

To all Amax users who have a PostScript (non-Apple) printer hooked up to 
their Amiga:

These are some useful tips that I put together with the help from
Don Markuson (dmm@tiger1.Prime.COM) (Thanks Don) to modify an existing
LaserWriter printer driver so that it's possible to print to the PostScript
printer directly with just a few clicks.  We don't have to create a
PostScript file and then use 'filedump' to dump it anymore.  This 
modification takes care all that work.

What you need is an original copy of LaserWriter 7.0, 7.1, or 7.1.1 and
Resedit 1.2 or 1.2d2 (2.1 doesn't work on AmaxII 2.06, System 6.0.5).
LaserWriter can be ftp'ed from ftp.apple.com, and Resedit is available
from many ftp sites, such as sumex-aim.stanford.edu and 128.252.135.4.
If you have problem finding these 2 files, let me know and I'll mail
them to you.

Steps are:

1)

Using ResEdit on an unadulterated copy of LaserWriter 7.1, open POST -8161 
using the Hex Editor.  Pull down "Find Hex..." from the find menu and search 
                       for:  08 2525 454F 460D 5E65
              replace with:  09 2525 454F 460D 045E 65
                    (stringlen^  % %  E O  F^M ^D ^  e)

2)

In PDEF 123, make the following three changes using the Hex Editor:

LW Driver  Hex Offset   From Word    Change To            Reason
  7.0        0616         6700         6000      Use dflt name from STR# -8163
  7.0        06C8         4246         6068      Avoid _Create
  7.0        09B6         660C         600C      Avoid _SetEOF

  7.1    (same changes as for 7.0)

  7.1.1      061E         6708         6008      Use dflt name from STR# -8163
  7.1.1      06E2         4245         6068      Avoid _Create
  7.1.1      09D2         660C         600C      Avoid _SetEOF

3)

In STR# -8163, change PostScript to .Bout
Use .Bout if your printer is hooked up through the serial port or .Aout 
if parallel.

4)

In STR -8159, change Creating PostScript File to whatever you want.
For example, "Printing to NEC Silentwriter 2 model 90" or
             "Dumping PostScript file to printer"

5)

To disable the save-file dialog entirely (since it really doesn't make 
sense to save to a file if that file never gets properly closed),
ResEdit the LaserWriter driver's PDEF 4 (it's the same for 7.0, 7.1, & 7.1.1):

 Offset   From Word   Change To
 ------   ---------   ---------
  1D12       6600        6000    Skip over save-file dialog if PS file

6)

 Resource      Offset    From    To       Reason
PDEF     4      195E     001A   001B      PostScript as default
PACK -4096      000C     E0D2   60D2      Avoid AppleTalk

and can be applied to LaserWriter 7.0, 7.1, and 7.1.1.

Have fun!

Quang Ngo
Newsgroups: comp.sys.amiga.emulations