i need to print the word file, but first testing by saving this seems not to work, site keeps loading :s:s:s nothing happens <?php $word = new COM("word.application") or die("Unable to instantiate Word"); $file = "c:/reminder.doc"; $word->Documents->Open($file); $new_file = "c:/reminder_new.doc"; $word->Documents[1]->SaveAs($new_file); $word->Quit(); $word->Release(); $word = null; ?> this neither, also much loading time, nothing happens // starting word $word = new COM("word.application") or die("Unable to instanciate Word"); print "Loaded Word, version {$word->Version}\n"; // bring it to front $word->Visible = true; // Open a word document, or anything else that word can read $input ="c:\\beginverslag.doc"; $word->Documents->Open($input); $new_file = "c:\\test.doc"; $word->Documents[1]->SaveAs($new_file); // closing word $word->Documents[1]->Close(false); $word->Quit(); // free the object $word->Release(); $word = null; unset($word); any suggestions????? -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php