Microsoft KB Archive/50054

Word: Portrait HP DeskJet Drivers Incorrectly Print Landscape

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

4.00 5.00

MS-DOS

= SUMMARY =

When the HPDESK5.PRD (for Word Version 5.00) or DESKLGL.PRD (for Word Version 4.00) landscape printer drivers are used before any of the portrait HP DeskJet drivers, the printout remains in landscape orientation. The landscape drivers don’t reset the printer and the portrait DeskJet drivers don’t send portrait orientation codes to the printer before a print job.

To return to portrait orientation, turn the power off on the printer and then print with a portrait DeskJet driver.

The landscape DeskJet drivers can be modified to correctly switch from landscape to portrait orientation when exiting. To do this, enter the control code for portrait printing in the PCSD table of the driver in question.

Enter the following control code in the landscape driver, after byte:4 mod:0:

^[&l0O

Note: l is a lowercase letter l, 0 is a zero, and O is an uppercase letter O.

This resets the printer for portrait printing at the end of the document.

KBCategory: kbother KBSubcategory: Additional reference words:

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