Home  |  Linux  | Mysql  | PHP  | XML
From:Pierre Joye Date:Fri Feb  5 21:06:08 2010
Subject:Re: What about php 5.3 and printers or PHP_PRINTER.DLL ?
disable the memory limit. You can't set that amount of memory using a
32bit integer (which is the limit for php).

On Fri, Feb 5, 2010 at 10:01 PM, Keith Davis <keithdavis@pridedallas.com> wrote:
> Well, the reason why I didn't try that is per a forum post I found, that
> number (4294967295 bytes) is 4GB of RAM, the maximum allowed on a 32 bit
> system. That the problem is something else. Just for kicks, I increased
> it to 4GB, and it still fails.
>
>
>
> Keith Davis (214) 906-5183
>
> -----Original Message-----
> From: Pierre Joye [mailto:pierre.php@gmail.com]
> Sent: Friday, February 05, 2010 2:44 PM
> To: Keith Davis
> Cc: Robert; php-windows@lists.php.net
> Subject: Re: [PHP-WIN] What about php 5.3 and printers or
> PHP_PRINTER.DLL ?
>
> hi,
>
> That's a pretty obvious error no? :)
>
> Increase your memory limit and you should be fine.
>
> Cheers,
>
> On Fri, Feb 5, 2010 at 9:36 PM, Keith Davis <keithdavis@pridedallas.com>
> wrote:
>> Ugh, apparently it can find the printer (initially, I had the syntax
>> incorrect), but now I get this error message:
>>
>> $h = printer_open('\\\\server05\\Auth');
>>
>> PHP Fatal error: Out of memory (allocated 1310720) (tried to allocate
>> 4294967295 bytes) in C:\inetpub\Intranet_Local\test.php on line 16
>>
>>
>>
>>
>>
>> Keith Davis (214) 906-5183
>>
>> -----Original Message-----
>> From: Pierre Joye [mailto:pierre.php@gmail.com]
>> Sent: Friday, February 05, 2010 1:55 PM
>> To: Keith Davis
>> Cc: Robert; php-windows@lists.php.net
>> Subject: Re: [PHP-WIN] What about php 5.3 and printers or
>> PHP_PRINTER.DLL ?
>>
>> hi,
>>
>> you can find them now on, for VC8 x86 builds:
>>
>> -
>> http://downloads.php.net/pierre/php_printer-svn-20100205-5.3-vc9-x86.z
>> ip
>> -
>> http://downloads.php.net/pierre/php_printer-svn-20100205-5.3-nts-vc9-x
>> 86
>> .zip
>>
>> I will do the VC6 version next week.
>>
>> Cheers,
>>
>> On Fri, Feb 5, 2010 at 4:16 PM, Keith Davis
>> <keithdavis@pridedallas.com>
>> wrote:
>>> Ok, this is the source, correct?
>>>
>>> http://svn.php.net/viewvc/pecl/printer/
>>>
>>> Can't seem to figure out how to compile it.
>>>
>>>
>>>
>>> Keith Davis (214) 906-5183
>>>
>>> -----Original Message-----
>>> From: Keith Davis
>>> Sent: Friday, February 05, 2010 7:50 AM
>>> To: 'Pierre Joye'; 'Robert'
>>> Cc: 'php-windows@lists.php.net'
>>> Subject: RE: [PHP-WIN] What about php 5.3 and printers or
>>> PHP_PRINTER.DLL ?
>>>
>>> If I need to do it myself, where do I get the source?
>>>
>>>
>>>
>>> Keith Davis (214) 906-5183
>>>
>>> -----Original Message-----
>>> From: Keith Davis
>>> Sent: Friday, February 05, 2010 7:50 AM
>>> To: 'Pierre Joye'; Robert
>>> Cc: php-windows@lists.php.net
>>> Subject: RE: [PHP-WIN] What about php 5.3 and printers or
>>> PHP_PRINTER.DLL ?
>>>
>>> I need this for 5.3.1. Can you compile it for me? I've compiled PHP
>>> once (we're using MS SQL Server Driver For PHP, had to compile for
>>> 5.3), but I'm very shaky about it.
>>>
>>>
>>>
>>> Keith Davis (214) 906-5183
>>>
>>> -----Original Message-----
>>> From: Pierre Joye [mailto:pierre.php@gmail.com]
>>> Sent: Saturday, January 30, 2010 12:28 PM
>>> To: Robert
>>> Cc: php-windows@lists.php.net
>>> Subject: Re: [PHP-WIN] What about php 5.3 and printers or
>>> PHP_PRINTER.DLL ?
>>>
>>> hi,
>>>
>>> On Sat, Jan 30, 2010 at 6:43 PM, Robert <effe.stm@virgilio.it> wrote:
>>>
>>>> Is still possible to print from php scripts directly to server's
>>>> attached printers?
>>>> (here it is php for windows, so this question is intended as to
>>>> print
>>
>>>> on a windows server WAMP)
>>>>
>>>> Thank you for any update.
>>>>
>>>> A related curiosity is about PHP_PRINTER.DLL. Has that dll been
>>> abandoned?
>>>>
>>>> Mr. Pierre Joye is publishing one intended (seems) to fit on php
>>>> 5.2.8
>>>
>>>> http://downloads.php.net/pierre/
>>>
>>> Pierre works too ;)
>>>
>>>> but using it with last apache makes that extension to not be loaded
>>>> (checked on apache error log). So playing with search engines i've
>>>> found (looks like) that the higher php version usable with
>>>> php_printer.dll is
>>>>
>>>> PHP 5.2.8 with pecl for PHP 5.2.6
>>>> http://us2.php.net/get/pecl-5.2.6-Win32.zip/from/a/mirror
>>>>
>>>> it does work, already verified.
>>>
>>> It should work with 5.2.6 and later.
>>>
>>>> Yes, cool! ... But the behaviour is that this does not allow me to
>>>> upgrade MySQL. (* see at bottom)
>>>
>>>> "Your PHP MySQL library version 5.0.51a differs from your MySQL
>>>> server
>>>
>>>> version 5.1.xx. This may cause unpredictable behavior"
>>>
>>> It should work just fine.
>>>
>>>> Thank you for any help or tip on how to upgrade PHP and still be
>>>> able
>>
>>>> to print directly to server's attached printers from php scripts.
>>>
>>> Do you need printer for 5.3? I did not try to compile it lately but
>>> it
>>
>>> should be possible.
>>>
>>> Cheers,
>>> --
>>> Pierre
>>>
>>> @pierrejoye | http://blog.thepimp.net | http://www.libgd.org
>>>
>>> --
>>> PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit:
>>> http://www.php.net/unsub.php
>>>
>>>
>>> This message (including any attachments) may contain confidential or
>> otherwise privileged information and is intended only for the
>> individual(s) to which it is addressed. If you are not the named
>> addressee you should not disseminate, distribute or copy this e-mail.
>> Please notify the sender immediately by e-mail if you have received
>> this e-mail by mistake and delete this e-mail from your system. E-mail
>
>> transmission cannot be guaranteed to be secured or error-free as
>> information could be intercepted, corrupted, lost, destroyed, arrive
>> late or incomplete, or contain viruses. The sender therefore does not
>> accept liability for any errors or omissions in the contents of this
>> message or that arise as a result of e-mail transmission. If
>> verification is required please request a hard-copy version from the
>> sender.
>>>
>>> www.pridedallas.com
>>>
>>>
>>
>>
>>
>> --
>> Pierre
>>
>> @pierrejoye | http://blog.thepimp.net | http://www.libgd.org
>>
>
>
>
> --
> Pierre
>
> @pierrejoye | http://blog.thepimp.net | http://www.libgd.org
>



--
Pierre

@pierrejoye | http://blog.thepimp.net | http://www.libgd.org
Navigate in group php.windows at sever news.php.net
Previous Next


Your recent visits
RE: [PHP-WIN] What about php 5.3 and printers or PHP_PRINTER.DLL ?
Installing php 5.2.9 with --enable-embed
Zend_execute.lo causing Out Of Memory error during compile
Re: [PHP-WIN] problem with PEAR , windows platform , php 5.2.9-2 , IIS Version 6
problem with PEAR , windows platform , php 5.2.9-2 , IIS Version 6



  
© No Copyright
You are free to use Anything, but please consult your advocate before doing so as this website
also list content from other sources which may be copyrighted.
Site Maintained by Zareef Ahmed
Powered By PHP Consultants