Microsoft KB Archive/71371

From BetaArchive Wiki
< Microsoft KB Archive
Revision as of 18:58, 18 July 2020 by 3155ffGd (talk | contribs) (importing KB archive)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Modifications to POSTSCRP.INI for TOPS NetPrint

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

5.00 5.50

MS-DOS

SUMMARY

TOPS NetPrint is a terminate-and-stay-resident (TSR) printing utility that can be used with a PC TOPS Flashcard. NetPrint can be used to redirect print output sent to a local printing port (LPTx) to a PostScript printer connected to a TOPS (AppleTalk) network.

Modifications to the PostScript initialization file (POSTSCRP.INI) and the PostScript printer driver (POSTSCRP.PRD) are necessary to print from Microsoft Word version 5.00 to a PostScript printer using the TOPS NetPrint printing utility. Failure to modify POSTSCRP.INI may result in an “Offending Command” or “Stack Underflow” error message.

If you are printing from Word version 5.50, the modifications are already incorporated into the printer driver (PSNET.PRD) and initialization file (PSNET.INI). To install these files from the Word 5.50 Setup program, select “PostScript printer on a network” from the printer selection screen.

The following are the modifications to the Word 5.00 POSTSCRP.INI required for TOPS NetPrint:

  1. Remove line 1, which reads as follows:

    %!PS-Adobe-2.0 ExitServer

  2. Remove line 6, which reads as follows:

    %%msinifile: POSTSCRP

  3. Remove lines 8 through 15, which read 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

  4. Remove the words “currentfile closefile” from the /PSe definition (line 196) so that it reads as follows:

    /PSe {restore end} bind def

  5. Remove the CTRL+D (diamond-shaped character) at the very end of the file.

MORE INFORMATION

Modifications 1, 2, and 3 prevent the POSTSCRP.INI file from placing its PostScript definitions into a Word dictionary in the printer’s virtual memory. This omission will free up virtual memory required by the TOPS NetPrint printing software.

Modification 4 prevents Word from removing a Word print file from memory after it is printed. The TOPS NetPrint printing utility will remove the Word print file when it has determined that the file is finished printing.

Modification 5 prevents Word from sending an end-of-file character with a print file. The TOPS NetPrint utility will automatically send an end-of-file character after a time-out value has expired, or when you press SHIFT+F10.

KBCategory: kbsetup kbprint kberrmsg kbnetwork KBSubcategory: Additional reference words: setup

============================================================================= Copyright Microsoft Corporation 1994.