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

An Unruly Ruler

Does the ruler in Word seem to have a mind of its own? If you have problems understanding why the ruler behaves as it ...

Discover More

Ignoring Smart Quotes when Comparing Text

When comparing two pieces of text, you may find that Word's smart quotes can mess up the comparison. Here's a quick way ...

Discover More

Deleting Multiple Building Blocks

Building Blocks can be a powerful timesaver when developing your documents. Being able to delete multiple Building Blocks ...

Discover More

Do More in Less Time! Are you ready to harness the full power of Word 2013 to create professional documents? In this comprehensive guide you'll learn the skills and techniques for efficiently building the documents you need for your professional and your personal life. Check out Word 2013 In Depth today!

More WordTips (ribbon)

Using Sequential Document Serial Numbers

Need to add a unique serial number to each printed copy of your document? Here's a quick way to print such numbered versions.

Discover More

Upside-Down Text with PostScript

Got a printer that understands PostScript? You can use some simple PostScript coding to turn text completely upside down ...

Discover More

Printing a Full Style Sheet

Word supports the use of styles (they are very powerful), but it doesn't provide a way to get a full-featured style sheet ...

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 three more 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.