Microsoft KB Archive/66093

WinWord: Reverse Print (White on Black) with LaserJet III

PSS ID Number: Q66093 Article last modified on 10-25-1993

1.00 1.10 1.10a 2.00 2.00a 2.00a-CD 2.00b 2.00c 6.00 WINDOWS

Summary: You can use the Microsoft Word for Windows PRINT field to use the reverse printing capabilities of the Hewlett-Packard (HP) LaserJet III printer. This procedure requires the following steps: 1. Define and create a black rectangle. 2. Change the opaque mode of the graphic image. 3. Set the palette color to white for the image. The following is an example: {print &quot; p300x220Y c1500a600bc0P v0n1O *v1T“} Test Text {print v0T} Note: Read the above as: CTRL+F9 print space quotation mark ALT+027 p three zero zero x two two zero Y ALT+027 c one five zero zero a six zero zero b  c zero P ALT+027 * v zero n one O ALT+027 ''v one T endquote. Type the Test Text. CTRL+F9 print space ALT+027 ''v zero T. The first character before the asterisk, is the screen representation of the ALT+027 (ESC) character. The first section ''p300x220Y sets the cursor at the default margin position of Word for Windows (1.25 Left, 1.00 Top). The second section ''c1500a600b draws a rectangle with the dimensions of 1500 and 600 dots (at 300 dpi - 5 x 3). The ''c0P fills the rectangle with black. ''v0n1O sets the transparency mode. The ''v1T sets the palette color to white. All characters after this code are white until reset by the ''v0T. Chapter 12 of the”HP LaserJet III Technical Reference Manual&quot; discusses these commands in detail. For more information, contact Hewlett-Packard’s Personal Peripherals Assist Line at (208) 323-2551.

Reference(s): “HP LaserJet III Technical Reference Manual,” Chapter 12

Additional reference words: w4wprint w4wfield 1.0 1.1 1.1a 1.00 1.10 6.00 wm_word 1.10a 2.00 2.00a 2.00a-CD 2.00b 2.00c Copyright Microsoft Corporation 1993.