JP2731460B2 - Left and right edge position detection method for printer paper - Google Patents
Left and right edge position detection method for printer paperInfo
- Publication number
- JP2731460B2 JP2731460B2 JP3114964A JP11496491A JP2731460B2 JP 2731460 B2 JP2731460 B2 JP 2731460B2 JP 3114964 A JP3114964 A JP 3114964A JP 11496491 A JP11496491 A JP 11496491A JP 2731460 B2 JP2731460 B2 JP 2731460B2
- Authority
- JP
- Japan
- Prior art keywords
- paper
- sheet
- printer
- right end
- detecting
- 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.)
- Expired - Fee Related
Links
- 238000001514 detection method Methods 0.000 title claims description 34
- 238000010586 diagram Methods 0.000 description 6
- 238000012544 monitoring process Methods 0.000 description 6
- 238000000034 method Methods 0.000 description 4
- 238000007796 conventional method Methods 0.000 description 1
Landscapes
- Handling Of Sheets (AREA)
- Handling Of Cut Paper (AREA)
- Accessory Devices And Overall Control Thereof (AREA)
- Character Spaces And Line Spaces In Printers (AREA)
Description
【0001】本発明はプリンタ用紙の左端・右端位置検
知方法に係わり、特に、必要最小限のタイミングでプリ
ンタ用紙の左端・右端位置を検知する方法に関する。[0001] The present invention relates to a left-right end position detecting method of printer paper, in particular, to a method for detecting the left-right end position of the print sheet in minimum time.
【0002】[0002]
【従来の技術】カットシ−ト、連続帳票用紙、単票用紙
など種々の用紙に印字できるシリアルプリンタがある。
かかるシリアルプリンタにおいては、任意の大きさの用
紙が任意の位置にセット可能であるため、左端・右端位
置を検知して用紙の無い所では空打ちしないようにして
印字ヘッドの折れ損防止を図っている。すなわち、シリ
アルプリンタの印字ヘッド搭載キャリアにプリンタ用紙
の左端及び右端を検知するためのセンサを設け、各行毎
に左端・右端位置をセンサで検知し、用紙が存在する範
囲でのみ印字するようにしている。2. Description of the Related Art There is a serial printer capable of printing on various sheets such as cut sheets, continuous form sheets, and cut sheet sheets.
In such a serial printer, paper of an arbitrary size can be set at an arbitrary position. Therefore, the left end and right end positions are detected to prevent breakage of the print head by preventing empty printing where there is no paper. ing. That is, a sensor for detecting the left end and right end of the printer paper is provided on the print head carrier of the serial printer, the left end and right end positions are detected by the sensor for each line, and printing is performed only in a range where the paper exists. I have.
【0003】[0003]
【発明が解決しようとする課題】カットシ−トフィ−ダ
使用時や連続帳票使用時には、用紙の位置は一度セット
されてしまうと変化しない。このため、カットシ−トフ
ィ−ダ使用時や連続帳票使用時、印字の各行毎に左端・
右端位置を検知する必要は無い。しかし、従来方式で
は、各行毎に左端・右端位置を検知するため、左端・右
端位置検知が無駄な動作となり、システム全体のスル−
プットの低下を招く問題があった。When a cut sheet feeder or a continuous form is used, the position of the sheet does not change once it is set. For this reason, when using the cut sheet feeder or continuous form, the leftmost
There is no need to detect the right end position. However, in the conventional method, since the left end / right end position is detected for each row, the left end / right end position detection is a wasteful operation, and the entire system is not used.
There was a problem that led to a decrease in put.
【0004】以上から本発明の目的は、用紙左端・右端
位置検知動作を必要最小限に止め、システムのスル−プ
ットを向上できるプリンタ用紙の左端・右端位置検知方
式を提供することである。SUMMARY OF THE INVENTION It is an object of the present invention to provide a method for detecting the left and right edge positions of printer paper which can minimize the left and right edge position detection operations of the paper and improve the system throughput.
【0005】[0005]
【課題を解決するための手段】図1は本発明の原理説明
図である。11はプリンタ全体を制御するプリンタ制御
部、12はプリンタにセットされた用紙の左端・右端位
置を検知する用紙左端・右端位置検知手段、13はプリ
ンタにセットする用紙の種別を指定するセット用紙種別
指定手段(操作部)、14は各種センサ部であり、用紙
がプリンタにセットされているか否か、カットシ−トが
プラテンに吸入されたか否か等を検出するようになって
いる。FIG. 1 is a diagram illustrating the principle of the present invention. Reference numeral 11 denotes a printer control unit for controlling the entire printer, 12 denotes left and right end position detecting means for detecting the left and right end positions of the sheets set in the printer, and 13 denotes a set sheet type for specifying the type of the sheet to be set in the printer. Designating means (operation unit) 14 includes various sensor units for detecting whether or not a sheet is set in a printer, whether or not a cut sheet is sucked into a platen, and the like.
【0006】[0006]
【作用】プリンタ制御部11は、プリンタにセットされ
る用紙がカットシ−トであるか連続帳票であるかをセッ
ト用紙種別指定手段13の指定に基づいて判別し、(1)
カットシ−トに印字する場合には、センサ部14より1
枚目の(最初の)カットシ−トがホッパ−からプラテン
に吸入された時に、用紙左端・右端位置検知手段12に
用紙左端・右端位置の検知を指示し、(2) 連続帳票用紙
使用の場合には用紙無しを検知後、用紙がセットされた
時にその左端・右端位置の検知を指示する。用紙左端・
右端位置検知手段12は検知指示があると、印字ヘッド
搭載キャリアを印字行方向初期位置から移動させ、プリ
ンタにセットされている用紙の左端及び右端を検知した
時のキャリア移動量に基づいて用紙の左端位置及び右端
位置を検知する。The printer controller 11 determines whether a sheet to be set in the printer is a cut sheet or a continuous form based on the designation of the set sheet type designation means 13 (1).
When printing on a cut sheet, 1
When the first (first) cut sheet is sucked into the platen from the hopper, the left and right end position detecting means 12 of the sheet is instructed to detect the left and right end positions of the sheet. After detecting that there is no paper, when the paper is set, an instruction to detect the left end and right end positions is given. Paper left edge
When the right end position detecting means 12 receives the detection instruction, the print head mounted carrier is moved from the initial position in the printing line direction, and based on the carrier movement amount when the left end and the right end of the paper set in the printer are detected, the right end of the paper is detected. The left end position and the right end position are detected.
【0007】このように、カットシ−ト使用の場合に
は、最初のカットシ−トがホッパ−からプラテンに吸入
された時に、また連続帳票用紙使用の場合には用紙無し
を検知後、用紙がセットされた時に用紙の左端・右端位
置を検知するだけでよいため、左端・右端位置検知動作
を必要最小限に止め、システムのスル−プットを向上す
ることができる。As described above, when the cut sheet is used, the sheet is set when the first cut sheet is sucked into the platen from the hopper. Since it is only necessary to detect the left and right end positions of the sheet when the operation is performed, the left and right end position detecting operations can be minimized, and the throughput of the system can be improved.
【0008】又、電源投入時に連続帳票用紙がセットさ
れているかチェックし、セットされていればその左端・
右端位置の検知を行うようにすれば、連続帳票用紙が電
源オン・オフに関係無く連続してセットされている場合
であっても、電源投入後の1回の検知動作を行うだけで
良く、左端・右端位置検知動作を必要最小限に止め、シ
ステムのスル−プットを向上することができる。When the power is turned on, it is checked whether continuous form paper is set.
If the right end position is detected, even if the continuous form paper is continuously set regardless of the power on / off, only one detection operation after the power is turned on may be performed. The left and right end position detection operations can be minimized, and the throughput of the system can be improved.
【0009】[0009]
【実施例】全体の構成 図2は本発明に係わるシリアルプリンタの要部構成図で
ある。図中、11は装置全体を制御するプリンタ制御部
であり、プロセッサ(CPU)11a、プログラムメモ
リ(ROM)11b、データメモリ(RAM)11c等
を有している。12はプリンタにセットされた用紙の左
端・右端位置を検知する用紙左端・右端位置検知部、1
3はプリンタにセットする用紙の種別等を指定する操作
部であり、用紙の種別(カットシ−ト、連続帳票用紙、
単票用紙)を指定するレバ−13aや用紙をプリンタに
セットする際に押圧される用紙セット釦13b等を有し
ている。14は各種センサ部であり、用紙がプリンタに
セットされているか否か、カットシ−トがプラテンに吸
入されたか否か、キャリアが初期位置に存在するか否か
等を検出するようになっている。15はプラテン、16
はプリンタにセットされた用紙である。DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Overall Configuration FIG. 2 is a configuration diagram of a main part of a serial printer according to the present invention. In the figure, reference numeral 11 denotes a printer control unit that controls the entire apparatus, and includes a processor (CPU) 11a, a program memory (ROM) 11b, a data memory (RAM) 11c, and the like. Reference numeral 12 denotes a sheet left and right end position detecting unit for detecting the left and right ends of the sheet set in the printer.
Reference numeral 3 denotes an operation unit for designating the type of paper to be set in the printer. The type of paper (cut sheet, continuous form paper,
It has a lever 13a for designating (cut sheet) and a paper set button 13b pressed when the paper is set in the printer. Numeral 14 denotes various sensor units for detecting whether or not the sheet is set in the printer, whether or not the cut sheet is sucked into the platen, whether or not the carrier exists at the initial position, and the like. . 15 is a platen, 16
Is paper set in the printer.
【0010】用紙左端・右端位置検知部 用紙左端・右端位置検知部12において、12aはキャ
リアを移動させるステッピングモ−タ(スペ−スモ−
タ)、12bはステッピングモ−タを制御するステッピ
ングモ−タ制御回路、12cはステッピングモ−タ駆動
パルスの数を計数してキャリアの最左端位置(初期位
置)からの現在位置Paを監視して用紙16の左端位置
PL及び右端位置PRを求めて記憶する位置監視部、12
dはステッピングモ−タの回転により左右に移動するキ
ャリア、12eはキャリアに搭載された印字ヘッド、1
2f,12gはそれぞれキャリアの左右に取付けられ、
用紙の左端、右端を光学的に検知する第1,第2のセン
サである。 Paper Left Edge / Right Edge Position Detecting Unit In the paper left edge / right edge position detecting unit 12, reference numeral 12a denotes a stepping motor (space motor) for moving a carrier.
12b, a stepping motor control circuit for controlling the stepping motor, and 12c, counting the number of stepping motor driving pulses, monitoring the current position Pa from the leftmost position (initial position) of the carrier, and forming a sheet 16. position monitoring unit for storing seeking the left end position P L and the right end position P R, 12
d is a carrier which moves left and right by rotation of the stepping motor, 12e is a print head mounted on the carrier, 1
2f and 12g are attached to the left and right sides of the carrier, respectively.
These are first and second sensors for optically detecting the left end and the right end of the sheet.
【0011】第1のセンサ12fによる用紙左端の検出
は、背景が黒から白(用紙)になった時、第1センサの
発光素子から出力された光が用紙に反射して受光素子に
入射するから、この反射光を検知して行える。又、第2
のセンサによる用紙右端の検出は、背景が白(用紙)か
ら黒になった時、第2センサの発光素子から出力された
光が受光素子に入射しなくなるから、これを検知して行
える。The detection of the left end of the sheet by the first sensor 12f is such that when the background changes from black to white (sheet), the light output from the light emitting element of the first sensor is reflected on the sheet and enters the light receiving element. This can be performed by detecting this reflected light. Also, the second
The detection of the right end of the sheet by the sensor can be performed by detecting the light output from the light emitting element of the second sensor when the background changes from white (paper) to black, and does not enter the light receiving element.
【0012】用紙のセット状態 図3は用紙セット状態説明図であり、図2と同一部分に
は同一符号を付している。16aは連続帳票用紙(連帳
用紙という)、16bはカットシ−ト、21,22は用
紙送りロ−ラ、23はキャリア12dが連結されたル−
プ状のベルトである。ベルト23はステッピングモ−タ
12aにより駆動されて矢印方向にキャリアを移動す
る。24はシ−トフィ−ダ、25はカットシ−トを繰り
出すピックアップロ−ラである。図3では連帳用紙がプ
リンタにセットされている状態を示し、カットシ−トに
印字する場合には、連帳用紙は取り外され、シ−トフィ
−ダ24からピックアップロ−ラ25によりカットシ−
トがプラテン上に繰り出される。[0012] set state diagram 3 of the sheet is paper set state illustration, in FIG. 2 the same parts are denoted by the same reference numerals. 16a is a continuous form paper (referred to as continuous form paper), 16b is a cut sheet, 21 and 22 are paper feed rollers, and 23 is a rule to which the carrier 12d is connected.
It is a belt-shaped belt. The belt 23 is driven by the stepping motor 12a to move the carrier in the direction of the arrow. 24 is a sheet feeder, and 25 is a pickup roller for feeding out a cut sheet. FIG. 3 shows a state in which the continuous form paper is set in the printer. When printing on a cut sheet, the continuous form paper is removed, and the cut sheet is fed from the sheet feeder 24 by the pickup roller 25 to the cut sheet.
Is fed out onto the platen.
【0013】用紙左端・右端位置の検出動作 用紙の左端及び右端位置の検知は以下のように行われ
る。すなわち、ステッピングモ−タ12aを回転してキ
ャリア12dを初期位置に位置決めする。しかる後、初
期位置からキャリアを右方向に移動させると共にステッ
ピングモ−タ駆動パルスを計数してキャリア12dの現
在位置Paを監視する。そして、第1のセンサ12fが
用紙の左端を検出した時の現在位置を用紙左端位置PL
として位置監視部12cに記憶し、また第2のセンサ1
2gが用紙の右端を検出した時の現在位置を用紙右端位
置PRとして位置監視部12cに記憶することにより用
紙の左端・右端位置を検出する。 Detection of Left and Right Edges of Paper The left and right edges of the paper are detected as follows. That is, the stepping motor 12a is rotated to position the carrier 12d at the initial position. Thereafter, the carrier is moved rightward from the initial position and the current position Pa of the carrier 12d is monitored by counting the stepping motor drive pulses. Then, the current position paper left end position P L when the first sensor 12f detects the left edge of the paper
Is stored in the position monitoring unit 12c as the second sensor 1
2g detects a left-right end position of the paper by storing the current position when it detects the right edge of the paper position monitoring unit 12c as the sheet right end position P R.
【0014】用紙左端・右端位置の検出制御 以下、図4〜図7の流れ図に従って、本発明に係わる用
紙の左端及び右端位置の検出制御を説明する。 Detection Control of Left and Right Edge Positions of Paper Hereinafter, the control of detecting the left and right edge positions of the paper according to the present invention will be described with reference to the flowcharts of FIGS.
【0015】(a) 電源投入時(図4参照) プリンタ装置の電源が投入されると、プリンタ制御部1
1のプロセッサ11aはパワ−オンリセット(初期リセ
ット)され、しかる後、診断プログラムによりROMチ
ェック、RAMチェックを行うと共に、プリンタメカ制
御部の初期化を行う(ステップ101〜103)。(A) When power is turned on (see FIG. 4) When the power of the printer is turned on, the printer controller 1
The first processor 11a is subjected to a power-on reset (initial reset). Thereafter, the ROM check and the RAM check are performed by a diagnostic program, and the printer mechanical control unit is initialized (steps 101 to 103).
【0016】ついで、プロセッサ11aは操作部13の
レバ−13aにより連帳が選択されているかチェックし
(ステップ104)、レバ−が連帳位置になければ、電
源投入時における用紙左端・右端位置検出制御を終了す
る。Next, the processor 11a checks whether a continuous form is selected by the lever 13a of the operation unit 13 (step 104). If the lever is not at the continuous position, the left and right end positions of the sheet when the power is turned on are detected. The control ends.
【0017】しかし、レバ−により連帳が選択されてい
れば、用紙(連帳用紙)がプリンタにセットされている
か否かをセンサ部14からの信号により判断し(ステッ
プ105)、セットされていなければ、電源投入時にお
ける用紙左端・右端位置検出制御を終了する。However, if the continuous paper is selected by the lever, it is determined whether or not the paper (continuous paper) is set in the printer by a signal from the sensor unit 14 (step 105). If not, the control for detecting the left and right edges of the sheet when the power is turned on ends.
【0018】用紙がセットされていれば、該用紙は連帳
用紙であるから、紙幅検知ル−チンを実行して用紙左端
及び右端位置を検知し(ステップ106)、電源投入時
における用紙左端・右端位置検出制御を終了する。If a sheet is set, the sheet is a continuous sheet, and the sheet width detection routine is executed to detect the left and right edge positions of the sheet (step 106). The right end position detection control ends.
【0019】(b) 紙幅検知ル−チン 紙幅検知ル−チンにおいて処理部11aは、図5に示す
ように、まず、キャリア12dの現在位置が最左端位置
(初期位置)にあるかどうかをセンサ部14からの信号
によりチェックし(ステップ201)、初期位置に存在
しなければ、ステッピングモ−タ12aを左回転させキ
ャリア12dを初期位置に復帰させ(ステップ202、
203)、しかる後、ステッピングモ−タの回転を停止
し(ステップ204)、ステップ201に戻り、以降の
処理を繰り返す。(B) Paper width detection routine In the paper width detection routine, as shown in FIG. 5, the processing unit 11a first determines whether the current position of the carrier 12d is at the leftmost position (initial position). The signal is checked by the signal from the unit 14 (step 201). If the carrier is not at the initial position, the stepping motor 12a is rotated counterclockwise to return the carrier 12d to the initial position (step 202,
203) After that, the rotation of the stepping motor is stopped (step 204), and the process returns to step 201 to repeat the subsequent processing.
【0020】ステップ201において、キャリアが初期
位置に存在すれば、キャリア現在位置Paを0にクリア
した後、ステッピングモ−タ12aを回転してキャリア
を右方向に移動させると共に、ステッピングモ−タ駆動
パルスを計数してキャリア12dの現在位置Paを保持
する(ステップ205)。In step 201, if the carrier is at the initial position, the carrier current position Pa is cleared to 0, the stepping motor 12a is rotated to move the carrier to the right, and the stepping motor driving pulse is output. It counts and holds the current position Pa of the carrier 12d (step 205).
【0021】キャリアの移動により、第1のセンサ12
fが用紙の左端を検出したか監視し(ステップ20
6)、用紙左端を検出すれば、その時の現在位置を用紙
左端位置PLとして位置監視部12cに記憶する(ステ
ップ207)。The movement of the carrier causes the first sensor 12
It is monitored whether or not f has detected the left end of the sheet (step 20).
6), by detecting the sheet left, and stores the position monitoring unit 12c the current position at that time as the sheet left end position P L (step 207).
【0022】以後、キャリアが更に移動して第2のセン
サ12gが用紙の右端を検出したか監視し(ステップ2
08)、用紙右端を検出すれば、その時の現在位置を用
紙右端位置PRとして位置監視部12cに記憶し(ステ
ップ209)、ステッピングモ−タを停止する(ステッ
プ210)。以上により、用紙の左端位置PL及び右端
位置PRを検出することができる。Thereafter, it is monitored whether the carrier moves further and the second sensor 12g detects the right end of the sheet (step 2).
08), by detecting the paper right edge, stores the present position at that time position monitoring unit 12c as the sheet right end position P R (step 209), stepping - stops data (step 210). Thus, it is possible to detect the left end position P L and the right end position P R of the paper.
【0023】(c) 用紙セット時(図6参照) プリンタに所定の用紙をセットする場合には、オペレ−
タはセットすべき用紙の種別を判断し(ステップ30
1)、カットシ−トの場合には、後述する印字指令発生
時に用紙左端・右端位置を検出するから、用紙セット時
における左端・右端位置検出制御をしない。(C) When setting paper (see FIG. 6) When setting predetermined paper in the printer, the operation
The printer determines the type of paper to be set (step 30).
1) In the case of a cut sheet, since the left and right end positions of the sheet are detected when a print command, which will be described later, is issued, the left and right end position detection control during sheet setting is not performed.
【0024】セットすべき用紙が連帳の場合には、レバ
−13aにより連帳が選択されているか調べ(ステップ
302)、レバ−13aにより連帳が選択されている場
合には、用紙(連帳用紙)がセットされているか調べ
(ステップ303)、連帳用紙がセットされていれば、
該連帳用紙のセット時に、既にその左端・右端位置検出
動作が完了しているから、用紙左端・右端位置検出制御
を終了する。If the paper to be set is a continuous form, it is checked by the lever 13a whether the continuous form is selected (step 302). If the continuous form is selected by the lever 13a, the paper (continuous form) is selected. (Step 303), and if continuous form paper is set,
When the continuous paper is set, the left and right end position detection operations have already been completed, so the left and right end position detection control of the paper is ended.
【0025】一方、ステップ302において、レバ−が
連帳位置にない場合及び、ステップ303において用紙
(連帳用紙)がセットされていない場合には、オペレ−
タは連帳をプリンタにセットする連帳セット作業を行う
(ステップ304)。尚、連帳用紙のセット作業は、レ
バ−13aを連帳位置にすると共に、用紙セット釦13
bを押圧して行う。On the other hand, if the lever is not at the continuous position in step 302, and if paper (continuous paper) is not set in step 303, the operator
The user performs a continuous book setting operation of setting the continuous book on the printer (step 304). In addition, when setting the continuous paper, the lever 13a is set to the continuous position and the paper setting button 13 is set.
b.
【0026】連帳セット作業が完了すれば、プリンタ制
御部11の処理部11aは用紙セット釦13b押圧後、
用紙無しの状態から用紙セット状態になったことを検知
して紙幅検知ル−チン(図5)を実行し、連帳の左端位
置及び右端位置を検知し(ステップ305)、用紙左端
・右端位置検出制御を終了する。When the continuous book setting operation is completed, the processing unit 11a of the printer control unit 11 presses the paper set button 13b,
The paper width detection routine (FIG. 5) is executed by detecting that the paper has been set from the state of no paper, and the left end position and the right end position of the continuous book are detected (step 305). The detection control ends.
【0027】ステップ301において、セットすべき用
紙が単票用紙の場合には、レバ−13aにより連続帳票
あるいは単票が選択されているか調べ(ステップ30
6)、レバ−13aにより連続帳票が選択されている場
合には、用紙がプリンタにセットされているか調べ(ス
テップ307)、連帳用紙がセットされていれば、該連
帳用紙を後退させる(ステップ308)。In step 301, if the sheet to be set is a cut sheet, the continuous form is
Alternatively, it is checked whether or not a cut sheet is selected (step 30).
6) If a continuous form is selected by the lever 13a, it is checked whether paper is set in the printer (step 307). If continuous paper is set, the continuous paper is retracted (step 307). Step 308).
【0028】用紙後退制御完了後、あるいは、ステップ
306においてレバ−13aにより単票が選択されてい
る時、あるいは単票用紙がセットされていない時、オペ
レ−タは単票用紙をプリンタにセットする単票セット作
業を行う(ステップ309)。尚、単票用紙のセット作
業は、レバ−13aを単票位置にすると共に、用紙セッ
ト釦13bを押圧して行う。[0028] After the sheet reverse control completes, or cut sheet is not selected by the lever -13a at step 306
When the cut sheet is not set or the cut sheet is not set, the operator performs a cut sheet setting operation for setting the cut sheet to the printer (step 309). The setting of the cut sheet is performed by setting the lever 13a to the cut position and pressing the sheet set button 13b.
【0029】単票セット作業が完了すれば、プリンタ制
御部11の処理部11aは用紙セット釦押圧後、用紙無
しの状態から用紙セット状態になったことを検知して紙
幅検知ル−チン(図5)を実行し、単票用紙の左端位置
及び右端位置を検知し(ステップ305)、用紙左端・
右端位置検出制御を終了する。When the cut-sheet setting operation is completed, the processing section 11a of the printer control section 11 detects that the sheet has been set from the state of no sheet after pressing the sheet set button, and detects the sheet width by the sheet width detection routine (FIG. 9). 5) is executed to detect the left end position and the right end position of the cut sheet (step 305),
The right end position detection control ends.
【0030】(d) 印字指令時(図7) ホスト等から印字指令を受信すると、プリンタ制御部1
1の処理部11aはレバ−13aがカットシ−ト(シ−
トフィ−ダ)を選択しているか判断し(ステップ40
1)、カットシ−ト以外のもの(連帳、単票)が選択さ
れていれば、印字指令時の用紙左端・右端位置の検知動
作を行う必要はないから、以後印字制御を行う。(D) At the time of a print command (FIG. 7) When a print command is received from a host or the like, the printer controller 1
In the first processing unit 11a, the lever 13a has a cut sheet (sheet).
Is determined (step 40).
1) If a sheet other than the cut sheet (continuous form, cut sheet) is selected, it is not necessary to perform the operation of detecting the left end and right end positions of the sheet at the time of the print command, so that the print control is performed thereafter.
【0031】カットシ−トが選択されていれば、用紙が
プラテンに吸入されているか判断し(ステップ40
2)、吸入済みの場合には既に用紙左端・右端位置は検
知されているから、印字制御を行う。If the cut sheet has been selected, it is determined whether the sheet has been sucked into the platen (step 40).
2) If the paper has been inhaled, the print control is performed because the left and right edges of the paper have already been detected.
【0032】カットシ−トがプラテンに未だ吸入されて
いない場合には、ホッパ−よりシ−トフィ−ダによりカ
ットシ−トを吸入し、紙幅検知済みフラグが”1”かチ
ェックする(ステップ403〜404)。If the cut sheet has not yet been sucked into the platen, the cut sheet is sucked from the hopper by the sheet feeder, and it is checked whether the paper width detection flag is "1" (steps 403 to 404). ).
【0033】紙幅検知フラグが”0”の場合には、紙幅
検知ル−チンを実行して用紙左端・右端位置を検知し
(ステップ405)、しかる後、紙幅検知済みフラグ
を”1”にセットし(ステップ406)、印字を行う。If the paper width detection flag is "0", the paper width detection routine is executed to detect the left and right edge positions of the paper (step 405). Thereafter, the paper width detection flag is set to "1". (Step 406), and printing is performed.
【0034】以後、印字指令がある毎に上記ステップ4
01以降の処理が行われるが、フラグが”1”になって
いるため紙幅検知が行われない。すなわち、カットシ−
トフィ−ダ使用の場合には、1枚目のカットシ−トがプ
ラテンに吸入された時にのみ用紙の左端・右端位置の検
知制御を行う。これは、通常、2枚以上印刷する時、2
枚目以降は1枚目と用紙サイズが同一であることによ
る。Thereafter, every time there is a print command, the above step 4 is performed.
The processing after 01 is performed, but the paper width is not detected because the flag is “1”. That is, the cut sheet
In the case of using the tofeeder, detection control of the left and right end positions of the sheet is performed only when the first cut sheet is sucked into the platen. This is usually the case when printing two or more sheets.
After the first sheet, the sheet size is the same as that of the first sheet.
【0035】尚、フラグはホッパ−の紙幅調整機構動作
時に”0”にリセットされる。The flag is reset to "0" when the paper width adjusting mechanism of the hopper operates.
【0036】以上、本発明を実施例により説明したが、
本発明は請求の範囲に記載した本発明の主旨に従い種々
の変形が可能であり、本発明はこれらを排除するもので
はない。The present invention has been described with reference to the embodiments.
The present invention can be variously modified in accordance with the gist of the present invention described in the claims, and the present invention does not exclude these.
【0037】[0037]
【発明の効果】以上本発明によれば、カットシ−トフィ
−ダ(カットシ−ト)使用の場合には、1枚目のカット
シ−トがプラテンに吸入された時に左端・右端位置の検
知を行い、連続帳票用紙使用の場合には用紙無しを検知
後、用紙がセットされた時にその左端・右端位置の検知
を行うように構成したから、左端・右端位置検知動作を
必要最小限に止め、システムのスル−プットを向上する
ことができ、しかも紙幅検知によりヘッドピンの折れ損
を防止することができる。As described above, according to the present invention, when a cut sheet feeder (cut sheet) is used, the left and right end positions are detected when the first cut sheet is sucked into the platen. When using continuous form paper, the system detects the absence of paper and then detects the left and right edge positions when paper is set. Can be improved, and the breakage of the head pin can be prevented by detecting the paper width.
【0038】又、本発明によれば、電源投入時に連続帳
票用紙がセットされているかチェックし、セットされて
いればその左端・右端位置の検知を行うように構成した
から、連続帳票用紙が電源オン・オフに関係無く連続し
てセットされている場合であっても、電源投入後に1回
だけ検知動作を行うだけで良く、左端・右端位置検知動
作を必要最小限に止め、システムのスル−プットを向上
することができる。Further, according to the present invention, when the power is turned on, it is checked whether or not the continuous form paper is set, and if it is set, the left and right end positions thereof are detected. Even if they are set continuously regardless of ON / OFF, it is only necessary to perform the detection operation once after the power is turned on. Put can be improved.
【図1】本発明の原理説明図である。FIG. 1 is a diagram illustrating the principle of the present invention.
【図2】本発明の実施例構成図である。FIG. 2 is a configuration diagram of an embodiment of the present invention.
【図3】用紙セット状態説明図である。FIG. 3 is an explanatory diagram of a sheet setting state.
【図4】電源投入時における用紙左端・右端位置検出制
御の流れ図である。FIG. 4 is a flowchart of sheet left and right end position detection control when power is turned on.
【図5】紙幅検知ル−チンの流れ図である。FIG. 5 is a flowchart of a sheet width detection routine.
【図6】用紙セット時の左端・右端位置検出制御の流れ
図である。FIG. 6 is a flowchart of left end / right end position detection control at the time of sheet setting.
【図7】印字指令時の用紙左端・右端位置検出制御の流
れ図である。FIG. 7 is a flowchart of sheet left end / right end position detection control at the time of a print command.
11・・プリンタ制御部 12・・用紙左端・右端位置検知手段 13・・セット用紙種別指定手段 14・・各種センサ部 11. Printer control unit 12. Paper left end / right end position detection means 13. Set paper type designation means 14. Various sensor units
Claims (2)
リアにプリンタ用紙の左端及び右端を検知するためのセ
ンサを設け、該キャリアを印字行方向初期位置から移動
させてセンサによりプリンタ用紙の左端及び右端を検知
し、キャリアの移動量に基づいてプリンタ用紙の左端及
び右端位置を検知するプリンタ用紙の左端・右端位置検
知方法において、セット用紙種別指定手段の指定に基づいてカットシート
使用であるか連続帳票使用であるか判別し、 プリンタ用紙としてカットシート 使用の場合には、1枚
目のカットシ−トがプラテンに吸入された時に左端・右
端位置の検知を行い、 連続帳票用紙使用の場合には用紙無しを検知後、用紙が
セットされた時にその左端・右端位置の検知を行うこと
を特徴とするプリンタ用紙の左端・右端位置検知方法。1. A sensor for detecting the left and right edges of printer paper is provided on a print head carrier of a serial printer, and the carrier is moved from an initial position in a printing line direction to detect the left and right edges of the printer paper by the sensors. In the left and right end position detection method of printer paper for detecting the left end and right end positions of the printer paper based on the movement amount of the carrier, the cut sheet is specified based on the designation of the set paper type designation means.
If the cut sheet is used as the printer paper , the left and right end positions are detected when the first cut sheet is sucked into the platen, and the continuous form paper is used. In the case of use, a left and right end position detection method for printer paper, wherein the left and right ends of the paper are detected when paper is set after detecting the absence of paper.
いるかチェックし、セットされている場合には、連続帳
票用紙の左端・右端位置の検知を行うことを特徴とする
請求項1記載のプリンタ用紙の左端・右端位置検知方
法。2. The printer according to claim 1, wherein when the power is turned on, it is checked whether continuous form paper is set, and if it is set, the left and right end positions of the continuous form paper are detected. How to detect the left and right edges of paper
Law .
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP3114964A JP2731460B2 (en) | 1991-05-20 | 1991-05-20 | Left and right edge position detection method for printer paper |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP3114964A JP2731460B2 (en) | 1991-05-20 | 1991-05-20 | Left and right edge position detection method for printer paper |
Publications (2)
Publication Number | Publication Date |
---|---|
JPH04341882A JPH04341882A (en) | 1992-11-27 |
JP2731460B2 true JP2731460B2 (en) | 1998-03-25 |
Family
ID=14650995
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP3114964A Expired - Fee Related JP2731460B2 (en) | 1991-05-20 | 1991-05-20 | Left and right edge position detection method for printer paper |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2731460B2 (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4470737B2 (en) | 2002-08-21 | 2010-06-02 | セイコーエプソン株式会社 | Printing apparatus, program, and printing method |
JP4506069B2 (en) * | 2002-10-17 | 2010-07-21 | セイコーエプソン株式会社 | Printer |
WO2004106075A1 (en) * | 2003-05-30 | 2004-12-09 | Ricoh Company, Ltd. | Image forming apparatus |
JP4731973B2 (en) * | 2005-04-19 | 2011-07-27 | 株式会社リコー | Image forming apparatus |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS628415A (en) * | 1985-07-03 | 1987-01-16 | 株式会社東芝 | Compound type switchgear |
JPS63268679A (en) * | 1987-04-28 | 1988-11-07 | Canon Inc | Recorder |
JPH02155783A (en) * | 1988-12-09 | 1990-06-14 | Matsushita Electric Ind Co Ltd | Printing apparatus |
-
1991
- 1991-05-20 JP JP3114964A patent/JP2731460B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JPH04341882A (en) | 1992-11-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR0171545B1 (en) | Printing system by paper lenght automatic sensing and controlling method thereof | |
US5639171A (en) | Media length sensing for increased throughput efficiency of electronic printers | |
JPS63112185A (en) | Printer | |
GB2250275A (en) | Controlling sheet feed to printer | |
JP2731460B2 (en) | Left and right edge position detection method for printer paper | |
US4775254A (en) | Lining method and apparatus for printers | |
US5026183A (en) | Apparatus for feeding cut sheet paper and fan fold paper in a printer | |
KR880002267B1 (en) | Printer control device and its method | |
JP3155468B2 (en) | Label printer | |
JPS5831788A (en) | Printing position controller for printer | |
JP2608807B2 (en) | Printer paper length detection method | |
JP2019209604A (en) | Printer | |
JP2545775B2 (en) | Printer using cut sheet paper | |
JP2699923B2 (en) | Printer device | |
JP7363087B2 (en) | printer | |
JP4401073B2 (en) | Printing device | |
JPH05131729A (en) | Serial printer | |
KR970003650B1 (en) | How to set paper length | |
JP2878534B2 (en) | Printer paper feeder | |
JP2911309B2 (en) | Serial printer | |
KR100234428B1 (en) | How to automatically detect and clear paper jams | |
JP3157045B2 (en) | Video printer | |
JPH082031A (en) | Printer with image reader | |
JP2019209605A (en) | Printer | |
JP2003159842A (en) | Label printer |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 19971209 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20071219 Year of fee payment: 10 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20081219 Year of fee payment: 11 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20091219 Year of fee payment: 12 |
|
LAPS | Cancellation because of no payment of annual fees |