JPH11138924A - Means for detecting size of recording medium and line printer - Google Patents
Means for detecting size of recording medium and line printerInfo
- Publication number
- JPH11138924A JPH11138924A JP9307206A JP30720697A JPH11138924A JP H11138924 A JPH11138924 A JP H11138924A JP 9307206 A JP9307206 A JP 9307206A JP 30720697 A JP30720697 A JP 30720697A JP H11138924 A JPH11138924 A JP H11138924A
- Authority
- JP
- Japan
- Prior art keywords
- recording medium
- size
- printer
- detection plate
- medium size
- 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.)
- Withdrawn
Links
Abstract
Description
【0001】[0001]
【発明の属する技術分野】本発明は、印字(印刷)用紙
等の記録媒体のサイズ検出が可能な記録媒体供給手段を
有するラインプリンタに関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a line printer having recording medium supply means capable of detecting the size of a recording medium such as printing (printing) paper.
【0002】[0002]
【従来の技術】この種のプリンタによって印字(印刷)
を行う場合は、従来、ホストコンピュータにより印字用
紙等の記録媒体サイズ(紙幅)を設定して、印字データ
をプリンタに転送して印字を行っていた。この場合、予
めプリンタに記録媒体をセットしておく必要があるが、
プリンタにセットされた記録媒体サイズと、ホストコン
ピュータにより設定した記録媒体サイズとが異なってい
た場合、特にプリンタにセットした記録媒体サイズがホ
ストコンピュータにより設定した記録媒体サイズよりも
小さいサイズであった場合には、その記録媒体をはみ出
して(例えば紙送りローラ上等に)印刷を行ってしまう
ことになる。2. Description of the Related Art Printing (printing) by this type of printer
Conventionally, a recording medium size (paper width) such as printing paper is set by a host computer, and print data is transferred to a printer for printing. In this case, it is necessary to set a recording medium in the printer in advance,
When the size of the recording medium set in the printer is different from the size of the recording medium set by the host computer, particularly when the size of the recording medium set in the printer is smaller than the size of the recording medium set by the host computer. In this case, printing is performed outside the recording medium (for example, on a paper feed roller).
【0003】このため、従来では、プリンタにセットさ
れている記録媒体サイズを検出するために、印字ヘッド
上に反射型光学センサ等を設けて、記録媒体からの反射
光を検出し、記録媒体領域と記録媒体以外の領域の検出
を行い、記録媒体サイズを認識して記録媒体以外への印
字を防止するようにしている。For this reason, conventionally, a reflection type optical sensor or the like is provided on a print head to detect the size of the recording medium set in the printer, and detects the reflected light from the recording medium to obtain the recording medium area. Then, the area other than the recording medium is detected, and the size of the recording medium is recognized to prevent printing on the area other than the recording medium.
【0004】[0004]
【発明が解決しようとする課題】しかしながら、この種
の記録媒体には、普通紙、OHP(オーバヘッドプロジ
ェクタ)シート、バックグラウンド紙、光沢紙等、様々
な種類があり、記録媒体からの反射光を検出困難な種類
(例えば、OHPシート等)、また、記録媒体からの反
射光が記録媒体毎にばらつきを生ずるために、その記録
媒体と記録媒体以外(例えば、紙送りローラ等)とを見
極めるしきい値の設定が極めて困難であるという問題点
があった。However, there are various types of recording media of this kind, such as plain paper, OHP (overhead projector) sheets, background paper, glossy paper, and the like. Since the type of detection is difficult (for example, an OHP sheet), and the reflected light from the recording medium varies from recording medium to recording medium, the recording medium and a medium other than the recording medium (for example, a paper feed roller) are determined. There is a problem that setting of the threshold value is extremely difficult.
【0005】本発明は、以上のような局面にかんがみて
なされたもので、前記のような反射光検出等が困難な記
録媒体でも、確実にそのサイズを検知し得る手段の提供
を目的としている。The present invention has been made in view of the above situation, and has as its object to provide a means for reliably detecting the size of a recording medium in which it is difficult to detect reflected light as described above. .
【0006】[0006]
【課題を解決するための手段】このため、本発明におい
ては、下記(1),(2)項のいずれかに記載の記録媒
体サイズ検出手段、またはサイズエラー報知手段を有す
るラインプリンタを提供することにより、前記目的を達
成しようとするものである。Therefore, according to the present invention, there is provided a line printer having a recording medium size detecting means or a size error notifying means according to any one of the following items (1) and (2). This aims to achieve the above object.
【0007】(1)記録媒体供給手段と記録ヘッドとを
搭載したキャリッジユニットが、ホームポジション検出
プレートと、このプレートによりオン/オフされる透過
型光学センサとを有するラインプリンタにおいて、前記
記録媒体供給手段上に設けられた記録媒体押えと同期し
て移動する記録媒体サイズ検出プレートを保持すると共
に、前記ホームポジション検出プレートと記録媒体サイ
ズ検出プレート間の位置を計測することにより前記プリ
ンタにセットされた記録媒体サイズを検出することを特
徴とする記録媒体サイズ検出手段。(1) In a line printer in which a carriage unit on which a recording medium supply means and a recording head are mounted has a home position detection plate and a transmission optical sensor which is turned on / off by the plate, the recording medium supply While holding a recording medium size detection plate that moves in synchronization with a recording medium press provided on the means, it is set in the printer by measuring the position between the home position detection plate and the recording medium size detection plate. Recording medium size detection means for detecting a recording medium size.
【0008】(2)前記(1)項記載のラインプリンタ
において、前記ホームポジション検出プレートと前記記
録媒体サイズ検出プレート間の位置を計測することによ
り、前記プリンタにセットされた記録媒体サイズを検出
し、その検出した記録媒体サイズと、ホスト装置より送
られた記録媒体サイズとが異なっていた場合に、その記
録媒体サイズエラーを報知する手段を有することを特徴
とするラインプリンタ。(2) In the line printer described in (1), the size of the recording medium set in the printer is detected by measuring the position between the home position detecting plate and the recording medium size detecting plate. And a means for notifying a recording medium size error when the detected recording medium size is different from the recording medium size sent from the host device.
【0009】[0009]
【作用】以上のような本発明構成により、キャリッジユ
ニット上に予め設けられているキャリッジのホームポジ
ションを検出するための透過型光学センサと、それを遮
断するためのホームポジション検出プレートと、記録媒
体供給手段上に設けられた記録媒体押さえと同期して移
動する記録媒体サイズ検出プレートの位置を、前記透過
型光学センサで計測することにより、プリンタにセット
された記録媒体サイズを確実に検出することができる。According to the construction of the present invention as described above, a transmission optical sensor for detecting a home position of a carriage provided in advance on a carriage unit, a home position detection plate for shutting off the transmission optical sensor, and a recording medium The transmission type optical sensor measures the position of the recording medium size detection plate that moves in synchronization with the recording medium press provided on the supply means, thereby reliably detecting the recording medium size set in the printer. Can be.
【0010】[0010]
【発明の実施の形態】以下に本発明の実施の形態を、複
数の実施例に基づき、図面を参照して詳細に説明する。DESCRIPTION OF THE PREFERRED EMBODIMENTS Embodiments of the present invention will be described below in detail based on a plurality of examples with reference to the drawings.
【0011】[0011]
【実施例】(第1実施例)図1に、本第1実施例のイン
クジェットプリンタの制御系の概略構成を示すブロック
図を示す。FIG. 1 is a block diagram showing a schematic configuration of a control system of an ink jet printer according to a first embodiment.
【0012】<構成>図1において、マイクロプロセッ
サ形態のCPU21は、インタフェイス22を介して、
ホスト装置100に接続されており、ROM形態のプロ
グラムメモリ24や、EEPROM形態のデータメモリ
23等に格納されたプログラムや記録指令データ、なら
びにホスト装置100からRAM形態のワーキングメモ
リ25に読み込まれた指令信号(コマンド)や記録情報
信号に基づいて記録動作を制御する。<Structure> In FIG. 1, a CPU 21 in the form of a microprocessor is
A program and recording command data stored in a program memory 24 in the form of a ROM, a data memory 23 in the form of an EEPROM, and the like, and a command read from the host apparatus 100 into the working memory 25 in the form of a RAM. The recording operation is controlled based on a signal (command) and a recording information signal.
【0013】さらに、CPU21は、出力ポート26及
びキャリッジモータ制御回路34を介してキャリッジモ
ータ31を動作させることにより、キャリッジモータ3
1を移動させたり、シート送りモータ制御回路30を介
して、シート送りモータ32を動作させることにより、
搬送機能33を動作させる。さらに、CPU21は、ワ
ーキングメモリ25に格納されている記録情報に基づ
き、ヘッド駆動回路29を介して記録ヘッド57Aを駆
動することにより、後述図2に示す記録媒体60上に所
望の画像を記録することができる。Further, the CPU 21 operates the carriage motor 31 via the output port 26 and the carriage motor control circuit 34 to thereby control the carriage motor 3
1 or by operating the sheet feed motor 32 via the sheet feed motor control circuit 30,
The transport function 33 is operated. Further, the CPU 21 drives the recording head 57A via the head driving circuit 29 based on the recording information stored in the working memory 25 to record a desired image on a recording medium 60 shown in FIG. be able to.
【0014】次に、図2及び図3を用いて本実施例を詳
細に説明する。図2は、本プリンタの側面図、図3は、
本プリンタの上面図である。両図において、50は、プ
リンタに記録媒体60を保持するための、記録媒体供給
(保持)手段である。51は、記録媒体60を記録媒体
搬送方向矢印Bに対して平行にセットするため、矢印A
方向に動かして記録媒体60を押さえるための記録媒体
押さえである。また、52は、記録媒体押さえ51に同
期して移動する記録媒体サイズ(紙幅)検出プレートで
ある。Next, this embodiment will be described in detail with reference to FIGS. FIG. 2 is a side view of the printer, and FIG.
FIG. 2 is a top view of the printer. In both figures, reference numeral 50 denotes a recording medium supply (holding) unit for holding the recording medium 60 in the printer. Reference numeral 51 denotes an arrow A for setting the recording medium 60 in parallel with the recording medium transport direction arrow B
This is a recording medium press for pressing the recording medium 60 by moving in the direction. Reference numeral 52 denotes a recording medium size (paper width) detection plate that moves in synchronization with the recording medium holder 51.
【0015】<制御動作>図4に、本実施例の制御動作
シーケンスフローチャート図を示す。まず図1のホスト
装置100で印刷する記録媒体サイズAを設定し(ステ
ップS1)、印刷開始信号をプリンタに転送する(ステ
ップS2)。プリンタは、印刷開始信号が転送された
時、図2,3に示す記録媒体保持手段50にセットされ
ている記録媒体サイズBの検出を開始する。記録媒体サ
イズBを検出するために、プリンタは、図1〜3に示す
キャリッジユニット57を移動してホームポジションの
検索を開始する(ステップS3)。<Control Operation> FIG. 4 is a flowchart showing a control operation sequence according to this embodiment. First, the recording medium size A to be printed is set by the host device 100 of FIG. 1 (step S1), and a print start signal is transferred to the printer (step S2). When the print start signal is transferred, the printer starts detecting the recording medium size B set in the recording medium holding means 50 shown in FIGS. In order to detect the recording medium size B, the printer moves the carriage unit 57 shown in FIGS. 1 to 3 and starts searching for a home position (step S3).
【0016】このキャリッジユニット57が速度Fで走
査(スキャン)を行った場合に、モータのステップ数N
で移動する距離がFNmmの時、紙幅検出プレートの横幅
をFNmm、ホームポジション検出プレート56の横幅を
FNmm以上とする。When the carriage unit 57 scans at a speed F, the number of motor steps N
When the moving distance is FNmm, the width of the paper width detection plate is set to FNmm, and the width of the home position detection plate 56 is set to FNmm or more.
【0017】キャリッジ57が、速度Fでスキャンを行
っている時に、透過型光学センサ55が、プレート56
によって光を遮断され、センサ55がオフになると、記
録ヘッド制御回路29を介してCPU21に信号が伝え
られ、CPU21は、出力ポート26を介してキャリッ
ジモータ制御回路34に送るモータ制御信号のステップ
数のカウントを開始する。When the carriage 57 is scanning at the speed F, the transmission type optical sensor 55
When the sensor 55 is turned off, a signal is transmitted to the CPU 21 via the recording head control circuit 29, and the CPU 21 transmits the signal to the carriage motor control circuit 34 via the output port 26. Start counting.
【0018】前記ステップ数のカウント値が≦Nの場合
には、前記プレートは紙幅検出プレート52であると判
断して、キャリッジ57は速度Fでスキャンを継続す
る。ステップ数のカウント値が>Nの場合には、前記プ
レートはホームポジション検出プレート56であると判
断する(ステップS4)。If the count value of the number of steps is ≤N, it is determined that the plate is the sheet width detection plate 52, and the carriage 57 continues scanning at the speed F. If the count value of the number of steps is> N, it is determined that the plate is the home position detection plate 56 (step S4).
【0019】ホームポジション決定後、キャリッジ57
は、方向Cに速度Fでスキャンを開始する(ステップS
5)。透過型光学センサ55がホームポジション検出プ
レート56と離れ、前記センサがオンになると、CPU
21は、CRモータ31のステップ数のカウントを開始
し、紙幅検出プレート52によって前記センサがオフに
なった所で、CPU21はカウントを終了する(ステッ
プS6)。CPU21は、カウントしたモータステップ
値とプログラムメモリ24内に記憶されているステップ
値毎に対応する記録媒体サイズとを比較して、プリンタ
にセットされている記録媒体サイズBを検出する(ステ
ップS7)。After the home position is determined, the carriage 57
Starts scanning in direction C at speed F (step S
5). When the transmission optical sensor 55 separates from the home position detection plate 56 and the sensor is turned on, the CPU
A step 21 starts counting the number of steps of the CR motor 31. When the sensor is turned off by the sheet width detection plate 52, the CPU 21 ends the counting (step S6). The CPU 21 detects the recording medium size B set in the printer by comparing the counted motor step value with the recording medium size corresponding to each step value stored in the program memory 24 (step S7). .
【0020】検出した記録媒体サイズBとホスト57よ
り設定された記録媒体サイズAが同じであった場合(ス
テップS8)、印刷を開始する(ステップS9)。ここ
でA≠Bの場合、ホスト57に記録媒体エラーを表示す
る(ステップS11)。ここでプリンタにセットされて
いる記録媒体Bを変更し、印刷開始を行うと、プリンタ
は前記変更された記録媒体Bサイズの検出を行い、サイ
ズA=サイズBまで印刷は開始されない。If the detected recording medium size B is equal to the recording medium size A set by the host 57 (step S8), printing is started (step S9). If A 場合 B, a recording medium error is displayed on the host 57 (step S11). Here, when the recording medium B set in the printer is changed and printing is started, the printer detects the changed recording medium B size, and printing is not started until size A = size B.
【0021】(第2実施例)上記第1実施例のプリンタ
構成において、ホームポジション検出プレート56と記
録媒体サイズ検出プレート52間を計測することでプリ
ンタにセットされた記録媒体サイズを検出し、ホスト装
置から設定された記録媒体サイズAと、プリンタにセッ
トされた記録媒体サイズBがA>Bの場合のみ、記録媒
体サイズエラーを表示し、A≦Bの場合には印刷を開始
する。(Second Embodiment) In the printer configuration of the first embodiment, the size of the recording medium set in the printer is detected by measuring the distance between the home position detection plate 56 and the recording medium size detection plate 52. A recording medium size error is displayed only when the recording medium size A set by the apparatus and the recording medium size B set in the printer are A> B, and when A ≦ B, printing is started.
【0022】[0022]
【発明の効果】以上説明したように、本発明によれば、
キャリッジ上に予め設けられているキャリッジのホーム
ポジションを検出するための透過型光学センサを用いる
ことで、電気部品の追加を要することなく、プリンタに
セットされた記録媒体サイズを検出し、記録媒体以外
(例えば紙送りローラ等)への印刷を防止することがで
きる。As described above, according to the present invention,
By using a transmission optical sensor that is provided on the carriage and detects the home position of the carriage in advance, the size of the recording medium set in the printer can be detected without the need to add an electrical component, and the recording medium other than the recording medium can be detected. (For example, a paper feed roller) can be prevented.
【図1】 実施例の制御系の概略構成ブロック図FIG. 1 is a schematic block diagram of a control system according to an embodiment;
【図2】 実施例プリンタの側面図FIG. 2 is a side view of the printer according to the embodiment.
【図3】 実施例プリンタの上面図FIG. 3 is a top view of the printer according to the embodiment.
【図4】 実施例の制御動作シーケンスフローチャートFIG. 4 is a flowchart of a control operation sequence according to the embodiment.
21 CPU 22 インタフェイス 23 データメモリ 24 プログラムメモリ 25 ワーキングメモリ 26 出力ポート 27 入力ポート 28A〜D 操作キー 29 記録ヘッド制御回路 30 シート送りモータ制御回路 31 キャリッジモータ 32 シート送りモータ 33 キャリッジモータ制御回路 40 電源回路 41 紙送りローラ 50 記録媒体供給(保持)手段 51 記録媒体押さえ 52 記録媒体サイズ(紙幅)検出プレート 53 プリンタ背面シャーシ 54 キャリッジユニット用シャフト 55 透過型光学センサ 56 ホームポジション検出プレート 57 キャリッジユニット 57A 記録ヘッド 100 ホスト装置 Reference Signs List 21 CPU 22 Interface 23 Data memory 24 Program memory 25 Working memory 26 Output port 27 Input port 28A-D Operation keys 29 Recording head control circuit 30 Sheet feed motor control circuit 31 Carriage motor 32 Sheet feed motor 33 Carriage motor control circuit 40 Power supply Circuit 41 Paper feed roller 50 Recording medium supply (holding) means 51 Recording medium press 52 Recording medium size (paper width) detection plate 53 Printer back chassis 54 Carriage unit shaft 55 Transmission optical sensor 56 Home position detection plate 57 Carriage unit 57A Recording Head 100 Host device
Claims (2)
したキャリッジユニットが、ホームポジション検出プレ
ートと、このプレートによりオン/オフされる透過型光
学センサとを有するラインプリンタにおいて、 前記記録媒体供給手段上に設けられた記録媒体押えと同
期して移動する記録媒体サイズ検出プレートを保持する
と共に、前記ホームポジション検出プレートと記録媒体
サイズ検出プレート間の位置を計測することにより前記
プリンタにセットされた記録媒体サイズを検出すること
を特徴とする記録媒体サイズ検出手段。1. A line printer in which a carriage unit on which a recording medium supply unit and a recording head are mounted has a home position detection plate and a transmission optical sensor which is turned on / off by the plate. While holding the recording medium size detection plate provided in synchronization with the recording medium press provided above, the recording set in the printer by measuring the position between the home position detection plate and the recording medium size detection plate. Recording medium size detection means for detecting a medium size.
て、前記ホームポジション検出プレートと前記記録媒体
サイズ検出プレート間の位置を計測することにより、前
記プリンタにセットされた記録媒体サイズを検出し、そ
の検出した記録媒体サイズと、ホスト装置より送られた
記録媒体サイズとが異なっていた場合に、その記録媒体
サイズエラーを報知する手段を有することを特徴とする
ラインプリンタ。2. The line printer according to claim 1, wherein a size of the recording medium set in the printer is detected by measuring a position between the home position detection plate and the recording medium size detection plate. And a means for notifying a recording medium size error when the recording medium size transmitted from the host device is different from the recording medium size.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP9307206A JPH11138924A (en) | 1997-11-10 | 1997-11-10 | Means for detecting size of recording medium and line printer |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP9307206A JPH11138924A (en) | 1997-11-10 | 1997-11-10 | Means for detecting size of recording medium and line printer |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH11138924A true JPH11138924A (en) | 1999-05-25 |
Family
ID=17966324
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP9307206A Withdrawn JPH11138924A (en) | 1997-11-10 | 1997-11-10 | Means for detecting size of recording medium and line printer |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH11138924A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN100352663C (en) * | 2004-03-31 | 2007-12-05 | 兄弟工业株式会社 | Serial printer with print-medium detecting function |
-
1997
- 1997-11-10 JP JP9307206A patent/JPH11138924A/en not_active Withdrawn
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN100352663C (en) * | 2004-03-31 | 2007-12-05 | 兄弟工业株式会社 | Serial printer with print-medium detecting function |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20070273744A1 (en) | Thermal printer and paper recognition method | |
EP1939005A1 (en) | Synchronisation of front and back side printing in double sided inkjet web printing | |
US20030053114A1 (en) | Method for aligning two or more independent printing systems with a single control unit and intelligent print controllers | |
JP2000025316A (en) | Picture outputting device and ink cassette | |
JPH11115280A (en) | Printer | |
JPH11138924A (en) | Means for detecting size of recording medium and line printer | |
JPH09109425A (en) | Printer and recording paper used therein | |
JP2000296653A (en) | Recording medium and recording method | |
US6712464B1 (en) | Image processing apparatus, image processing system apparatus, and recording medium which records image processing program | |
CN113199876B (en) | Printing apparatus and control method | |
JP2000354139A (en) | Image processor, image processing system device and recording medium for recording image processing program | |
US6196661B1 (en) | Serial recording apparatus | |
JP2000006483A (en) | Printer, print command generation apparatus and printing system | |
JP3549304B2 (en) | Recording device | |
JP4417276B2 (en) | Image reading device | |
JP2010017995A (en) | Inkjet printer | |
KR100285752B1 (en) | Method of preventing slip for image forming apparatus | |
JPH0664285A (en) | Printer | |
JP2641952B2 (en) | Label printer | |
JPH067403Y2 (en) | Identification mark reader | |
JP3157045B2 (en) | Video printer | |
JP2001039573A (en) | Recording medium carrier device and picture image recording device | |
JPH0452784B2 (en) | ||
JP2002127525A (en) | Method for detecting sheet width | |
JPH07214822A (en) | Image forming device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A300 | Withdrawal of application because of no request for examination |
Free format text: JAPANESE INTERMEDIATE CODE: A300 Effective date: 20050201 |