PHP_PRINTER.DLL prints from shell but not from web

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dear Friends, I thank you in advance if you give me 3 minutes of your time.

I've searched the php_printer PECL home page, but can't find it.

I want to report a bug

1) I can't find the home page for that pecl in the pecl web site. 
http://pecl.php.net/packages.php

 2) Before posting it I kindly ask you to tell me if you ever eard it 
before. Searching the whole internet I've found pople asking for it but no 
answers.

3) I tried working to overcome it, but no way.

the bug is this:

php 5.1.2 for windows
pecl extension php_printer.dll for 5.1.2 and also using the 5.1.6

1 SERVER
1 CLIENT sharing one PRINTER

the client shared printer is "mounted" on the server for a simple reason. My 
script printit.php SHOULD print on the client printer...

THE BUG ITSELF IS:
- if I open a command shell on the server and I type and run the following 
command "c:\>c:\program files\php\php.exe c:\www\printit.php" the print 
shoots correctly
- if I run it from the client browser it doesn't 
http://192.168.0.222/printit.php
- if I try to run the same script from within another script with shell_exec 
it doesn't work with the same error
- the returned error is PHP Warning:  printer_write(): couldn't allocate the 
printerjob [5] and obviously is reported for each printer_write code line.
- the apache is 2.0.55 and it is running on a windows xp pro
- the client is another windows xp pro where the printer is shared with 
permission for everybody and for guests (less security than this... is not 
possible)

Did you eard it? Any idea?

Thank you for any tip and answer.

Regards

Roberto - Italy 



-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Database Programming]     [PHP Install]     [Kernel Newbies]     [Yosemite Forum]     [PHP Books]

  Powered by Linux