print/Word problems...
| From: | ArsenKirillov | Date: | Sat, 13 Oct 2001 15:26:07 +0000 |
| Subject: | print/Word problems... | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-70984@lists.php.net to get a copy of this message | ||
Does anybody here now how to work with printer functions !
WHen i am printing , the standart tray of win spooler is not shown !
(win2000+php4.0.6)
2. When trying to print via word com object :
i can't load word object. What is wrong in this example from chm :
// starting word
$word = new COM("word.application") or die("Unable to instanciate Word");
print "Loaded Word, version {$word->Version}\n";
$word->Visible = 1;
$word->Documents->Add();
$word->Selection->TypeText("This is a test...");
$word->Documents[1]->SaveAs("Useless test.doc");
$word->Quit();
$word->Release();
$word = null;
Thanks for all. Kirillov Arsen.