WD2000: WP$Y and WP$X Variables Produce Arguments Too Large (Out of Bounds) in PostScript FileID: Q220214
|
When you use the wp$y or wp$x variable in the PRINT field to produce a PostScript file, the drawing height or width may be too large and may cause an "out of bounds" condition.
Select the Use printer metrics to lay out document option, using the following steps:
Microsoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article.
PostScript drawing commands specified in a PRINT field operate only on the drawing rectangle that's defined by a group command. Word also defines variables (for example, wp$y and wp$x) for use with the PostScript commands specified in a PRINT field. Values represented by the variables are in points, which is the standard PostScript unit.
For more information about the PRINT field field codes, click Microsoft Word Help on the Help menu, type "Print field" in the Office Assistant or the Answer Wizard, and then click Search to view the topics returned.
Variable
Specifies
wp$y
The drawing height of the page, paragraph, row, or cell that the PRINT field is located in, depending on the Group argument used. If the "\p pic" argument is used, "wp$y" refers to the drawing height of the next picture before the end of the paragraph containing the PRINT field.
wp$x
The drawing width of the page, paragraph, row, or cell that the PRINT field is located in, depending on the Group argument used. If the "\p pic" argument is used, "wp$x" refers to the drawing width of the next picture before the end of the paragraph containing the PRINT field.
Additional query words:
Keywords : kbdta wd2000
Version : WINDOWS:2000
Platform : WINDOWS
Issue type : kbbug
Last Reviewed: May 13, 1999