Patent ID: 8838675

Claim:
A terminal in a host terminal environment, the terminal in communication with a device, the terminal comprising: a processor for executing instructions stored in a non-transitory computer readable memory, the instructions, when executed by the processor providing a virtual device on the terminal, the virtual device configured to: execute, by a processing module, a plurality of actions comprising at least a device driver call and to process information returned from at least the device driver call; transform, by a transformation module, a command received from the host in a command packet embedded in a terminal screen into the plurality of actions to be executed by the processing module, wherein the command packet comprises: a command packet start string field for indicating the beginning of a command packet; a command packet length field for indicating the length of the command packet; a command field for indicating the host-issued command; and a command data length field for indicating the length of a command data field; and form, by a response module, a response to the command to be sent to the host based on the processed information, the response to the command is in the form of a response packet to be embedded in a screen having a limited input field size for sending to the host, the response including an indication that there is further processed information to be sent to the host.