Microsoft KB Archive/71372

Word 5.00: Printing with AppleShare Print Server

PSS ID Number: Q71372 Article last modified on 11-02-1994

5.00

MS-DOS

= SUMMARY =

The AppleShare Print Server, which is installed from a Macintosh computer, is a software package available from Apple Computer, Inc. The Print Server can be set up to allow the spooling of print jobs sent to an Apple LaserWriter PostScript printer connected to an AppleTalk network.

To print Microsoft Word version 5.00 documents to an Apple LaserWriter through the AppleShare Print Server’s spooler, Word 5.00’s POSTSCRP.PRD printer driver and POSTSCRP.INI initialization file must be modified.

= MORE INFORMATION =

Using unmodified POSTSCRP.PRD and POSTSCRP.INI files when printing to the AppleShare Print Server’s spooler results in an error page containing an “Offending Command” status. To get the POSTSCRP.PRD and POSTSCRP.INI to work correctly with the AppleShare Print Server’s spooler, apply the following modifications:

Modifications to POSTSCRP.PRD
For more information on running MakePRD.EXE, see Chapter 6, “Using the MakePRD Program,” in the “Printer Information for Microsoft Word” version 5.0 or 5.50 manual.

  Use MakePRD to convert POSTSCRP.PRD from a binary file into a text file called POSTSCRP.TXT. The command syntax for this is as follows: makeprd /t postscrp.prd postscrp.txt   Start Word and load the new file POSTSCRP.TXT.   Use the Search command in Word to locate the text string “byte:0”. The cursor will now be located on a line that reads as follows: byte:0 mod:0 “%!PS-Adobe-2.0 MJPSp” Remove the %!PS-Adobe-2.0 MJ header so the line reads as follows: byte:0 mod:0 “PSp”   Save POSTSCRP.TXT as a text-only file, then quit Word.   Use MakePRD to convert the modified POSTSCRP.TXT back into a binary file. The command syntax for this is as follows: MakePRD /P POSTSCRP.PRD POSTSCRP.TXT 

Modifications to POSTSCRP.INI
  Start Word and load POSTSCRP.INI.   Remove line 1. This line reads as follows: %!PS-Adobe-2.0 ExitServer </li>  Remove lines 8 through 15, which appear as follows: %%BeginExitServer: 0 userdict /msinifile known {msinifile (POSTSCRP) eq {stop} if} if serverdict begin 0 exitserver userdict /msorigstate known {msorigstate restore} if save /msorigstate exch def /msinifile (POSTSCRP) def %%EndExitServer </li>  Modify the /PSl definition (line 21) by adding the PostScript command “initmatrix” after the capital letter E and before the “90”, so that the line reads as follows: def fonttable 1 get fontset E initmatrix 90 rotate 0 -612 translate </li>  Modify the /PSp definition (line 25) by adding the PostScript command “initmatrix” after the capital letter E and before the “save” command, so that the line reads as follows: def fonttable 1 get fontset E initmatrix save statusdict begin </li>  Use the Search command to locate the text string “/PSe”. Remove the commands “currentfile closefile” from the line so that it reads as follows: /PSe {restore end} bind def </li>  Move to the end of the file by pressing CTRL+PGDN. Delete the first CTRL+D (diamond-shaped) character. </li>  Save POSTSCRP.INI as a text-only file. </li></ol>

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

KBCategory: kbprint kbnetwork KBSubcategory: Additional reference words: ============================================================================= Copyright Microsoft Corporation 1994.