Please Note: This article is written for users of the following Microsoft Word versions: 2007, 2010, and 2013. If you are using an earlier version (Word 2003 or earlier), this tip may not work for you. For a version of this tip written specifically for earlier versions of Word, click here: Sending Printer Commands.

Sending Printer Commands

by Allen Wyatt
(last updated January 2, 2018)

1

Word has an extensive range of field commands that can be used to increase the flexibility of your documents. One such field allows you to send commands directly to your printer, without interference from Word. To insert a Print field code in your document, follow these steps:

  1. Position the insertion point where you want the Print field to appear.
  2. Display the Insert tab of the ribbon.
  3. In the Text group, click the Quick Parts tool and then click Field. Word displays the Field dialog box. (See Figure 1.)
  4. Figure 1. The Field dialog box.

  5. Make sure (All) is selected in the Categories list at the left side of the dialog box. (It should be selected by default when the dialog box is first displayed.)
  6. Select Print from the Field Names list.
  7. In the Field Code box, after the Print statement, enter the information you want sent directly to the printer. This information should be enclosed within quote marks.
  8. Click on OK.

This technique is great if there are some advanced features of your printer that you want to take advantage of. For instance, I have used this technique in several other WordTips issues to show how to send PostScript commands directly a printer.

WordTips is your source for cost-effective Microsoft Word training. (Microsoft Word is the most popular word processing software in the world.) This tip (9567) applies to Microsoft Word 2007, 2010, and 2013. You can find a version of this tip for the older menu interface of Word here: Sending Printer Commands.

Author Bio

Allen Wyatt

With more than 50 non-fiction books and numerous magazine articles to his credit, Allen Wyatt is an internationally recognized author. He is president of Sharon Parq Associates, a computer and publishing services company. ...

MORE FROM ALLEN

Turning Off Line Numbering

Need to have line numbering turned off for a paragraph or two? You can accomplish the task by following these steps.

Discover More

Turning Off AutoFill for a Workbook

Don't want people using your workbook to be able to use AutoFill? You can add two quick macros that disable and enable ...

Discover More

Merging Formatted Data

Using the mail merge feature of Word, you can make data from Access databases accessible for your documents. How ...

Discover More

Comprehensive VBA Guide Visual Basic for Applications (VBA) is the language used for writing macros in all Office programs. This complete guide shows both professionals and novices how to master VBA in order to customize the entire Office suite for their needs. Check out Mastering VBA for Office 2010 today!

More WordTips (ribbon)

Printing Non-Printing Characters

Serious users of Word often display non-printing characters on-screen so they can see them easier. If you want those ...

Discover More

Printing Copy Numbers

Copy 1, Copy 2, Copy 3... Do you want to mark your printouts so that they are numbered? Here's how you can do it.

Discover More

Printing Images Based on Hidden Text Setting

When you print your document, the images in the document are normally printed. What if you want only some of your images ...

Discover More
Subscribe

FREE SERVICE: Get tips like this every week in WordTips, a free productivity newsletter. Enter your address and click "Subscribe."

View most recent newsletter.

Comments

If you would like to add an image to your comment (not an avatar, but an image to help in making the point of your comment), include the characters [{fig}] in your comment text. You’ll be prompted to upload your image when you submit the comment. Maximum image size is 6Mpixels. Images larger than 600px wide or 1000px tall will be reduced. Up to three images may be included in a comment. All images are subject to review. Commenting privileges may be curtailed if inappropriate images are posted.

What is two less than 5?

2018-11-30 14:19:09

Elliott M Coyne

What would these commands look like? For example I am trying to send PCL XL commands using this method but all I get from my printer is PCL IllegalTag errors.


This Site

Got a version of Word that uses the ribbon interface (Word 2007 or later)? This site is for you! If you use an earlier version of Word, visit our WordTips site focusing on the menu interface.

Newest Tips
Subscribe

FREE SERVICE: Get tips like this every week in WordTips, a free productivity newsletter. Enter your address and click "Subscribe."

(Your e-mail address is not shared with anyone, ever.)

View the most recent newsletter.