|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2001-07-04 14:10 UTC] herman_diener at hotmail dot 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 PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Nov 05 11:00:02 2025 UTC |
So it works without a printername, like printer_open(); and it does not work like this: printer_open("HP Deskjet 840C"); ? DerickHi 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