Re: [PHP] Re: Serveside Printing w/ PHP

2011-07-13 Thread Marc Guay
 What type of file are you trying to print?

HTML.

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



Re: [PHP] Re: Serveside Printing w/ PHP

2011-07-13 Thread Marc Guay
 What type of file are you trying to print?  I'm not very familiar with
 Microsoft Windows but I know a little about it.  Have you considered Windows
 Powershell?  Unfortunately you would essentially have to write a powershell
 script and use the PHP exec functions.  Windows 7 shipped with PowerShell
 2.0.

Hi Wayne,

Thanks for this tip, I just printed a document from the PowerShell 2.0
command line; I think this might be the path to take.

Marc

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



Re: [PHP] Re: Serveside Printing w/ PHP

2011-07-13 Thread Marc Guay
 What type of file are you trying to print?  I'm not very familiar with
 Microsoft Windows but I know a little about it.  Have you considered Windows
 Powershell?  Unfortunately you would essentially have to write a powershell
 script and use the PHP exec functions.  Windows 7 shipped with PowerShell
 2.0.

It actually is starting to look like in order to print HTML using this
method I'd have to instantiate a COM object in the shell, which I
could just do directly with PHP's built-in COM stuff.

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



[PHP] Re: Serveside Printing w/ PHP

2011-07-12 Thread Marc Guay
Bonus feature:  The server is running Windows 7.  I suspect the
crickets are going to win this one.

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



Re: [PHP] Re: Serveside Printing w/ PHP

2011-07-12 Thread Ken Robinson

At 02:06 PM 7/12/2011, Marc Guay wrote:

Bonus feature:  The server is running Windows 7.  I suspect the
crickets are going to win this one.


Take a look at http://www.php.net/printer -- this might be what 
you're looking for.


Ken 



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



Re: [PHP] Re: Serveside Printing w/ PHP

2011-07-12 Thread Marc Guay
 Take a look at http://www.php.net/printer -- this might be what you're
 looking for.

Hi Ken,

Thanks for trying but I've been down that road and from my
understanding that PECL extension is really out of date and
unsupported (the page that hosts it doesn't even have a downloadable
DLL).  Also the PHP pages say These functions are only available
under Windows 9.x, ME, NT4 and 2000. so I highly doubt I'll have any
luck with Windows 7, but you never know, maybe I should try...

Marc

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