Re: Printing....

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Oct 22, 2010 at 16:43, Steve Staples <sstaples@xxxxxxxx> 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/

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



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux