Microsoft Office Online
Sign in to My Office Online (What's this?) | Sign in

 
 
Microsoft Office Word
Search
Search
 
Check for updates: (c) Microsoft
Office downloads
 
 
 
Warning: You are viewing this page with an unsupported Web browser. This Web site works best with Microsoft Internet Explorer 6.0 or later, Firefox 1.5, or Netscape Navigator 8.0 or later. Learn more about supported browsers.

Email this linkEmail this link Printer-Friendly VersionPrinter-Friendly Version Bookmark and ShareShare
Field codes: Print field
 

{ PRINT "PrinterInstructions" }

Sends printer-control code characters to the selected printer. Microsoft Word displays a result only when the document is printed. For appropriate printer codes, consult your printer manual.

ShowLearn more about using the PRINT field to embed PostScript commands in a document

You can send PostScript programming strings to your printer by inserting PRINT fields in the document text. Microsoft Word sends the commands to the printer as native PostScript codes. PostScript commands embedded (embed: To insert information created in one program, such as a chart or an equation, into another program. After the object is embedded, the information becomes part of the document. Any changes you make to the object are reflected in the document.) in your document are carried out in the order in which you insert them. Use the following syntax:

{ PRINT \p Group "Codes" }

The y-coordinate space used for PostScript commands in Word is the same as for normal PostScript. The graphics origin (0,0) is in the lower-left corner of the page, and the positive directions are up and to the right. PostScript drawing instructions take place within a drawing rectangle. The graphics origin is translated to the lower-left corner of the drawing rectangle.

ShowInstructions

\p Group

Defines the drawing rectangle that the subsequent PostScript instructions operate on.

"Codes"

PostScript instructions. If the instructions contain more than one word, enclose them in quotation marks.

 Note   To print PostScript over text, click the Options command on the Tools menu, click the Print tab, and then select the Print PostScript over text check box.

 Note   The PRINT field works well with a PostScript printer or a Hewlett-Packard LaserJet printer, but it may not work properly with another type of laser printer. The PRINT field works with a dot-matrix printer only if the printer supports the PassThrough command.

advertisement