Bug #11884 Updated: I cant print
| From: | herman_diener at hotmail dot com | Date: | Thu, 05 Jul 2001 20:17:07 +0000 |
| Subject: | Bug #11884 Updated: I cant print | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-59022@lists.php.net to get a copy of this message | ||
ID: 11884
User Update by: herman_diener@hotmail.com
Old-Status: Feedback
Status: Open
Bug Type: Reproducible crash
Operating system: Win98
PHP Version: 4.0.4
Description: I cant print
Hi Derick
Yes, it not works, now i trying without a argument in the printer_open() function, and i dont see
the error again, but i see the following words
Warning: couldn't allocate the printerjob in c:\archivos de programa\apache
group\apache\htdocs\avances1\porfetel\impresiones.php on line 9
and my program is :
$handle = printer_open("Epson");
$HOLA="Esta es una pryueba";
printer_start_doc($handle,$HOLA,$HOLA);
printer_start_page($handle);
echo "hola";
printer_write($handle, "Text to print");
printer_end_page($handle);
printer_end_doc($handle);
printer_close($handle);
Now, how you see i configurate the php.ini whit a printer.default_printer = Epson
plase Helpme
Previous Comments:
---------------------------------------------------------------------------
[2001-07-04 15:36:54] derick@php.net
So it works without a printername, like printer_open(); and it does not work like this:
printer_open("HP Deskjet 840C"); ?
Derick
---------------------------------------------------------------------------
[2001-07-04 15:30:32] herman_diener@hotmail.com
Hi Derick
yes i´am very shure of that, i am really have a default printer instaled
in this php server..
When i put a invalid name in the printer_open(X), i mean a name thats no
exists how printer in my computer. i see a warning, but if i put a valid
name how HP804C my copmuter stop PHP, please helpme Derick, i need to
use this function in my aplication.
Sorry by my english, if you know who can help me in spanish please
contactme with he.
---------------------------------------------------------------------------
[2001-07-04 14:52:52] derick@php.net
Are you sure you have a default printer installed?
Derick
---------------------------------------------------------------------------
[2001-07-04 14:10:45] herman_diener@hotmail.com
I cant use the function printer_open, when i try that i see ¨PHP fatal error in PHP4TS.DLL of
017f:100849DA ETC ETC"
Please Help Me
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=11884