Home |
Search |
Today's Posts |
#1
|
|||
|
|||
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 | |
|
|
Similar Threads | ||||
Thread | Forum | |||
How do I print gridlines? | Microsoft Word Help | |||
Text Form Field Ref in Footer Won't Update on Screen | Microsoft Word Help | |||
What happened to my Print Layout? | Microsoft Word Help | |||
Field code # characters (no spaces) FOR SPECIFIC DOC SECTION | Microsoft Word Help | |||
How do I print a single Avery label 5164 on a sheet in Word XP | Microsoft Word Help |