JP2017019648A - Printer - Google Patents

Printer Download PDF

Info

Publication number
JP2017019648A
JP2017019648A JP2015140477A JP2015140477A JP2017019648A JP 2017019648 A JP2017019648 A JP 2017019648A JP 2015140477 A JP2015140477 A JP 2015140477A JP 2015140477 A JP2015140477 A JP 2015140477A JP 2017019648 A JP2017019648 A JP 2017019648A
Authority
JP
Japan
Prior art keywords
medium
sensors
determination unit
determines
unit
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.)
Granted
Application number
JP2015140477A
Other languages
Japanese (ja)
Other versions
JP6347767B2 (en
Inventor
賢悟 嵯峨
Kengo Saga
賢悟 嵯峨
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.)
Toshiba TEC Corp
Original Assignee
Toshiba TEC 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 Toshiba TEC Corp filed Critical Toshiba TEC Corp
Priority to JP2015140477A priority Critical patent/JP6347767B2/en
Publication of JP2017019648A publication Critical patent/JP2017019648A/en
Application granted granted Critical
Publication of JP6347767B2 publication Critical patent/JP6347767B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)
  • Controlling Sheets Or Webs (AREA)
  • Printers Characterized By Their Purpose (AREA)
  • Handling Of Cut Paper (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a printer capable of detecting a skew of a medium while suppressing cost increase.SOLUTION: A printer according to one embodiment comprises: a plurality of sensors; a printing unit; and a determination unit. The plurality of sensors are provided in the printer in advance and detect a medium. The printing unit performs printing on the medium. The determination unit determines whether the medium is skewed on the basis of information acquired from the sensors. Furthermore, the determination unit determines whether the medium is detected by the sensors from the information acquired from the sensors, determines that the medium is skewed when a predetermined value counted since one of the sensors does not detect the medium until none of the sensors detect the medium is equal to or larger than a threshold, and determines that the medium is not skewed when the predetermined value is smaller than the threshold.SELECTED DRAWING: Figure 2

Description

本発明の実施形態は、印刷装置に関する。   Embodiments described herein relate generally to a printing apparatus.

従来、通帳プリンタなどの印刷装置において通帳の斜行検知のために検知用のセンサを備えて斜行の検知が行われていた。
しかしながら、上記の方法では、センサの個数が増えてしまうため、装置のコストが増大してしまう可能性があった。このような問題は、通帳プリンタに限らず、印字対象の媒体を搬送する印刷装置全般に共通する問題である。
Conventionally, in a printing apparatus such as a passbook printer, detection of skew has been performed with a detection sensor for detecting skew of the passbook.
However, in the above method, since the number of sensors increases, the cost of the apparatus may increase. Such a problem is not limited to a passbook printer, but is a problem common to all printing apparatuses that transport a medium to be printed.

特開2010−214617号公報JP 2010-214617 A

本発明が解決しようとする課題は、コストの増大を抑えつつ、媒体の斜行を検知することができる印刷装置を提供することである。   The problem to be solved by the present invention is to provide a printing apparatus capable of detecting skew of a medium while suppressing an increase in cost.

実施形態の印刷装置は、複数のセンサと、印字部と、判定部とを持つ。複数のセンサは、自装置に予め設けられており、媒体を検知する。印字部は、媒体に印字を行う。判定部は、前記センサから取得される情報に基づいて、前記媒体が斜行しているか否か判定する。さらに、判定部は、前記センサから取得される情報から前記媒体が前記センサによって検知されているか否か判定し、前記媒体が前記センサのいずれかによって検知されなくなってから前記センサの全てで前記媒体が検知されなくなるまでの間にカウントされた所定の値が閾値以上である場合に前記媒体が斜行していると判定し、所定の値が閾値未満である場合に前記媒体が斜行していないと判定する。   The printing apparatus according to the embodiment includes a plurality of sensors, a printing unit, and a determination unit. The plurality of sensors are provided in advance in the own device and detect the medium. The printing unit prints on the medium. The determination unit determines whether the medium is skewed based on information acquired from the sensor. Further, the determination unit determines whether or not the medium is detected by the sensor from information acquired from the sensor, and the medium is detected by all of the sensors after the medium is not detected by any of the sensors. Is determined to be skewed when the predetermined value counted before the detection is stopped is greater than or equal to the threshold value, and the medium is skewed when the predetermined value is less than the threshold value. Judge that there is no.

実施形態の印刷装置1の構成図。1 is a configuration diagram of a printing apparatus 1 according to an embodiment. 第1の実施形態における制御装置30の機能構成を示すブロック図。The block diagram which shows the function structure of the control apparatus 30 in 1st Embodiment. 第1の実施形態における斜行検知処理を説明するための図。The figure for demonstrating the skew detection process in 1st Embodiment. 第1の実施形態における斜行検知処理を説明するための図。The figure for demonstrating the skew detection process in 1st Embodiment. 第1の実施形態における斜行検知処理を説明するための図。The figure for demonstrating the skew detection process in 1st Embodiment. 第1の実施形態における斜行検知処理を説明するための図。The figure for demonstrating the skew detection process in 1st Embodiment. 第1の実施形態における制御装置30の斜行検知処理の流れを示すフローチャート。The flowchart which shows the flow of the skew detection process of the control apparatus 30 in 1st Embodiment. 第2の実施形態における制御装置30aの機能構成を示すブロック図。The block diagram which shows the function structure of the control apparatus 30a in 2nd Embodiment. 第2の実施形態における斜行検知処理を説明するための図。The figure for demonstrating the skew detection process in 2nd Embodiment. 第2の実施形態における斜行検知処理を説明するための図。The figure for demonstrating the skew detection process in 2nd Embodiment. 第2の実施形態における斜行検知処理を説明するための図。The figure for demonstrating the skew detection process in 2nd Embodiment. 第2の実施形態における斜行検知処理を説明するための図。The figure for demonstrating the skew detection process in 2nd Embodiment. 第2の実施形態における制御装置30aの斜行検知処理の流れを示すフローチャート。The flowchart which shows the flow of the skew detection process of the control apparatus 30a in 2nd Embodiment.

以下、実施形態の印刷装置を、図面を参照して説明する。
図1は、実施形態の印刷装置1の構成図である。印刷装置1は、所定の画像又は文字を媒体に印字し、画像又は文字が印字された媒体を出力する。印刷装置1は、例えば通帳プリンタ、ラベルプリンタなどである。印刷装置1が通帳プリンタである場合、媒体は通帳である。
印刷装置1は、挿入口2、用紙装填部3、サーマル印字部4、第一搬送路5a及び第二搬送路5bを備える。以下の説明では、挿入口2が位置する方向を前方と記載し、用紙装填部3が位置する方向を後方と記載する。
Hereinafter, a printing apparatus according to an embodiment will be described with reference to the drawings.
FIG. 1 is a configuration diagram of a printing apparatus 1 according to the embodiment. The printing apparatus 1 prints a predetermined image or character on a medium, and outputs the medium on which the image or character is printed. The printing apparatus 1 is, for example, a passbook printer or a label printer. When the printing apparatus 1 is a passbook printer, the medium is a passbook.
The printing apparatus 1 includes an insertion port 2, a paper loading unit 3, a thermal printing unit 4, a first transport path 5a, and a second transport path 5b. In the following description, the direction in which the insertion slot 2 is located is described as the front, and the direction in which the paper loading unit 3 is located is described as the rear.

挿入口2は、印刷装置1の前面に一部を露出して設けられる。挿入口2は、通帳(媒体)の出入口及びステートメントの出口である。用紙装填部3は、印刷装置1の後部に設けられる。用紙装填部3には、サーマル用紙6を設置するための空間が設けられる。用紙装填部3には、サーマル用紙6を装着するための軸が設けられてもよい。サーマル用紙6は、印刷装置1によって印字される用紙である。サーマル用紙6は、ロール状に形成されている。サーマル用紙6は、サーマル印字部4を経由して第一搬送路5aへ搬送される。
サーマル印字部4は、サーマル用紙6の表面に対して印字する。サーマル印字部4についてより詳細に説明する。サーマル印字部4は、第一サーマルヘッド17、第二サーマルヘッド18、第一プラテンローラ20、第二プラテンローラ21及び切断部22を備える。
The insertion port 2 is provided with a part exposed on the front surface of the printing apparatus 1. The insertion slot 2 is a bankbook (medium) entrance / exit and a statement exit. The paper loading unit 3 is provided at the rear of the printing apparatus 1. The paper loading unit 3 is provided with a space for installing the thermal paper 6. The paper loading unit 3 may be provided with a shaft for mounting the thermal paper 6. The thermal paper 6 is a paper printed by the printing apparatus 1. The thermal paper 6 is formed in a roll shape. The thermal paper 6 is conveyed to the first conveyance path 5a via the thermal printing unit 4.
The thermal printing unit 4 prints on the surface of the thermal paper 6. The thermal printing unit 4 will be described in more detail. The thermal printing unit 4 includes a first thermal head 17, a second thermal head 18, a first platen roller 20, a second platen roller 21, and a cutting unit 22.

第一サーマルヘッド17及び第二サーマルヘッド18は、所定の間隔で配置される。第一サーマルヘッド17には、第一プラテンローラ20が対向して配置される。第二サーマルヘッド18には、第二プラテンローラ21が対向して配置される。第一サーマルヘッド17は、第一プラテンローラ20によって第一サーマルヘッド17に押しつけられているサーマル用紙6に対して印字する。第二サーマルヘッド18は、第二プラテンローラ21によって第二サーマルヘッド18に押しつけられているサーマル用紙6に対して印字する。第一プラテンローラ20及び第二プラテンローラ21は、それぞれ回転することによってサーマル用紙6を前方に搬送する。第一プラテンローラ20から第二プラテンローラ21の間には、サーマル搬送路24が形成される。   The first thermal head 17 and the second thermal head 18 are arranged at a predetermined interval. A first platen roller 20 is disposed to face the first thermal head 17. A second platen roller 21 is disposed opposite to the second thermal head 18. The first thermal head 17 performs printing on the thermal paper 6 pressed against the first thermal head 17 by the first platen roller 20. The second thermal head 18 prints on the thermal paper 6 pressed against the second thermal head 18 by the second platen roller 21. The first platen roller 20 and the second platen roller 21 each convey the thermal paper 6 forward by rotating. A thermal transfer path 24 is formed between the first platen roller 20 and the second platen roller 21.

切断部22は、サーマル用紙6を切断する。例えば、切断部22は、ロータリーカッター23を備える。例えば、切断部22は、サーマル用紙6のうち印字された部分の後端部分から所定の距離だけ後方(印字されていない部分へ向かう方向)に離れた部分を切断する。切断部22による切断によって、サーマル用紙6は、印字された部分と、印字されていない部分とに分断される。印字されたサーマル用紙6は、第一搬送路5aによって下流(前方)に搬送される。   The cutting unit 22 cuts the thermal paper 6. For example, the cutting unit 22 includes a rotary cutter 23. For example, the cutting unit 22 cuts a portion of the thermal paper 6 that is separated from the rear end portion of the printed portion by a predetermined distance backward (in the direction toward the non-printed portion). By the cutting by the cutting unit 22, the thermal paper 6 is divided into a printed part and a non-printed part. The printed thermal paper 6 is conveyed downstream (front) by the first conveyance path 5a.

第一搬送路5aには、第一フィードローラ対14及び第二フィードローラ対15が設けられる。第一フィードローラ対14及び第二フィードローラ対15は、それぞれ回転することによって、サーマル用紙6を下流に搬送する。第一フィードローラ対14及び第二フィードローラ対15の間には、弛み形成部9が形成される。第一フィードローラ対14及び第二フィードローラ対15の回転量のずれによって、弛み形成部9においてサーマル用紙6に弛みが生じる。弛み形成部9によって、通帳とサーマル用紙6との搬送速度の差が吸収される。   A first feed roller pair 14 and a second feed roller pair 15 are provided in the first transport path 5a. The first feed roller pair 14 and the second feed roller pair 15 respectively rotate to convey the thermal paper 6 downstream. A slack forming portion 9 is formed between the first feed roller pair 14 and the second feed roller pair 15. The thermal paper 6 is slackened in the slack forming portion 9 due to the displacement of the rotation amounts of the first feed roller pair 14 and the second feed roller pair 15. The slack forming unit 9 absorbs the difference in the conveyance speed between the passbook and the thermal paper 6.

第二搬送路5bには、印字部8と、複数個の搬送ローラ対11(11a〜11e)と、出入用ローラ対12と、第二検知センサ13とが設けられる。第二搬送路5bは第一搬送路5aよりも前方に配置される。第二搬送路5bは、第一搬送路5aに接続される。第二搬送路5bでは、第一搬送路5aから搬送されてきたサーマル用紙6がさらに下流に搬送される。また、第二搬送路5bでは、挿入口2から挿入された媒体が上流方向(後方)又は下流方向に搬送される。   The second conveyance path 5b is provided with a printing unit 8, a plurality of conveyance roller pairs 11 (11a to 11e), an entrance / exit roller pair 12, and a second detection sensor 13. The 2nd conveyance path 5b is arrange | positioned ahead of the 1st conveyance path 5a. The second transport path 5b is connected to the first transport path 5a. In the second transport path 5b, the thermal paper 6 transported from the first transport path 5a is transported further downstream. In the second transport path 5b, the medium inserted from the insertion port 2 is transported in the upstream direction (rear) or the downstream direction.

印字部8は、第二搬送路5bの途中に設けられる。印字部8は、ドットヘッド8aを備える。印字部8は、ドットヘッド8aを制御することによって、通帳に対して文字を印字する。複数の搬送ローラ対11及び出入用ローラ対12は、それぞれ所定の間隔で配置される。複数の搬送ローラ対11及び出入用ローラ対12は、それぞれ回転することによって媒体を上流方向又は下流方向に搬送に搬送する。   The printing unit 8 is provided in the middle of the second transport path 5b. The printing unit 8 includes a dot head 8a. The printing unit 8 prints characters on the passbook by controlling the dot head 8a. The plurality of transport roller pairs 11 and the entrance / exit roller pairs 12 are arranged at predetermined intervals. The plurality of transport roller pairs 11 and the entrance / exit roller pairs 12 each transport the medium in the upstream or downstream direction by rotating.

第二検知センサ13は、第二搬送路5bの下流(例えば出入用ローラ対12付近)に設けられる。第二検知センサ13は、挿入口2から流入する媒体を検知する。第一搬送路5aと第二搬送路5bとの境界付近には、第一検知センサ16が設けられる。第一検知センサ16は、第一搬送路5aから搬送されて第二搬送路5bに流入するサーマル用紙6を検知する。また、第一検知センサ16は、第二搬送路5bから搬送されて第一搬送路5aに流入する媒体を検知する。第一検知センサ16及び第二検知センサ13は、それぞれ複数設けられる。また、第一検知センサ16及び第二検知センサ13は、印刷装置1に予め設けられる既存のセンサである。例えば、第一検知センサ16は、サーマル用紙検知用のセンサである。例えば、第二検知センサ13は、通帳検知用のセンサである。   The second detection sensor 13 is provided downstream of the second transport path 5b (for example, near the entrance / exit roller pair 12). The second detection sensor 13 detects the medium flowing from the insertion port 2. A first detection sensor 16 is provided near the boundary between the first transport path 5a and the second transport path 5b. The first detection sensor 16 detects the thermal paper 6 that is transported from the first transport path 5a and flows into the second transport path 5b. The first detection sensor 16 detects a medium that is transported from the second transport path 5b and flows into the first transport path 5a. A plurality of first detection sensors 16 and second detection sensors 13 are provided. The first detection sensor 16 and the second detection sensor 13 are existing sensors provided in advance in the printing apparatus 1. For example, the first detection sensor 16 is a thermal paper detection sensor. For example, the second detection sensor 13 is a passbook detection sensor.

印刷装置1は、制御装置30を備える。制御装置30は、印刷装置1全体の動作を制御する。例えば、制御装置30は、各種ローラの回転及びサーマル印字部4及び印字部8の印字を制御する。また、制御装置30は、媒体の斜行を検知する。
以下、複数の実施形態(第1の実施形態及び第2の実施形態)を例にして、制御装置30の具体的構成について説明する。
The printing apparatus 1 includes a control device 30. The control device 30 controls the operation of the entire printing apparatus 1. For example, the control device 30 controls the rotation of various rollers and the printing of the thermal printing unit 4 and the printing unit 8. Further, the control device 30 detects the skew of the medium.
Hereinafter, a specific configuration of the control device 30 will be described by taking a plurality of embodiments (first embodiment and second embodiment) as examples.

(第1の実施形態)
図2は、第1の実施形態における制御装置30の機能構成を示すブロック図である。制御装置30は、取得部31、判定部32、カウント部33及び制御部34を備える。
取得部31は、複数のセンサから情報を取得する。例えば、取得部31は、第一検知センサ16及び第二検知センサ13から、媒体が検知されたことを示す情報(以下、「検知情報」という。)を取得する。なお、取得部31は、印刷装置1に予め設置されている他のセンサから情報を取得してもよい。他のセンサとしては、例えばアライメント用のセンサがある。
(First embodiment)
FIG. 2 is a block diagram illustrating a functional configuration of the control device 30 according to the first embodiment. The control device 30 includes an acquisition unit 31, a determination unit 32, a count unit 33, and a control unit 34.
The acquisition unit 31 acquires information from a plurality of sensors. For example, the acquisition unit 31 acquires information (hereinafter referred to as “detection information”) indicating that the medium has been detected from the first detection sensor 16 and the second detection sensor 13. Note that the acquisition unit 31 may acquire information from other sensors installed in the printing apparatus 1 in advance. As another sensor, for example, there is a sensor for alignment.

判定部32は、特定のセンサから取得された検知情報に基づいて、第1条件、第2条件及び第3条件が満たされたか否か判定する。特定のセンサとは、条件が満たされたか否かの判定に用いられる検知情報を送信するセンサである。特定のセンサは、ユーザによって選択されてもよいし、予め選択されていてもよいし、その他の方法で選択されてもよい。特定のセンサは、印刷装置1に予め設けられている既存のセンサであればどのようなセンサであってもよい。判定部32は、選択された特定のセンサの識別情報を記憶する。そして、判定部32は、取得された検知情報の送信元の識別情報と、記憶している識別情報とが一致するか否か判定する。送信元の識別情報と、記憶している識別情報とが一致する場合、判定部32は検知情報の送信元のセンサを特定のセンサと判定する。一方、送信元の識別情報と、記憶している識別情報とが一致しない場合、判定部32は検知情報の送信元のセンサを特定のセンサではないと判定する。このような処理によって、判定部32は、特定のセンサと特定のセンサではないセンサとを判定する。   The determination part 32 determines whether the 1st condition, the 2nd condition, and the 3rd condition were satisfy | filled based on the detection information acquired from the specific sensor. The specific sensor is a sensor that transmits detection information used for determining whether or not a condition is satisfied. The specific sensor may be selected by the user, may be selected in advance, or may be selected by other methods. The specific sensor may be any sensor as long as it is an existing sensor provided in advance in the printing apparatus 1. The determination part 32 memorize | stores the identification information of the selected specific sensor. Then, the determination unit 32 determines whether or not the identification information of the transmission source of the acquired detection information matches the stored identification information. When the transmission source identification information matches the stored identification information, the determination unit 32 determines that the sensor of the detection information transmission source is a specific sensor. On the other hand, when the identification information of the transmission source does not match the stored identification information, the determination unit 32 determines that the sensor of the transmission source of the detection information is not a specific sensor. By such processing, the determination unit 32 determines a specific sensor and a sensor that is not a specific sensor.

なお、特定のセンサとしては、2つ以上のセンサが選択される。例えば、特定のセンサとして、複数の第一検知センサ16が選択されてもよいし、複数の第二検知センサ13が選択されてもよい。また、第一検知センサ16と第二検知センサ13の組み合わせが特定のセンサとして選択されてもよいし、その他のセンサの組み合わせが特定のセンサとして選択されてもよい。第1の実施形態では、2つの第二検知センサ13が特定のセンサと選択された場合の制御装置30の処理について説明する。   Two or more sensors are selected as specific sensors. For example, a plurality of first detection sensors 16 may be selected as a specific sensor, or a plurality of second detection sensors 13 may be selected. Moreover, the combination of the 1st detection sensor 16 and the 2nd detection sensor 13 may be selected as a specific sensor, and the combination of another sensor may be selected as a specific sensor. 1st Embodiment demonstrates the process of the control apparatus 30 when the two 2nd detection sensors 13 are selected as a specific sensor.

第1条件の具体例として、特定のセンサ全てから検知情報が取得されたことが挙げられる。第2条件の具体例として、特定のセンサのうち一部の特定のセンサから検知情報が取得されなくなったことが挙げられる。第3条件の具体例として、特定のセンサ全てから検知情報が取得されなくなったことが挙げられる。   A specific example of the first condition is that detection information has been acquired from all specific sensors. A specific example of the second condition is that detection information is no longer acquired from some of the specific sensors. A specific example of the third condition is that detection information is no longer acquired from all specific sensors.

また、判定部32は、第3条件が満たされるまでの間にカウント部33によってカウントされた所定の値が、所定の閾値以上であるか否か判定する。所定の値が所定の閾値以上である場合、判定部32は媒体が斜行していると判定する。一方、所定の値が所定の閾値未満である場合、判定部32は媒体が斜行していないと判定する。
カウント部33は、媒体の搬送が開始されてから第2条件が満たされた場合に所定の値のカウントを開始する。カウント部33は、第2条件が満たされてから第3条件が満たされるまでの間、カウンタの値をインクリメントする。
Further, the determination unit 32 determines whether or not the predetermined value counted by the counting unit 33 until the third condition is satisfied is equal to or greater than a predetermined threshold. If the predetermined value is equal to or greater than the predetermined threshold, the determination unit 32 determines that the medium is skewed. On the other hand, when the predetermined value is less than the predetermined threshold, the determination unit 32 determines that the medium is not skewed.
The count unit 33 starts counting a predetermined value when the second condition is satisfied after the conveyance of the medium is started. The count unit 33 increments the value of the counter until the third condition is satisfied after the second condition is satisfied.

制御部34は、搬送制御部341及び印字制御部342を備える。搬送制御部341は、各ローラを制御して媒体の搬送を制御する。例えば、搬送制御部341は、第1条件が満たされた場合に媒体の搬送を開始する。また、例えば、搬送制御部341は、判定部32によって媒体が斜行していると判定された場合にエラーとして媒体を挿入口2から出力させる。印字制御部342は、印字部8を制御して媒体に印字を実行させる。   The control unit 34 includes a conveyance control unit 341 and a print control unit 342. The conveyance controller 341 controls each roller to control medium conveyance. For example, the transport control unit 341 starts transporting the medium when the first condition is satisfied. For example, the conveyance control unit 341 causes the medium to be output from the insertion port 2 as an error when the determination unit 32 determines that the medium is skewed. The print control unit 342 controls the printing unit 8 to execute printing on the medium.

次に、図3から図6を用いて、制御装置30による斜行検知処理について具体的に説明する。図3から図6は、第1の実施形態における斜行検知処理を説明するための図である。また、図3から図6において、第二検知センサ13は特定のセンサを表す。また、図3から図6において、矢印4が指し示す方向は、媒体40の搬送方向である。   Next, the skew detection processing performed by the control device 30 will be specifically described with reference to FIGS. 3 to 6 are diagrams for explaining the skew feeding detection process in the first embodiment. 3 to 6, the second detection sensor 13 represents a specific sensor. 3 to 6, the direction indicated by the arrow 4 is the conveyance direction of the medium 40.

図3では、媒体40が特定のセンサ全てで検知された状態が示されている。媒体40が、図3に示される状態である場合、特定のセンサは検知情報を制御装置30に送信する。取得部31は、特定のセンサからの検知情報を取得する。そして、判定部32は、取得された検知情報から送信元を判定し、第1条件が満たされたか否か判定する。図3では、判定部32は、第1条件が満たされたと判定する。この場合、搬送制御部341は、媒体40の搬送を開始する。   FIG. 3 shows a state in which the medium 40 is detected by all the specific sensors. When the medium 40 is in the state shown in FIG. 3, the specific sensor transmits detection information to the control device 30. The acquisition unit 31 acquires detection information from a specific sensor. And the determination part 32 determines a transmission source from the acquired detection information, and determines whether the 1st condition was satisfy | filled. In FIG. 3, the determination unit 32 determines that the first condition is satisfied. In this case, the conveyance control unit 341 starts conveying the medium 40.

図4では、媒体40が一部の特定のセンサで検知されなくなった状態が示されている。媒体40が、図4に示される状態である場合、特定のセンサのうち媒体40を検知している一部のセンサは検知情報を制御装置30に送信する。取得部31は、一部の特定のセンサからの検知情報を取得する。そして、判定部32は、取得された検知情報から送信元を判定し、第2条件が満たされたか否か判定する。図4では、判定部32は、第2条件が満たされたと判定する。この場合、カウント部33は、所定の値のカウントを開始する。   FIG. 4 shows a state in which the medium 40 is no longer detected by some specific sensors. When the medium 40 is in the state shown in FIG. 4, some sensors that detect the medium 40 among the specific sensors transmit detection information to the control device 30. The acquisition unit 31 acquires detection information from some specific sensors. And the determination part 32 determines a transmission source from the acquired detection information, and determines whether the 2nd condition was satisfy | filled. In FIG. 4, the determination unit 32 determines that the second condition is satisfied. In this case, the count unit 33 starts counting a predetermined value.

図5では、媒体40が特定のセンサ全てで検知されなくなった状態が示されている。媒体40が、図5に示される状態である場合、取得部31は特定のセンサからの検知情報を取得できない。そのため、判定部32は、第3条件が満たされたと判定する。この場合、カウント部33は、所定の値のカウントを終了する。図5に示されるXが、所定の値に相当する。そして、判定部32は、所定の値Xが所定の閾値以上であるか否か判定する。図5では、所定の値Xが所定の閾値以上である場合を例としている。そのため、判定部32は、媒体40が斜行していると判定する。   FIG. 5 shows a state in which the medium 40 is no longer detected by all the specific sensors. When the medium 40 is in the state shown in FIG. 5, the acquisition unit 31 cannot acquire detection information from a specific sensor. Therefore, the determination unit 32 determines that the third condition is satisfied. In this case, the count unit 33 finishes counting the predetermined value. X shown in FIG. 5 corresponds to a predetermined value. And the determination part 32 determines whether the predetermined value X is more than a predetermined threshold value. FIG. 5 shows an example where the predetermined value X is equal to or greater than a predetermined threshold. Therefore, the determination unit 32 determines that the medium 40 is skewed.

図6では、媒体40が特定のセンサ全てで検知されなくなった状態が示されている。媒体40が、図6に示される状態である場合、取得部31は特定のセンサからの検知情報を取得できない。そのため、判定部32は、第3条件が満たされたと判定する。この場合、カウント部33は、所定の値のカウントを終了する。そして、判定部32は、所定の値が所定の閾値以上であるか否か判定する。図6では、所定の値が所定の閾値未満である場合を例としている。そのため、判定部32は、媒体40が斜行していないと判定する。上述した処理によって、制御装置30は媒体40の斜行を検知する。以上で、制御装置30による斜行検知処理についての説明を終了する。   FIG. 6 shows a state in which the medium 40 is no longer detected by all the specific sensors. When the medium 40 is in the state shown in FIG. 6, the acquisition unit 31 cannot acquire detection information from a specific sensor. Therefore, the determination unit 32 determines that the third condition is satisfied. In this case, the count unit 33 finishes counting the predetermined value. And the determination part 32 determines whether a predetermined value is more than a predetermined threshold value. FIG. 6 shows an example where the predetermined value is less than the predetermined threshold. Therefore, the determination unit 32 determines that the medium 40 is not skewed. Through the processing described above, the control device 30 detects the skew of the medium 40. This is the end of the description of the skew detection processing by the control device 30.

図7は、第1の実施形態における制御装置30の斜行検知処理の流れを示すフローチャートである。
カウント部33は、所定の値Xに0を代入する(ACT101)。この処理によって、カウント部33の値が初期化される。判定部32は、第1条件が満たされたか否か判定する(ACT102)。具体的には、判定部32は、特定のセンサ全てから検知情報が取得されたか否か判定する。判定部32は、特定のセンサ全てから検知情報が取得された場合に第1条件が満たされたと判定する。判定部32は、特定のセンサ全て又は一部の特定のセンサから検知情報が取得されなかった場合に第1条件が満たされていないと判定する。第1条件が満たされていない場合(ACT102:NO)、判定部32は第1条件が満たされるまでACT102の処理を繰り返し実行する。
FIG. 7 is a flowchart illustrating the flow of the skew detection process of the control device 30 according to the first embodiment.
The count unit 33 substitutes 0 for a predetermined value X (ACT 101). By this process, the value of the count unit 33 is initialized. The determination unit 32 determines whether or not the first condition is satisfied (ACT102). Specifically, the determination unit 32 determines whether detection information has been acquired from all the specific sensors. The determination unit 32 determines that the first condition is satisfied when detection information is acquired from all of the specific sensors. The determination unit 32 determines that the first condition is not satisfied when the detection information is not acquired from all or some of the specific sensors. When the first condition is not satisfied (ACT102: NO), the determination unit 32 repeatedly executes the process of ACT102 until the first condition is satisfied.

一方、第1条件が満たされた場合(ACT102:YES)、搬送制御部341は各ローラを制御して媒体の搬送を開始する(ACT103)。次に、判定部32は、第2条件が満たされたか否か判定する(ACT104)。具体的には、判定部32は、一部の特定のセンサから検知情報が取得されなくなったか否か判定する。判定部32は、一部の特定のセンサから検知情報が取得されなくなった場合に第2条件が満たされたと判定する。判定部32は、特定のセンサ全てから検知情報が取得された又は特定のセンサ全てから検知情報が取得されなくなった場合に第2条件が満たされていないと判定する。第2条件が満たされた場合(ACT104:YES)、カウント部33は所定の値Xを1だけインクリメントする(ACT105)。   On the other hand, when the first condition is satisfied (ACT102: YES), the conveyance control unit 341 controls each roller to start conveyance of the medium (ACT103). Next, the determination unit 32 determines whether or not the second condition is satisfied (ACT 104). Specifically, the determination unit 32 determines whether or not detection information is acquired from some specific sensors. The determination unit 32 determines that the second condition is satisfied when detection information is no longer acquired from some specific sensors. The determination unit 32 determines that the second condition is not satisfied when the detection information is acquired from all the specific sensors or the detection information is not acquired from all the specific sensors. When the second condition is satisfied (ACT 104: YES), the count unit 33 increments the predetermined value X by 1 (ACT 105).

判定部32は、第3条件が満たされたか否か判定する(ACT106)。具体的には、判定部32は、特定のセンサ全てから検知情報が取得されなくなったか否か判定する。判定部32は、特定のセンサ全てから検知情報が取得されなくなった場合に第3条件が満たされたと判定する。判定部32は、特定のセンサ全てから検知情報が取得された又は一部の特定のセンサから検知情報が取得された場合に第3条件が満たされていないと判定する。第3条件が満たされていない場合(ACT106:NO)、制御装置30はACT104以降の処理を繰り返し実行する。   The determination unit 32 determines whether or not the third condition is satisfied (ACT 106). Specifically, the determination unit 32 determines whether or not the detection information is acquired from all the specific sensors. The determination unit 32 determines that the third condition is satisfied when detection information is no longer acquired from all the specific sensors. The determination unit 32 determines that the third condition is not satisfied when the detection information is acquired from all the specific sensors or the detection information is acquired from some of the specific sensors. When the third condition is not satisfied (ACT 106: NO), the control device 30 repeatedly executes the processes after ACT 104.

一方、第3条件が満たされた場合(ACT106:YES)、カウント部33は所定の値Xのカウントを終了する。カウント部33は、所定の値Xを判定部32に出力する。判定部32は、所定の値Xが所定の閾値以上であるか否か判定する(ACT107)。所定の値Xが所定の閾値未満である場合(ACT107:NO)、判定部32は媒体が斜行していないと判定する。この場合、印字制御部342は印字部8を制御して媒体に印字を実行させる(ACT108)。その後、制御装置30は、処理を終了する。   On the other hand, when the third condition is satisfied (ACT 106: YES), the counting unit 33 finishes counting the predetermined value X. The count unit 33 outputs a predetermined value X to the determination unit 32. The determination unit 32 determines whether or not the predetermined value X is greater than or equal to a predetermined threshold (ACT 107). When the predetermined value X is less than the predetermined threshold (ACT 107: NO), the determination unit 32 determines that the medium is not skewed. In this case, the print control unit 342 controls the printing unit 8 to execute printing on the medium (ACT 108). Thereafter, the control device 30 ends the process.

一方、所定の値Xが所定の閾値以上である場合(ACT107:YES)、判定部32は媒体が斜行していると判定する(ACT109)。この場合、搬送制御部341は、各ローラを制御して媒体の搬送制御を実行する(ACT110)。例えば、搬送制御部341は、エラーとして媒体を挿入口2から出力させる。その後、制御装置30は、処理を終了する。
また、ACT104の処理において、第2条件が満たされていない場合(ACT104:NO)、判定部32は第3条件が満たされたか否か判定する(ACT106)。
On the other hand, when the predetermined value X is equal to or greater than the predetermined threshold (ACT 107: YES), the determination unit 32 determines that the medium is skewed (ACT 109). In this case, the conveyance control unit 341 controls each roller to execute medium conveyance control (ACT 110). For example, the conveyance control unit 341 causes the medium to be output from the insertion port 2 as an error. Thereafter, the control device 30 ends the process.
Moreover, in the process of ACT104, when the 2nd condition is not satisfy | filled (ACT104: NO), the determination part 32 determines whether the 3rd condition was satisfy | filled (ACT106).

以上のように構成された印刷装置1によれば、コストの増大を抑えつつ、媒体の斜行を検知することができる。以下、この効果について詳細に説明する。
印刷装置1は、自装置に予め設けられている既存のセンサ(第一検知センサ16、第二検知センサ13)から取得される検知情報を用いて媒体の斜行を検知する。したがって、新たに斜行検知用のセンサを取り付ける必要がない。そのため、コストの増大を抑えつつ、媒体の斜行を検知することが可能になる。
According to the printing apparatus 1 configured as described above, it is possible to detect the skew of the medium while suppressing an increase in cost. Hereinafter, this effect will be described in detail.
The printing apparatus 1 detects the skew of the medium using detection information acquired from existing sensors (first detection sensor 16 and second detection sensor 13) provided in advance in the apparatus. Therefore, it is not necessary to attach a new skew detection sensor. Therefore, it is possible to detect the skew of the medium while suppressing an increase in cost.

また、印刷装置1は、媒体が斜行していると判定された場合に、エラーとして媒体を出力する。したがって、媒体が斜行している状態で印字が行われてしまうことが無い。そのため、媒体に無駄な印字がなされてしまうことを低減することができる。さらに、無駄な印字によるインクの消費を抑えることが可能になる。   The printing apparatus 1 outputs the medium as an error when it is determined that the medium is skewed. Therefore, printing is not performed in a state where the medium is skewed. For this reason, it is possible to reduce unnecessary printing on the medium. Further, it is possible to suppress ink consumption due to useless printing.

以下、第1の実施形態における制御装置30の変形例について説明する。
カウント部33は、ACT105の処理において、所定の値としてカウンタの値をカウントする構成を示したが、これに限定される必要はない。例えば、カウント部33は、第2条件が満たされてから第3条件が満たされるまでの間の時間を所定の値としてカウントしてもよい。このように構成される場合、判定部32は、ACT107の処理において、カウントされた時間と、閾値とに基づいて、時間が閾値以上であるか否か判定してもよい。そして、カウントされた時間が閾値以上である場合、判定部32は媒体が斜行していると判定する。一方、カウントされた時間が閾値未満である場合、判定部32は媒体が斜行していないと判定する。
Hereinafter, a modification of the control device 30 in the first embodiment will be described.
Although the count unit 33 has shown the configuration for counting the value of the counter as a predetermined value in the processing of ACT 105, it is not necessary to be limited to this. For example, the count unit 33 may count the time from when the second condition is satisfied until the third condition is satisfied as a predetermined value. When configured in this way, the determination unit 32 may determine whether or not the time is equal to or greater than the threshold based on the counted time and the threshold in the process of ACT 107. If the counted time is equal to or greater than the threshold, the determination unit 32 determines that the medium is skewed. On the other hand, when the counted time is less than the threshold, the determination unit 32 determines that the medium is not skewed.

また、カウント部33は、第2条件が満たされてから第3条件が満たされるまでの間の搬送モータのステップ数を所定の値としてカウントしてもよい。この場合、判定部32は、ACT107の処理において、カウントされたステップ数と、閾値とに基づいて、ステップ数が閾値以上であるか否か判定してもよい。そして、カウントされたステップ数が閾値以上である場合、判定部32は媒体が斜行していると判定する。一方、カウントされたステップ数が閾値未満である場合、判定部32は媒体が斜行していないと判定する。   Further, the counting unit 33 may count the number of steps of the transport motor from when the second condition is satisfied until the third condition is satisfied as a predetermined value. In this case, the determination unit 32 may determine whether or not the number of steps is equal to or greater than the threshold based on the counted number of steps and the threshold in the process of ACT 107. If the counted number of steps is equal to or greater than the threshold, the determination unit 32 determines that the medium is skewed. On the other hand, if the counted number of steps is less than the threshold, the determination unit 32 determines that the medium is not skewed.

(第2の実施形態)
第2の実施形態では、2つの第一検知センサ16が特定のセンサと選択された場合の制御装置30aの斜行検知処理について説明する。
図8は、第2の実施形態における制御装置30aの機能構成を示すブロック図である。
制御装置30aは、取得部31、判定部32a、カウント部33a及び制御部34を備える。制御装置30aは、判定部32及びカウント部33に代えて判定部32a及びカウント部33aを備える点で制御装置30と構成が異なる。制御装置30aは、他の構成については制御装置30と同様である。そのため、制御装置30a全体の説明は省略し、判定部32a及びカウント部33aについて説明する。
(Second Embodiment)
In the second embodiment, a skew detection process of the control device 30a when the two first detection sensors 16 are selected as specific sensors will be described.
FIG. 8 is a block diagram illustrating a functional configuration of the control device 30a according to the second embodiment.
The control device 30a includes an acquisition unit 31, a determination unit 32a, a count unit 33a, and a control unit 34. The control device 30a is different from the control device 30 in that it includes a determination unit 32a and a count unit 33a instead of the determination unit 32 and the count unit 33. The control device 30a is the same as the control device 30 in other configurations. Therefore, description of the whole control apparatus 30a is abbreviate | omitted, and the determination part 32a and the count part 33a are demonstrated.

判定部32aは、特定のセンサから取得された検知情報に基づいて、第4条件及び第5条件が満たされたか否か判定する。第4条件の具体例として、特定のセンサのうちの一部の特定のセンサから検知情報が取得されたことが挙げられる。第5条件の具体例として、特定のセンサ全てから検知情報が取得されたことが挙げられる。   The determination part 32a determines whether the 4th condition and the 5th condition were satisfy | filled based on the detection information acquired from the specific sensor. A specific example of the fourth condition is that detection information is acquired from some of the specific sensors. A specific example of the fifth condition is that detection information has been acquired from all specific sensors.

また、判定部32aは、第5条件が満たされるまでの間にカウント部33aによってカウントされた所定の値が、所定の閾値以上であるか否か判定する。所定の値が所定の閾値以上である場合、判定部32aは媒体が斜行していると判定する。一方、所定の値が所定の閾値未満である場合、判定部32aは媒体が斜行していないと判定する。   The determination unit 32a determines whether or not the predetermined value counted by the counting unit 33a before the fifth condition is satisfied is equal to or greater than a predetermined threshold. If the predetermined value is equal to or greater than the predetermined threshold, the determination unit 32a determines that the medium is skewed. On the other hand, when the predetermined value is less than the predetermined threshold, the determination unit 32a determines that the medium is not skewed.

カウント部33aは、媒体の搬送が開始されてから第4条件が満たされた場合に所定の値のカウントを開始する。カウント部33aは、第4条件が満たされてから第5条件が満たされるまでの間、カウンタの値をインクリメントする。   The count unit 33a starts counting a predetermined value when the fourth condition is satisfied after the conveyance of the medium is started. The count unit 33a increments the value of the counter until the fifth condition is satisfied after the fourth condition is satisfied.

次に、図9〜図12を用いて、制御装置30aによる斜行検知処理について具体的に説明する。図9〜図12は、第2の実施形態における斜行検知処理を説明するための図である。また、図9〜図12において、矢印4が指し示す方向は、媒体40の搬送方向である。
図9では、媒体40が特定のセンサの手前まで搬送されている状態が示されている。この場合、媒体40は、特定のセンサのいずれからも検知されない。媒体40が、図9に示される状態である場合、搬送制御部341は媒体を搬送方向に搬送させる。
Next, the skew detection processing by the control device 30a will be specifically described with reference to FIGS. 9 to 12 are diagrams for explaining the skew detection processing in the second embodiment. 9 to 12, the direction indicated by the arrow 4 is the conveyance direction of the medium 40.
FIG. 9 shows a state in which the medium 40 is transported to a position before a specific sensor. In this case, the medium 40 is not detected by any specific sensor. When the medium 40 is in the state shown in FIG. 9, the transport control unit 341 transports the medium in the transport direction.

図10では、媒体40が一部の特定のセンサで検知された状態が示されている。媒体40が、図10に示される状態である場合、特定のセンサのうち媒体40を検知している一部のセンサは検知情報を制御装置30aに送信する。取得部31は、一部の特定のセンサからの検知情報を取得する。そして、判定部32aは、取得された検知情報から送信元を判定し、第4条件が満たされたか否か判定する。図10では、判定部32aは、第4条件が満たされたと判定する。この場合、カウント部33aは、所定の値のカウントを開始する。   FIG. 10 shows a state in which the medium 40 is detected by some specific sensors. When the medium 40 is in the state shown in FIG. 10, some sensors that detect the medium 40 among specific sensors transmit detection information to the control device 30a. The acquisition unit 31 acquires detection information from some specific sensors. And the determination part 32a determines a transmission source from the acquired detection information, and determines whether the 4th condition was satisfy | filled. In FIG. 10, the determination unit 32a determines that the fourth condition is satisfied. In this case, the count unit 33a starts counting a predetermined value.

図11では、媒体40が特定のセンサ全てで検知された状態が示されている。媒体40が、図11に示される状態である場合、特定のセンサは検知情報を制御装置30aに送信する。取得部31は、特定のセンサからの検知情報を取得する。そして、判定部32aは、取得された検知情報から送信元を判定し、第5条件が満たされたか否か判定する。図11では、判定部32aは、第5条件が満たされたと判定する。この場合、カウント部33aは、所定の値のカウントを終了する。図11に示されるXが、所定の値に相当する。そして、判定部32aは、所定の値Xが所定の閾値以上であるか否か判定する。図11では、所定の値Xが所定の閾値以上である場合を例としている。そのため、判定部32aは、媒体40が斜行していると判定する。   FIG. 11 shows a state in which the medium 40 is detected by all the specific sensors. When the medium 40 is in the state shown in FIG. 11, the specific sensor transmits the detection information to the control device 30a. The acquisition unit 31 acquires detection information from a specific sensor. And the determination part 32a determines a transmission source from the acquired detection information, and determines whether the 5th condition was satisfy | filled. In FIG. 11, the determination unit 32a determines that the fifth condition is satisfied. In this case, the count unit 33a finishes counting a predetermined value. X shown in FIG. 11 corresponds to a predetermined value. And the determination part 32a determines whether the predetermined value X is more than a predetermined threshold value. FIG. 11 shows an example where the predetermined value X is equal to or greater than a predetermined threshold. Therefore, the determination unit 32a determines that the medium 40 is skewed.

図12では、媒体40が特定のセンサ全てで検知された状態が示されている。媒体40が、図12に示される状態である場合、特定のセンサは検知情報を制御装置30aに送信する。取得部31は、特定のセンサからの検知情報を取得する。そして、判定部32aは、取得された検知情報から送信元を判定し、第5条件が満たされたか否か判定する。図12では、判定部32aは、第5条件が満たされたと判定する。この場合、カウント部33aは、所定の値のカウントを終了する。そして、判定部32aは、所定の値が所定の閾値以上であるか否か判定する。図12では、所定の値が所定の閾値未満である場合を例としている。そのため、判定部32aは、媒体40が斜行していないと判定する。上述した処理によって、制御装置30aは媒体40の斜行を検知する。以上で、制御装置30aによる斜行検知処理についての説明を終了する。   FIG. 12 shows a state where the medium 40 is detected by all the specific sensors. When the medium 40 is in the state shown in FIG. 12, the specific sensor transmits detection information to the control device 30a. The acquisition unit 31 acquires detection information from a specific sensor. And the determination part 32a determines a transmission source from the acquired detection information, and determines whether the 5th condition was satisfy | filled. In FIG. 12, the determination unit 32a determines that the fifth condition is satisfied. In this case, the count unit 33a finishes counting a predetermined value. And the determination part 32a determines whether a predetermined value is more than a predetermined threshold value. FIG. 12 shows an example where the predetermined value is less than the predetermined threshold. Therefore, the determination unit 32a determines that the medium 40 is not skewed. Through the processing described above, the control device 30a detects the skew of the medium 40. This is the end of the description of the skew detection process by the control device 30a.

図13は、第2の実施形態における制御装置30aの斜行検知処理の流れを示すフローチャートである。なお、図7と同様の処理については、図13において図7と同様の符号を付して説明を省略する。また、図13の処理は、印刷装置1に媒体が挿入されて搬送された際に開始される。   FIG. 13 is a flowchart illustrating the flow of the skew detection process of the control device 30a according to the second embodiment. In addition, about the process similar to FIG. 7, the code | symbol similar to FIG. 7 is attached | subjected in FIG. 13, and description is abbreviate | omitted. 13 is started when a medium is inserted into the printing apparatus 1 and conveyed.

判定部32aは、第4条件が満たされたか否か判定する(ACT201)。具体的には、判定部32aは、一部の特定のセンサから検知情報が取得されたか否か判定する。判定部32aは、一部の特定のセンサから検知情報が取得された場合に第4条件が満たされたと判定する。判定部32aは、特定のセンサ全てから検知情報が取得されなかった又は特定のセンサ全てから検知情報が取得された場合に第4条件が満たされていないと判定する。第4条件が満たされていない場合(ACT201:NO)、判定部32aは第4条件が満たされるまでACT202の処理を繰り返し実行する。   The determination unit 32a determines whether or not the fourth condition is satisfied (ACT201). Specifically, the determination unit 32a determines whether detection information has been acquired from some specific sensors. The determination unit 32a determines that the fourth condition is satisfied when detection information is acquired from some specific sensors. The determination unit 32a determines that the fourth condition is not satisfied when the detection information is not acquired from all the specific sensors or the detection information is acquired from all the specific sensors. When the fourth condition is not satisfied (ACT201: NO), the determination unit 32a repeatedly executes the process of ACT202 until the fourth condition is satisfied.

一方、第4条件が満たされた場合(ACT201:YES)、制御装置30aはACT105の処理を実行する。その後、判定部32aは、第5条件が満たされたか否か判定する(ACT202)。具体的には、判定部32aは、特定のセンサ全てから検知情報が取得されたか否か判定する。判定部32aは、特定のセンサ全てから検知情報が取得された場合に第5条件が満たされたと判定する。判定部32aは、特定のセンサ全て又は一部の特定のセンサから検知情報が取得されなかった場合に第5条件が満たされていないと判定する。第5条件が満たされていない場合(ACT202:NO)、制御装置30aはACT105以降の処理を繰り返し実行する。
一方、第5条件が満たされた場合(ACT202:YES)、カウント部33aは所定の値Xのカウントを終了する。その後、制御装置30aは、ACT107以降の処理を実行する。
On the other hand, when the fourth condition is satisfied (ACT 201: YES), the control device 30a executes the process of ACT 105. Thereafter, the determination unit 32a determines whether or not the fifth condition is satisfied (ACT202). Specifically, the determination unit 32a determines whether detection information has been acquired from all the specific sensors. The determination unit 32a determines that the fifth condition is satisfied when detection information is acquired from all of the specific sensors. The determination unit 32a determines that the fifth condition is not satisfied when the detection information is not acquired from all or some of the specific sensors. When the fifth condition is not satisfied (ACT202: NO), the control device 30a repeatedly executes the processes after ACT105.
On the other hand, when the fifth condition is satisfied (ACT202: YES), the counting unit 33a finishes counting the predetermined value X. Thereafter, the control device 30a executes the processes after ACT107.

以上のように構成された印刷装置1によれば、第1の実施形態と同様の効果を得ることができる。   According to the printing apparatus 1 configured as described above, the same effects as those of the first embodiment can be obtained.

以下、第2の実施形態における制御装置30aの変形例について説明する。
カウント部33aは、ACT105の処理において、所定の値としてカウンタの値をカウントする構成を示したが、これに限定される必要はない。例えば、カウント部33aは、第4条件が満たされてから第5条件が満たされるまでの間の時間を所定の値としてカウントしてもよい。このように構成される場合、判定部32aは、ACT107の処理において、カウントされた時間と、閾値とに基づいて、時間が閾値以上であるか否か判定してもよい。そして、カウントされた時間が閾値以上である場合、判定部32aは媒体が斜行していると判定する。一方、カウントされた時間が閾値未満である場合、判定部32aは媒体が斜行していないと判定する。
Hereinafter, a modified example of the control device 30a in the second embodiment will be described.
Although the count unit 33a is configured to count the counter value as a predetermined value in the process of ACT 105, the count unit 33a is not necessarily limited to this. For example, the counting unit 33a may count the time from when the fourth condition is satisfied until the fifth condition is satisfied as a predetermined value. When configured in this way, the determination unit 32a may determine whether or not the time is equal to or greater than the threshold based on the counted time and the threshold in the process of ACT107. If the counted time is equal to or greater than the threshold, the determination unit 32a determines that the medium is skewed. On the other hand, when the counted time is less than the threshold, the determination unit 32a determines that the medium is not skewed.

また、カウント部33aは、第4条件が満たされてから第5条件が満たされるまでの間の搬送モータのステップ数を所定の値としてカウントしてもよい。この場合、判定部32aは、ACT107の処理において、カウントされたステップ数と、閾値とに基づいて、ステップ数が閾値以上であるか否か判定してもよい。そして、カウントされたステップ数が閾値以上である場合、判定部32aは媒体が斜行していると判定する。一方、カウントされたステップ数が閾値未満である場合、判定部32aは媒体が斜行していないと判定する。   Further, the count unit 33a may count the number of steps of the transport motor from when the fourth condition is satisfied until when the fifth condition is satisfied as a predetermined value. In this case, the determination unit 32a may determine whether or not the number of steps is equal to or greater than the threshold based on the counted number of steps and the threshold in the process of ACT 107. If the counted number of steps is equal to or greater than the threshold, the determination unit 32a determines that the medium is skewed. On the other hand, when the counted number of steps is less than the threshold, the determination unit 32a determines that the medium is not skewed.

以下、各実施形態(第1の実施形態及び第2の実施形態)に共通の変形例について説明する。
搬送制御部341は、媒体が斜行していると判定された場合にエラーとして媒体の搬送を停止させるように構成されてもよい。このように構成されることによって、媒体が斜行していることが検知されてからそのままの状態で搬送されてしまうことを低減させることができる。
各実施形態では、特定のセンサが媒体の搬送方向に垂直に横並びの構成(例えば、図3及び図9参照)を示したが、これに限定される必要はない。例えば、特定のセンサは、媒体の搬送方向に垂直に横並びでなくてもよい。
以上説明した少なくともひとつの実施形態によれば、印刷装置1は、複数のセンサ(第二検知センサ13)と、印字部8と、判定部32とを持つ。複数のセンサは、自装置に予め設けられており、媒体を検知する。印字部8は、媒体に印字を行う。判定部32は、センサから取得される情報に基づいて、媒体が斜行しているか否か判定する。さらに、判定部32は、センサから取得される情報から媒体がセンサによって検知されているか否か判定する。そして、判定部32は、センサの全てで媒体が検知されなくなるまでの間にカウントされた所定の値が閾値以上である場合に媒体が斜行していると判定する。判定部32は、所定の値が閾値未満である場合に媒体が斜行していないと判定する。印刷装置1は、このような構成を持つことにより、コストの増大を抑えつつ、媒体の斜行を検知することができる。
Hereinafter, modified examples common to the respective embodiments (the first embodiment and the second embodiment) will be described.
The conveyance control unit 341 may be configured to stop conveyance of the medium as an error when it is determined that the medium is skewed. By being configured in this way, it is possible to reduce that the medium is conveyed as it is after it is detected that the medium is skewed.
In each embodiment, the specific sensor is shown as being arranged side by side perpendicular to the medium conveyance direction (see, for example, FIGS. 3 and 9). However, the present invention is not limited to this. For example, the specific sensor may not be arranged side by side perpendicular to the medium conveyance direction.
According to at least one embodiment described above, the printing apparatus 1 includes a plurality of sensors (second detection sensors 13), a printing unit 8, and a determination unit 32. The plurality of sensors are provided in advance in the own device and detect the medium. The printing unit 8 performs printing on a medium. The determination unit 32 determines whether or not the medium is skewed based on information acquired from the sensor. Further, the determination unit 32 determines whether the medium is detected by the sensor from the information acquired from the sensor. Then, the determination unit 32 determines that the medium is skewed when a predetermined value counted before the medium is no longer detected by all the sensors is equal to or greater than a threshold value. The determination unit 32 determines that the medium is not skewed when the predetermined value is less than the threshold value. By having such a configuration, the printing apparatus 1 can detect the skew of the medium while suppressing an increase in cost.

上述した実施形態における印刷装置1の一部の機能をコンピュータで実現するようにしてもよい。その場合、この機能を実現するためのプログラムをコンピュータ読み取り可能な記録媒体に記録する。そして、上述したプログラムを記録した記録媒体に記録されたプログラムをコンピュータシステムに読み込ませ、実行することによって実現してもよい。なお、ここでいう「コンピュータシステム」とは、オペレーティングシステムや周辺機器等のハードウェアを含むものとする。また、「コンピュータ読み取り可能な記録媒体」とは、可搬媒体や記憶装置等のことをいう。可搬媒体は、フレキシブルディスク、光磁気ディスク、ROM、CD−ROM等である。また、記憶装置は、コンピュータシステムに内蔵されるハードディスク等である。さらに「コンピュータ読み取り可能な記録媒体」とは、通信回線を介してプログラムを送信する場合の通信線のように、短時間の間、動的にプログラムを保持するものである。通信回線は、インターネット等のネットワークや電話回線等である。また、「コンピュータ読み取り可能な記録媒体」は、サーバやクライアントとなるコンピュータシステム内部の揮発性メモリであってもよい。揮発性メモリは、一定時間プログラムを保持しているものである。また上記プログラムは、前述した機能の一部を実現するためのものであってもよい。また上記プログラムは、さらに前述した機能をコンピュータシステムにすでに記録されているプログラムとの組み合わせで実現できるものであってもよい。   You may make it implement | achieve a part of function of the printing apparatus 1 in embodiment mentioned above with a computer. In that case, a program for realizing this function is recorded on a computer-readable recording medium. And you may implement | achieve by making a computer system read the program recorded on the recording medium which recorded the program mentioned above, and executing it. Here, the “computer system” includes hardware such as an operating system and peripheral devices. The “computer-readable recording medium” refers to a portable medium, a storage device, and the like. The portable medium is a flexible disk, a magneto-optical disk, a ROM, a CD-ROM, or the like. The storage device is a hard disk or the like built in the computer system. Further, the “computer-readable recording medium” is a program that dynamically holds a program for a short time like a communication line in the case of transmitting a program via a communication line. The communication line is a network such as the Internet or a telephone line. Further, the “computer-readable recording medium” may be a volatile memory inside a computer system serving as a server or a client. Volatile memory holds a program for a certain period of time. The program may be for realizing a part of the functions described above. Further, the program may be a program that can realize the above-described functions in combination with a program already recorded in the computer system.

本発明のいくつかの実施形態を説明したが、これらの実施形態は、例として提示したものであり、発明の範囲を限定することは意図していない。これら実施形態は、その他の様々な形態で実施されることが可能であり、発明の要旨を逸脱しない範囲で、種々の省略、置き換え、変更を行うことができる。これら実施形態やその変形は、発明の範囲や要旨に含まれると同様に、特許請求の範囲に記載された発明とその均等の範囲に含まれるものである。   Although several embodiments of the present invention have been described, these embodiments are presented by way of example and are not intended to limit the scope of the invention. These embodiments can be implemented in various other forms, and various omissions, replacements, and changes can be made without departing from the spirit of the invention. These embodiments and their modifications are included in the scope and gist of the invention, and are also included in the invention described in the claims and the equivalents thereof.

1…印刷装置,2…挿入口,3…用紙装填部,4…サーマル印字部,5a…第一搬送路,5b…第二搬送路,6…サーマル用紙,8…印字部,8a…ドットヘッド,9…弛み形成部,11(11a〜11e)…搬送ローラ対,12…出入用ローラ対,13…第二検知センサ,14…第一フィードローラ対,15…第二フィードローラ対,16…第一検知センサ,17…第一サーマルヘッド,18…第二サーマルヘッド,20…第一プラテンローラ,21…第二プラテンローラ,22…切断部,23…ロータリーカッター,24…サーマル搬送路,30…制御装置,31…取得部,32…判定部,33…カウント部,34…制御部,341…搬送制御部,342…印字制御部,40…媒体 DESCRIPTION OF SYMBOLS 1 ... Printing apparatus, 2 ... Insert port, 3 ... Paper loading part, 4 ... Thermal printing part, 5a ... 1st conveyance path, 5b ... 2nd conveyance path, 6 ... Thermal paper, 8 ... Printing part, 8a ... Dot head , 9 ... Slack forming part, 11 (11a to 11e) ... Conveying roller pair, 12 ... In / out roller pair, 13 ... Second detection sensor, 14 ... First feed roller pair, 15 ... Second feed roller pair, 16 ... 1st detection sensor, 17 ... 1st thermal head, 18 ... 2nd thermal head, 20 ... 1st platen roller, 21 ... 2nd platen roller, 22 ... cutting part, 23 ... rotary cutter, 24 ... thermal conveyance path, 30 ... Control device, 31 ... Acquisition part, 32 ... Determination part, 33 ... Count part, 34 ... Control part, 341 ... Conveyance control part, 342 ... Print control part, 40 ... Media

Claims (5)

自装置に予め設けられており、媒体を検知する複数のセンサと、
媒体に印字を行う印字部と、
前記センサから取得される情報に基づいて、前記媒体が斜行しているか否か判定する判定部と、
を備え、
前記判定部は、前記センサから取得される情報から前記媒体が前記センサによって検知されているか否か判定し、前記媒体が前記センサのいずれかによって検知されなくなってから前記センサの全てで前記媒体が検知されなくなるまでの間にカウントされた所定の値が閾値以上である場合に前記媒体が斜行していると判定し、所定の値が閾値未満である場合に前記媒体が斜行していないと判定する印刷装置。
A plurality of sensors that are provided in advance in the device and detect the medium;
A printing unit for printing on a medium;
A determination unit that determines whether the medium is skewed based on information acquired from the sensor;
With
The determination unit determines whether the medium is detected by the sensor from information acquired from the sensor, and the medium is detected by all of the sensors after the medium is not detected by any of the sensors. It is determined that the medium is skewed when a predetermined value counted until it is not detected is equal to or greater than a threshold value, and the medium is not skewed when the predetermined value is less than the threshold value. A printing apparatus that determines that
前記媒体が前記センサのいずれかによって検知されなくなってから前記センサ全てで前記媒体が検知されなくなるまでの間に経過した時間を前記所定の値としてカウントするカウント部をさらに備え、
前記判定部は、前記時間が閾値以上である場合に前記媒体が斜行していると判定し、前記時間が閾値未満である場合に前記媒体が斜行していないと判定する、請求項1に記載の印刷装置。
A counting unit that counts a time elapsed from when the medium is no longer detected by any of the sensors until the medium is no longer detected by all the sensors, as the predetermined value;
The determination unit determines that the medium is skewed when the time is equal to or greater than a threshold, and determines that the medium is not skewed when the time is less than the threshold. The printing apparatus as described in.
前記媒体が前記センサのいずれかによって検知されなくなってから前記センサ全てで前記媒体が検知されなくなるまでの間の搬送モータのステップ数を前記所定の値としてカウントするカウント部をさらに備え、
前記判定部は、前記ステップ数が閾値以上である場合に前記媒体が斜行していると判定し、前記ステップ数が閾値未満である場合に前記媒体が斜行していないと判定する、請求項1に記載の印刷装置。
A counting unit that counts the number of steps of the transport motor from when the medium is no longer detected by any of the sensors until the medium is no longer detected by all of the sensors as the predetermined value;
The determination unit determines that the medium is skewed when the number of steps is equal to or greater than a threshold, and determines that the medium is not skewed when the number of steps is less than the threshold. Item 4. The printing apparatus according to Item 1.
前記媒体の搬送を制御する搬送制御部をさらに備え、
前記搬送制御部は、前記判定部によって前記媒体が斜行していると判定された場合に、エラーとして前記媒体の搬送を停止させる、請求項1から3のいずれか1項に記載の印刷装置。
A transport control unit for controlling transport of the medium;
4. The printing apparatus according to claim 1, wherein the conveyance control unit stops conveyance of the medium as an error when the determination unit determines that the medium is skewed. 5. .
前記センサは、挿入口から前記媒体が挿入されたことを検知する、請求項1から4のいずれか1項に記載の印刷装置。   The printing apparatus according to claim 1, wherein the sensor detects that the medium is inserted from an insertion port.
JP2015140477A 2015-07-14 2015-07-14 Printing device Expired - Fee Related JP6347767B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2015140477A JP6347767B2 (en) 2015-07-14 2015-07-14 Printing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2015140477A JP6347767B2 (en) 2015-07-14 2015-07-14 Printing device

Publications (2)

Publication Number Publication Date
JP2017019648A true JP2017019648A (en) 2017-01-26
JP6347767B2 JP6347767B2 (en) 2018-06-27

Family

ID=57888829

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2015140477A Expired - Fee Related JP6347767B2 (en) 2015-07-14 2015-07-14 Printing device

Country Status (1)

Country Link
JP (1) JP6347767B2 (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5918736U (en) * 1982-07-29 1984-02-04 日本精密工業株式会社 Original feeding device
JPH04277151A (en) * 1991-03-04 1992-10-02 Canon Inc Sheet material transport device
JPH04282273A (en) * 1991-03-11 1992-10-07 Hitachi Ltd Printing system
JPH05229697A (en) * 1991-09-20 1993-09-07 Moore Business Forms Inc Rotating device for sheet, sheet-orientating method and sheet processing assembly
JPH11157705A (en) * 1997-11-27 1999-06-15 Nec Corp Printing processor
JP2004175553A (en) * 2002-11-29 2004-06-24 Ricoh Co Ltd Sheet feeder and image forming device
JP2005194016A (en) * 2004-01-05 2005-07-21 Murata Mach Ltd Image forming device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5918736U (en) * 1982-07-29 1984-02-04 日本精密工業株式会社 Original feeding device
JPH04277151A (en) * 1991-03-04 1992-10-02 Canon Inc Sheet material transport device
JPH04282273A (en) * 1991-03-11 1992-10-07 Hitachi Ltd Printing system
JPH05229697A (en) * 1991-09-20 1993-09-07 Moore Business Forms Inc Rotating device for sheet, sheet-orientating method and sheet processing assembly
JPH11157705A (en) * 1997-11-27 1999-06-15 Nec Corp Printing processor
JP2004175553A (en) * 2002-11-29 2004-06-24 Ricoh Co Ltd Sheet feeder and image forming device
JP2005194016A (en) * 2004-01-05 2005-07-21 Murata Mach Ltd Image forming device

Also Published As

Publication number Publication date
JP6347767B2 (en) 2018-06-27

Similar Documents

Publication Publication Date Title
JP6320052B2 (en) Thermal printer
WO2015033702A1 (en) Printer and printing method
JP2010214813A (en) Print device
US8720889B2 (en) Conveyor device
JP5453362B2 (en) Image forming apparatus and image forming method
JP2012206353A (en) Printing apparatus
JP6347767B2 (en) Printing device
JP2009190245A5 (en)
JP2008018584A (en) Line printer and printing control method of line printer
JP2005324404A (en) Printer
JP2021155166A (en) Printing device
JP6445405B2 (en) Printing device
JP5946739B2 (en) Media processing device
JP2019059623A (en) Printer
JP6570912B2 (en) Paper thickness detector
JPH06191684A (en) Inserter type printer
US9248987B2 (en) Recording medium conveyance apparatus, image forming apparatus, recording medium conveyance method and recording medium storing program of recording medium conveyance method
JP2014240158A (en) Recording controller, recording method, and program
JP4520162B2 (en) Label printer
JP6181008B2 (en) Paper sheet presence / absence detection device and paper sheet presence / absence detection method
JP2010116219A (en) Conveying medium detection device and printer
JP4903249B2 (en) Passbook printing device
JP2010110902A (en) Inkjet recording apparatus
JP6351555B2 (en) Printing apparatus and computer program
JP2017222084A (en) Printer and control method for the same

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20170214

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20171129

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20171212

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20180213

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20180508

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20180529

R150 Certificate of patent or registration of utility model

Ref document number: 6347767

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees