How do I use the PRINT field code to ...

G

Guest

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.
 
S

Suzanne S. Barnhill

You might want to repost your question in the
microsoft.public.word.printingfonts newsgroup, where the users more
knowledgeable about print issues hang out.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA

Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.
 
S

Suzanne S. Barnhill

Be patient?

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA

Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top