Bug #11884 Updated: I cant print
| From: | derick@php.net | Date: | Fri, 06 Jul 2001 07:47:13 +0000 |
| Subject: | Bug #11884 Updated: I cant print | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-59050@lists.php.net to get a copy of this message | ||
ID: 11884
Updated by: derick
Reported By: herman_diener@hotmail.com
Old-Status: Open
Status: Assigned
Bug Type: Reproducible crash
Operating system:
PHP Version: 4.0.4
Assigned To: daniel
Comments:
I'm assigning this to you Daniel, as you are the maintainer of this extension.
Derick
Previous Comments:
---------------------------------------------------------------------------
[2001-07-05 16:17:06] herman_diener@hotmail.com
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 programaapache
groupapachehtdocsavances1porfetelimpresiones.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
---------------------------------------------------------------------------
[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
---------------------------------------------------------------------------
The remainder of the comments for this report are too long.
To view the rest of the comments, please
view the bug report online.
ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=11884&edit=2