Re: How-To embed POSTSCRIPT Commands into Word Doc

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



I am trying to do something similar with Word 2007, but it appears the x/y
numbers being generated are incorrect for Cell, Row, and Para. Page appears
to generate correctly. Setting a parmeter in Word options for 'Use printer
metrics to lay out document', improved the results (incorrect position, but
now at least on the page). Is there another parmeter I need to set to have
numbers generate properly, or is there a known bug that I must wait on a fix
for? Thanks in advance.

"George-of-the-Jungle" wrote:

G'Day John,

Thank you. It does work. I found I also need to set my Tools> Options >
"View" tab > and select "Field Codes" in order to display them in the
document for editing/correcting. (Typos make a difference).
--
George V KP.org


"John McGhie [MVP - Word and Word Macinto" wrote:

Insert>Fields>All Fields>"PRINT"

The old PRINT field is still there. Insert it, then add the PostScript you
want within it.

It'll work :-)


On 8/2/07 4:05 AM, in article
07D0969F-2851-491F-A743-DC7663F31767@xxxxxxxxxxxxx, "George-of-the-Jungle"
<George-of-the-Jungle@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:

In previous versions of WORD, (Mac version) you could enter postscript
commands within a doc and get the commands processed while the text printed
also.
How in Word 2003 (PC) can you do the same - An example would be great.

This is my test.doc which does not print any postscript with the text. The
same print will do if I use my old Mav Word v 5a:

# <this part is "hidden">
{PRINT \p page³
/inch {72 mul} def
/Helvetica-Bold findfont 150 scalefont setfont
3.0 inch 2.5 inch moveto
0 setlinewidth
57.0 rotate (COPY) true charpath
gsave .95 setgray fill grestore stroke²} # <following line is not hidden>
--------- Begin TEST ---------
{PRINT \p para²wp$box .95 setgray fill²} # <this line is hidden>

testing Postscript Format and commands {PRINT\p page ³commands²}

Printer is HP LaserJet 5 SI MX




--

Please reply to the newsgroup to maintain the thread. Please do not email
me unless I ask you to.

John McGhie <john@xxxxxxxxxxx>
Microsoft MVP, Word and Word for Macintosh. Business Analyst, Consultant
Technical Writer.
Sydney, Australia +61 (0) 4 1209 1410


.



Relevant Pages

  • Re: How-To embed POSTSCRIPT Commands into Word Doc
    ... "Peter Jamieson" wrote: ... commands within a doc and get the commands processed while the text printed ... This is my test.doc which does not print any postscript with the text. ... inch 2.5 inch moveto ...
    (microsoft.public.word.docmanagement)
  • Re: How-To embed POSTSCRIPT Commands into Word Doc
    ... George V KP.org ... commands within a doc and get the commands processed while the text printed ... This is my test.doc which does not print any postscript with the text. ... inch 2.5 inch moveto ...
    (microsoft.public.word.docmanagement)
  • Re: How-To embed POSTSCRIPT Commands into Word Doc
    ... The old PRINT field is still there. ... commands within a doc and get the commands processed while the text printed ... This is my test.doc which does not print any postscript with the text. ... inch 2.5 inch moveto ...
    (microsoft.public.word.docmanagement)
  • Re: How-To embed POSTSCRIPT Commands into Word Doc
    ... numbers in the resulting PostScript code appear to be in points. ... The PostScript code that is generated does have commands for a temporary new ... it appears to be Word 2007 generating incorrect information. ... "Peter Jamieson" wrote: ...
    (microsoft.public.word.docmanagement)
  • Re: How-To embed POSTSCRIPT Commands into Word Doc
    ... and shifted to the left (incorrect x position). ... tested with page verses cell, I got a text box the size of the page. ... How does all this relate to using a PRINT field to output postscript? ...
    (microsoft.public.word.docmanagement)