Re: Printing....
| From: | Daniel P. Brown | Date: | Fri, 22 Oct 2010 21:03:20 +0000 |
| Subject: | Re: Printing.... | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-309023@lists.php.net to get a copy of this message | ||
On Fri, Oct 22, 2010 at 16:43, Steve Staples <sstaples@mnsi.net> wrote:
> Ok, here is an interesting one...
>
> I am building an application, that basically listens for input on 2 ip
> addresses (not a problem there)... then it does a bunch of stuff, puts
> info to a terminal window (again, i dont think this will be an issue)...
> but then once the user says "yep... print" i need to be able to connect
> to a networked printer, and print the label...
>
> the printer will be accessable to the server (the server will be linux
> based), so I just need to connect, and send data to it... is this
> possble??
Of course. Check into CUPS. Here, specifically, are some
command-line options:
http://www.cups.org/documentation.php/options.html
I've done this multiple times myself. I may even still have some
PHP code lying around. I'll try to take a look for it if you need it,
but I highly doubt you'll have any issues.
--
</Daniel P. Brown>
Dedicated Servers, Cloud and Cloud Hybrid Solutions, VPS, Hosting
(866-) 725-4321
http://www.parasane.net/