Microsoft KB Archive/79663

{|
 * width="100%"|

Printing Reverse Landscape Orientation on HP LaserJet

 * }

Q79663

-

The information in this article applies to:


 * Microsoft Word for MS-DOS, version 5.0

-

SUMMARY
In Microsoft Word for MS-DOS versions 5.0 and 5.5, you can modify the printer driver for your Hewlett-Packard (HP) LaserJet printer to rotate the text 270 degrees and print reverse landscape. This procedure is valid for all Word-supplied printer drivers for the HP LaserJet that support landscape printing.

The modification is made to the model block of the particular printer model you use. Use the MakePRD utility to convert your driver to a text file and find the model block for your printer. The OrientationFlag value will tell you how the printer is currently supported. If the value is O, the driver supports printing in portrait mode. If the value is 1, the driver supports printing in landscape mode. If the value is 2, the driver supports the printer's font autorotation feature.

For HP models that have font autorotation (the OrientationFlag is 2), modify the escape sequence of byte 92 from:

     byte:92 mod:8 &quot;^[&l?o6d0e0L&quot;  (Where &quot;?&quot; is a numeral) to:

     byte:92 mod:8 &quot;^[&l3o6d0e0L&quot; For HP models that do not support autorotation (the OrientationFlag is 0 or 1):


 * 1) Set the model block option &quot;OrientationFlag:&quot; to 1.
 * 2) Modify byte 92 as in the previous example.

Once the printer driver text file has been modified, save it in text format and use the MakePRD utility to convert it back to a printer driver.

Reference(s):

&quot;Hewlett-Packard LaserJet III Technical Reference Manual,&quot; pages 5 to 9

&quot;Printer Information for Microsoft Word,&quot; version 5.0, pages 219, 232

&quot;Printer Information for Microsoft Word,&quot; version 5.5, pages 314, 329

Additional query words: 5.00 5.50 reverse mirror image

Keywords : kbprint

Issue type :

Technology :