Re: How-To embed POSTSCRIPT Commands into Word Doc
- From: Wayne <Wayne@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Sat, 31 Jan 2009 16:43:00 -0800
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
- Follow-Ups:
- Re: How-To embed POSTSCRIPT Commands into Word Doc
- From: Peter Jamieson
- Re: How-To embed POSTSCRIPT Commands into Word Doc
- From: macropod
- Re: How-To embed POSTSCRIPT Commands into Word Doc
- Prev by Date: delet extra page
- Next by Date: Re: File Block Since Installation of Office 2003 Service Pack 3
- Previous by thread: delet extra page
- Next by thread: Re: How-To embed POSTSCRIPT Commands into Word Doc
- Index(es):
Relevant Pages
|