|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2017-04-01 21:29 UTC] tpunt@php.net
-Status: Open
+Status: Wont fix
[2017-04-01 21:29 UTC] tpunt@php.net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Nov 04 20:00:01 2025 UTC |
Description: ------------ Im using php_printer in php-gtk (php 5.2.6 nts) and all work fine untill I install a parallel printer (OKIDATA ML320 TURBO) then when I tried to print php crashes, although if i install the same printer but with emulation it works just fine. I think the error came up when I run printer_list() and the parallel printer installed. Reproduce code: --------------- public function Print() { $pl = printer_list(PRINTER_ENUM_LOCAL); //When the printer is installed it will never show up //this dialog $dialog = new GtkDialog( "Seleccione una impresora", $this->mainWindow, Gtk::DIALOG_MODAL, array( Gtk::STOCK_CANCEL,Gtk::RESPONSE_NO, Gtk::STOCK_OK, Gtk::RESPONSE_OK ) ); ... Expected result: ---------------- Array with the info of local printers Actual result: -------------- php crash (WINDOWS ERROR)