PHP, COM, and Word

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
bdamod1
Forum Newbie
Posts: 1
Joined: Fri Jun 06, 2003 3:08 pm

PHP, COM, and Word

Post 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?
Post Reply