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. | `------------------------------------------------------------' -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php