hey,
i have generated some word files, based on an template with bookmarks, this
works.
Then i saved the files, and putted the path into an array. then i wanted to
print those files, but i always get this message. i am printing with a
network printer
"Wait till all document in process are completed"
or something like that mine is in dutch, "wacht tot alle in behandeling
afdruktaken zijn voltooid!"
my code
$printerlocation = "\\\\Glenn\\hp deskjet 990c";
content of array $afteprintenbestanden ==>> 2 files
c:\program files\apache group\Apache\htdocs\steon\klanten\Brutyn
Nick\briefVDAB.doc
c:\program files\apache group\Apache\htdocs\steon\klanten\Murat
Cetinkaya\briefVDAB.doc
$word->ActivePrinter = $printerlocation ;
for( $k = 1; $k < count($filestoprint); $k++)
{
$file= $filestoprint[$k];
$word->Documents->Open($file);
$word->ActiveDocument->PrintOut();
$word->Documents[1]->Close(false);
}
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php