Automatic Paper Tray Switching on HP LaserJet in WinWord

Last reviewed: February 5, 1998
Article ID: Q75758
The information in this article applies to:
  • Microsoft Word for Windows versions 1.0, 1.1, 1.1a
  • Microsoft Word for Windows, versions 2.0, 2.0a, 2.0a-CD, 2.0b, 2.0c
  • Microsoft Word for Windows, versions 6.0, 6.0a, 6.0c
  • Microsoft Word for Windows 95, versions 7.0, 7.0a
  • Microsoft Word 97 for Windows

SUMMARY

Word 6.0, 7.0, 97

To switch paper trays in Microsoft Word versions 6.0, 7.0, and 97, choose Page Setup from the File menu, then choose the Paper Source tab. You can select a paper source in the First Page and Other Pages boxes. The options that appear in these boxes are those available for the printer currently selected in the Print dialog box. In the Apply To box, select the Whole Document or the This Point Forward option. If you select This Point Forward, Word will force a section break (which will also produce a page break).

Word 2.x

To switch paper trays in Microsoft Word for Windows version 2.0, choose Page Setup from the Format menu, then choose the Paper Source button. You can select a paper source in the First Page and Other Pages boxes. The options that appear in these boxes are those available for the printer currently selected in the Print Setup dialog box. In the Apply To box, select the Whole Document or the This Point Forward option. If you select This Point Forward, Word will force a section break (which will also produce a page break).

Word 1.x

When you are printing a Word for Windows document, you can switch paper trays automatically on a Hewlett-Packard (HP) LaserJet printer by using the PRINT field and HP LaserJet escape codes.

MORE INFORMATION

You can use the PRINT field, described on page 104 of the "Microsoft Word for Windows User's Reference," to embed printer control codes in a Word document. These codes go directly to the printer's processor. Enter the PRINT field as the very first item on the first page (or first of a series of pages) that you want to print from another tray. To do this, use the following steps:

  1. Press CTRL+F9, and type PRINT between the braces ({}).

  2. Press the SPACEBAR once.

  3. Type the escape character, 027, and type a double quotation mark. Enter the code used to switch trays, and another double quotation mark. The entire decimal code for Paper Feed Selection is as follows:

          027"&l#H"
    

    The result should appear as follows:

          {PRINT 027"&l#H"}
    

    where "#" is the numeric code of the feed option desired. The following is the list of the feed option numeric code and the corresponding feed option:

       Code    Feed Option
       ----    -----------
    
       0       page eject
       1       upper tray feed
       2       manual feed
       3       manual envelope feed
       4       lower tray
       6       envelope feeder (lower cassette on IIIP)
    
    
For example, the complete code to change the paper feed to manual is:

   {print 027"&l2H"}

The inserted fields will command the printer to print the following pages from the bin specified by the numeric code of the feed option inside the field. Consult the HP Technical Reference for other available codes and how to use them.

This method was tested on the HP IIP and IIIsi, and the Panasonic KX-P4450 and 4450i. The codes work as advertised with the HP printers; however, the codes cause the Panasonic printers to print reversed.

REFERENCES

"Microsoft Word for Windows User's Guide," version 2.0, pages 218-242

"Microsoft Word for Windows User's Reference," version 1.x, page 104

"The LaserJet Handbook" (Bennett & Randall, Brady Books, 1990, page 370


KBCategory:
KBSubcategory: kbfield
Additional query words: 1.0 1.1 1.1a 1.0 1.10 7.0 word95
word7 word6 6.0a 6.0c 6.0 6.0a 6.0c winword2 1.10a 2.0 7.0a
word97
winword
Keywords : kbfield kbprint
Version : 1.x 2.x 6.0 6.0a 6.0c 7.0 7.
Platform : WINDOWS


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: February 5, 1998
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.