RE: [PHP] Printer funtions
| From: | Kevin Stone | Date: | Tue, 22 Jan 2002 21:32:08 +0000 |
| Subject: | RE: [PHP] Printer funtions | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-81600@lists.php.net to get a copy of this message | ||
Sorry this wasn't supposed to go out once I noticed the other two
responses then Microsoft Outlook just auto-sent the email without
asking. Thanks Microsoft wastin' my time boy I tell ya. :)
> -----Original Message-----
> From: Kevin Stone [mailto:kevin@helpelf.com]
> Sent: Monday, January 21, 2002 5:14 AM
> To: 'James Mclean'; 'php-general@lists.php.net'
> Subject: RE: [PHP] Printer funtions
>
> A very quick search on php.net revealed this code sniplet..
>
> $handle = printer_open();
> printer_write($handle, "Text to print");
> printer_close($handle);
>
> This looks straight forward. But I'm almost certain that the PHP
printer
> functions can only activate printers connected directly to the server
(or
> on a LAN connected to the server). They probably can not connect to a
> client-side printer. Please anyone correct me if I am wrong.
>
> Additionally I read that the printer functions only work with PHP for
> Windows.. so there's another problem.
>
> I believe there's no point to even trying to use the printer functions
if
> you don't have direct access to the server. You should simply
instruct
> your users to print the page using the built-in commands in whatever
> browser they are using.
>
> I'm sure this is not what you wanted to hear, but I hope this helps
none-
> the-less.
>
> --
> Kevin Stone
> www.helpelf.com
>
>
> -----Original Message-----
> From: James Mclean [mailto:james@adam.com.au]
> Sent: Monday, January 21, 2002 4:48 PM
> To: php-general@lists.php.net
> Subject: [PHP] Printer funtions
>
>
> All,
>
> I have been reading through the php.net printer function pages, but
from
> what I
> can see it does not look like the docs are that good.
>
> basically, I want to run through to see if any one has any pointers
before
> using the PHP printers funtions. IE does printer_open() open a
connection
> to
> the default printer specified on the client machine? The docs doent
eben
> specify this...
>
> The site mentions listing the printer in php.ini, but this is not
possible
> in
> this instance, having to cater for printers that will be unknown to
me.
>
> any pointers helpful! TIA.
>
> Regards,
>
> James Mclean
> Adam Internet Web Design Team
>
> "Windows didn't get as bad as it is overnight -- it took over ten
years of
> careful development."
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail:
php-list-admin@lists.php.net