发明名称 Control device, control method for a control device, and recording medium
摘要 When a communication port is occupied by a recording control unit, the communication port can be released as needed without causing an error or problem. A communication control unit 16 has a decision unit 44 that determines whether or not the USB port 18 can be released from the recording control unit 42 based on control commands input from the recording control unit 42 when the USB port 18 is occupied by the recording control unit 42 and an access request for the USB port 18 is received from another device, and a releasing unit 45 that releases the USB port 18 from the recording control unit 42 when the decision unit 44 determines that the USB port 18 can be released from the recording control unit 42.
申请公布号 US9058133(B2) 申请公布日期 2015.06.16
申请号 US201113036674 申请日期 2011.02.28
申请人 Seiko Epson Corporation 发明人 Takamoto Akio
分类号 G06F15/00;G06F3/12;G06F9/00 主分类号 G06F15/00
代理机构 代理人
主权项 1. A control device for controlling a printer including a cutting device, the control device comprising: a communication port to which the printer is connected, the printer being external to the control device; a recording control unit configured to generate and output print control commands configured to control a printing operation by the printer, the print control commands including a paper-cutting command that actuates said cutting device; a maintenance unit configured to generate and output a request command configured to request access to the communication port and a maintenance control command configured to control a maintenance operation by the printer; and a communication control unit coupled to receive the request command and configured to selectively output the print control command or the maintenance control command to the communication port, the communication control unit including: a decision unit configured to determine, when the communication port is occupied by the recording control unit and the request command is received from the maintenance unit, if the communication port can be released from the recording control unit based on a status of the print control command input from the recording control unit, anda communication port releasing unit configured to release the communication port from the recording control unit and make the communication port available to the maintenance unit when the decision unit determines that the communication port can be released from the recording control unit; wherein the maintenance operation is a print test or operation setting of the printer; and wherein if the communication port is occupied by the recording control unit while the request command is received from the maintenance unit and the most recent print control command output by the recording control unit is not said paper-cutting command, then said decision unit determines that the communication port cannot be released from the recording control unit until the recording control unit outputs said paper-cutting command.
地址 Tokyo JP