JP2010132417A - Printer - Google Patents

Printer Download PDF

Info

Publication number
JP2010132417A
JP2010132417A JP2008310445A JP2008310445A JP2010132417A JP 2010132417 A JP2010132417 A JP 2010132417A JP 2008310445 A JP2008310445 A JP 2008310445A JP 2008310445 A JP2008310445 A JP 2008310445A JP 2010132417 A JP2010132417 A JP 2010132417A
Authority
JP
Japan
Prior art keywords
paper
printing apparatus
carriage
output
printing
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
JP2008310445A
Other languages
Japanese (ja)
Inventor
Tetsuya Segawa
哲也 瀬川
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.)
Oki Electric Industry Co Ltd
Oki Data Systems Co Ltd
Original Assignee
Oki Data Corp
Oki Data Systems Co Ltd
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 Oki Data Corp, Oki Data Systems Co Ltd filed Critical Oki Data Corp
Priority to JP2008310445A priority Critical patent/JP2010132417A/en
Publication of JP2010132417A publication Critical patent/JP2010132417A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To detect a carrying failure of continuous paper without newly arranging a jam detecting mechanism. <P>SOLUTION: This printer has a printing head in a carriage, and prints while reciprocating its carriage in the substantially orthogonal direction to the paper sending direction, and has a concentration detecting part arranged in the carriage and detecting the concentration of a character printed on the paper, and a processing part for detecting the carrying failure of the paper by monitoring the output of the concentration detecting part. <P>COPYRIGHT: (C)2010,JPO&INPIT

Description

本発明は、連続した用紙を印刷する印刷装置に関し、特に連続した用紙の搬送不良を検知する印刷装置に関する。   The present invention relates to a printing apparatus that prints continuous paper, and more particularly, to a printing apparatus that detects a conveyance failure of continuous paper.

従来のワイヤドットプリンタとして知られているシリアルインパクトドットマトリクスプリンタなどの印刷装置は、連続した印刷用紙(以下、「連続用紙」という。)に印刷する場合、用紙を搬送するトラクタに印刷用紙のスプロケット孔を合わせて搬送が行われ、A4サイズ等の所定の大きさにカットされた用紙と異なり、ユーザが一旦、印刷用紙をトラクタにセットすることで印刷用紙がなくなるまで連続して印刷することができるようになっている。   A printing apparatus such as a serial impact dot matrix printer known as a conventional wire dot printer, when printing on continuous printing paper (hereinafter referred to as “continuous paper”), is a sprocket for printing paper on a tractor that transports the paper. Unlike paper that is transported with holes aligned and cut to a predetermined size such as A4 size, the user can set the printing paper once on the tractor and print continuously until the printing paper runs out It can be done.

このような印刷装置は、何らかの理由により印刷用紙の搬送不良が発生することもあるため、トラクタ部の用紙搬送機構にリンクしてコロを可動させ、そのコロの通過を透過センサ等で検知して用紙の搬送状態を検知する手段や連続用紙のスプロケット孔の通過をセンサで検知して用紙の搬送状態を検知する手段等の印刷用紙が搬送不良の状態に陥ったことを検知するジャム検知機構を備えるようにしている。   In such a printing apparatus, a printing paper conveyance failure may occur for some reason. Therefore, the roller is moved by linking to the paper conveyance mechanism of the tractor unit, and the passage of the roller is detected by a transmission sensor or the like. A jam detection mechanism for detecting that the printing paper has fallen into a poorly transported state, such as a means for detecting the transport state of the paper or a means for detecting the transport state of the paper by detecting the passage of sprocket holes in the continuous paper. I have to prepare.

一方、所定の大きさにカットされた用紙に印刷する印刷装置では、紙幅を検知するための紙幅センサを利用して印刷用紙の端部が所定の位置に達しないことを検知して印刷用紙毎にその印刷用紙が搬送不良の状態に陥ったことを検知するようにしているものもある(例えば、特許文献1参照)。
特開平5−58012号公報(段落「0017」〜段落「0024」、図1、図2)
On the other hand, in a printing apparatus that prints on paper that has been cut to a predetermined size, a paper width sensor for detecting the paper width is used to detect that the end of the print paper does not reach a predetermined position, and In some cases, it is detected that the printing paper has fallen into a poorly conveyed state (see, for example, Patent Document 1).
JP-A-5-58012 (paragraphs “0017” to “0024”, FIGS. 1 and 2)

上述したようにジャム検知機構を備えた印刷装置は、印刷用紙の搬送不良を検知することが可能であるが、コスト重視の低価格の印刷装置では、ジャム検知機構を備えていないものも多く存在する。
しかしながら、上述した従来の技術においては、ジャム検知機構を備えていない印刷装置で印刷用紙の搬送不良が発生した場合、印刷用紙の搬送不良の状態で印刷を継続してしまい送ることができない印刷用紙の同一箇所に印刷し続け、やがて印刷用紙が破れプラテンへ直接印刷してしまい、印字ヘッドのピン折れやプラテンの損傷につながってしまう。このため、印刷用紙が搬送不良の状態に陥ったことを検知する必要があり、この場合ジャム検知機構を備える必要があるという問題がある。
As described above, a printing apparatus having a jam detection mechanism can detect a conveyance failure of printing paper, but there are many low-priced printing apparatuses with an emphasis on cost that do not have a jam detection mechanism. To do.
However, in the above-described conventional technique, when a printing paper conveyance failure occurs in a printing apparatus that does not include a jam detection mechanism, printing paper that cannot be sent because printing is continued in a printing paper conveyance failure state. In this case, the printing paper is torn and printed directly on the platen, leading to pin breakage of the print head and damage to the platen. For this reason, there is a problem that it is necessary to detect that the printing paper is in a poorly conveyed state, and in this case, it is necessary to provide a jam detection mechanism.

また、上述の特許文献1に記載されているようにジャム検知機構を備えることなく、紙幅センサを利用して印刷用紙に端部が所定の位置に達しないことを検知して印刷用紙毎にその印刷用紙が搬送不良の状態に陥ったことを検知する場合、所定の大きさにカットされた用紙の搬送不良を検知することはできても連続用紙の搬送不良を検知することができないという問題がある。   Further, as described in Patent Document 1 described above, the paper width sensor is used to detect that the end of the printing paper does not reach a predetermined position without providing a jam detection mechanism, and for each printing paper. When detecting that the printing paper is in a poorly transported state, there is a problem in that it is not possible to detect a transport failure of continuous paper even though it can detect a transport failure of paper cut to a predetermined size. is there.

本発明は、このような問題を解決することを課題とし、ジャム検知機構を新たに設けることなく連続用紙の搬送不良を検知することを目的とする。   An object of the present invention is to solve such a problem, and an object of the present invention is to detect a conveyance failure of a continuous sheet without newly providing a jam detection mechanism.

そのため、本発明は、キャリッジに印字ヘッドを有し、そのキャリッジを用紙の送り方向に対して略直交する方向に往復移動しながら印字を行う印刷装置において、前記キャリッジに配置され、用紙に印字された文字の濃淡を検出する濃度検出部と、前記濃度検出部の出力を監視して用紙の搬送不良を検出する処理部とを有することを特徴とする。   Therefore, the present invention provides a printing apparatus having a print head on a carriage and performing printing while reciprocating the carriage in a direction substantially orthogonal to the paper feed direction, and is arranged on the carriage and printed on paper. A density detection unit that detects the density of the characters and a processing unit that monitors the output of the density detection unit and detects a paper conveyance failure.

このようにした本発明は、ジャム検知機構を新たに設けることなく連続用紙の搬送不良を検知することができるという効果が得られる。   According to the present invention thus configured, it is possible to detect a continuous paper conveyance failure without newly providing a jam detection mechanism.

以下、図面を参照して本発明による印刷装置の実施例を説明する。   Hereinafter, embodiments of a printing apparatus according to the present invention will be described with reference to the drawings.

図1は第1の実施例における印刷装置の構成を示す要部平面図、図2は第1の実施例における印刷装置の構成を示す側断面図である。
図1および図2において、印刷装置100は、連続用紙1を印刷するプリンタである。
トラクタ2は、図示しないモータ等の駆動手段で回転するベルトの外側に突出したピンが設けられ、そのピンに連続用紙1の両側部に設けられたスプロケット孔が嵌め合わせられるものである。このトラクタ2は、図示しない搬送モータ等の駆動手段で回転するように構成され、回転することにより連続用紙1を送り出すことができるようになっている。
FIG. 1 is a main part plan view showing the configuration of the printing apparatus in the first embodiment, and FIG. 2 is a side sectional view showing the configuration of the printing apparatus in the first embodiment.
1 and 2, a printing apparatus 100 is a printer that prints continuous paper 1.
The tractor 2 is provided with a pin protruding outside a belt that is rotated by driving means such as a motor (not shown), and a sprocket hole provided on both sides of the continuous paper 1 is fitted to the pin. The tractor 2 is configured to be rotated by driving means such as a conveyance motor (not shown), and can feed the continuous paper 1 by rotating.

プラテン3は、印字ヘッド7によって与えられるワイヤーピンの衝撃を受けるものであり、図示しない搬送モータ等の駆動手段でトラクタ2とともに回転するように構成され、トラクタ2により送り出された連続用紙1を搬送する。
ペーパーエンドセンサ4は、トラクタ2とプラテン3との間に設けられ、搬送された連続用紙1がプラテン3に入り込む前段の連続用紙1の有無を検知するためのセンサである。なお、本実施例では、ペーパーエンドセンサ4は連続用紙1を検知するための検出用のレバーを備え、そのレバーにより光透過型センサの光軸を遮断することで連続用紙1の有無を検知するものとする。
The platen 3 receives the impact of the wire pin provided by the print head 7 and is configured to rotate together with the tractor 2 by a driving means such as a conveyance motor (not shown), and conveys the continuous paper 1 fed by the tractor 2. To do.
The paper end sensor 4 is provided between the tractor 2 and the platen 3, and is a sensor for detecting the presence or absence of the preceding continuous paper 1 in which the conveyed continuous paper 1 enters the platen 3. In this embodiment, the paper end sensor 4 is provided with a detection lever for detecting the continuous paper 1, and the presence or absence of the continuous paper 1 is detected by blocking the optical axis of the light transmission type sensor by the lever. Shall.

キャリッジ6は、図1に示すようにキャリッジシャフト10に貫通され、連続用紙1が搬送される方向に対して略直交する方向(図1の矢印Aが示す方向)に摺動可能に構成されている。このキャリッジ6は、ワイヤーピンを突出させてインクリボン11を連続用紙1に突き当てる印字ヘッド7、その印字ヘッド7の近傍に、連続用紙1に光を照射してその反射光を入力する光反射型センサであるキャリッジセンサ8、およびインクリボン11を案内するリボンプロテクタ9を備えている。したがって、キャリッジ6を連続用紙1が搬送される方向に対して略直交する方向に往復移動させて連続用紙1に印字することができるようになっている。   As shown in FIG. 1, the carriage 6 penetrates the carriage shaft 10 and is configured to be slidable in a direction substantially perpendicular to the direction in which the continuous paper 1 is conveyed (the direction indicated by the arrow A in FIG. 1). Yes. The carriage 6 has a print head 7 that protrudes a wire pin and abuts the ink ribbon 11 on the continuous paper 1, and light reflection that irradiates the continuous paper 1 near the print head 7 and inputs the reflected light. A carriage sensor 8 as a mold sensor and a ribbon protector 9 for guiding the ink ribbon 11 are provided. Therefore, printing can be performed on the continuous paper 1 by reciprocating the carriage 6 in a direction substantially orthogonal to the direction in which the continuous paper 1 is conveyed.

プルアップローラアセンブリ13は、キャリッジ6の上方に配置され、連続用紙1を引き上げるプルアップローラ14を備え、図示しない搬送モータ等の駆動手段により回転駆動されたプルアップローラ14で引き上げられシートガイド5で案内された連続用紙1を装置の上部に配置されたシートステージ15へ案内して搬送する(図2の矢印Bが示す方向)。   The pull-up roller assembly 13 is disposed above the carriage 6 and includes a pull-up roller 14 that pulls up the continuous paper 1. The pull-up roller assembly 13 is pulled up by the pull-up roller 14 that is rotationally driven by driving means such as a conveyance motor (not shown). 2 is guided and conveyed to the sheet stage 15 disposed in the upper part of the apparatus (in the direction indicated by the arrow B in FIG. 2).

図3は第1の実施例における印刷装置の構成を示すブロック図である。
図3において、上位装置20は、印刷装置100に印刷を指示する印刷データを出力するホストコンピュータである。
印刷装置100は、データ受信部21、データ解析部22、印字データ生成出力部23、操作パネル部24、表示部25、スペース制御部26、用紙搬送制御部28、用紙検出回路部30、記憶部31、およびこれらを制御する主制御部32で構成されている。
FIG. 3 is a block diagram showing the configuration of the printing apparatus in the first embodiment.
In FIG. 3, the host apparatus 20 is a host computer that outputs print data that instructs the printing apparatus 100 to perform printing.
The printing apparatus 100 includes a data reception unit 21, a data analysis unit 22, a print data generation output unit 23, an operation panel unit 24, a display unit 25, a space control unit 26, a paper transport control unit 28, a paper detection circuit unit 30, and a storage unit. 31 and a main control unit 32 for controlling them.

データ受信部21は、上位装置20から印刷データを受信し、データ解析部22は、データ受信部21が受信した印刷データを解析する。印刷データ生成出力部23は、データ解析部22で解析された結果に基づいてビットマップデータに展開した印字データを生成し、その印字データに基づいて印字ヘッド7で連続用紙1に印字する。
操作パネル部24は、操作ボタン等の入力手段により操作者の操作を受付け、表示部25は印刷装置100の状態等を表示するランプやディスプレイ等である。
The data receiving unit 21 receives print data from the host device 20, and the data analyzing unit 22 analyzes the print data received by the data receiving unit 21. The print data generation / output unit 23 generates print data expanded into bitmap data based on the result analyzed by the data analysis unit 22 and prints it on the continuous paper 1 by the print head 7 based on the print data.
The operation panel unit 24 receives an operator's operation through an input unit such as an operation button, and the display unit 25 is a lamp, a display, or the like that displays the status of the printing apparatus 100.

スペース制御部26は、スペースモータ27を回転駆動させてそのスペースモータ27に接続されたベルトを駆動させることでキャリッジ6を連続用紙1が搬送される方向に対して略直交する方向に摺動させる。したがって、スペース制御部26は、スペースモータ27を駆動することにより、キャリッジ6に設けられた印字ヘッド7およびキャリッジセンサ8を連続用紙1の搬送方向に略直交する幅方向に往復移動させることができるようになっている。   The space control unit 26 rotationally drives the space motor 27 and drives a belt connected to the space motor 27 to slide the carriage 6 in a direction substantially perpendicular to the direction in which the continuous paper 1 is conveyed. . Therefore, the space control unit 26 can reciprocate the print head 7 and the carriage sensor 8 provided on the carriage 6 in the width direction substantially orthogonal to the conveyance direction of the continuous paper 1 by driving the space motor 27. It is like that.

用紙搬送制御部28は、搬送モータ29を回転駆動させてトラクタ2およびプラテン3を回転させ、連続用紙1の給紙、排出、および改行等の送り動作を行う。
用紙検出回路部30は、キャリッジセンサ8とで濃度検出部としての非反射部検出手段を構成し、連続用紙1に向けて発光した光の反射光を受光して反射状態(淡:白色部)または非反射状態(濃:黒色部)を検出するものである。
The sheet conveyance control unit 28 rotates the tractor 2 and the platen 3 by rotating the conveyance motor 29 to perform feeding operations such as feeding, discharging, and line feed of the continuous sheet 1.
The paper detection circuit unit 30 constitutes a non-reflective part detection unit as a density detection unit with the carriage sensor 8 and receives the reflected light of the light emitted toward the continuous paper 1 to reflect the light (light: white part). Alternatively, a non-reflective state (dark: black part) is detected.

この用紙検出回路部30は、連続用紙1に向けて発光した光の反射光を受光して反射状態または非反射状態を検出してその連続用紙1の紙幅を検出することができ、また連続用紙1に印字された文字の濃淡を検出することができるようになっている。
この用紙検出回路部30は、例えば図4に示すように、抵抗R1およびR2が接続されたキャリッジセンサ8としての発光ダイオードLED1、受光トランジスタTR1、受光トランジスタTR1のエミッタ出力が比較器Q1の“―”端子に接続され、一方、“+”端子に抵抗R4およびR5によって5Vを分圧した電圧がスライスレベルとして接続されたものである。また、比較器Q1の出力は抵抗R3でプルアップされており、主制御部32の入力ポートに接続されている。
This paper detection circuit unit 30 can detect the reflected or non-reflected state by receiving the reflected light of the light emitted toward the continuous paper 1, and can detect the paper width of the continuous paper 1. It is possible to detect the shading of the characters printed on 1.
For example, as shown in FIG. 4, the paper detection circuit unit 30 is configured such that the emitter outputs of the light emitting diode LED1, the light receiving transistor TR1, and the light receiving transistor TR1 as the carriage sensor 8 to which the resistors R1 and R2 are connected are output from the comparator Q1. On the other hand, a voltage obtained by dividing 5V by resistors R4 and R5 is connected to the “+” terminal as a slice level. The output of the comparator Q1 is pulled up by a resistor R3 and is connected to the input port of the main controller 32.

記憶部31は、印刷装置100全体を制御するための制御プログラムや装置の状態等を記憶するメモリで構成されたものである。
主制御部32は、演算手段および制御手段としてのCPU等で構成され、記憶部31に記憶された制御プログラムに基づいて印刷装置100全体を制御し、上位装置20から受信した印字データに基づいて1行(ライン)毎にキャリッジ6を移動させて印字ヘッド7により連続用紙1に印字を行う。
The storage unit 31 is configured by a memory that stores a control program for controlling the entire printing apparatus 100, a state of the apparatus, and the like.
The main control unit 32 is configured by a CPU or the like as a calculation unit and a control unit, controls the entire printing apparatus 100 based on a control program stored in the storage unit 31, and based on print data received from the host apparatus 20. The carriage 6 is moved line by line, and printing is performed on the continuous paper 1 by the print head 7.

上述した構成の作用を図5の第1の実施例における印字動作を示すフローチャートの図中Sで表すステップに従って説明する。
まず、印字動作に入る前の動作を説明する。
印刷装置100に連続用紙1がセットされていない場合、ユーザにより連続用紙1のスプロケット孔とトラクタ2のピンとを合わせて連続用紙1をセットする。連続用紙1がトラクタ2にセットされた後、印刷装置100のデータ受信部21が上位装置20から印字データを受信、またはユーザの操作を受付けた操作パネル部24から給紙命令を受信すると用紙搬送制御部28により搬送モータ29を駆動し、ギアを介してトラクタ2およびプラテン3を回転させ、連続用紙1をプラテン3とキャリッジ6の間まで搬送する給紙動作を行う。
The operation of the above-described configuration will be described in accordance with the step represented by S in the flowchart showing the printing operation in the first embodiment of FIG.
First, the operation before entering the printing operation will be described.
When the continuous paper 1 is not set in the printing apparatus 100, the user sets the continuous paper 1 by aligning the sprocket holes of the continuous paper 1 and the pins of the tractor 2. After the continuous paper 1 is set on the tractor 2, when the data receiving unit 21 of the printing apparatus 100 receives print data from the host apparatus 20 or receives a paper feed command from the operation panel unit 24 that accepts a user operation, the paper is conveyed. The control unit 28 drives the transport motor 29 to rotate the tractor 2 and the platen 3 through the gears, and performs a paper feeding operation for transporting the continuous paper 1 between the platen 3 and the carriage 6.

次に、スペース制御部26は、連続用紙1の幅を検出するためにスペースモータ27を駆動してキャリッジ6を摺動させるスペーシング動作を行い、そのキャリッジ6の可動範囲を移動させてキャリッジセンサ8により連続用紙1のエッジの位置、すなわち連続用紙1の紙幅を検出し、検出した紙幅を記憶部31に用紙幅情報として格納する。
なお、連続用紙1の紙幅を検出する動作は、連続用紙1の給紙動作時および印刷装置100の電源投入時に行うものとする。
Next, the space control unit 26 drives the space motor 27 to detect the width of the continuous paper 1 and performs a spacing operation for sliding the carriage 6, and moves the movable range of the carriage 6 to move the carriage sensor. 8, the edge position of the continuous paper 1, that is, the paper width of the continuous paper 1 is detected, and the detected paper width is stored in the storage unit 31 as paper width information.
Note that the operation for detecting the width of the continuous paper 1 is performed when the continuous paper 1 is fed and when the printer 100 is turned on.

S1:連続用紙1の紙幅を検出する動作を終了した後、印刷装置100のデータ受信部21が上位装置20から印字データを受信すると受信した印字データに基づいてスペース制御部26および印字データ生成出力部23により、キャリッジ6のスペーシング動作とインクリボン11を介して印字ヘッド7のピンを連続用紙1にインパクトさせる印字動作を開始し、1ライン(行)の印字動作を行う。   S1: When the data receiving unit 21 of the printing apparatus 100 receives print data from the host apparatus 20 after the operation of detecting the width of the continuous sheet 1 is completed, the space control unit 26 and the print data generation output are based on the received print data. The unit 23 starts the spacing operation of the carriage 6 and the printing operation that impacts the pins of the print head 7 on the continuous paper 1 via the ink ribbon 11 to perform the printing operation for one line (row).

S2:キャリッジ6のスペーシング動作において、キャリッジ6に設けられたキャリッジセンサ8の出力としての用紙検出回路30の出力を主制御部32の入力ポートへ入力し、主制御部32は入力されたキャリッジセンサ8の出力に基づいて連続用紙1上をスペーシング動作する間、非反射部である黒色部の有無を判別することが可能になる。
ここで、1ラインの印字データを印字する場合、これから印字するラインには未だ印字されていないので、キャリッジセンサ8が連続用紙1の端部を越えるまではキャリッジセンサ8の出力は反射状態を示す。そのため、印字データによる印字範囲が連続用紙1からはみ出ない場合、黒色部を検出することはなく、処理をS3へ移行する(S2:NO)。
S2: In the spacing operation of the carriage 6, the output of the paper detection circuit 30 as the output of the carriage sensor 8 provided in the carriage 6 is input to the input port of the main control unit 32, and the main control unit 32 receives the input carriage. During the spacing operation on the continuous paper 1 based on the output of the sensor 8, it is possible to determine the presence or absence of a black portion that is a non-reflective portion.
Here, when printing one line of print data, since the line to be printed has not been printed yet, the output of the carriage sensor 8 indicates the reflection state until the carriage sensor 8 exceeds the end of the continuous paper 1. . For this reason, when the print range by the print data does not protrude from the continuous paper 1, the black portion is not detected, and the process proceeds to S3 (S2: NO).

S3:スペース制御部26は、スペーシング動作を終了し、1ラインの印字動作を終了する。
S4:1ラインの印字が終了すると用紙搬送制御部28は、印字データに基づいてトラクタ2およびプラテン3を駆動させ、連続用紙1を必要量搬送する改行動作を行う。
このように通常はS1〜S4の動作を繰り返して印字動作を行う。
S3: The space control unit 26 ends the spacing operation and ends the one-line printing operation.
S4: When the printing of one line is completed, the paper conveyance control unit 28 drives the tractor 2 and the platen 3 based on the print data, and performs a line feed operation for conveying the necessary amount of continuous paper 1.
As described above, the printing operation is normally performed by repeating the operations of S1 to S4.

一方、S2において、非反射部を検出した場合(S2:YES)、処理をS5へ移行する。
S5:S2において、非反射部を検出した場合であっても、連続用紙1の端部付近を印字するなどスペーシング動作の範囲が連続用紙1の端部を越える場合、キャリッジセンサ8が連続用紙1から離れ、キャリッジセンサ8はプラテン3により非反射状態を検出し、その出力は非反射状態を示す。このため、主制御部32は、記憶部31に格納された用紙幅情報に基づき、キャリッジセンサ8が連続用紙1の端部を越えて非反射状態を検出したか否かを判別する。
On the other hand, in S2, when a non-reflective part is detected (S2: YES), the process proceeds to S5.
S5: Even when the non-reflective portion is detected in S2, if the range of the spacing operation exceeds the end of the continuous paper 1 such as printing near the end of the continuous paper 1, the carriage sensor 8 1, the carriage sensor 8 detects the non-reflective state by the platen 3, and its output indicates the non-reflective state. Therefore, the main control unit 32 determines whether the carriage sensor 8 has detected a non-reflective state beyond the end of the continuous paper 1 based on the paper width information stored in the storage unit 31.

主制御部32は、キャリッジ6のスペーシング動作による移動量と記憶部31に格納された用紙幅情報とを比較し、キャリッジ6が連続用紙1の幅を超えたと判別すると処理をS6へ移行し(YES)、連続用紙1の幅を超えていないと判別すると処理をS7へ移行する(NO)。
S6:キャリッジ6が連続用紙1の幅を超えたと判別した場合、継続して印字動作を行うと連続用紙1が存在しない位置、すなわちプラテン3に直接印字してしまうため、主制御部32は、同一のラインに残りの印字データが存在すれば、その印字データを受け捨てる処理を行い、処理をS3へ移行して1ラインの印字動作を終了する。
The main control unit 32 compares the amount of movement by the spacing operation of the carriage 6 with the sheet width information stored in the storage unit 31. If the main control unit 32 determines that the carriage 6 exceeds the width of the continuous sheet 1, the process proceeds to S6. If it is determined that the width of the continuous paper 1 is not exceeded (YES), the process proceeds to S7 (NO).
S6: If it is determined that the carriage 6 has exceeded the width of the continuous paper 1, if the printing operation is continued, the main control section 32 directly prints on the position where the continuous paper 1 does not exist, that is, directly on the platen 3. If there is remaining print data on the same line, a process for discarding the print data is performed, the process proceeds to S3, and the printing operation for one line is finished.

このようにして印刷装置100は、1ラインの印字動作を行うが、何らかの理由により連続用紙1の搬送が不能になるジャム状態に至るとトラクタ2およびプラテン3を回転させても連続用紙1を搬送することができない状態に陥る。
例えば、図6に示すように印字された連続用紙1がシートステージ15を超えて印刷装置100の背面に垂れ下がった状態が続いた場合、給紙される連続用紙1が配置される位置によって印字済みの連続用紙1が給紙される連続用紙1に載りかかることにより、負荷が増加して給紙する連続用紙1を引き上げることができない状態になってしまう。
In this way, the printing apparatus 100 performs a one-line printing operation. However, if the jammed state where the conveyance of the continuous paper 1 becomes impossible for some reason, the continuous paper 1 is conveyed even if the tractor 2 and the platen 3 are rotated. I can't do it.
For example, as shown in FIG. 6, when the printed continuous paper 1 continues to hang over the back of the printing apparatus 100 beyond the sheet stage 15, printing is performed depending on the position where the fed continuous paper 1 is disposed. When the continuous paper 1 is placed on the continuous paper 1 to be fed, the load increases and the continuous paper 1 to be fed cannot be pulled up.

このような状態に至るとトラクタ2は連続用紙1を搬送するために回転しているが連続用紙1を引き上げられず、孔ガレを起こしてトラクタ2で連続用紙1を搬送できない状態になる。また、プラテン3も同様に回転しているため、そのプラテン3は多少の搬送力を有するがプルアップローラ14と同様に負荷が増加した連続用紙1を引き上げるほどのフィード力はないため、連続用紙1はスリップしてしまう。   When such a state is reached, the tractor 2 rotates to convey the continuous paper 1 but the continuous paper 1 cannot be pulled up, causing hole galling and the tractor 2 cannot carry the continuous paper 1. Further, since the platen 3 rotates in the same manner, the platen 3 has a slight conveyance force, but, like the pull-up roller 14, there is no feed force to pull up the continuous paper 1 with an increased load. 1 slips.

このように連続用紙1がトラクタ2から外れ、スリップしてしまう状態に陥った場合、プラテン3の前段に配置されたペーパーエンドセンサ4は用紙有りを検知したままであるため、図7に示すように同一のライン付近に印字する動作を継続して行ってしまう。
上記の例のように連続用紙1の搬送不良の状態でありながらペーパーエンドセンサ4で用紙有りを検知している場合、S4において連続用紙1の搬送を行ってもその連続用紙1は移動することなく、次ラインの印字動作を開始したときS2において重ね印字が行われた部分を非反射部である黒色部として検出する。
In this way, when the continuous paper 1 comes off from the tractor 2 and slips, the paper end sensor 4 arranged at the front stage of the platen 3 still detects the presence of the paper, and as shown in FIG. Will continue to print near the same line.
If the paper end sensor 4 detects the presence of paper while the continuous paper 1 is in a poor transport state as in the above example, the continuous paper 1 moves even if the continuous paper 1 is transported in S4. Instead, when the printing operation for the next line is started, the portion where the overprinting is performed in S2 is detected as a black portion which is a non-reflective portion.

ここで、図7に示す連続用紙1の搬送不良の状態で印字動作を継続した場合におけるキャリッジセンサ8の出力の例に基づいて連続用紙1のジャム状態を検出する処理を説明する。
正常な連続用紙1の搬送状態においては、印字がされていないライン(白色部)に印字動作を行うためキャリッジセンサ8の出力は、反射状態を示す。なお、往復移動するキャリッジ6で双方向の印字を行う場合、印字直後の文字をキャリッジセンサ8で読取ることになるため、未印字エリアの検出が可能な順方向(図1の矢印Cが示す方向)のスペーシング動作時にのみ、非反射部の検出動作を行う。また、用紙検出回路30にはスライスレベルが設定されており、そのスライスレベルを超えたとき比較器Q1の出力が非反射状態を示す”H”となる。
Here, a process for detecting the jam state of the continuous paper 1 based on an example of the output of the carriage sensor 8 when the printing operation is continued in the state of the conveyance failure of the continuous paper 1 shown in FIG. 7 will be described.
When the normal continuous paper 1 is transported, the output of the carriage sensor 8 indicates a reflection state because the printing operation is performed on a line (white portion) where printing is not performed. When bidirectional printing is performed by the carriage 6 that reciprocates, the character immediately after printing is read by the carriage sensor 8, so that the forward direction in which an unprinted area can be detected (the direction indicated by the arrow C in FIG. 1). ) The non-reflective portion is detected only during the spacing operation. In addition, a slice level is set in the paper detection circuit 30, and when the slice level is exceeded, the output of the comparator Q1 becomes “H” indicating a non-reflective state.

しかし、連続用紙1の搬送不良が発生することにより、改行動作が行われず同一のライン付近に印字を繰り返すことで図7に示すような印刷状態になる。
このとき、連続用紙1の搬送不良により重ね印字が多く行われた箇所(黒色部)はキャリッジセンサ8の出力レベルが比較器Q1の基準電圧を下回り、用紙検出回路部30の比較器Q1は非反射状態を示す”H”を出力する。
However, when the conveyance failure of the continuous paper 1 occurs, the line feed operation is not performed and the printing is repeated in the vicinity of the same line so that a printing state as shown in FIG. 7 is obtained.
At this time, the output level of the carriage sensor 8 is lower than the reference voltage of the comparator Q1 at the portion where the repeated printing is frequently performed due to the conveyance failure of the continuous paper 1 (black portion), and the comparator Q1 of the paper detection circuit unit 30 is not. “H” indicating the reflection state is output.

連続用紙1の搬送不良を検出する処理部としての主制御部32は、用紙検出回路部30の出力信号が反射状態を示す”L”から非反射状態を示す”H”に変化する位置を検知し、その位置をキャリッジ6の移動量から算出し、算出された位置情報と記憶部31に格納された紙幅情報とを比較して反射状態を示す”L”から非反射状態を示す”H”に変化する位置が連続用紙1の幅の範囲内にあるか否か、すなわち重ね印字が行われたか否かを判別する。   The main control unit 32 as a processing unit for detecting a conveyance failure of the continuous paper 1 detects a position where the output signal of the paper detection circuit unit 30 changes from “L” indicating the reflection state to “H” indicating the non-reflection state. Then, the position is calculated from the amount of movement of the carriage 6, and the calculated position information is compared with the paper width information stored in the storage unit 31, so that the reflection state is “L” and the non-reflection state is “H”. It is determined whether or not the position to be changed is within the range of the width of the continuous paper 1, that is, whether or not the overprinting has been performed.

図5の説明に戻り、
S5:反射状態を示す”L”から非反射状態を示す”H”に変化する位置が連続用紙1の幅の範囲内に存在する、すなわち重ね印字が行われたと判別すると主制御部32は、連続用紙1の搬送不良が発生したものと判断し、処理をS7へ移行する(NO)。
S7:スペース制御部26は、スペーシング動作を停止し、印字ヘッド7のインパクト動作を停止させる。
Returning to the explanation of FIG.
S5: When it is determined that the position where the reflection state changes from “L” to “H” indicating the non-reflection state is within the width of the continuous paper 1, that is, the overprinting is performed, It is determined that the conveyance failure of the continuous paper 1 has occurred, and the process proceeds to S7 (NO).
S7: The space control unit 26 stops the spacing operation and stops the impact operation of the print head 7.

S8:主制御部32は、連続用紙1のジャムが発生した旨のアラームを表示部25に表示する。
このようにキャリッジセンサ8ならびに用紙検出回路部30、および連続用紙1の搬送不良を検出する処理部としての主制御部32により連続用紙1の搬送不良を検出することができるようになる。
S8: The main control unit 32 displays on the display unit 25 an alarm to the effect that the continuous paper 1 has jammed.
In this way, the carriage sensor 8 and the paper detection circuit unit 30 and the main control unit 32 as a processing unit for detecting the conveyance failure of the continuous paper 1 can detect the conveyance failure of the continuous paper 1.

以上説明したように、第1の実施例では、トラクタ等にジャム検出機構を設けることなく、既存の用紙幅検出センサを利用して黒色部としての非反射部を検出するようにしたことにより、連続用紙の搬送不良を検出することができるようになり、大量印字データの印字動作途中で連続用紙の搬送不良が発生した場合、その搬送不良を検知して印字動作を停止することができるという効果が得られる。   As described above, in the first embodiment, a non-reflective portion as a black portion is detected using an existing paper width detection sensor without providing a jam detection mechanism in a tractor or the like. It is possible to detect a conveyance failure of continuous paper, and when a conveyance failure of continuous paper occurs during the printing operation of a large amount of print data, the printing operation can be stopped by detecting the conveyance failure. Is obtained.

また、連続用紙の搬送不良に起因して発生するプラテンへの直接印字によるプラテンやヘッドピンの損傷を未然に防止することができるという効果が得られる。   Further, it is possible to prevent the platen and the head pin from being damaged due to the direct printing on the platen caused by the conveyance failure of the continuous paper.

第2の実施例の構成は、第1の実施例の構成における記憶部に幅カウンタ、黒カウンタ、およびLFカウンタを設けている。その第2の実施例の構成を図8の第2の実施例における印刷装置の構成を示すブロック図に基づいて説明する。なお、上述した第1の実施例と同様の部分は、同一の符号を付してその説明を省略する。
図8において、印刷装置100は、第1の実施例の構成と同様にデータ受信部21、データ解析部22、印字データ生成出力部23、操作パネル部24、表示部25、スペース制御部26、用紙搬送制御部28、用紙検出回路部30、記憶部31、およびこれらを制御する主制御部32で構成されている。
In the configuration of the second embodiment, a width counter, a black counter, and an LF counter are provided in the storage unit in the configuration of the first embodiment. The configuration of the second embodiment will be described based on the block diagram showing the configuration of the printing apparatus in the second embodiment of FIG. Note that parts similar to those of the first embodiment described above are denoted by the same reference numerals and description thereof is omitted.
8, the printing apparatus 100 includes a data receiving unit 21, a data analysis unit 22, a print data generation output unit 23, an operation panel unit 24, a display unit 25, a space control unit 26, as in the configuration of the first embodiment. The sheet conveyance control unit 28, the sheet detection circuit unit 30, the storage unit 31, and the main control unit 32 that controls them are configured.

スペース制御部26は、スペースモータ27を回転駆動させてそのスペースモータ27に接続されたベルトを駆動させることでキャリッジ6を連続用紙1が搬送される方向に対して略直交する方向に摺動させる。したがって、スペース制御部26は、スペースモータ27を駆動することにより、キャリッジ6に設けられた印字ヘッド7およびキャリッジセンサ8を連続用紙1の搬送方向に略直交する幅方向に往復移動させることができるようになっている。   The space control unit 26 rotationally drives the space motor 27 and drives a belt connected to the space motor 27 to slide the carriage 6 in a direction substantially perpendicular to the direction in which the continuous paper 1 is conveyed. . Therefore, the space control unit 26 can reciprocate the print head 7 and the carriage sensor 8 provided on the carriage 6 in the width direction substantially orthogonal to the conveyance direction of the continuous paper 1 by driving the space motor 27. It is like that.

また、スペース制御部26は、順次励磁相を切り替えてスペースモータ27を回転駆動させてスペーシング動作を行い、また主制御部32はそのスペースモータ27の励磁相の切替えタイミングでキャリッジセンサ8による用紙検出回路30の出力信号を読取ることができるようになっている。
用紙搬送制御部28は、搬送モータ29を回転駆動させてトラクタ2およびプラテン3を回転させ、連続用紙1の給紙、排出、および送り動作を行う。
Further, the space control unit 26 sequentially switches the excitation phase and rotationally drives the space motor 27 to perform a spacing operation. The main control unit 32 also switches the sheet by the carriage sensor 8 at the switching timing of the excitation phase of the space motor 27. The output signal of the detection circuit 30 can be read.
The sheet conveyance control unit 28 rotates the tractor 2 and the platen 3 by rotating the conveyance motor 29 to perform sheet feeding, discharging, and feeding operations of the continuous sheet 1.

なお、キャリッジセンサ8により連続用紙1に向けて発光した光の反射光を受光して反射状態または非反射状態、すなわち白または黒を検出する用紙検出回路部30の構成は、第1の実施例で説明した図4に示す構成と同様である。
記憶部31は、印刷装置100全体を制御するための制御プログラムや装置の状態等を記憶するメモリで構成されているのは第1の実施例と同様であるが、第2の実施例では幅カウンタ311、黒カウンタ312、およびLFカウンタ313も備えている。
The configuration of the paper detection circuit unit 30 that receives the reflected light of the light emitted toward the continuous paper 1 by the carriage sensor 8 and detects the reflection state or the non-reflection state, that is, white or black, is the first embodiment. This is the same as the configuration shown in FIG.
The storage unit 31 is composed of a control program for controlling the entire printing apparatus 100 and a memory for storing the state of the apparatus, etc., as in the first embodiment, but in the second embodiment, the width is limited. A counter 311, a black counter 312, and an LF counter 313 are also provided.

幅カウンタ311は、スペーシング動作のスペースモータ27の励磁相の切替えタイミングで用紙検出回路30の出力信号が非反射状態(黒色部)を示す”H”として連続する回数を格納するものである。
主制御部32は、図9に示すようにスペース制御部26がスペースモータ27の励磁相切替処理を行ったタイミングでキャリッジセンサ8による用紙検出回路30の比較器Q1の出力信号を読取り、その出力信号が非反射状態(黒色部)を示す”H”として連続する回数をこの幅カウンタ311に格納する。
The width counter 311 stores the number of times the output signal of the paper detection circuit 30 continues as “H” indicating a non-reflective state (black portion) at the switching timing of the excitation phase of the space motor 27 in the spacing operation.
The main control unit 32 reads the output signal of the comparator Q1 of the paper detection circuit 30 by the carriage sensor 8 at the timing when the space control unit 26 performs the excitation phase switching process of the space motor 27 as shown in FIG. The number of times that the signal continues as “H” indicating a non-reflective state (black portion) is stored in the width counter 311.

図9は主制御部32がキャリッジセンサ8による用紙検出回路30の比較器Q1の出力信号を読取るタイミングを示しており、励磁相切替毎に用紙検出回路30の比較器Q1の出力信号を読取る。例えば図9では、n回目、n+2回目、およびn+4回目の比較器Q1の出力信号の読取りで黒を検出、n+1回目、n+3回目、n+5回目、およびn+6回目の比較器Q1の出力信号の読取りで黒なしを検出していることを示している。   FIG. 9 shows the timing at which the main controller 32 reads the output signal of the comparator Q1 of the paper detection circuit 30 by the carriage sensor 8, and reads the output signal of the comparator Q1 of the paper detection circuit 30 every time the excitation phase is switched. For example, in FIG. 9, black is detected by reading the output signal of the comparator Q1 at the nth time, n + 2th time, and n + 4th time. This indicates that no black is detected.

黒カウンタ312は、1ラインのスペーシング動作内に幅カウンタ311に格納された回数が閾値Xを超えたことを検知したか否かを格納するものである。
主制御部32は、非反射状態(黒色部)を示す”H”の用紙検出回路30の比較器Q1の出力信号を読取ると幅カウンタ311に格納された回数と閾値Xとを比較し、幅カウンタ311が閾値Xを超えていると判定したとき、幅カウンタ311が閾値Xを超えたことをこの黒カウンタ312に格納する。
The black counter 312 stores whether or not it has been detected that the number of times stored in the width counter 311 has exceeded the threshold value X within the spacing operation of one line.
When the main control unit 32 reads the output signal of the comparator Q1 of the “H” paper detection circuit 30 indicating the non-reflective state (black portion), the main control unit 32 compares the number of times stored in the width counter 311 with the threshold value X to determine the width. When it is determined that the counter 311 exceeds the threshold value X, the fact that the width counter 311 exceeds the threshold value X is stored in the black counter 312.

LFカウンタ313は、幅カウンタ311に格納された回数が閾値Xを超えたことを検知したラインが連続した回数(ライン数)を格納するものである。
主制御部32は、1ラインのスペーシング動作終了時に、幅カウンタ311が閾値Xを超えたことが格納された黒カウンタ312が連続するライン数をこのLFカウンタ313に格納し、LFカウンタ313に格納されたライン数が閾値Yを超えたことを検知したとき、重ね印字が行われたと判別し、連続用紙1の搬送不良が発生したものと判断する。
The LF counter 313 stores the number of continuous lines (the number of lines) that has detected that the number of times stored in the width counter 311 has exceeded the threshold value X.
The main control unit 32 stores, in the LF counter 313, the number of continuous lines of the black counter 312 in which the width counter 311 has exceeded the threshold value X when the spacing operation for one line is completed. When it is detected that the number of stored lines exceeds the threshold value Y, it is determined that overprinting has been performed, and it is determined that a conveyance failure of the continuous paper 1 has occurred.

上述した構成の作用を図10の第2の実施例における印字動作を示すフローチャートの図中Sで表すステップに従って説明する。
印字動作に入る前の給紙動作は第1の実施例と同様なのでその説明を省略し、連続用紙1が給紙されてその連続用紙1の紙幅が検出され、印字データを受信した後の動作を説明する。
The operation of the above-described configuration will be described in accordance with steps represented by S in the flowchart showing the printing operation in the second embodiment of FIG.
Since the paper feeding operation before entering the printing operation is the same as that of the first embodiment, the description thereof is omitted, and the operation after the continuous paper 1 is fed, the width of the continuous paper 1 is detected, and the print data is received. Will be explained.

なお、印刷装置100に電源が投入されたとき、主制御部32は記憶部31の幅カウンタ311を“0”、黒カウンタ312を“0:1ラインのスペーシング動作内に幅カウンタ311に格納された回数が閾値Xを超えていない”、LFカウンタ313を“0”に初期化するものとする。
S21:主制御部32は、1ラインの印字動作毎に幅カウンタ311を“0”に初期化する。
When the printing apparatus 100 is turned on, the main control unit 32 stores the width counter 311 of the storage unit 31 in “0” and the black counter 312 in the width counter 311 within the “0: 1 line spacing operation”. , The LF counter 313 is initialized to “0”.
S21: The main control unit 32 initializes the width counter 311 to “0” for each printing operation of one line.

S22:上位装置20から受信した印字データに基づいてスペース制御部26および印字データ生成出力部23により、キャリッジ6のスペーシング動作とインクリボン11を介して印字ヘッド7のピンを連続用紙1にインパクトさせる印字動作を開始し、スペース制御部26は、スペースモータ27の励磁相の切替処理を行う。
S23:主制御部32は、スペース制御部26が行う励磁相の切替処理のタイミングに同期してキャリッジ6に設けられたキャリッジセンサ8の出力としての用紙検出回路30の出力を読み出す。
S22: Based on the print data received from the host device 20, the space control unit 26 and the print data generation output unit 23 impact the spacing operation of the carriage 6 and the pins of the print head 7 on the continuous paper 1 via the ink ribbon 11. The space control unit 26 performs the excitation phase switching process of the space motor 27.
S23: The main control unit 32 reads the output of the paper detection circuit 30 as the output of the carriage sensor 8 provided in the carriage 6 in synchronization with the timing of the excitation phase switching process performed by the space control unit 26.

S24:主制御部32は、入力されたキャリッジセンサ8の出力に基づいて連続用紙1上をスペーシング動作する間、非反射部である黒色部の有無を判別することが可能になる。なお、ジャム検出手段としての主制御部32が非反射部である黒色部の有無を判別する方法は第1の実施例と同様である。
非反射部(黒色部)を検出しない場合(NO)、処理をS29へ移行し、一方非反射部(黒色部)を検出した場合(YES)、処理をS25へ移行する。
S24: The main control unit 32 can determine the presence or absence of a black portion which is a non-reflective portion while performing a spacing operation on the continuous paper 1 based on the input output of the carriage sensor 8. Note that the main control unit 32 as the jam detecting means determines the presence / absence of the black part which is a non-reflective part as in the first embodiment.
If a non-reflective part (black part) is not detected (NO), the process proceeds to S29. If a non-reflective part (black part) is detected (YES), the process proceeds to S25.

S25:非反射部(黒色部)を検出した場合、主制御部32は、幅カウンタ311に“1”を加算する。
S26:主制御部32は、幅カウンタ311に“1”を加算するとその幅カウンタ311が閾値Xを超えたか否かを判定し、超えたと判定した場合(YES)、処理をS27へ移行し、超えていないと判定した場合(NO)、処理をS30へ移行する。
S25: When the non-reflecting part (black part) is detected, the main control part 32 adds “1” to the width counter 311.
S26: When “1” is added to the width counter 311, the main control unit 32 determines whether or not the width counter 311 has exceeded the threshold value X. If it is determined that the threshold has been exceeded (YES), the process proceeds to S27. When it determines with not exceeding (NO), a process is transfered to S30.

S27:幅カウンタ311が閾値Xを超えたと判定すると主制御部32は、記憶部31に格納された用紙幅情報に基づき、キャリッジセンサ8が連続用紙1の端部(印字エリア)を越えて非反射状態を検出したか否かを判別する。
主制御部32は、キャリッジ6のスペーシング動作による移動量と記憶部31に格納された用紙幅情報とを比較し、キャリッジ6が連続用紙1の幅を超えたと判別すると処理をS29へ移行し(NO)、連続用紙1の幅を超えていないと判別すると処理をS28へ移行する(YES)。
S27: When the width counter 311 determines that the threshold value X has exceeded the threshold value X, the main control unit 32 determines that the carriage sensor 8 exceeds the end (printing area) of the continuous paper 1 based on the paper width information stored in the storage unit 31. It is determined whether or not a reflection state is detected.
The main control unit 32 compares the amount of movement by the spacing operation of the carriage 6 with the sheet width information stored in the storage unit 31. If the main control unit 32 determines that the carriage 6 exceeds the width of the continuous sheet 1, the process proceeds to S29. (NO), if it is determined that the width of the continuous paper 1 is not exceeded, the process proceeds to S28 (YES).

S28:スペース制御部26が行う励磁相の切替処理のタイミング毎にキャリッジセンサ8の出力としての用紙検出回路30の出力を繰り返して読み出し、幅カウンタ311が閾値Xを超える黒色部を印字エリア内で検出した主制御部32は、黒カウンタ312に“1”を格納し、1ラインの印字動作中に連続用紙1の印字エリア内で非反射状態(黒色部)を検出したことを記憶部31に記憶して処理をS30へ移行する。   S28: The output of the sheet detection circuit 30 as the output of the carriage sensor 8 is repeatedly read at every timing of the excitation phase switching process performed by the space control unit 26, and the black portion whose width counter 311 exceeds the threshold value X is detected in the print area. The detected main control unit 32 stores “1” in the black counter 312, and stores in the storage unit 31 that a non-reflective state (black portion) is detected in the print area of the continuous paper 1 during the one-line printing operation. Store and move the process to S30.

S29:S24において非反射部(黒色部)を検出しない場合(S24:NO)、主制御部32は幅カウンタ311を“0”に初期化する。このように非反射部(黒色部)を連続して検出しない場合に幅カウンタ311を初期化することにより、検出する非反射部(黒色部)の幅を閾値Xで変えることができる。
また、S27においてキャリッジ6が連続用紙1の幅を超えたと判別した場合も主制御部32は幅カウンタ311を“0”に初期化する。
S29: When the non-reflecting part (black part) is not detected in S24 (S24: NO), the main control part 32 initializes the width counter 311 to “0”. Thus, when the non-reflecting part (black part) is not continuously detected, the width of the non-reflecting part (black part) to be detected can be changed by the threshold value X by initializing the width counter 311.
Even when it is determined in S27 that the carriage 6 has exceeded the width of the continuous paper 1, the main control unit 32 initializes the width counter 311 to “0”.

S30:スペース制御部26は、1ラインのスペースモータを駆動するスペーシング動作を終了するまでS2〜S29の処理を繰返し(NO)、1ラインのスペーシング動作を終了すると処理をS31へ移行する(YES)。
S31:1ラインのスペーシング動作を終了すると主制御部32は、1ラインの印字動作中に連続用紙1の印字エリア内で非反射状態(黒色部)を検出したか否か、すなわち黒カウンタ312が“1”であるか否かを判定し、非反射状態(黒色部)を検出した(黒カウンタ312が“1”)と判定すると処理をS32へ移行し、非反射状態(黒色部)を検出していない(黒カウンタ312が“0”)と判定すると処理をS34へ移行する。
S30: The space control unit 26 repeats the processes of S2 to S29 until the spacing operation for driving the one-line space motor is completed (NO), and when the one-line spacing operation is completed, the process proceeds to S31 ( YES).
S31: When the one-line spacing operation is completed, the main control unit 32 determines whether or not a non-reflective state (black portion) is detected in the printing area of the continuous paper 1 during the one-line printing operation, that is, the black counter 312. Is determined to be “1”, and the non-reflective state (black portion) is detected (the black counter 312 is “1”), the process proceeds to S32, and the non-reflective state (black portion) is determined. If it is determined that it is not detected (the black counter 312 is “0”), the process proceeds to S34.

S32:非反射状態(黒色部)を検出した(黒カウンタ312が“1”)と判定すると主制御部32は、LFカウンタ313に“1”を加算する。
S33:また、主制御部32は、黒カウンタ312を“0”に初期化し、処理をS35へ移行する。
S34:S31において非反射状態(黒色部)を検出していない(黒カウンタ312が“0”)と判定すると主制御部32は、LFカウンタ313を“0”に初期化し、処理をS35へ移行する。
S32: If it is determined that the non-reflective state (black portion) is detected (the black counter 312 is “1”), the main control unit 32 adds “1” to the LF counter 313.
S33: Also, the main control unit 32 initializes the black counter 312 to “0”, and proceeds to S35.
S34: If it is determined in S31 that the non-reflective state (black portion) is not detected (the black counter 312 is “0”), the main control unit 32 initializes the LF counter 313 to “0”, and the process proceeds to S35. To do.

S35:主制御部32は、次行の印字データが存在するか否かを判定し、存在すると判定すると処理をS36へ移行し、存在しないと判定すると印字動作を終了する。
S36:次行の印字データが存在すると判定すると主制御部32は、非反射状態(黒色部)を連続して検出したラインが閾値Yを超えているか否か、すなわちLFカウンタ313が閾値Yを超えているか否かを判定し、超えていると判定すると処理をS38へ移行する。一方、超えていないと判定すると処理をS37へ移行する。
S35: The main control unit 32 determines whether or not print data for the next line exists. If it is determined that the print data is present, the process proceeds to S36, and if it is determined that there is no print data, the print operation is terminated.
S36: If it is determined that the print data for the next line exists, the main control unit 32 determines whether or not the line in which the non-reflective state (black portion) is continuously detected exceeds the threshold Y, that is, the LF counter 313 sets the threshold Y. It is determined whether or not it has exceeded, and if it is determined that it has exceeded, the process proceeds to S38. On the other hand, if it is determined that it does not exceed, the process proceeds to S37.

S37:非反射状態(黒色部)を連続して検出したラインが閾値Yを超えていないと判定すると用紙搬送制御部28は、印字データに基づいてトラクタ2およびプラテン3を駆動させ、連続用紙1を必要量搬送する改行動作を行い、処理をS21へ移行して次行の印字動作を行う。
S38:非反射状態(黒色部)を連続して検出したラインが閾値Yを超えていると判定すると主制御部32は、重ね印字による黒色部が存在すると認識し、残りの印字データの印字処理を停止し、連続用紙1のジャムが発生した旨のアラームを表示部25に表示する。
S37: If it is determined that the line in which the non-reflective state (black portion) is continuously detected does not exceed the threshold value Y, the paper transport control unit 28 drives the tractor 2 and the platen 3 based on the print data, and the continuous paper 1 A line feed operation for conveying the required amount is performed, the process proceeds to S21, and a printing operation for the next line is performed.
S38: If it is determined that the line in which the non-reflective state (black portion) is continuously detected exceeds the threshold value Y, the main control unit 32 recognizes that the black portion due to overprinting exists and prints the remaining print data. Is stopped, and an alarm indicating that a jam of the continuous paper 1 has occurred is displayed on the display unit 25.

このようにS31からS36までの処理を行い、重ね印字による非反射状態(黒色部)を検出したライン(行)が連続し、かつ検出したライン数が閾値Yを超えることを判定して連続用紙1の搬送不良の発生を検知する。
なお、閾値Yを“0”とし、重ね印字による非反射状態(黒色部)を検出したライン(行)が1ラインでも存在した場合、連続用紙1の搬送不良の発生を検知するようにしてもよい。
In this way, the processing from S31 to S36 is performed, and it is determined that the line (row) in which the non-reflective state (black portion) by the overlapping printing is detected is continuous, and the detected number of lines exceeds the threshold Y, and the continuous paper 1 is detected.
It should be noted that when the threshold Y is set to “0” and there is even one line (row) in which a non-reflective state (black portion) is detected by overlapping printing, the occurrence of a conveyance failure of the continuous paper 1 may be detected. Good.

本実施例では、例えば図11に示す予め罫線が印刷されたプレフォーマットの連続用紙1に印字を行う場合において、正常状態111で黒色の罫線部110aをキャリッジ6が通過するとき、幅カウンタ311が励磁相の切替タイミング毎に黒色部を検出して増加するが、その罫線部110aの幅、すなわち幅カウンタ311が閾値X、に達しない場合、黒カウンタ312に黒色部を検出したことが格納されないため、連続用紙1の搬送不良の誤検出は発生しない。   In this embodiment, for example, when printing is performed on the preformat continuous paper 1 on which ruled lines are printed in advance as shown in FIG. 11, when the carriage 6 passes through the black ruled line portion 110a in the normal state 111, the width counter 311 Although the black portion is detected and increased at each excitation phase switching timing, if the width of the ruled line portion 110a, that is, the width counter 311 does not reach the threshold value X, the black counter 312 does not store the detected black portion. Therefore, erroneous detection of a conveyance failure of the continuous paper 1 does not occur.

また、横方向(キャリッジ6のスペーシング動作方向)の罫線部110bによる黒色部を検出した場合でも、連続して黒色部を検出したライン数が閾値Yを超えないときは連続用紙1の搬送不良の発生と判定することなくLFカウンタ313を初期化して連続用紙1を搬送する改行動作を行う。
しかし、ジャム状態112では、重ね印字が進み、黒色部が拡大することにより、幅カウンタ311が閾値Xを超え、黒カウンタ312には黒色部を検出したこと(“1”)が格納され、LFカウンタ313も改行毎に増加し、閾値Yを超えることで連続用紙1の搬送不良を検出することができる。
Further, even when a black portion is detected by the ruled line portion 110b in the horizontal direction (the spacing operation direction of the carriage 6), if the number of lines in which the black portion is continuously detected does not exceed the threshold Y, the conveyance failure of the continuous paper 1 The line feed operation for initializing the LF counter 313 and transporting the continuous paper 1 is performed without determining that the occurrence of the error.
However, in the jam state 112, the overprinting progresses and the black portion is enlarged, so that the width counter 311 exceeds the threshold value X, and the black counter 312 stores that the black portion is detected ("1"), and the LF The counter 313 also increases for each line feed, and when the threshold value Y is exceeded, a conveyance failure of the continuous paper 1 can be detected.

このように主制御部32は、スペースモータ27の励磁相の切替処理のタイミング毎にキャリッジセンサ8の出力としての用紙検出回路30の出力を読み出し、その出力に基づいて黒色部の幅、場所、頻度を検出するようにしたことにより、プレフォーマットの連続用紙1の罫線による連続用紙1の搬送不良の誤検出を防止することができる。
以上説明したように、第2の実施例では、第1の実施例の効果に加え、スペースモータの励磁相切替のタイミング毎に用紙幅検出センサとしてのキャリッジセンサの出力を読み出し、その出力に基づいて黒色部の幅、およびその黒色部が存在するラインの連続数を検出するようにしたことにより、プレフォーマットの連続用紙の罫線による連続用紙の搬送不良の誤検出を防止することができるという効果が得られる。
In this way, the main control unit 32 reads the output of the paper detection circuit 30 as the output of the carriage sensor 8 at every timing of the excitation phase switching process of the space motor 27, and based on the output, the width, location, By detecting the frequency, it is possible to prevent erroneous detection of a conveyance failure of the continuous paper 1 due to the ruled lines of the preformat continuous paper 1.
As described above, in the second embodiment, in addition to the effects of the first embodiment, the output of the carriage sensor as the paper width detection sensor is read at every excitation phase switching timing of the space motor, and based on the output. By detecting the width of the black portion and the number of continuous lines where the black portion exists, it is possible to prevent erroneous detection of continuous paper conveyance failure due to the ruled lines of the preformat continuous paper. Is obtained.

なお、第1の実施例および第2の実施例では、連続用紙の搬送不良を検知する手段を備えた印刷装置を汎用型プリンタとして説明したが、それに限られることなく水平式プリンタ、カットされた用紙に印字するプリンタ、またはインクジェットプリンタとしてもよい。   In the first embodiment and the second embodiment, the printing apparatus provided with means for detecting continuous paper conveyance failure has been described as a general-purpose printer. However, the printing apparatus is not limited to this, and a horizontal printer is cut. A printer that prints on paper or an inkjet printer may be used.

第1の実施例における印刷装置の構成を示す要部平面図The principal part top view which shows the structure of the printing apparatus in 1st Example. 第1の実施例における印刷装置の構成を示す側断面図Side sectional view showing the configuration of the printing apparatus according to the first embodiment. 第1の実施例における印刷装置の構成を示すブロック図1 is a block diagram illustrating a configuration of a printing apparatus according to a first embodiment. 第1の実施例における用紙検出回路の構成を示す説明図Explanatory drawing which shows the structure of the paper detection circuit in a 1st Example. 第1の実施例における印字動作を示すフローチャートFlowchart showing the printing operation in the first embodiment 第1の実施例における用紙搬送不良の発生原因の説明図Explanatory drawing of the cause of paper conveyance failure in the first embodiment 第1の実施例における用紙検出回路の出力信号の説明図Explanatory drawing of the output signal of the paper detection circuit in the first embodiment 第2の実施例における印刷装置の構成を示すブロック図The block diagram which shows the structure of the printing apparatus in 2nd Example. 第2の実施例におけるセンサリードタイミングを示すタイムチャートTime chart showing sensor lead timing in the second embodiment 第2の実施例における印字動作を示すフローチャートFlowchart showing the printing operation in the second embodiment. 第2の実施例における用紙検出回路の出力信号の説明図Explanatory drawing of the output signal of the paper detection circuit in the second embodiment

符号の説明Explanation of symbols

1 連続用紙
2 トラクタ
3 プラテン
4 ペーパーエンドセンサ
5 シートガイド
6 キャリッジ
7 印字ヘッド
8 キャリッジセンサ
9 リボンプロテクタ
10 キャリッジシャフト
11 インクリボン
13 プルアップローラアセンブリ
14 プルアップローラ
15 シートステージ
100 印刷装置
DESCRIPTION OF SYMBOLS 1 Continuous paper 2 Tractor 3 Platen 4 Paper end sensor 5 Sheet guide 6 Carriage 7 Print head 8 Carriage sensor 9 Ribbon protector 10 Carriage shaft 11 Ink ribbon 13 Pull-up roller assembly 14 Pull-up roller 15 Sheet stage 100 Printing device

Claims (7)

キャリッジに印字ヘッドを有し、そのキャリッジを用紙の送り方向に対して略直交する方向に往復移動しながら印字を行う印刷装置において、
前記キャリッジに配置され、用紙に印字された文字の濃淡を検出する濃度検出部と、
前記濃度検出部の出力を監視して用紙の搬送不良を検出する処理部とを有することを特徴とする印刷装置。
In a printing apparatus having a print head in a carriage and performing printing while reciprocating the carriage in a direction substantially perpendicular to the paper feed direction,
A density detector arranged on the carriage for detecting the density of characters printed on paper;
A printing apparatus comprising: a processing unit that monitors an output of the density detection unit and detects a paper conveyance failure.
請求項1の印刷装置において、
前記処理部は、前記濃度検出部の出力に基づいて濃部を検出したとき、用紙の搬送不良と判定することを特徴とする印刷装置。
The printing apparatus according to claim 1.
The printing apparatus according to claim 1, wherein when the dark portion is detected based on an output of the darkness detection unit, the processing unit determines that the paper is poorly conveyed.
請求項2の印刷装置において、
前記濃度検出部の出力に基づいて濃部を検出した回数を格納する記憶部を設け、
前記処理部は、キャリッジを移動させるモータの励磁相切替毎に前記濃度検出部の出力を読出し、その出力に基づいて用紙に濃部を検出した回数を前記記憶部に記憶させ、その回数が閾値を超えたとき用紙の搬送不良と判定することを特徴とする印刷装置。
The printing apparatus according to claim 2.
A storage unit is provided for storing the number of times the dark part is detected based on the output of the density detection unit,
The processing unit reads the output of the density detection unit every time the excitation phase of the motor that moves the carriage is switched, and stores the number of times that the dark part is detected on the sheet based on the output in the storage unit. A printing apparatus characterized by determining that the paper is poorly conveyed when the value exceeds the value.
請求項2の印刷装置において、
前記濃度検出部の出力に基づいて濃部を検出した回数および前記回数が第1の閾値を超えた行数を格納する記憶部を設け、
前記処理部は、キャリッジを移動させるモータの励磁相切替毎に前記濃度検出部の出力を読出し、その出力に基づいて濃部を検出した回数を前記記憶部に記憶させておき、改行動作毎に前記記憶部に記憶させた回数が第1の閾値を超えた行数を前記記憶部に記憶させ、その行数が第2の閾値を超えたとき用紙の搬送不良と判定することを特徴とする印刷装置。
The printing apparatus according to claim 2.
A storage unit is provided for storing the number of times that a dark part is detected based on the output of the density detection unit and the number of rows in which the number of times exceeds a first threshold,
The processing unit reads the output of the concentration detection unit every time the excitation phase of the motor that moves the carriage is switched, and stores the number of times that the dark portion is detected based on the output in the storage unit, for each line feed operation. The number of lines in which the number of times stored in the storage unit exceeds a first threshold value is stored in the storage unit, and when the number of lines exceeds a second threshold value, it is determined that the sheet conveyance is defective. Printing device.
請求項4の印刷装置において、
前記記憶部に記憶させる回数を、前記濃度検出部の出力に基づいて連続して濃部を検出した回数としたことを特徴とする印刷装置。
The printing apparatus according to claim 4.
The printing apparatus according to claim 1, wherein the number of times of storage in the storage unit is the number of times that a dark portion is detected continuously based on an output of the density detection unit.
請求項4または請求項5の印刷装置において、
前記記憶部に記憶させる行数を、前記濃度検出部の出力に基づいて連続して濃部を検出した行数としたことを特徴とする印刷装置。
The printing apparatus according to claim 4 or 5,
The printing apparatus according to claim 1, wherein the number of rows stored in the storage unit is the number of rows in which a dark portion is continuously detected based on an output of the density detection unit.
請求項1から請求項6のいずれか1項の印刷装置において、
前記濃度検出部を、用紙に向けて発光した光の反射光を受光して反射状態または非反射状態を検出して用紙の紙幅を検知するセンサとしたことを特徴とする印刷装置。
The printing apparatus according to any one of claims 1 to 6,
The printing apparatus according to claim 1, wherein the density detection unit is a sensor that receives reflected light of light emitted toward a sheet and detects a reflection state or a non-reflection state to detect a sheet width of the sheet.
JP2008310445A 2008-12-05 2008-12-05 Printer Pending JP2010132417A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008310445A JP2010132417A (en) 2008-12-05 2008-12-05 Printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008310445A JP2010132417A (en) 2008-12-05 2008-12-05 Printer

Publications (1)

Publication Number Publication Date
JP2010132417A true JP2010132417A (en) 2010-06-17

Family

ID=42344133

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008310445A Pending JP2010132417A (en) 2008-12-05 2008-12-05 Printer

Country Status (1)

Country Link
JP (1) JP2010132417A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10389900B2 (en) 2017-01-31 2019-08-20 Seiko Epson Corporation Image reading apparatus

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10389900B2 (en) 2017-01-31 2019-08-20 Seiko Epson Corporation Image reading apparatus

Similar Documents

Publication Publication Date Title
US8191984B2 (en) Recording medium detection method and label printer
CN105269982B (en) Medium discriminating device, medium conveying device, and printing device
JP5371283B2 (en) Recording device
JP6274850B2 (en) Recording apparatus, control method, and program
JP4398797B2 (en) Medium width detection device
US10239332B2 (en) Printer, and printer control method
KR102070189B1 (en) Recording apparatus and method for determining a sheet
US8366332B2 (en) Method of setting paper in a printer, and a printer
JP2010132417A (en) Printer
JP2015066935A (en) Printer, printer control method and program
JP2017035850A (en) Printer and control method of the same
JP2010030190A (en) Positioning method of recording paper and printer
JP2010202307A (en) Method for detecting recording paper and printer
US20130022383A1 (en) Printing apparatus
JP2005001887A (en) Printer, control method and program of printer
JP2013220588A (en) Recording device, control method of the same, and program
CN108621604B (en) Printing device
JP5907840B2 (en) Image forming apparatus and medium detection method
JP4552619B2 (en) Image recording apparatus and image recording method
US10065434B2 (en) Printing device and control method of a printing device
JP2010030189A (en) Method for detecting faulty arrangement of recording paper and serial printer
JP2002255137A (en) Printing position controlling method
US9067443B2 (en) Image forming apparatus and method for discharging a medium
JP2007136848A (en) Image forming apparatus, and method for controlling detection of recording medium
JP2023094695A (en) Image recording device

Legal Events

Date Code Title Description
A711 Notification of change in applicant

Effective date: 20110131

Free format text: JAPANESE INTERMEDIATE CODE: A712