Microsoft KB Archive/57568

Word 5.00: NEC P5200/P5300 Doesn’t Print Last Line

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

5.00

MS-DOS

= SUMMARY =

When printing to the NEC P5200 or wide-carriage P5300 with Word Version 5.00 using manual feed, the last line of the document will not be printed until the Select button on the printer is pressed.

This happens because Word is not sending a formfeed or carriage return at the end of the document.

This problem can be corrected by adding a formfeed at the end of the escape code at byte:120 in the PCSD table. To do this, use MAKEPRD.EXE to convert the NECP5200.PRD to a text file. Load the text file into Word. Search for byte:120 in the PCSD table. It should read as follows:

byte:120 mod:0 “[YR”

To add a formfeed, add ^L to the end of the escape sequence. The modified line should read as follows:

byte:120 mod:0 “[YR^L”

Save the file from Word as text-only and rerun MAKEPRD to convert the text file back into a binary PRD file. The modified PRD correctly moves onto the next sheet of paper.

KBCategory: kbother KBSubcategory: Additional reference words:

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