K
Kelly M
We accept Publisher files uploaded via the web for printing, and we convert
..pub files to PDF on the fly. We're adjusting our workflow to print to a PDF
print driver, in order to keep CMYK colors, but we're having problems running
the files programmatically.
We've tried running a command line, and if you execute it as a user, it
works fine:
"C:\Program Files\Microsoft Office\OFFICE11\mspub.exe" /p "C:\Documents and
Settings\kelly\Desktop\hr2006.pub"
However, running it through a web server (PHP/Apache) launches Publisher,
but it hangs and eventually errors out without printing.
First, is there a better method of programmatically printing a .pub document
to PDF? Second, if not, anybody have any clues why it would hang? Third, I
recall seeing a Publisher list of command-line switches, but I can't find
that any more, does anyone have a link?
Thanks for any clues in pointing me in the right direction.
- Kelly
..pub files to PDF on the fly. We're adjusting our workflow to print to a PDF
print driver, in order to keep CMYK colors, but we're having problems running
the files programmatically.
We've tried running a command line, and if you execute it as a user, it
works fine:
"C:\Program Files\Microsoft Office\OFFICE11\mspub.exe" /p "C:\Documents and
Settings\kelly\Desktop\hr2006.pub"
However, running it through a web server (PHP/Apache) launches Publisher,
but it hangs and eventually errors out without printing.
First, is there a better method of programmatically printing a .pub document
to PDF? Second, if not, anybody have any clues why it would hang? Third, I
recall seeing a Publisher list of command-line switches, but I can't find
that any more, does anyone have a link?
Thanks for any clues in pointing me in the right direction.
- Kelly