Printer communicating with a computing device that has access to a target-device script that initiates a control object to control a target device
First Claim
Patent Images
1. A printer comprising:
- a communication interface configured to communicate with a first computing device that has access to a target-device script that, when executed, initiates a control object configured to control a target device;
one or more connection ports configured to connect to the target device; and
a controller configured as a command interface between the first computing device and the target device connected to the one or more connection ports;
wherein;
the printer is further configured to receive instruction requests from the first computing device, the instruction requests being generated by the control object by use of the script for controlling the target device;
the controller is configured to apply commands via the one or more connection ports to the target device for executing the received instruction requests and send back to the first computing device any data responses received from the target device;
the target device is selected from among a plurality of periphery devices;
the one or more connection ports are configured to connect to each of the plurality of periphery devices;
the controller is configured to execute a device control script that controls the target device;
the device control script, when executed by the controller, causes the controller to connect to the control object, receive the instruction requests sent by the first computing device, and issue commands that control the target device connected to the one or more connection ports in accordance with the received instruction requests;
one of the instruction requests is a start-control request specifying the target device connected to the one or more connection ports and instructing starting control of the target device;
the command sent in accordance with the start-control request is a start-control command instructing starting control of the target device;
the controller is configured such that, when the controller receives the start-control request from the first computing device, the controller sends the start-control command to the target device specified by the start-control request, and enables control of the target device by the first computing device;
the controller is configured to communicate with a second computing device that has access to a second target-device script that, when executed, instantiates a second control object configured to control the target device, and the controller is configured to optionally function as a command interface between the second computing device and the target device connected to the one or more connection ports;
the second computing device is configured to optionally control the target device by using the second target-device script to cause the second control object to send second instruction requests to the controller, the controller applying the received second instruction requests to the target device and sending back to the second computing device any data responses received from the target device; and
the controller is configured such that, if the target device is currently being controlled by the first computing device and the controller receives a second instruction request from the second control object requesting control of the target device, the controller does not allow control of the target device by the second computing device.
0 Assignments
0 Petitions
Accused Products
Abstract
A device control system has a terminal 3 with a web browser 31, and a printer 5 that controls a connected device. The terminal 3 calls an object that controls a device and is instantiated by the device API 33 to support the device, and sends a request to the printer 5, by the web application 32; and the printer 5 executes a device control script 502 that controls the device, receives requests sent through the device API 33, and controls the device.
35 Citations
3 Claims
-
1. A printer comprising:
-
a communication interface configured to communicate with a first computing device that has access to a target-device script that, when executed, initiates a control object configured to control a target device; one or more connection ports configured to connect to the target device; and a controller configured as a command interface between the first computing device and the target device connected to the one or more connection ports; wherein; the printer is further configured to receive instruction requests from the first computing device, the instruction requests being generated by the control object by use of the script for controlling the target device; the controller is configured to apply commands via the one or more connection ports to the target device for executing the received instruction requests and send back to the first computing device any data responses received from the target device; the target device is selected from among a plurality of periphery devices; the one or more connection ports are configured to connect to each of the plurality of periphery devices; the controller is configured to execute a device control script that controls the target device; the device control script, when executed by the controller, causes the controller to connect to the control object, receive the instruction requests sent by the first computing device, and issue commands that control the target device connected to the one or more connection ports in accordance with the received instruction requests; one of the instruction requests is a start-control request specifying the target device connected to the one or more connection ports and instructing starting control of the target device; the command sent in accordance with the start-control request is a start-control command instructing starting control of the target device; the controller is configured such that, when the controller receives the start-control request from the first computing device, the controller sends the start-control command to the target device specified by the start-control request, and enables control of the target device by the first computing device; the controller is configured to communicate with a second computing device that has access to a second target-device script that, when executed, instantiates a second control object configured to control the target device, and the controller is configured to optionally function as a command interface between the second computing device and the target device connected to the one or more connection ports; the second computing device is configured to optionally control the target device by using the second target-device script to cause the second control object to send second instruction requests to the controller, the controller applying the received second instruction requests to the target device and sending back to the second computing device any data responses received from the target device; and the controller is configured such that, if the target device is currently being controlled by the first computing device and the controller receives a second instruction request from the second control object requesting control of the target device, the controller does not allow control of the target device by the second computing device.
-
-
2. A printer comprising:
-
a communication interface configured to communicate with a first computing device that has access to a script that, when executed, initiates a control object configured to control a target device of a plurality of devices connectable to the printer; one or more connection ports configured to connect to the target device; and a controller configured as a command interface between the first computing device and the target device connected to the one or more connection ports, wherein the controller is configured to receive a first communication from the first computing device in a first format incompatible with the target device, and generate, based on the first communication from the first computing device, a second communication in a second format compatible with the target device for controlling how the target device operates, the printer is further configured to receive instruction requests from the first computing device, the instruction requests being generated by the control object by use of the script for controlling the target device, the controller is configured to apply commands via the one or more connection ports to the target device for executing the received instruction requests and to send back to the first computing device any data responses received from the target device, the target device is selected from among the plurality of devices, the one or more connection ports are respectively configured to connect to the plurality of devices, the controller is configured to execute a device control script that controls the target device, the device control script, when executed by the controller, causes the controller to connect to the control object, receive the instruction requests sent by the first computing device, and issue commands that control the target device connected to the one or more connection ports in accordance with the received instruction requests, one of the instruction requests is a start-control request specifying the target device connected to the one or more connection ports and instructing starting control of the target device, the command sent in accordance with the start-control request is a start-control command instructing starting control of the target device, the controller is configured such that, when the controller receives the start-control request from the first computing device, the controller sends the start-control command to the target device specified by the start-control request, and enables control of the target device by the first computing device, the controller is configured to communicate with a second computing device that has access to a second target-device script that, when executed, instantiates a second control object configured to control the target device, and the controller is configured to optionally function as a command interface between the second computing device and the target device connected to the one or more connection ports, the second computing device is configured to optionally control the target device by using the second target-device script to cause the second control object to send second instruction requests to the controller, the controller applying the received second instruction requests to the target device and sending back to the second computing device any data responses received from the target device, and the controller is configured such that, if the controller receives a second instruction request for controlling the target device from the second computing device when the target device is being controlled by the first computing device, the controller sends to the second computing device a report indicating that the target device is busy.
-
-
3. A first printer comprising:
-
a communication interface configured to communicate with a first computing device that has access to a target-device script that, when executed, initiates a control object configured to control a target device; one or more connection ports configured to connect to the target device; and a controller configured as a command interface between the first computing device and the target device connected to the one or more connection ports; wherein; the first printer is further configured to receive instruction requests from the first computing device, the instruction requests being generated by the control object by use of the script for controlling the target device; the controller is configured to apply commands via the one or more connection ports to the target device for executing the received instruction requests and to send back to the first computing device any data responses received from the target device; the target device is selected from among a plurality of periphery devices; the one or more connection ports are respectively configured to connect to the plurality of periphery devices; the controller is configured to execute a device control script that controls the target device; the device control script, when executed by the controller, causes the controller to connect to the control object, receive the instruction requests sent by the first computing device, and issue commands that control the target device connected to the one or more connection ports in accordance with the received instruction requests; one of the instruction requests is a start-control request specifying the target device connected to the one or more connection ports and instructing starting control of the target device; the command sent in accordance with the start-control request is a start control command instructing starting control of the target device; the controller is configured such that, when the controller receives the start-control request from the first computing, the controller sends the start-control command to the target device specified by the start-control request, and enables control of the target device by the first computing device; the controller is configured to communicate with a second computing device that has access to a second target-device script that, when executed, instantiates a second control object configured to control the target device, and the controller is configured to optionally function as a command interface between the second computing device and the target device connected to the one or more connection ports; the second computing device is configured to optionally control the target device by using the second target-device script to cause the second control object to send second instruction requests to the controller, the controller applying the received second instruction requests to the target device and sending back to the second computing device any data responses received from the target device; the target device is a second printer configured to print; and the controller is configured such that, if the controller receives a second instruction request for controlling the second printer from the second computing device when the first printer is being controlled by the first computing device, the controller enables the second computing device to control the second printer by the device control script based on the second instruction request.
-
Specification