RE: Re[2]: [PHP] printing with PHP
| From: | Mark | Date: | Thu, 22 May 2003 18:31:13 +0000 |
| Subject: | RE: Re[2]: [PHP] printing with PHP | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-148606@lists.php.net to get a copy of this message | ||
As long as you set the printer port (LPT1, LPT2, etc.) for that
printer, you should be able to print to any printer. You can also use
print <filename> to print to the default PRN printer.
--- Jay Blanchard <jay.blanchard@niicommunications.com> wrote:
> [snip]
> Don't be quick to count out Windows....
>
> If your printers are set up properly, you can simply use command
> line
> redirection to print your document from PHP by simply executing :
>
> copy file.doc > lpt1
>
> Which will send the file to default printer (which is on lpt1)
> [/snip]
>
> Great solution Burhan...could this be done in the event of a
> network
> printer where Windows is involved?
>
> Jay
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
=====
Mark Weinstock
mark_weinstock@yahoo.com
***************************************
You can't demand something as a "right" unless you are willing to fight to death to
defend everyone else's right to the same thing.
***************************************
__________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
http://search.yahoo.com