MS-DOS Word/Works: Printing Problem and Fix



Microsoft and Apple have worked to resolve the problems of printing from
Microsoft Word 5.0 for the PC to an AppleTalk LaserWriter or Print Server.
(Users of Microsoft Works 2.0 for the PC may encounter the same problem and
take advantage of the same solution outlined below.)

Microsoft will support these changes and plans to complete and distribute a
new driver in the future.

The Problem
-----------
When using a spooler, users can't print (in PostScript mode) from within
AppleShare PC. If a spooler is not involved, a user can print once without
turning the LaserWriter off and then on.

This is because Microsoft sends two print jobs at one time--the first is the
initialization file; the second is the user's print job. They are separated by
a Control-D, the PostScript end-of-file character. The first part loads a
permanent dictionary into the LaserWriter's memory. It works fine the first
time. The second time a user prints, the LaserWriter sends a message to
AppleShare PC saying that the print job is aborted (because the dictionary is

already loaded). AppleShare PC then quits, and the second half (the user's
file) of the job doesn't print.

The solution is to modify Microsoft's POSTSCRP.INI and POSTSCRP.PRD files.

In order to print Microsoft Word 5.00 documents to an Apple LaserWriter through
the Appleshare Print Server's spooler, you must modify Word 5.00's POSTSCRP.PRD
print driver and POSTSCRP.INI initialization file.

Modifications to POSTSCRP.PRD:

You must first convert this binary file into a text file by running the
MAKEPRD.EXE conversion utility provided with Word 5.00.  For more information
on running MAKEPRD.EXE, consult Chapter 6, Using the MAKEPRD Program, in the
"Printer Information for Microsoft Word" manual.

1.  Use MAKEPRD to convert POSTSCRP.PRD from a binary file into a text file.

2.  Start Word and load the text file created by MAKEPRD.

3.  Use the Search command to locate the text string "byte:O".  The cursor will
   now be located on a line that reads:

   byte:O mod:O "%!PS-Adobe-2.0 ^M^JPSp"

   Remove the "%!PS-Adobe-2.0" header so the line reads:

   byte:O mod:O "^M^JPSp"


4.  Save the file as a text-only file, then quit Word.


5.  Convert the modified textg file back into a binary file with MAKEPRD.

Modifications to POSTSCRP.INI:

1.  Start Word and load POSTSCRP.INI.

2.  Remove line 1.  This line reads: %!PS-Adobe-2.0 ExitServer]

3.  Remove lines 8 through 15, which look like the following:

   %%BeginExitServer:O
   userdict/msinifile known
   {msinifile (POSTSCRP) eq {stop} if} if
   serverdict begin O exitserver
   userdict/msorigstate know {msorigstate restore} if
   save/msorigstate exch def
   /msinifile (POSTSCRP) def
   %%EndExitServer


4.  Modify the /PSI definition (line 21) by adding the PostScript command
   "Initmatrix" after the capital E and before the "90" so the line reads:

   def fonttable 1 get fontset E initmatrix 90 rotate 0-612 translate

5.  Modify the /PSp definition (line 25) by adding the PostScript command
   "Initmatrix" after the capital E and before the "save" command so the line
   reads:

   def fonttable 1 get fontset E initmatrix save statusdict begin

6.  Use the Search command to locate the text string "/PSe".  Remove the

   command "currentfile closefile" from the line so it reads:

   /PSe {restore end} bind def


7.  Move to the end of the file by pressing CTRL-PGDN.  Delete the first CTRL-D
   (diamond shaped) character.


8.  Save the file as a text-only file.

The POSTSCRP.PRD and POSTSCRP.INI files should now be compatible with the
Appleshare Print Server.


Published Date: Feb 18, 2012