Bug #14174 Updated: problem with printer_write()
| From: | derick@php.net | Date: | Sat, 15 Jun 2002 13:36:04 +0000 |
| Subject: | Bug #14174 Updated: problem with printer_write() | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-10497@lists.php.net to get a copy of this message | ||
ID: 14174
Updated by: derick@php.net
Reported By: ro_1010@yahoo.com
-Status: Open
+Status: Bogus
Bug Type: Unknown/Other Function
Operating System: Windows 98
PHP Version: 4.0.6
New Comment:
Thank you for taking the time to report a problem with PHP.
Unfortunately your version of PHP is too old -- the problem
might already be fixed. Please download a new PHP
version from http://www.php.net/downloads.php
If you are able to reproduce the bug with one of the latest
versions of PHP, please change the PHP version on this bug report
to the version you tested and change the status back to "Open".
Again, thank you for your continued support of PHP.
Previous Comments:
------------------------------------------------------------------------
[2001-11-22 07:07:25] ro_1010@yahoo.com
I am trying to use the printer functions. I could successfullly connect
to a printer on my network and print the example given in
printer_draw_rectangle() and print_draw_text()
But when I try to use printer_write() as below
<?
$handle = printer_open("printer");
printer_write($handle, "Text to print");
printer_close($handle);
?>
I was expecting "Text to Print" to be printed.
Instead it gave me the error message
Warning: couldn't allocate the printerjob in
c:\pathtohtdocs\test\print_1.php on line 3
line 3 corresponds to
printer_write($handle, "Text to print");
PLS NOTE THAT THE printer_open("printer") STATEMENT WAS UNALTERED WHILE
USING pinter_draw_tex() and printer_draw_rectangle() functions.
ro_1010@yahoo.com
--rajesh.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=14174&edit=1