#36725 [NEW]: printout gets in loop

From: Date: Mon, 13 Mar 2006 21:28:50 +0000
Subject: #36725 [NEW]: printout gets in loop
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-94308@lists.php.net to get a copy of this message
From: tgal at rdslink dot ro Operating system: Windows PHP version: 4.4.2 PHP Bug Type: COM related Bug description: printout gets in loop Description: ------------ I would like to print out Word documents, but it seems that the rpc call is in a loop or something, because the code never finishes loading the page, and the word process wont close, but the task manager shows no activity at all. I have more printers installed on the server, could this be a problem and there is no bug? Reproduce code: --------------- $myfileCOM="d:/tmp/sample.rtf"; $word = new COM("word.application") or die("Unable to instanciate Word"); $word->visible = true; $word->Documents->Open($myfileCOM); $word->ActiveDocument->PrintOut(); $word->Quit(); $word = null; Expected result: ---------------- The document should be printed out and php should finish processing the sourcefile. Actual result: -------------- Endless loop, no printing, page wont load. -- Edit bug report at http://bugs.php.net/?id=36725&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=36725&r=trysnapshot44 Try a CVS snapshot (PHP 5.1): http://bugs.php.net/fix.php?id=36725&r=trysnapshot51 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=36725&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=36725&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=36725&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=36725&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=36725&r=needscript Try newer version: http://bugs.php.net/fix.php?id=36725&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=36725&r=support Expected behavior: http://bugs.php.net/fix.php?id=36725&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=36725&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=36725&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=36725&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=36725&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=36725&r=dst IIS Stability: http://bugs.php.net/fix.php?id=36725&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=36725&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=36725&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=36725&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=36725&r=mysqlcfg

« previous php.bugs (#94308) next »