Page 1 of 1

PHP, COM, and Word

Posted: Fri Jun 06, 2003 3:08 pm
by bdamod1
Ok, this has been killing me...ideas?

The basic concept is to print an uploaded word doc to an existing ps printer, that prints to file. I have checked every reference and tried every combination I can find to make this work, but alas, nothing does, except for the standard printout() call. Word is supposed to support printing to file via COM (and yes I have read all of the documentation), but nothing works. The closest I have gotten is

$word->ActiveDocument->Printout(NULL, NULL, PROBLEM HERE(is Range), "my_directory\filename.ps");

Ideas anyone?