Re: opening cash register drawer
| From: | Robert Cummings | Date: | Sat, 03 Apr 2004 01:54:30 +0000 |
| Subject: | Re: opening cash register drawer | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-182231@lists.php.net to get a copy of this message | ||
On Fri, 2004-04-02 at 20:40, Raditha Dissanayake wrote:
> Leonard B Burton wrote:
>
> >Greetings,
> >
> >I am working on a Point of Sale Program for PHP. I need to find out how to open a cash
> >register drawer. Could anyone give me any info? Do I need to do this with a javascript section?
> >
> >
> You will be hard pressed to do anything like this with php. the reason
> is that php is designed primarily as a language for building web
> applications. Not at all suitable for desktop applications or smart
> devices. Hardware control certainly is not recommended.
>
> Having said all that if you have a C library that handles the
> functionality you can invoke it's methods via php.
Or a command line interface that can be invoked with exec, or system, or
backticks :)
Cheers,
Rob.
--
.------------------------------------------------------------.
| InterJinn Application Framework - http://www.interjinn.com
|
:------------------------------------------------------------:
| An application and templating framework for PHP. Boasting |
| a powerful, scalable system for accessing system services |
| such as forms, properties, sessions, and caches. InterJinn |
| also provides an extremely flexible architecture for |
| creating re-usable components quickly and easily. |
`------------------------------------------------------------'