#26346 [Bgs->Opn]: Cannot output to a shared printer
| From: | rich at dwell dot co dot uk | Date: | Mon, 26 Sep 2005 09:30:27 +0000 |
| Subject: | #26346 [Bgs->Opn]: Cannot output to a shared printer | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-85589@lists.php.net to get a copy of this message | ||
ID: 26346
User updated by: rich at dwell dot co dot uk
Reported By: rich at dwell dot co dot uk
-Status: Bogus
+Status: Open
Bug Type: *General Issues
Operating System: Windows 2003
PHP Version: 4.3.4
New Comment:
As a workaround, I've found that I can print from a shared printer
using the cli version of PHP. Go figure.
I've bundled any printing routines into a separate script and then use
shell_exec() to call the CLI version of PHP to run this script.
What a kludge.
Previous Comments:
------------------------------------------------------------------------
[2005-09-23 15:31:44] sniper@php.net
Report this to the pecl bug system: http://pecl.php.net/bugs/
------------------------------------------------------------------------
[2005-08-09 22:15:43] spilon at groupehytech dot com
I tried this, but i can't change my printer port, even if I install the
drivers locally... If I use the printer_write() function, I can see text
, but the thing is, I would like to print with a preset page setup.
------------------------------------------------------------------------
[2005-07-29 21:24:13] jerry dot martin at gmail dot com
Try installing the network printers as local printers. You can do so
by setting up the port as local. I did it here at work because I was
having the same problems with network printers, but works fine when you
setup the printer as local.
------------------------------------------------------------------------
[2005-07-29 20:15:20] spilon at groupehytech dot com
Hi, I run a basic wamp with windows xp and I can't print on a network
printer... BUT I can print with my local printer !!! Later I tried to
print with my real web server with the linux server and the same thing
happened ! Shit I can't sleep 'until I found the bug. Please can
someone help me, I'm in a real pickle.
------------------------------------------------------------------------
[2005-01-13 15:08:37] esteban_mate at yahoo dot com dot ar
I'm working with php_printer.dll. I install Apache,
php and mysql on XP and i want to print on a shared
printer on another computer (a WIN98), i have the same
drivers in both computers but i get this error when i
try to print to it
Warning: couldn't allocate new printer job on...
Some people said that it's a possible conflict with
permissions.
i look inside the code of php_printer on
http://home.no.net/wsaebo/php-4.0.6/ext/printer/printer.c
the problem is with startdoc, but i don't know why
Esteban Robles
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/26346
--
Edit this bug report at http://bugs.php.net/?id=26346&edit=1