How to emit pdfmarks from Word for Macintosh, any version?

A

Adam

Hi All,

I've been making use of PRINT field codes in a Word document to hold
pdfmarks, to add bookmarking and other special PDF features. On
Windows, I can print to a *.ps file from Word 2003, then "distill" the
file (with Ghostscript) and get a fancy PDF. On the Mac (Word 2007,
Leopard 10.5.8), all roads to a postscript file seem to lead through
the CUPS cgpdftops renderer, which isn't passing the pdfmarks through.
Has anyone been able to emit pdfmarks from Word for Macintosh (any
version)?

Thanks,
-Adam
 
S

SimonB

Adam said:
I've been making use of PRINT field codes in a Word document to hold
pdfmarks, to add bookmarking and other special PDF features. On
Windows, I can print to a *.ps file from Word 2003, then "distill" the
file (with Ghostscript) and get a fancy PDF. On the Mac (Word 2007,
Leopard 10.5.8), all roads to a postscript file seem to lead through
the CUPS cgpdftops renderer, which isn't passing the pdfmarks through.
Has anyone been able to emit pdfmarks from Word for Macintosh (any
version)?

No experience of making fancy PDFs myself but have you tried
CUPS-PDF?
www.codepoetry.net/projects/cups-pdf-for-mosx
 
A

Adam

No experience of making fancy PDFs myself but have you tried
CUPS-PDF?

Thanks for the suggestion---tried it yesterday. CUPS-PDF installs OK.
CUPS-PDF generates PDF using pstopdf, converting it from PS generated
by cgpdftops, which is the renderer used by CUPS to process the
Postscript generated by Quartz.

Word > Quartz PS > cgpdftops > pstopdf > FILE

Somewhere in those steps the pdfmark information is lost. Or perhaps
never emitted---it's impossible to tell.

-Adam
 
J

John McGhie

In Word>Preferences>Print... Make sure you have "Print PostScript over text"
turned on, and make sure your PRINT fields are in the document.

It will work only if you have a PostScript printer selected...

This is a VERY old part of Word, I wouldn't guarantee that it works...

Cheers


Thanks for the suggestion---tried it yesterday. CUPS-PDF installs OK.
CUPS-PDF generates PDF using pstopdf, converting it from PS generated
by cgpdftops, which is the renderer used by CUPS to process the
Postscript generated by Quartz.

Word > Quartz PS > cgpdftops > pstopdf > FILE

Somewhere in those steps the pdfmark information is lost. Or perhaps
never emitted---it's impossible to tell.

-Adam

--

The email below is my business email -- Please do not email me about forum
matters unless I ask you to; or unless you intend to pay!

John McGhie, Microsoft MVP (Word, Mac Word), Consultant Technical Writer,
McGhie Information Engineering Pty Ltd
Sydney, Australia. | Ph: +61 (0)4 1209 1410 | mailto:[email protected]
 
A

Adam

In Word>Preferences>Print... Make sure you have "Print PostScript over text"
turned on, and make sure your PRINT fields are in the document.

It will work only if you have a PostScript printer selected...

The "Print postscript over text" option is set, and a postscript
printer is selected (HP LaserJet 1320, which supports level 2 PS at
least). Note that printing to the printer won't do what I want, which
is to capture a postscript file to distill into PDF. I need to print
to a file. CUPS-PDF allows printing to a file, but the PRINT
"specials" aren't preserved on their journey through cgpdftops.

It might be that Word for Macintosh doesn't support printing other
than through Quartz. I guess I'll try asking on a MacBU forum.

This is a VERY old part of Word, I wouldn't guarantee that it works...

It's a very handy feature, despite its age. (Entering text as
paragraphs is an even older feature, and that still works :) It's also
still a working part of Word 2003 for Windows. I know, that's pretty
old, too---but I expect it's also in the very latest editions of Word,
too.

-Adam
 
J

John McGhie

Hi Adam:

You're on a Mac BU forum: this is as good as it gets :)

If you don't have a PostScript Printer selected as the default printer when
you save to PDF, you will disable the PRINT fields.

I have no idea whether CUPS has the equivalent functionality: I thought it
did, but I have never had to use it.

Cheers


The "Print postscript over text" option is set, and a postscript
printer is selected (HP LaserJet 1320, which supports level 2 PS at
least). Note that printing to the printer won't do what I want, which
is to capture a postscript file to distill into PDF. I need to print
to a file. CUPS-PDF allows printing to a file, but the PRINT
"specials" aren't preserved on their journey through cgpdftops.

It might be that Word for Macintosh doesn't support printing other
than through Quartz. I guess I'll try asking on a MacBU forum.



It's a very handy feature, despite its age. (Entering text as
paragraphs is an even older feature, and that still works :) It's also
still a working part of Word 2003 for Windows. I know, that's pretty
old, too---but I expect it's also in the very latest editions of Word,
too.

-Adam

--

The email below is my business email -- Please do not email me about forum
matters unless I ask you to; or unless you intend to pay!

John McGhie, Microsoft MVP (Word, Mac Word), Consultant Technical Writer,
McGhie Information Engineering Pty Ltd
Sydney, Australia. | Ph: +61 (0)4 1209 1410 | mailto:[email protected]
 

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