Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Dave
 
Posts: n/a
Default How do I use the PRINT field code to ...

I am using Word 2003 on Windows XP and I am trying to figure out how to use
the PRINT field code. My ultimate goal is to embed postscript/pdfmark code
to pass to the PDFMaker utility, which creates PDF files from Word documents.
I have experience using field codes and I have read the documentation for
the PRINT field code. My issue is with the /p para group flag for the PRINT
field code. I either have misunderstood the documentation, or it is not
working as advertised. I will illustrate with a simple example. Consider a
simple document with only one paragraph and using the PRINT field code to
print text over the paragraph as in this example:

The quick brown fox jumps over the lazy dog. The quick brown fox jumps over
the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown
fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog.
The quick brown fox jumps over the lazy dog. The quick brown fox jumps over
the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown
fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog.
{PRINT \p para "wp$x 2 div wp$y 2 div moveto 45 rotate /Helvetica findfont 12
scalefont setfont 0.5 setgray (hello) show "} The quick brown fox jumps over
the lazy dog. The quick brown fox jumps over the lazy dog.

I expected this to produce the word "hello" printed at a 45 degree angle
over the center of the paragraph €” instead only the regular text appears with
no discernable effect of the PRINT field code.
 
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I print gridlines? Steve Microsoft Word Help 2 December 8th 04 11:51 PM
Text Form Field Ref in Footer Won't Update on Screen StarWine Microsoft Word Help 3 December 6th 04 06:17 PM
What happened to my Print Layout? MusicMarth Microsoft Word Help 1 November 30th 04 05:07 PM
Field code # characters (no spaces) FOR SPECIFIC DOC SECTION Christian Microsoft Word Help 1 November 28th 04 06:14 PM
How do I print a single Avery label 5164 on a sheet in Word XP kiam50 Microsoft Word Help 2 November 24th 04 03:43 PM


All times are GMT +1. The time now is 02:39 PM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"