home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Otherware
/
Otherware_1_SB_Development.iso
/
amiga
/
misc
/
alasewr
< prev
next >
Wrap
Text File
|
1992-11-11
|
3KB
|
85 lines
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
__
/ /\ Email: qngo@zimmer.csufresno.edu | quang@yosemite.csufresno.edu
__ / / / A ________ ________ __ ____ ________
/_/\/ / / G /_/ ____/_\_\ __//_/\ /_/ _\__ /_/ ____/ +-----------+
\ \ \/ / I \ \ \/ \ \ _\ \ \ \ \ \ \ / \ \ \ \/ | Quang Ngo +-----+
\ \ / M \ \ \ \ \ \ \ \ \ \ \ \/ / \ \ \ | +1 209 251-9359 |
\_\/ A \_\/ \_\/ \_\/ \_\__/ \_\/ +-----------------+