ID: 11884
User Update by: [EMAIL PROTECTED]
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] [EMAIL PROTECTED]

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] [EMAIL PROTECTED]

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] [EMAIL PROTECTED]

Are you sure you have a default printer installed?

Derick

---------------------------------------------------------------------------

[2001-07-04 14:10:45] [EMAIL PROTECTED]

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


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to