摘要 |
A method and apparatus for controlling a peripheral device is provided. In a server, in a client/server environment, a server application receives a request for execution of a peripheral device script from a client application. The server application retrieves a peripheral device script which is associated with the request and the peripheral device script is passed to a script interpreter. The script interpreter converts the peripheral device script into at least one control signal. A device control module is coupled to the script interpreter and sends the control signal to the peripheral device. The device control module receives information signals from the peripheral device and forwards the information signals to the client application. The script may include code for configuring the peripheral device, code for requesting information about the peripheral device or code for controlling the peripheral device.
|