[go: up one dir, main page]

JP2014049778A - Electronic equipment and method for controlling the same - Google Patents

Electronic equipment and method for controlling the same Download PDF

Info

Publication number
JP2014049778A
JP2014049778A JP2012188402A JP2012188402A JP2014049778A JP 2014049778 A JP2014049778 A JP 2014049778A JP 2012188402 A JP2012188402 A JP 2012188402A JP 2012188402 A JP2012188402 A JP 2012188402A JP 2014049778 A JP2014049778 A JP 2014049778A
Authority
JP
Japan
Prior art keywords
command system
control
processing medium
unit
image reading
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2012188402A
Other languages
Japanese (ja)
Inventor
Takashi Takehana
貴志 竹花
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Seiko Epson Corp
Original Assignee
Seiko Epson Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP2012188402A priority Critical patent/JP2014049778A/en
Priority to CN201310378998.4A priority patent/CN103685809B/en
Publication of JP2014049778A publication Critical patent/JP2014049778A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)
  • Printers Characterized By Their Purpose (AREA)
  • Facsimiles In General (AREA)

Abstract

【課題】複数の処理部により、異なるコマンド体系を用いた処理が実行可能な電子機器が、コマンド体系を切り替えて用いられる場合にも作業効率を低下させることがないようにする。
【解決手段】
電子機器10は、搬送路に沿って処理媒体を搬送する搬送部100と、処理媒体に対して印刷を行う印刷部18と、処理媒体から画像を読み取る画像読取部110と、受信したコマンドに基づき、印刷制御用のコマンド体系と画像読取制御用のコマンド体系を切り換えて印刷部18および画像読取部110を制御するとともに、搬送部100を制御して処理媒体を排出する排出処理を行わせる制御部と、を備える。制御部は、画像読取制御用のコマンド体系から印刷制御用のコマンド体系にコマンド体系を切り換えるときに処理媒体の排出処理を行い、印刷制御用のコマンド体系から画像読取制御用のコマンド体系にコマンド体系を切り換えるときは処理媒体の排出処理を省略する。
【選択図】図3
An electronic apparatus capable of executing processing using a different command system by a plurality of processing units does not reduce work efficiency even when the command system is switched.
[Solution]
The electronic device 10 is based on a transport unit 100 that transports a processing medium along a transport path, a printing unit 18 that performs printing on the processing medium, an image reading unit 110 that reads an image from the processing medium, and a received command. A control unit that controls the printing unit 18 and the image reading unit 110 by switching a command system for printing control and a command system for image reading control, and controls the transport unit 100 to perform a discharge process for discharging the processing medium. And comprising. The control unit performs processing medium ejection processing when the command system is switched from the command system for image reading control to the command system for printing control, and the command system is changed from the command system for printing control to the command system for image reading control. When switching between, the processing medium discharge processing is omitted.
[Selection] Figure 3

Description

本発明は、複数の処理部により、異なるコマンド体系を用いた処理が実行可能な電子機器、および電子機器の制御方法に関する。   The present invention relates to an electronic device capable of executing processing using different command systems by a plurality of processing units, and an electronic device control method.

従来、パーソナルコンピューター等のホストコンピューターに接続されるプリンター等の電子機器には様々な種類があるが、通常、それら電子機器をホストコンピューターにより制御するための制御コマンドは、機種によって異なっている。そして、この種の電子機器としては、例えば特許文献1に示すように、通常動作用のコマンド体系と他装置のコマンド体系をエミュレートしたコマンド体系とを、印刷部、光学読取部などのそれぞれ異なる処理部において実行可能としたものが知られている。   Conventionally, there are various types of electronic devices such as a printer connected to a host computer such as a personal computer. Usually, control commands for controlling the electronic devices by the host computer differ depending on the model. As an electronic apparatus of this type, for example, as shown in Patent Document 1, a command system for normal operation and a command system emulating a command system of another device are different for a printing unit, an optical reading unit, and the like. What is made executable in the processing unit is known.

特開2012−59165号公報JP 2012-59165 A

一般的に、異なったコマンド体系では、記録媒体を搬送する際の搬送路に対する相対位置管理もそれぞれ相違している。このため、特許文献1の電子機器において、他装置のコマンド体系をエミュレートするエミュレーション用コマンド体系にて記録媒体に対する印刷処理が行われた後に、通常動作用のコマンド体系にて当該記録媒体に対する画像スキャン処理を行う場合には、相対位置管理を初期化するために、コマンド体系の切り換えの際に記録媒体を排出することが条件となっている。すなわち、特許文献1の電子機器では、エミュレーション用コマンド体系で印刷処理を行った後に、記録媒体を一度排出してからでないと画像スキャン処理を行うことができない。その結果、印刷処理と画像スキャン処理の間にオペレータによる再給紙作業を介在させることとなり、作業効率の低下につながっていた。   Generally, in different command systems, the relative position management with respect to the transport path when transporting the recording medium is also different. For this reason, in the electronic device disclosed in Patent Document 1, after printing processing is performed on a recording medium using an emulation command system that emulates the command system of another device, an image corresponding to the recording medium is displayed using a command system for normal operation. In order to initialize the relative position management, it is necessary to eject the recording medium when the command system is switched. That is, in the electronic device of Patent Document 1, after performing the printing process using the emulation command system, the image scanning process can be performed only after the recording medium is ejected. As a result, refeeding work by the operator is interposed between the printing process and the image scanning process, leading to a reduction in work efficiency.

本発明は、このような事情に鑑みてなされたものであり、複数の処理部により、異なるコマンド体系を用いた処理が実行可能な電子機器が、コマンド体系を切り替えて用いられる場合にも作業効率を低下させることのない技術の提供を目的とする。   The present invention has been made in view of such circumstances, and even when an electronic device capable of executing processing using a different command system by a plurality of processing units is used by switching the command system, the work efficiency is improved. The purpose is to provide technology that does not decrease

上記課題の少なくとも一部を解決するために、本発明は、以下のような適用例として実現することができる。   In order to solve at least a part of the above problems, the present invention can be realized as the following application examples.

本発明の一態様の電子機器は、
搬送路に沿って処理媒体を搬送する搬送部と、
前記搬送路に沿って搬送される前記処理媒体に対して印刷を行う印刷部と、
前記搬送路に沿って搬送される前記処理媒体から画像を読み取る画像読取部と、
受信したコマンドに基づき、印刷制御用のコマンド体系と画像読取制御用のコマンド体系を切り換えて前記印刷部および前記画像読取部を制御するとともに、前記搬送部を制御して前記処理媒体を排出する排出処理を行わせる制御部と、
を備え、
前記制御部は、前記画像読取制御用のコマンド体系から前記印刷制御用のコマンド体系にコマンド体系を切り換えるときに前記排出処理を行い、前記印刷制御用のコマンド体系から前記画像読取制御用のコマンド体系にコマンド体系を切り換えるときは前記排出処理を省略することを特徴とする。
An electronic device according to one embodiment of the present invention includes:
A transport unit that transports the processing medium along the transport path;
A printing unit that performs printing on the processing medium conveyed along the conveyance path;
An image reading unit that reads an image from the processing medium conveyed along the conveyance path;
Based on the received command, a command system for printing control and a command system for image reading control are switched to control the printing unit and the image reading unit, and the discharge unit that controls the transport unit to discharge the processing medium. A control unit for performing processing;
With
The control unit performs the discharge processing when the command system is switched from the command system for image reading control to the command system for printing control, and the command system for image reading control from the command system for printing control. When switching the command system, the discharge process is omitted.

上記の構成によれば、コマンド体系の切り替えにより、処理媒体の搬送路に対する相対位置の管理が重要とならない画像読取処理を行うに際して、処理媒体の排出処理が生じることがない。   According to the above configuration, the processing medium discharge process does not occur when performing the image reading process in which the management of the relative position of the processing medium with respect to the conveyance path is not important by switching the command system.

この場合、前記印刷制御用のコマンド体系および前記画像読取制御用のコマンド体系の少なくとも一方は、他のコマンド体系をエミュレートするエミュレーション用コマンド体系であってもよい。   In this case, at least one of the command system for print control and the command system for image reading control may be an emulation command system that emulates another command system.

また、前記排出処理には、前記搬送路上の前記処理媒体の有無を検知する第1の処理と、前記搬送路上に前記処理媒体があると判断されたときに、前記搬送部を制御して前記処理媒体の前記搬送路からの排出を行う第2の処理と、が含まれることが好ましい。
このような構成によれば、搬送路からすでに処理媒体が排出されている場合には、処理媒体の排出処理を省略することができる。
Further, in the discharging process, when it is determined that there is the processing medium on the transport path and the first process for detecting the presence or absence of the processing medium on the transport path, the transport unit is controlled to And a second process for discharging the processing medium from the conveyance path.
According to such a configuration, when the processing medium is already discharged from the conveyance path, the processing medium discharge processing can be omitted.

本発明の他の態様の電子機器の制御方法は、電子機器内部の搬送路に沿って搬送される処理媒体に対して、第一のコマンド体系に基づき、印刷処理および画像読取処理のうちの一方を行う第一の工程と、
コマンド体系を、前記第一のコマンド体系から第二のコマンド体系に切り替えるとともに、所定の条件に基づき前記処理媒体の前記搬送路に対する相対位置を初期化する第二の工程と、
前記処理媒体に対して、前記第二のコマンド体系に基づき、前記印刷処理および画像読取処理のうちの他方を行う第三の工程と、を備え、
前記第二の工程における前記相対位置の初期化は、前記第二のコマンド体系に基づき前記印刷処理が行われる場合に実行され、前記第二のコマンド体系に基づき画像読取処理が行われる場合には省略されることを特徴とする。
According to another aspect of the present invention, there is provided a control method for an electronic device, which is one of printing processing and image reading processing based on a first command system for a processing medium transported along a transport path inside the electronic device. A first step of performing
A second step of switching the command system from the first command system to the second command system and initializing a relative position of the processing medium with respect to the transport path based on a predetermined condition;
A third step of performing the other of the printing process and the image reading process on the processing medium based on the second command system,
The initialization of the relative position in the second step is executed when the printing process is performed based on the second command system, and when the image reading process is performed based on the second command system. It is omitted.

上記の構成によれば、第一のコマンド体系と第二のコマンド体系が切り替わる場合でも、第二のコマンド体系に基づき画像読取処理が行われる場合には、処理媒体の搬送路に対する相対位置の初期化が省略されるため、処理媒体の排出処理や再整列処理を伴うことなく印刷処理から連続して画像読取処理を行うことができる。   According to the above configuration, even when the first command system and the second command system are switched, when the image reading process is performed based on the second command system, the initial position of the relative position of the processing medium relative to the conveyance path is determined. Therefore, the image reading process can be performed continuously from the printing process without the discharge process or the rearrangement process of the processing medium.

また、第二のコマンド体系に基づき印刷処理が行われる場合には、処理媒体の排出処理または整列処理を行うことが好適であり、これにより、処理媒体の相対位置の管理不良を防ぐことができる。   In addition, when printing processing is performed based on the second command system, it is preferable to perform processing medium discharge processing or alignment processing, which can prevent poor management of the relative position of the processing media. .

本発明の一実施の形態に係る電子機器の外観斜視図である。It is an external appearance perspective view of the electronic device which concerns on one embodiment of this invention. 図1に示した電子機器の本体を示す斜視図である。It is a perspective view which shows the main body of the electronic device shown in FIG. 図1に示した電子機器本体の側断面図である。It is a sectional side view of the electronic device main body shown in FIG. 図1に示した電子機器の制御系のブロック図である。It is a block diagram of the control system of the electronic device shown in FIG. 図1に示した電子機器とホストコンピューターとの機能的構成を示すブロック図である。It is a block diagram which shows the functional structure of the electronic device shown in FIG. 1, and a host computer. 図1に示した電子機器の動作の一例を示すフローチャートである。4 is a flowchart illustrating an example of an operation of the electronic device illustrated in FIG. 1. 図1に示した電子機器のコマンド体系の切替えの流れを示すフローチャートである。It is a flowchart which shows the flow of switching of the command system of the electronic device shown in FIG.

以下、本発明の実施形態について図面を参照して説明する。
図1は、本実施形態に係る複合機10(電子機器の一例)の外観を示す正面斜視図である。図2は、複合機10の本体11を示す外観斜視図である。図3は、図1の複合機10を示す側断面図である。
図1に示す複合機10は、処理媒体Sの記録面にSIDM(Serial Impact Dot Matrix)方式の記録ヘッド18(図3参照)により印刷するプリンター機能と、処理媒体Sの両面を画像読取部110(図3参照)によって光学的にスキャンするスキャナー機能とを備えた装置である。
Embodiments of the present invention will be described below with reference to the drawings.
FIG. 1 is a front perspective view illustrating an appearance of a multifunction machine 10 (an example of an electronic device) according to the present embodiment. FIG. 2 is an external perspective view showing the main body 11 of the multifunction machine 10. FIG. 3 is a side sectional view showing the multifunction machine 10 of FIG.
1 includes a printer function for printing on a recording surface of a processing medium S by a recording head 18 (see FIG. 3) of a SIDM (Serial Impact Dot Matrix) method, and an image reading unit 110 on both sides of the processing medium S. And a scanner function for optically scanning (see FIG. 3).

複合機10で使用可能な処理媒体Sとしては、所定長さに切断されたカット媒体と、複数枚が連接された連続紙とが挙げられる。本実施形態では、処理媒体Sとして、金融機関等が発行する通帳が使用される。通帳は、複数枚の記録用紙が綴じられた冊子形態となっており、この冊子を開いた内側の面が記録面となっている。通帳の裏表紙に相当する面の後部には、磁気ストライプが設けられている。
なお、以下の説明では、矩形の処理媒体Sの4辺のうち、複合機10へ向かって差し込まれる側の辺を先端とし、この先端と対向する側の辺を後端とする。
Examples of the processing medium S that can be used in the multifunction machine 10 include cut media cut to a predetermined length and continuous paper in which a plurality of sheets are connected. In the present embodiment, a passbook issued by a financial institution or the like is used as the processing medium S. The passbook is in the form of a booklet in which a plurality of recording papers are bound, and the inner side of the booklet is the recording surface. A magnetic stripe is provided at the rear of the surface corresponding to the back cover of the passbook.
In the following description, of the four sides of the rectangular processing medium S, the side that is inserted toward the multifunction machine 10 is the front end, and the side that faces the front end is the rear end.

図1に示すように、複合機10は、上部カバー12、上部ケース13および下部ケース14を備えている。上部ケース13および下部ケース14の前面には、処理媒体Sを挿入及び排出する手差口15が開口している。一方、上部ケース13および下部ケース14の背面には処理媒体Sを排出する排出口20(図3参照)が開口している。手差口15が開口した側、すなわち図3中の左側をフロント(前)側とし、排出口20が開口した側、すなわち図3中の右側をリア(後)側とする。   As shown in FIG. 1, the multifunction machine 10 includes an upper cover 12, an upper case 13, and a lower case 14. A manual feed opening 15 through which the processing medium S is inserted and discharged is opened in front of the upper case 13 and the lower case 14. On the other hand, on the back surface of the upper case 13 and the lower case 14, a discharge port 20 (see FIG. 3) for discharging the processing medium S is opened. The side where the manual feed port 15 is opened, that is, the left side in FIG. 3 is the front (front) side, and the side where the discharge port 20 is opened, ie, the right side in FIG. 3 is the rear (rear) side.

図2及び図3に示すように、複合機10は、上部カバー12、上部ケース13および下部ケース14に覆われた本体11を有している。本体11は、ベースフレーム16と、このベースフレーム16の両端に固定される一対の右サイドフレーム17A及び左サイドフレーム17Bとを備える。両サイドフレーム17A、17Bの外側には、上本体部の両サイドフレーム(図示略)があり、その間にキャリッジガイド軸31が架け渡されると共に、両サイドフレーム17A、17B間に平坦面形状の前方媒体案内部24及び後方媒体案内部25が固定して設けられる。これらの前方媒体案内部24と後方媒体案内部25との間に、平面形状のプラテン21が配置されている。   As shown in FIGS. 2 and 3, the multifunction machine 10 has a main body 11 covered with an upper cover 12, an upper case 13, and a lower case 14. The main body 11 includes a base frame 16 and a pair of right side frame 17 </ b> A and left side frame 17 </ b> B fixed to both ends of the base frame 16. Outside the both side frames 17A and 17B, there are both side frames (not shown) of the upper main body, and a carriage guide shaft 31 is bridged between them, and a flat surface shape front is formed between the side frames 17A and 17B. The medium guide unit 24 and the rear medium guide unit 25 are fixedly provided. A planar platen 21 is disposed between the front medium guide part 24 and the rear medium guide part 25.

キャリッジガイド軸31には、キャリッジ19が摺動自在に挿通されている。キャリッジ19は、当該キャリッジ19を駆動するキャリッジ駆動モーター56(図4参照)により駆動され、キャリッジガイド軸31に案内されて往復移動される。
キャリッジ19は、図1中の符号Xで示す方向、すなわち、キャリッジガイド軸31の軸方向及びプラテン21の長手方向と一致する主走査方向に、上本体部の両サイドフレームの間で往復走査される。なお、キャリッジ19の主走査方向Xに直交する方向、すなわち図1中の符号Yで示す方向を副走査方向とする。
A carriage 19 is slidably inserted into the carriage guide shaft 31. The carriage 19 is driven by a carriage drive motor 56 (see FIG. 4) that drives the carriage 19, and is guided by the carriage guide shaft 31 to reciprocate.
The carriage 19 is reciprocally scanned between the side frames of the upper main body in the direction indicated by the symbol X in FIG. 1, that is, in the main scanning direction that coincides with the axial direction of the carriage guide shaft 31 and the longitudinal direction of the platen 21. The Note that a direction orthogonal to the main scanning direction X of the carriage 19, that is, a direction indicated by a symbol Y in FIG.

本体11は、図3に示すように、処理媒体Sを搬送する搬送部100と、この搬送部100により搬送される処理媒体Sの先端が突き当てられて当該処理媒体Sを整列させる整列部28と、処理媒体Sに対して印刷を行う記録ヘッド18と、処理媒体Sの表面に表示された文字、記号または画像等を読み取る画像読取部110とを有している。   As shown in FIG. 3, the main body 11 includes a transport unit 100 that transports the processing medium S, and an alignment unit 28 that aligns the processing medium S by abutting the leading end of the processing medium S transported by the transport unit 100. And a recording head 18 that performs printing on the processing medium S, and an image reading unit 110 that reads characters, symbols, images, or the like displayed on the surface of the processing medium S.

搬送部100は、図2、図3に示すように、プラテン21、第1駆動ローラー22A、第1従動ローラー22B、第2駆動ローラー23A、第2従動ローラー23B、第3駆動ローラー124A、第3従動ローラー124B、前方媒体案内部24、後方媒体案内部25、媒体搬送モーター26及び駆動輪列部27とで、構成されている。搬送部100は、前方媒体案内部24及び後方媒体案内部25上に、各ローラーを介して処理媒体Sを搬送する搬送路Pを構成し、前方媒体案内部24及び後方媒体案内部25の上面が搬送路Pの搬送面PAとなっている。   As shown in FIGS. 2 and 3, the transport unit 100 includes a platen 21, a first driving roller 22A, a first driven roller 22B, a second driving roller 23A, a second driven roller 23B, a third driving roller 124A, a third The driven roller 124B, the front medium guide 24, the rear medium guide 25, the medium transport motor 26, and the drive wheel train 27 are configured. The transport unit 100 configures a transport path P that transports the processing medium S via each roller on the front medium guide unit 24 and the rear medium guide unit 25, and the upper surfaces of the front medium guide unit 24 and the rear medium guide unit 25. Is the conveyance surface PA of the conveyance path P.

第1駆動ローラー22A、第2駆動ローラー23A、及び、第3駆動ローラー124Aは同一方向に回転して、処理媒体Sを本体11内に搬送可能とする。つまり、図3に示す第1駆動ローラー22A、第2駆動ローラー23A、及び、第3駆動ローラー124Aは、媒体搬送モーター26が正転している場合、副走査方向に沿って、図3中の符号Aで示すように本体11内に処理媒体Sを搬送し、媒体搬送モーター26が逆転している場合、図3中の符号Bで示すように、本体11内から排出する方向に処理媒体Sを搬送する。   The first drive roller 22A, the second drive roller 23A, and the third drive roller 124A rotate in the same direction so that the processing medium S can be conveyed into the main body 11. That is, the first drive roller 22A, the second drive roller 23A, and the third drive roller 124A shown in FIG. 3 are arranged along the sub-scanning direction in FIG. 3 when the medium transport motor 26 is rotating forward. When the processing medium S is transported into the main body 11 as indicated by reference numeral A and the medium transport motor 26 is reversed, the processing medium S is ejected from the main body 11 as indicated by reference numeral B in FIG. Transport.

整列部28は、第1駆動ローラー22A及び第1従動ローラー22Bと記録ヘッド18及びプラテン21との間に、主走査方向に並べて設けられ、搬送路P内に突出する複数の整列板38と、整列板38を駆動する整列モーター58(図4)とを備えている。整列部28は、これら整列板38に処理媒体Sの先端部を突き当てることで処理媒体Sの向きを初期化し、処理媒体Sを整列させることができる。   The alignment unit 28 is arranged between the first driving roller 22A and the first driven roller 22B, the recording head 18 and the platen 21 in the main scanning direction, and a plurality of alignment plates 38 protruding into the conveyance path P; An alignment motor 58 (FIG. 4) for driving the alignment plate 38 is provided. The alignment unit 28 can initialize the orientation of the processing medium S by abutting the tip of the processing medium S against the alignment plate 38 and align the processing medium S.

図2に示すように、搬送路Pにおける整列板38の上流側近傍には、これら整列板38に突き当てられた処理媒体Sの有無を検知する複数の整列センサー39が設けられている。整列センサー39は、それぞれ搬送路Pを挟んで対向する発光部(LED等)と受光部(フォトトランジスター等)とを備える光透過型のセンサーであり、主走査方向に並べて配設されている。複数の整列センサー39のうち処理媒体Sの先端を検出したセンサーの数及び配置により、整列部28による整列後の処理媒体Sの搬送方向に対する傾きが、許容範囲内であるか否かを判定することができる。   As shown in FIG. 2, in the vicinity of the upstream side of the alignment plate 38 in the transport path P, a plurality of alignment sensors 39 that detect the presence or absence of the processing medium S abutted against the alignment plate 38 are provided. The alignment sensor 39 is a light transmission type sensor that includes a light emitting unit (such as an LED) and a light receiving unit (such as a phototransistor) that face each other across the transport path P, and is aligned in the main scanning direction. Based on the number and arrangement of the sensors that detect the front end of the processing medium S among the plurality of alignment sensors 39, it is determined whether or not the inclination of the processing medium S after the alignment by the alignment unit 28 with respect to the transport direction is within an allowable range. be able to.

本体11において、第1駆動ローラー22Aのフロント側には、搬送路Pへの処理媒体Sの挿入を検知する複数の媒体端センサー47が並設されている。これら媒体端センサー47は、搬送路Pに向けて光を発する発光部と、その反射光を検出する受光部とを備えた光反射型センサーであり、手差口15から挿入された処理媒体Sを検出する。   In the main body 11, a plurality of medium edge sensors 47 that detect insertion of the processing medium S into the conveyance path P are arranged in parallel on the front side of the first drive roller 22 </ b> A. These medium edge sensors 47 are light reflecting sensors each having a light emitting unit that emits light toward the conveyance path P and a light receiving unit that detects the reflected light, and the processing medium S inserted from the manual feed port 15. Is detected.

プラテン21の上方には、プラテン21に対向するようにキャリッジ19に搭載される記録ヘッド18(印刷部の一例)が配置されている。記録ヘッド18は、キャリッジ19と共に走行される間に、その先端面においてプラテン21に対向するワイヤー突出部(図示略)から記録ワイヤーを突出させてインクリボンに打ち当て、プラテン21と記録ヘッド18との間に搬送される処理媒体Sにインクリボンのインクを付着させて、処理媒体Sに文字を含む画像を記録する。   A recording head 18 (an example of a printing unit) that is mounted on the carriage 19 is disposed above the platen 21 so as to face the platen 21. While the recording head 18 travels with the carriage 19, a recording wire is projected from a wire projecting portion (not shown) opposed to the platen 21 at the front end surface of the recording head 18 and hit against the ink ribbon. The ink of the ink ribbon is attached to the processing medium S conveyed during the period of time, and an image including characters is recorded on the processing medium S.

記録ヘッド18の後方側には、図3に示すように、プラテン21の上方に位置するように媒体幅センサー55が配設される。媒体幅センサー55は、キャリッジ19に搭載されてキャリッジ19とともにプラテン21上を走査され、処理媒体Sの側端の位置や処理媒体Sの幅を求めるために使用される。   As shown in FIG. 3, a medium width sensor 55 is disposed on the rear side of the recording head 18 so as to be positioned above the platen 21. The medium width sensor 55 is mounted on the carriage 19 and scanned on the platen 21 together with the carriage 19, and is used to obtain the position of the side edge of the processing medium S and the width of the processing medium S.

画像読取部110は、処理媒体Sの上面側に印刷等で表示されている情報を読み取る第1スキャナーモジュール111と、この第1スキャナーモジュール111に対向配置され、当該処理媒体Sの下面側に印刷等で表示されている情報を読み取る第2スキャナーモジュール112と、を備える。
第1スキャナーモジュール111及び第2スキャナーモジュール112は、第2駆動ローラー23Aと第3駆動ローラー124Aとの間に配置され、搬送路Pを搬送中の処理媒体Sの情報を連続的に読み取る光学イメージセンサーである。
なお、画像読取部110は、整列センサー39および媒体端センサー47とは別個に、処理媒体Sの搬送路Pに沿った位置(以下、垂直位置)を管理するための位置管理手段(図示略)を備えている。この位置管理手段により、画像読取部110は、当該処理媒体Sの垂直位置を管理して、画像読取開始時の画像読取開始位置へ処理媒体Sを適切に移動可能に構成されている。
The image reading unit 110 is disposed opposite to the first scanner module 111 that reads information displayed by printing or the like on the upper surface side of the processing medium S, and is printed on the lower surface side of the processing medium S. And a second scanner module 112 that reads information displayed in the above.
The first scanner module 111 and the second scanner module 112 are arranged between the second drive roller 23A and the third drive roller 124A, and are optical images that continuously read information on the processing medium S being conveyed on the conveyance path P. It is a sensor.
The image reading unit 110 is a position management unit (not shown) for managing a position (hereinafter, a vertical position) along the transport path P of the processing medium S separately from the alignment sensor 39 and the medium edge sensor 47. It has. By this position management means, the image reading unit 110 is configured to manage the vertical position of the processing medium S and appropriately move the processing medium S to the image reading start position at the start of image reading.

図4は、複合機10の制御系の構成を示すブロック図である。
この図4に示す各部は、制御基板(図示略)に実装されたハードウェアとソフトウェアとの協働により実現される。
複合機10は、制御プログラムに基づいて複合機10の全体を制御するCPU40(制御部の一例)、CPU40によりFLASH−ROM42から読み出された制御プログラムやデータ等を一時的に記憶するRAM41、CPU40により実行される制御プラグラムや処理されるデータ等を記憶したFLASH−ROM42、複合機10を制御するホストコンピューター200との間で情報を送受信する際のデータ形式を変換するシリアルインターフェイス(I/F)43及びUSBインターフェイス44、各種センサー類に接続されたゲートアレイ(G/A)45、各種モーターを駆動するモータードライバー46、及び、ヘッドを駆動するヘッドドライバー48を備え、これらの各部はバス49を介して接続されている。RAM41は、ホストコンピューター200から送信された各種コマンドを一時的に記憶する受信バッファー、画像読取部110が読み取った読取画像データを一時的に記憶する画像バッファー等のバッファーメモリーとして機能する。
FIG. 4 is a block diagram showing the configuration of the control system of the multifunction machine 10.
Each unit shown in FIG. 4 is realized by cooperation of hardware and software mounted on a control board (not shown).
The multi-function device 10 includes a CPU 40 (an example of a control unit) that controls the entire multi-function device 10 based on a control program, a RAM 41 that temporarily stores a control program and data read from the FLASH-ROM 42 by the CPU 40, and the CPU 40. Serial interface (I / F) that converts the data format when transmitting and receiving information to and from the FLASH-ROM 42 that stores control programs executed by the computer, data to be processed, and the host computer 200 that controls the multifunction device 10 43 and a USB interface 44, a gate array (G / A) 45 connected to various sensors, a motor driver 46 for driving various motors, and a head driver 48 for driving a head. Connected through. The RAM 41 functions as a buffer memory such as a reception buffer that temporarily stores various commands transmitted from the host computer 200 and an image buffer that temporarily stores read image data read by the image reading unit 110.

ゲートアレイ45には、整列センサー39、媒体端センサー47、媒体幅センサー55、第1スキャナーモジュール111、及び、第2スキャナーモジュール112が接続されている。ゲートアレイ45は、整列センサー39、媒体端センサー47及び媒体幅センサー55から入力されるアナログ電圧を量子化してデジタルデータとし、CPU40に出力する。   An alignment sensor 39, a medium edge sensor 47, a medium width sensor 55, a first scanner module 111, and a second scanner module 112 are connected to the gate array 45. The gate array 45 quantizes the analog voltage input from the alignment sensor 39, the medium edge sensor 47, and the medium width sensor 55 into digital data, and outputs the digital data to the CPU 40.

モータードライバー46は、媒体搬送モーター26、キャリッジ駆動モーター56、及び整列モーター58に接続され、これら各モーターに駆動電流や駆動パルスを供給して、これらのモーターを動作させる。CPU40は、媒体搬送モーター26などの搬送部100からの出力と媒体端センサー47からの出力とに基づき、搬送路Pに対する処理媒体Sの相対位置を演算値として内部に保持し、処理媒体Sの搬送路P上の位置を把握することができる。
ヘッドドライバー48は、記録ヘッド18に接続され、記録ヘッド18に対して駆動電流を供給することによって記録ワイヤーを突出させる。
The motor driver 46 is connected to the medium transport motor 26, the carriage drive motor 56, and the alignment motor 58, and supplies these motors with drive current and drive pulses to operate these motors. Based on the output from the transport unit 100 such as the medium transport motor 26 and the output from the medium end sensor 47, the CPU 40 internally holds the relative position of the processing medium S with respect to the transport path P as a calculated value. The position on the conveyance path P can be grasped.
The head driver 48 is connected to the recording head 18 and causes the recording wire to protrude by supplying a driving current to the recording head 18.

CPU40は、FLASH−ROM42に格納された制御プログラムに基づいて、ゲートアレイ45、モータードライバー46及びヘッドドライバー48を介して、各種センサーの検知状態を取得するとともに各モーターを駆動して処理媒体Sを搬送し、記録ヘッド18を制御することにより処理媒体Sへの印刷を実行する。また、CPU40は、搬送部100により処理媒体Sを搬送し、ゲートアレイ45を介して第1スキャナーモジュール111及び第2スキャナーモジュール112を制御し、処理媒体Sの表面を読み取る。   Based on the control program stored in the FLASH-ROM 42, the CPU 40 acquires detection states of various sensors via the gate array 45, the motor driver 46, and the head driver 48, and drives each motor to process the processing medium S. The printing is performed on the processing medium S by conveying and controlling the recording head 18. Further, the CPU 40 transports the processing medium S by the transport unit 100, controls the first scanner module 111 and the second scanner module 112 via the gate array 45, and reads the surface of the processing medium S.

図5は、複合機10及びホストコンピューター200の機能的構成を示すブロック図である。
ホストコンピューター200は、CPU(図示略)によって各種プログラムを実行することにより、図5に示す各部を実現する。すなわち、ホストコンピューター200は、アプリケーションプログラム201と、アプリケーションプログラム201に対して複合機10を制御するための機能モジュールを提供するスキャナードライバー211及びプリンタードライバー217と、スキャナードライバー211及びプリンタードライバー217に対してホストコンピューター200が備える入出力ポートを割り当てるポートハンドラー221とを備えている。ホストコンピューター200は、ポートハンドラー221の制御により、USBポート231、シリアルポート233及びパラレルポート235を介して複合機10との間で各種データや制御信号を入出力する。
FIG. 5 is a block diagram illustrating functional configurations of the multifunction machine 10 and the host computer 200.
The host computer 200 implements each unit shown in FIG. 5 by executing various programs by a CPU (not shown). That is, the host computer 200 provides an application program 201, a scanner driver 211 and a printer driver 217 that provide functional modules for controlling the multifunction peripheral 10 to the application program 201, and a scanner driver 211 and a printer driver 217. And a port handler 221 for assigning input / output ports provided in the host computer 200. The host computer 200 inputs / outputs various data and control signals to / from the multifunction machine 10 via the USB port 231, the serial port 233, and the parallel port 235 under the control of the port handler 221.

複合機10は、シリアルインターフェイス43及びUSBインターフェイス44を介してホストコンピューター200から送信されたコマンド及びデータを一時的に記憶する受信バッファー66を備えている。複合機10は、受信バッファー66に蓄積されたコマンドを実行する制御部70を有する。この制御部70は、CPU40(図4)により制御プログラムを実行することで実現される。   The multifunction machine 10 includes a reception buffer 66 that temporarily stores commands and data transmitted from the host computer 200 via the serial interface 43 and the USB interface 44. The multi-function device 10 includes a control unit 70 that executes commands stored in the reception buffer 66. This control part 70 is implement | achieved by running a control program by CPU40 (FIG. 4).

制御部70は、プリンター制御モード71、プリンター制御モード72、及びスキャナー制御モード75の各動作モードを切り替えて実行可能である。
プリンター制御モード71及びプリンター制御モード72は、記録ヘッド18によって、処理媒体Sとしての通帳に印刷を行う動作モードである。プリンター制御モード71、72は、必要に応じて処理媒体Sの搬送と整列を行い、処理媒体Sに文字や記号等を印刷する。また、スキャナー制御モード75は、画像読取部110によって処理媒体Sの光学的な画像読取を実行する動作モードである。
The control unit 70 can switch and execute each operation mode of the printer control mode 71, the printer control mode 72, and the scanner control mode 75.
The printer control mode 71 and the printer control mode 72 are operation modes in which printing is performed on a passbook as the processing medium S by the recording head 18. In the printer control modes 71 and 72, the processing medium S is conveyed and aligned as necessary, and characters, symbols, and the like are printed on the processing medium S. The scanner control mode 75 is an operation mode in which the image reading unit 110 performs optical image reading of the processing medium S.

ホストコンピューター200から複合機10へ送信されるコマンドは、所定のコマンド体系により定義されたコマンドである。スキャナードライバー211及びプリンタードライバー217はそれぞれ特定のコマンド体系に対応しており、ホストコンピューター200は特定のコマンド体系に定義されたコマンドを複合機10へ送信する。   The command transmitted from the host computer 200 to the multi-function device 10 is a command defined by a predetermined command system. The scanner driver 211 and the printer driver 217 each correspond to a specific command system, and the host computer 200 transmits a command defined in the specific command system to the multifunction device 10.

制御部70が有する各動作モードは、それぞれ異なるコマンド体系(コマンド群)に対応している。プリンター制御モード71は、本実施形態の複合機10向けに提供されているコマンド体系Vのコマンドに従って動作するための通常動作モードである。
プリンター制御モード72は、複合機10以外の他装置(ここでは、プリンターWとする)向けに提供されているコマンド体系であるコマンド体系Wのコマンドに従って動作するための動作モードである。すなわち、プリンター制御モード72は、プリンターWの動作をエミュレートし、複合機10をプリンターWと同じコマンドに従って動作させるためのエミュレーション用動作モードである。
また、スキャナー制御モード75は、複合機10向けに提供されているコマンド体系であるコマンド体系Lのコマンドに従って動作するための通常動作モードである。
Each operation mode of the control unit 70 corresponds to a different command system (command group). The printer control mode 71 is a normal operation mode for operating according to commands of the command system V provided for the multifunction machine 10 of the present embodiment.
The printer control mode 72 is an operation mode for operating in accordance with commands of a command system W that is a command system provided for devices other than the multifunction machine 10 (here, the printer W). That is, the printer control mode 72 is an emulation operation mode for emulating the operation of the printer W and causing the multifunction peripheral 10 to operate according to the same command as the printer W.
The scanner control mode 75 is a normal operation mode for operating in accordance with commands in the command system L that is a command system provided for the multifunction machine 10.

ホストコンピューター200にプリンターWを接続して使用していたシステムにおいて、プリンターWを複合機10に入れ替えた場合、通常は、ホストコンピューター200のプリンタードライバー217を、複合機10に適合したデバイスドライバーに入れ替える必要がある。しかしながら、複合機10は、エミュレーション用動作モードであるプリンター制御モード72を有しているため、このプリンター制御モード72を実行することで、ホストコンピューター200が、プリンターW向けのプリンタードライバー217を使用し続けることができ、デバイスドライバーの入れ替えに伴う作業負担を回避できる。さらに、デバイスドライバーの入れ替えに起因するホストコンピューター200のシステムトラブルを回避できる。   In a system in which the printer W is connected to the host computer 200 and used, when the printer W is replaced with the multifunction device 10, the printer driver 217 of the host computer 200 is normally replaced with a device driver suitable for the multifunction device 10. There is a need. However, since the multifunction machine 10 has the printer control mode 72 that is an operation mode for emulation, the host computer 200 uses the printer driver 217 for the printer W by executing the printer control mode 72. It is possible to continue and avoid the work burden associated with the replacement of the device driver. Furthermore, the system trouble of the host computer 200 due to the replacement of the device driver can be avoided.

プリンター制御モード72のコマンド体系Wはエミュレーション用のコマンド体系に相当し、プリンター制御モード71のコマンド体系V等は通常動作用のコマンド体系に相当する。なお、本実施形態の複合機10は、より多くの機種のエミュレーションを可能とするため、多数のエミュレーション用プリンター制御モードを複合機10に設けることもできる。   The command system W in the printer control mode 72 corresponds to a command system for emulation, and the command system V in the printer control mode 71 corresponds to a command system for normal operation. Note that the multifunction device 10 of the present embodiment can be provided with a large number of emulation printer control modes in the multifunction device 10 in order to enable more types of emulation.

プリンター制御モード71が対応するコマンド体系Vおよびプリンター制御モード72が対応するコマンド体系Wには、他の動作モードへの切り換えを指示するコマンドが含まれている。例えば、このコマンドを受信した制御部70は、プリンター制御モード71またはプリンター制御モード72から、スキャナー制御モード75へ移行することができる。
また、本実施形態においては、プリンター制御モード71が対応するコマンド体系Vまたはプリンター制御モード72が対応するコマンド体系Wにはスキャナー制御に必要な読取開始コマンドが含まれている。このため、複合機10が他装置向けのコマンド体系Wに応じたプリンター制御モード72によりプリンターとして動作した後に、画像読取部110における読取開始コマンドを受信した場合には、プリンター制御モード72からスキャナー制御モード75に移行して画像読取部110による読取が開始される。
The command system V corresponding to the printer control mode 71 and the command system W corresponding to the printer control mode 72 include commands for instructing switching to another operation mode. For example, the control unit 70 that has received this command can shift from the printer control mode 71 or the printer control mode 72 to the scanner control mode 75.
In the present embodiment, the command system V corresponding to the printer control mode 71 or the command system W corresponding to the printer control mode 72 includes a reading start command necessary for scanner control. For this reason, when the MFP 10 operates as a printer in the printer control mode 72 corresponding to the command system W for other devices and then receives a reading start command in the image reading unit 110, the scanner control is performed from the printer control mode 72. Shifting to mode 75, reading by the image reading unit 110 is started.

図6は、複合機10の動作の一例を示すフローチャートである。
この図6に例示する動作は、処理媒体Sとして通帳が手差口15から挿入された場合に、複合機10を他装置向けのエミュレーション用コマンド体系Wに従って動作させてこの通帳を印刷し、その後、コマンド体系の切り替えを行って、複合機10向けの通常動作用コマンド体系Lに従って通帳に表示されている情報を読み取った後に、コマンド体系を印刷用のコマンド体系Vまたはコマンド体系Wに戻すまでの一連の動作である。
FIG. 6 is a flowchart illustrating an example of the operation of the multifunction machine 10.
The operation illustrated in FIG. 6 is such that when a passbook is inserted as the processing medium S from the manual feed slot 15, the multifunction machine 10 is operated according to the emulation command system W for other devices, and this passbook is printed. After the command system is switched and the information displayed in the passbook is read according to the normal operation command system L for the multifunction machine 10, the command system is returned to the command system V or the command system W for printing. It is a series of operations.

まず、ステップS11において、複合機10の制御部70は、他装置向けのエミュレーション用コマンド体系Wに応じたプリンター制御モード72により起動し、手差口15に通帳が挿入されたことを媒体端センサー47の検出値に基づいて検出する。次に、ステップS12において、制御部70は、モータードライバー46を制御して整列モーター58を動作させ、整列板38を搬送路Pに進出させるとともに、媒体搬送モーター26を動作させて、通帳の向きを整える整列処理を行う。   First, in step S11, the control unit 70 of the MFP 10 is activated in the printer control mode 72 according to the emulation command system W for other devices, and detects that the bankbook has been inserted into the manual feed slot 15. Detection is based on 47 detection values. Next, in step S12, the control unit 70 controls the motor driver 46 to operate the alignment motor 58 to advance the alignment plate 38 into the transport path P, and operates the medium transport motor 26 to change the direction of the passbook. Alignment processing is performed.

次に、ステップS13において、制御部70は、モータードライバー46を制御して媒体搬送モーター26を駆動し、通帳を記録ヘッド18の印字開始位置まで搬送する。その後、ステップS14において、制御部70は、媒体搬送モーター26及びキャリッジ駆動モーター56を駆動し、ヘッドドライバー48を制御して記録ヘッド18による印刷処理を実行し、1行の印字が終了する毎に通帳を搬送して改行する。この一連の印刷処理が終了すると、ステップS15において、制御部70は、媒体搬送モーター26を駆動して通帳を印字終了位置まで搬送する。   Next, in step S <b> 13, the control unit 70 controls the motor driver 46 to drive the medium transport motor 26 to transport the bankbook to the print start position of the recording head 18. Thereafter, in step S14, the control unit 70 drives the medium transport motor 26 and the carriage drive motor 56, controls the head driver 48 to execute the printing process by the recording head 18, and every time one line of printing is completed. Carry a pass through the bankbook. When this series of printing processes is finished, in step S15, the control unit 70 drives the medium carrying motor 26 to carry the bankbook to the printing end position.

次に、ステップS16において、制御部70は、コマンド体系を印刷用のコマンド体系Wから画像読取用のコマンド体系Lへと切り替える。このコマンド体系を切り替える際の詳細な流れについては後述する。   Next, in step S16, the control unit 70 switches the command system from the command system W for printing to the command system L for image reading. The detailed flow when switching the command system will be described later.

コマンド体系の切替えが終了すると、ステップS17において、制御部70は、モータードライバー46を制御して媒体搬送モーター26を動作させ、通帳をスキャン開始位置まで搬送させる。その後、ステップS18において、制御部70は、媒体搬送モーター26を動作させ、第1スキャナーモジュール111、第2スキャナーモジュール112の出力データを、ゲートアレイ45を介して取得し、スキャンを実行する。そして、ステップS19において、制御部70は、取得した第1スキャナーモジュール111、第2スキャナーモジュール112の出力データを解析して通帳の両面の読取画像を取得するとともに、OCR(Optical Character Reader)認識を行う。   When the switching of the command system is completed, in step S17, the control unit 70 controls the motor driver 46 to operate the medium transport motor 26 to transport the bankbook to the scan start position. Thereafter, in step S18, the control unit 70 operates the medium transport motor 26, acquires output data of the first scanner module 111 and the second scanner module 112 via the gate array 45, and executes scanning. In step S19, the control unit 70 analyzes the acquired output data of the first scanner module 111 and the second scanner module 112 to acquire both-side read images of the passbook, and recognizes OCR (Optical Character Reader) recognition. Do.

最後に、ステップS20において、制御部70は、コマンド体系を画像読取用のコマンド体系Lから印刷用のコマンド体系Vまたはコマンド体系Wへと切り替えるとともに、ステップS21において、通帳を記録ヘッド18の印字開始位置まで搬送して、本処理を終了する。   Finally, in step S20, the control unit 70 switches the command system from the command system L for image reading to the command system V for printing or the command system W, and in step S21, starts printing the passbook on the recording head 18. Then, the process is finished.

図7は、図6におけるステップS16またはステップS21のコマンド体系を切替える際の流れを示すフローチャートである。
ステップS16またはステップS21においてコマンド体系を切り替える場合、まず、制御部70は、現在のコマンド体系が印刷用のコマンド体系Wであるかスキャン用のコマンド体系Lであるかを判断する(ステップS30)。
FIG. 7 is a flowchart showing a flow when the command system of step S16 or step S21 in FIG. 6 is switched.
When switching the command system in step S16 or step S21, first, the control unit 70 determines whether the current command system is the command system W for printing or the command system L for scanning (step S30).

ここで、現在のコマンド体系が印刷用のコマンド体系Wである場合、制御部70はコマンド体系を印刷用コマンド体系Wからスキャン用コマンド体系Lに切り替えて(ステップS33)、コマンド体系の切替えを終了する。上記説明したように、画像読取部110は、位置管理手段により通帳の垂直位置を独自に管理しており、この垂直位置は、整列センサー39および媒体端センサー47から得られる通帳の搬送路Pに対する相対位置とは別個のものとなっている。そのため、他装置用のコマンド体系Wから自装置用のコマンド体系Lへとコマンド体系が切り替えられる場合であっても、通帳を排出して通帳の垂直位置管理をリセットする必要はなく、印刷処理から画像読取処理への移行を連続して行うことができる。   Here, when the current command system is the command system W for printing, the control unit 70 switches the command system from the command system W for printing to the command system L for scanning (step S33), and ends the command system switching. To do. As described above, the image reading unit 110 independently manages the vertical position of the bankbook by the position management unit, and this vertical position is relative to the conveyance path P of the bankbook obtained from the alignment sensor 39 and the medium edge sensor 47. It is separate from the relative position. Therefore, even when the command system is switched from the command system W for the other device to the command system L for the own device, it is not necessary to discharge the passbook and reset the vertical position management of the passbook. Transition to image reading processing can be performed continuously.

現在のコマンド体系がスキャン用のコマンド体系Lである場合、制御部70は、搬送路Pに通帳があるか否かを判断する(ステップS31)。
搬送路Pに通帳がないと判断された場合(ステップS31のNo)、すなわち、スキャン用コマンド体系Lに排紙コマンドが含まれている等の事情により通帳が既に排出されている場合には、制御部70は、コマンド体系をスキャン用コマンド体系Lから印刷用コマンド体系Wに切り替えて(ステップS33)、コマンド体系の切替えを終了する。
If the current command system is the scan command system L, the control unit 70 determines whether or not there is a bankbook in the transport path P (step S31).
When it is determined that there is no bankbook in the transport path P (No in step S31), that is, when the bankbook has already been discharged due to circumstances such as a discharge command included in the scan command system L, The control unit 70 switches the command system from the scan command system L to the print command system W (step S33), and ends the command system switching.

一方、搬送路Pに通帳があると判断された場合(ステップS31のYes)、制御部70は、媒体搬送モーター26を駆動して通帳を手差口15または排出口20から排出させ(ステップS32)、所定の条件に基づき処理媒体Sの搬送路Pに対する相対位置を初期化する。その後、制御部70は、コマンド体系をスキャン用コマンド体系Lから印刷用コマンド体系Wに切り替えて(ステップS33)、コマンド体系の切替えを終了する。画像読取制御用のコマンド体系Lから印刷制御用のコマンド体系Wにコマンド体系を切り替える場合には、印刷処理の開始前に通帳の垂直位置管理をリセットする必要があるため、通帳の排出が必要となる。
なお、ステップS32において、制御部70は、通帳を手差口15または排出口20から排出させているが、その代わりに、通帳を整列位置まで搬送し、整列部28による整列処理を行ってもよい。
On the other hand, when it is determined that there is a bankbook in the transport path P (Yes in step S31), the control unit 70 drives the medium transport motor 26 to discharge the bankbook from the manual feed port 15 or the discharge port 20 (step S32). ), The relative position of the processing medium S with respect to the transport path P is initialized based on a predetermined condition. Thereafter, the control unit 70 switches the command system from the scan command system L to the print command system W (step S33), and ends the command system switching. When the command system is switched from the command system L for image reading control to the command system W for printing control, it is necessary to reset the vertical position management of the bankbook before the start of the printing process. Become.
In step S32, the control unit 70 discharges the passbook from the manual feed port 15 or the discharge port 20. Alternatively, the passbook may be conveyed to the alignment position and subjected to the alignment process by the alignment unit 28. Good.

以上説明したように、本実施形態においては、制御部70が、画像読取制御用のコマンド体系Lから印刷制御用のコマンド体系Wにコマンド体系を切り換えるときには通帳の排出処理、すなわち処理媒体Sの搬送路Pに対する相対位置の初期化を行い、印刷制御用のコマンド体系Wから画像読取制御用のコマンド体系Lにコマンド体系を切り換えるときは通帳の排出処理を省略するようになっている。このような構成により、印刷制御用のコマンド体系Wと画像読取制御用のコマンド体系Lが切り替わる場合でも、印刷処理の後に処理媒体Sを排出させることによる相対位置の初期化を伴うことなく、画像読取処理を連続して行うことができる。
すなわち、画像読取処理においては、印字位置の制御が重要な印刷処理と異なり、搬送路Pと処理媒体Sとの相対位置管理が重要とはならず、読み取った画像内の相対位置さえ把握できれば問題ない。したがって、媒体端センサー47からの出力等を利用せずに、印刷処理とは別個の垂直位置管理を行うことができる。本実施の形態はこのことを利用したものであり、印刷処理に続いて画像読取処理を行ったとしても、処理媒体SとCPU40における保持値とのずれを初期化する必要がないため、この場合に処理媒体Sをいったん搬送路Pから排出する処理を省略するようにしている。このため、印刷処理と画像読取処理とを連続して行うに際して、オペレータによる処理媒体Sの再給紙作業が不要となるため、従来と比較して作業効率を向上させることができる。
As described above, in the present embodiment, when the control unit 70 switches the command system from the command system L for image reading control to the command system W for printing control, the passbook discharging process, that is, the conveyance of the processing medium S is performed. When the relative position with respect to the path P is initialized and the command system is switched from the command system W for printing control to the command system L for image reading control, the passbook discharging process is omitted. With such a configuration, even when the command system W for printing control and the command system L for image reading control are switched, the image is not accompanied by initialization of the relative position by discharging the processing medium S after the printing process. Reading processing can be performed continuously.
That is, in the image reading process, unlike the printing process in which the control of the printing position is important, the relative position management between the transport path P and the processing medium S is not important, and it is a problem if the relative position in the read image can be grasped. Absent. Accordingly, it is possible to perform vertical position management that is separate from the printing process without using the output from the medium edge sensor 47 or the like. This embodiment uses this, and even if the image reading process is performed after the printing process, it is not necessary to initialize the deviation between the processing medium S and the held value in the CPU 40. In addition, the process of once discharging the processing medium S from the transport path P is omitted. For this reason, when the printing process and the image reading process are continuously performed, the refeeding operation of the processing medium S by the operator is not necessary, so that the working efficiency can be improved as compared with the conventional case.

さらに、制御部70は、搬送路P上の処理媒体Sの有無を検知し、搬送路P上に処理媒体Sがあると判断したときに、搬送部100を制御して処理媒体Sの搬送路Pからの排出を行うようになっている。このような構成により、画像読取制御用のコマンド体系Lから印刷制御用のコマンド体系Wにコマンド体系を切り換える場合であっても、搬送路P上に処理媒体Sが存在しない場合には処理媒体Sの排出処理を省略し、処理効率を向上させることができる。   Furthermore, when the control unit 70 detects the presence or absence of the processing medium S on the transport path P and determines that the processing medium S is on the transport path P, the control unit 70 controls the transport unit 100 to transport the processing medium S. Emission from P is performed. With such a configuration, even when the command system is switched from the command system L for image reading control to the command system W for printing control, if the processing medium S does not exist on the conveyance path P, the processing medium S The discharge process can be omitted, and the processing efficiency can be improved.

また、画像読取処理に続いて印刷処理を行う場合であっても、処理媒体Sを搬送路Pから排出することなく、単に搬送路Pに対する姿勢および位置を再整列させるようにしてもよい。これにより、処理媒体Sの垂直位置管理のリセットが必要な場合でも、オペレータによる処理媒体Sの再給紙作業が不要となるため、作業性を向上させることができる。   Even when the printing process is performed subsequent to the image reading process, the posture and the position with respect to the conveyance path P may be simply rearranged without discharging the processing medium S from the conveyance path P. As a result, even when the vertical position management of the processing medium S needs to be reset, it is not necessary to refeed the processing medium S by the operator, and thus workability can be improved.

以上において本発明の一実施の形態を説明したが、本発明は上記の実施形態に限定されず、その趣旨を逸脱しない範囲内で必要に応じて他の構成を採用することが可能である。   Although one embodiment of the present invention has been described above, the present invention is not limited to the above-described embodiment, and other configurations can be adopted as necessary without departing from the spirit of the present invention.

上記実施形態では、複合機10に搭載された制御基板(図示略)に実装されたCPU40が、図4の機能ブロックに示す機能を有し、複合機10の各部を制御する構成を例に挙げて説明したが、例えば、複合機10に外部接続された装置が、図4に示す各機能部の一部ないし全部として機能し、複合機10を制御する構成としてもよい。さらに、図4に示した各機能ブロックは、ハードウェアとソフトウェアとの協働により実現されるものであって、具体的なハードウェアの実装形態やソフトウェアの仕様等は任意であり、その他の細部構成についても任意に変更可能である。   In the above embodiment, the CPU 40 mounted on the control board (not shown) mounted on the multifunction device 10 has the function shown in the functional block of FIG. 4 and controls each part of the multifunction device 10 as an example. As described above, for example, a device externally connected to the multifunction device 10 may function as part or all of the functional units illustrated in FIG. 4 to control the multifunction device 10. Furthermore, each functional block shown in FIG. 4 is realized by cooperation between hardware and software, and a specific hardware implementation form, software specifications, etc. are arbitrary, and other details. The configuration can be arbitrarily changed.

また、上記実施形態では、SIDM方式の記録ヘッド18、および画像読取部110を備えた複合機10を例に挙げて説明したが、本発明はこれに限定されるものではなく、例えば、インクジェット式のプリンターや、サーマルプリンター、レーザープリンター等に、画像読取部110に相当する画像読取部を設けた構成としても良い。さらに、独立して使用される機器に限らず、他の機器(ATM(Automated Teller Machine)やCD(Cash Dispenser)等)に組み込まれた装置に本発明を適用することも勿論可能である。   In the above-described embodiment, the MFP 10 including the SIDM recording head 18 and the image reading unit 110 has been described as an example. However, the present invention is not limited to this, and for example, an inkjet type The image reading unit corresponding to the image reading unit 110 may be provided in the printer, the thermal printer, the laser printer, or the like. Furthermore, it is of course possible to apply the present invention to devices incorporated in other devices (ATM (Automated Teller Machine), CD (Cash Dispenser), etc.) as well as devices used independently.

10:複合機(電子機器)、18:記録ヘッド(印刷部)、28:整列部、40:CPU、70:制御部、100:搬送部、110:画像読取部   10: MFP (electronic device), 18: recording head (printing unit), 28: alignment unit, 40: CPU, 70: control unit, 100: transport unit, 110: image reading unit

Claims (6)

搬送路に沿って処理媒体を搬送する搬送部と、
前記搬送路に沿って搬送される前記処理媒体に対して印刷を行う印刷部と、
前記搬送路に沿って搬送される前記処理媒体から画像を読み取る画像読取部と、
受信したコマンドに基づき、印刷制御用のコマンド体系と画像読取制御用のコマンド体系を切り換えて前記印刷部および前記画像読取部を制御するとともに、前記搬送部を制御して前記処理媒体を排出する排出処理を行わせる制御部と、
を備え、
前記制御部は、前記画像読取制御用のコマンド体系から前記印刷制御用のコマンド体系にコマンド体系を切り換えるときに前記排出処理を行い、前記印刷制御用のコマンド体系から前記画像読取制御用のコマンド体系にコマンド体系を切り換えるときは前記排出処理を省略することを特徴とする、電子機器。
A transport unit that transports the processing medium along the transport path;
A printing unit that performs printing on the processing medium conveyed along the conveyance path;
An image reading unit that reads an image from the processing medium conveyed along the conveyance path;
Based on the received command, a command system for printing control and a command system for image reading control are switched to control the printing unit and the image reading unit, and the discharge unit that controls the transport unit to discharge the processing medium. A control unit for performing processing;
With
The control unit performs the discharge processing when the command system is switched from the command system for image reading control to the command system for printing control, and the command system for image reading control from the command system for printing control. The electronic device is characterized in that the discharge process is omitted when the command system is switched.
前記印刷制御用のコマンド体系および前記画像読取制御用のコマンド体系の少なくとも一方は、他のコマンド体系をエミュレートするエミュレーション用コマンド体系であることを特徴とする、請求項1に記載の電子機器。   2. The electronic apparatus according to claim 1, wherein at least one of the command system for print control and the command system for image reading control is an emulation command system that emulates another command system. 前記排出処理には、前記搬送路上の前記処理媒体の有無を検知する第1の処理と、前記搬送路上に前記処理媒体があると判断されたときに、前記搬送部を制御して前記処理媒体の前記搬送路からの排出を行う第2の処理と、が含まれることを特徴とする、請求項1または2に記載の電子機器。   The discharging process includes a first process for detecting the presence or absence of the processing medium on the transport path, and the processing medium by controlling the transport unit when it is determined that the processing medium is on the transport path. The electronic device according to claim 1, further comprising: a second process of discharging the paper from the transport path. 電子機器内部の搬送路に沿って搬送される処理媒体に対して、第一のコマンド体系に基づき、印刷処理および画像読取処理のうちの一方を行う第一の工程と、
コマンド体系を、前記第一のコマンド体系から第二のコマンド体系に切り替えるとともに、所定の条件に基づき前記処理媒体の前記搬送路に対する相対位置を初期化する第二の工程と、
前記処理媒体に対して、前記第二のコマンド体系に基づき、前記印刷処理および画像読取処理のうちの他方を行う第三の工程と、を備え、
前記第二の工程における前記相対位置の初期化は、前記第二のコマンド体系に基づき前記印刷処理が行われる場合に実行され、前記第二のコマンド体系に基づき画像読取処理が行われる場合には省略されることを特徴とする電子機器の制御方法。
A first step of performing one of a printing process and an image reading process on a processing medium transported along a transport path inside the electronic device, based on a first command system;
A second step of switching the command system from the first command system to the second command system and initializing a relative position of the processing medium with respect to the transport path based on a predetermined condition;
A third step of performing the other of the printing process and the image reading process on the processing medium based on the second command system,
The initialization of the relative position in the second step is executed when the printing process is performed based on the second command system, and when the image reading process is performed based on the second command system. A method for controlling an electronic device, wherein the method is omitted.
前記第二の工程は、前記処理媒体を前記搬送路から排出する処理を含むことを特徴とする請求項4に記載の制御方法。   The control method according to claim 4, wherein the second step includes a process of discharging the processing medium from the conveyance path. 前記第二の工程は、前記処理媒体を前記搬送路から排出することなく整列させる処理を含むことを特徴とする請求項4に記載の制御方法。



The control method according to claim 4, wherein the second step includes a process of aligning the processing media without discharging them from the conveyance path.



JP2012188402A 2012-08-29 2012-08-29 Electronic equipment and method for controlling the same Pending JP2014049778A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2012188402A JP2014049778A (en) 2012-08-29 2012-08-29 Electronic equipment and method for controlling the same
CN201310378998.4A CN103685809B (en) 2012-08-29 2013-08-27 The control method of electronic equipment and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2012188402A JP2014049778A (en) 2012-08-29 2012-08-29 Electronic equipment and method for controlling the same

Publications (1)

Publication Number Publication Date
JP2014049778A true JP2014049778A (en) 2014-03-17

Family

ID=50322035

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2012188402A Pending JP2014049778A (en) 2012-08-29 2012-08-29 Electronic equipment and method for controlling the same

Country Status (2)

Country Link
JP (1) JP2014049778A (en)
CN (1) CN103685809B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6879454B2 (en) * 2017-01-19 2021-06-02 セイコーエプソン株式会社 Electronics
JP7155935B2 (en) * 2018-11-21 2022-10-19 セイコーエプソン株式会社 PRINTING APPARATUS AND PRINTING APPARATUS CONTROL METHOD

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6051839A (en) * 1983-08-31 1985-03-23 Toshiba Corp Image forming device
US6011940A (en) * 1998-09-25 2000-01-04 Hewlett-Packard Co. Method and apparatus for convenience copy collation during a current print job
JP2006023412A (en) * 2004-07-07 2006-01-26 Canon Inc Image processing apparatus, image processing method, computer-readable storage medium storing program, and program
JP4454610B2 (en) * 2006-10-24 2010-04-21 シャープ株式会社 Image forming apparatus
JP5187125B2 (en) * 2008-10-16 2013-04-24 株式会社リコー Image forming apparatus
JP2011146837A (en) * 2010-01-13 2011-07-28 Seiko Epson Corp Optical reading device, and control method and control program for the same

Also Published As

Publication number Publication date
CN103685809A (en) 2014-03-26
CN103685809B (en) 2016-05-25

Similar Documents

Publication Publication Date Title
US8582181B2 (en) Optical reading device, control method for an optical reading device, and program
CN102131031B (en) Optical reading device, control method for optical reading device, and program
EP2413583B1 (en) Optical reading device, control method for an optical reading device, and storage medium
JP2011146835A (en) Optical reader, method of controlling the same, and program
JP5691323B2 (en) Electronic device, control method of electronic device, and program
KR101739595B1 (en) Optical reader, control method of optical reader, and computer-readable recording medium
US8493635B2 (en) Optical reading device, control method for an optical reading device, and computer-readable recording medium storing a control program for an optical reading device
JP2014049778A (en) Electronic equipment and method for controlling the same
EP2549447A2 (en) Media processing device, check processing device, and method of controlling a media processing device
JP2012029121A (en) Reading system, image acquisition device, optical reader, method of regulating image acquisition device, and program
JP2014046459A (en) Electronic apparatus, and control method for the electronic device
JP5664047B2 (en) Multifunction machine, control method of multi-function machine, and program
JP2012061790A (en) Medium processing apparatus, method for controlling the same, and program
JP5811745B2 (en) Medium processing apparatus, method for controlling medium processing apparatus, and program
CN202261520U (en) Electronic equipment
JP2013026763A (en) Reader, control method of the same, and program
JP2007181080A (en) Image reader
JP2011146834A (en) Optical reading device, and control method and control program for the same
JP2012190169A (en) Optical reading device, control method for optical reading device, and program
JP2012190170A (en) Optical reading device, control method for optical reading device, and program

Legal Events

Date Code Title Description
RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20150108