Bug #14174: problem with printer_write()

From: Date: Thu, 22 Nov 2001 12:07:26 +0000
Subject: Bug #14174: problem with printer_write()
Groups: php.dev 
Request: Send a blank email to php-dev+get-71373@lists.php.net to get a copy of this message
From: ro_1010@yahoo.com Operating system: Windows 98 PHP version: 4.0.6 PHP Bug Type: Unknown/Other Function Bug description: problem with printer_write() 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 bug report at: http://bugs.php.net/?id=14174&edit=1

« previous php.dev (#71373) next »