JPH02279374A - Printer - Google Patents

Printer

Info

Publication number
JPH02279374A
JPH02279374A JP1102499A JP10249989A JPH02279374A JP H02279374 A JPH02279374 A JP H02279374A JP 1102499 A JP1102499 A JP 1102499A JP 10249989 A JP10249989 A JP 10249989A JP H02279374 A JPH02279374 A JP H02279374A
Authority
JP
Japan
Prior art keywords
paper
printing
print
data
page
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
JP1102499A
Other languages
Japanese (ja)
Inventor
Mikio Kikuchi
美喜雄 菊池
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.)
NEC Engineering Ltd
Original Assignee
NEC Engineering 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 NEC Engineering Ltd filed Critical NEC Engineering Ltd
Priority to JP1102499A priority Critical patent/JPH02279374A/en
Publication of JPH02279374A publication Critical patent/JPH02279374A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To prevent the printing to a paper absent part by mounting a memory storing the printing data of one page and the sensors detecting the presence of paper provided on both sides of a printing head. CONSTITUTION:A memory part 1 storing the printing data of one page and a sensors 4 detecting the presence of paper provided on both sides of a printing head are mounted. When it is judged that printing is applied to paper so as to exceed the same on the basis of the printing start position and printing completion position calculated from the printing data 110 stored in the memory part 1 and the paper start position and paper completion position detected by the sensors 4, printing is stopped to emit an alarm. By this method, printing is not applied so as to protrude from paper and a printing head is prevented from abrasion and the wastefulness of the paper is eliminated and the paper can be set without paying attention to the position of the paper.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はプリンタ装置に関し、特に印字用紙の有無等を
検出できるプリンタ装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a printer device, and particularly to a printer device that can detect the presence or absence of printing paper.

〔従来の技術〕[Conventional technology]

従来、この種のプリンタ装置は用紙の有無等の確認のみ
を自動的に行い発行ダイオードを光らせることにより用
紙が無いことを知らせていたにとどまり、パソコンやワ
ープロ等の情報処理装置から送られてくるデータを装着
されている用紙の位置やサイズ等に関係なく印字してい
た。
Conventionally, this type of printer device only automatically checked the presence or absence of paper and notified that there was no paper by illuminating the issuing diode, which was sent from an information processing device such as a personal computer or word processor. Data was being printed regardless of the position or size of the loaded paper.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

上述した従来のプリンタ装置は、用紙の位置に関係なく
印字するので、用紙からはみ出して用紙がない部分にも
印字してその用紙を無駄にしたり印字ヘッドを磨耗させ
たり、用紙が印字へ・ノド周辺部分にひっかかり印字ヘ
ッドや駆動モータ等に負担をかけ障害を起こすことがあ
る。
The above-mentioned conventional printer devices print regardless of the paper position, so they print on areas that extend beyond the paper and there is no paper, wasting the paper, wearing out the print head, and causing the paper to not reach the print head. It may get caught in the surrounding areas and put a strain on the print head, drive motor, etc., causing trouble.

また、従来のプリンタ装置でパソコンやワープロから送
られて来たデータを装着され位置が設定されている用紙
上に確実に印字するためには、オペレータがいちいち用
紙の開始位置やサイズを気にしながら用紙の設定しなけ
ればならないという欠点がある。
In addition, in order to reliably print data sent from a computer or word processor on paper that has been loaded and positioned in a conventional printer, the operator must be careful about the starting position and size of the paper. The disadvantage is that the paper must be set.

〔課題を解決するための手段〕[Means to solve the problem]

本発明は情報処理装置から送付される印字データを印字
ヘッドを移動させながら用紙に印字するプリンタ装置に
おいて、1頁分の前記印字データを格納するメモリ部と
、前記印字ヘッドの両側に設置された用紙の有無を検出
するセンサとを含み、前記メモリ部に格納した印字デー
タから算出した印字開始位置および印字終了位置並びに
前記センサにより検出した用紙開始位置および用紙終了
位置に基づいて前記用紙をオーバーして印字することと
なると判断した時は印字を停止してアラームを発するこ
とを特徴とする。
The present invention provides a printer device that prints print data sent from an information processing device onto paper while moving a print head, which includes a memory section that stores one page of the print data, and a memory section that is installed on both sides of the print head. and a sensor that detects the presence or absence of paper, and detects whether the paper is overflowing based on the print start position and print end position calculated from the print data stored in the memory unit and the paper start position and paper end position detected by the sensor. When it is determined that printing is to be performed, printing is stopped and an alarm is issued.

〔実施例〕〔Example〕

次に、本発明について図を用いて説明する。 Next, the present invention will be explained using figures.

第1図および第2図はそれぞれ本発明の一実施例のブロ
ック図および動作を示すフローチャートである。
FIG. 1 and FIG. 2 are a block diagram and a flow chart showing the operation of an embodiment of the present invention, respectively.

第1図において、パソコンやワープロ等から送られてき
た印字データ110の1頁分のデータをプリンタ装置の
内部のメモリ部1に格納する(第2図のステップSl)
。次に、紙送り部2に紙送り制御信号111を出して紙
送り(連続用紙なら改ページ・カットシートなら紙送り
)を行う(ステップS7)。
In FIG. 1, data for one page of print data 110 sent from a personal computer, word processor, etc. is stored in the internal memory section 1 of the printer device (step Sl in FIG. 2).
. Next, a paper feed control signal 111 is sent to the paper feed section 2 to feed the paper (page break for continuous paper, paper feed for cut sheets) (step S7).

それと同時にメモリ部1に格納した1頁文のデータ11
2を算出部3に入力し、その1頁分のデータの中での1
行の印字開始位置(最も左側に印字する位置)と印字終
了位置(最も右側に印字する位置)を算出するくステッ
プS2)。そこで開始・終了位置制御信号113を検出
部4に送り印字ヘッドのモータを駆動させて、算出部3
で算出した印字開始位置および印字終了位置に対応する
位置に印字ヘッドを移動させ、印字ヘッド両側のセンサ
が用紙の有無と、上述の印字開始位置と印字終了位置と
が用紙上にあるかの確認を行う(ステップ83〜S5)
。それにより印字データ110が設定用紙で満足してい
るかどうかを調べる。用紙の有無の検出方法としては、
印字ヘッド両側のセンサからプラテンに向けて光を出し
、用紙があればその用紙によって光が反射し、その反射
した光をセンサが受光することにより用紙の有無・位置
を検出する。
At the same time, one-page sentence data 11 was stored in memory unit 1.
2 into the calculation unit 3, and 1 in that one page of data.
Step S2) calculates the printing start position (printing position on the leftmost side) and printing end position (printing position on the rightmost side) of the line. Therefore, the start/end position control signal 113 is sent to the detection unit 4 to drive the print head motor, and the calculation unit 3
Move the print head to the position corresponding to the print start position and print end position calculated in , and check whether the sensors on both sides of the print head check whether there is paper or not, and whether the print start position and print end position described above are on the paper. (Steps 83 to S5)
. Thereby, it is checked whether the print data 110 satisfies the set paper. The method for detecting the presence or absence of paper is as follows:
Sensors on both sides of the print head emit light toward the platen, and if there is paper, the light is reflected by the paper, and the sensor detects the presence/absence and position of paper by receiving the reflected light.

用紙が存在すれば印字開始制御信号118を印字部7に
送り、それにより1頁分のデータ112の印字を開始す
る(ステップS6)。1頁分のデータ112を印字し終
わると同時に次頁のデータをメモリ部1に入力し、上述
の動作を印字データが全てなくなるまで繰り返す。(ス
テップS11〉。
If paper exists, a print start control signal 118 is sent to the printing unit 7, thereby starting printing of one page of data 112 (step S6). As soon as one page of data 112 is printed, the next page's data is input into the memory section 1, and the above-described operation is repeated until all the print data is used up. (Step S11>.

又、用紙がなくなったり、1頁分のデータの印字終了位
置が用紙サイズよりオーバーしなりする場合は、検出部
4がエラー制御信号114をアラーム部5に送り、アラ
ーム部5は再設定制御信号115を再設部6に送りアラ
ームを発し、用紙の再設定を促し、設定が完了したらセ
ット完了ボタンを押すことにより再設定部6で再紙送り
制御信号116を紙送り部2に送り紙送りを始める(ス
テップ88〜510)。そこでもう−度用紙の確認を行
うために再検出制御信号117を検出部4に送り、再度
用紙の確認を行い用紙が無ければ再度アラームで知らせ
る。
In addition, if the paper runs out or the print end position of one page of data exceeds the paper size, the detection unit 4 sends an error control signal 114 to the alarm unit 5, and the alarm unit 5 sends a reset control signal. 115 is sent to the resetting unit 6 to issue an alarm to prompt paper resetting. When the setting is completed, by pressing the set completion button, the resetting unit 6 sends a re-paper feed control signal 116 to the paper feeding unit 2 to feed the paper. (steps 88-510). Therefore, in order to check the paper again, a re-detection control signal 117 is sent to the detection section 4, the paper is checked again, and if there is no paper, an alarm is issued again.

第3図および第4図はそれぞれ本発明の他の実施例のブ
ロック図および動作を示すフローチャートである。
FIGS. 3 and 4 are a block diagram and a flowchart showing the operation of another embodiment of the present invention, respectively.

第3図において、印字用紙サイズをサイズ入力部8より
入力し、その用紙サイズ120を印字位置変換部6に渡
す(第4図に示すステップP11)。パソコンやワープ
ロ等から送られてきた印字データ110の1頁分のデー
タをプリンタ装置の内部のメモリ部1に格納する(ステ
ップPL)。そして、紙送り部2に紙送り制御信号11
1を出して紙送り(連続用紙なら改ページカットシート
なら紙送り)を行い、それと同時に用紙位置検出信号1
21を検出部9に送り印字ヘッド部のモータを駆動させ
て印字ヘッド両側のセンサが用紙の有無と、プラテン上
の用紙の存在範囲から用紙開始位置・用紙終了位置を確
認する(ステップP2〜P4)それにより印字データ1
10が印字範囲において設定用紙で満足しているかどう
かを調べる。用紙の有無の検出方法としては、印字ヘッ
ド両側のセンサからプラテンに向は光を出し、用紙があ
ればその用紙によって光が反射し、その反射した光をセ
ンサが受光することにより、用紙の有無・位置を検出す
る。
In FIG. 3, the printing paper size is input from the size input section 8, and the paper size 120 is passed to the printing position conversion section 6 (step P11 shown in FIG. 4). One page of print data 110 sent from a personal computer, word processor, etc. is stored in the internal memory section 1 of the printer device (step PL). Then, a paper feed control signal 11 is sent to the paper feed unit 2.
1 to feed the paper (if it is continuous paper, feed the paper if it is a page break cut sheet), and at the same time output the paper position detection signal 1.
21 is sent to the detection unit 9 to drive the motor of the print head, and the sensors on both sides of the print head check the presence or absence of paper and the paper start position and paper end position from the range of paper on the platen (steps P2 to P4). ) Then print data 1
10 is satisfied with the set paper in the printing range. The method of detecting the presence or absence of paper is to emit light from sensors on both sides of the print head toward the platen, and if there is paper, the light is reflected by the paper, and the sensor receives the reflected light to detect the presence or absence of paper.・Detect position.

次に印字位置変換部10に検出部9で検出された用紙開
始位置信号122を渡し、用紙開始位置のメモリ部1に
格納した印字データ112から算出した印字開始位置と
の増減分を算出する。それにより1頁分データ112の
印字位置を自動的に並び変え、その用紙位置に合った印
字位置データ〕]9を作成し印字部7にて印字するくス
テップP5、P6)、1頁分のデータを印字し終わると
同時に次頁のデータを入力し、上述の動作を印字データ
が全てなくなるまで繰り返す(ステップP12)。
Next, the paper start position signal 122 detected by the detection unit 9 is passed to the print position conversion unit 10, and an increase/decrease in the paper start position from the print start position calculated from the print data 112 stored in the memory unit 1 is calculated. As a result, the printing positions of one page's worth of data 112 are automatically rearranged, printing position data]]9 that matches the paper position is created and printed in the printing section 7.Steps P5 and P6) At the same time as printing data is finished, data for the next page is input, and the above-described operation is repeated until all print data is exhausted (step P12).

用紙がなかったり、用紙位置を越えて印字しようとした
場合に検出部9はエラー制御信号114をアラーム部5
に送り、アラーム部5は再設定制御信号115を再設定
部に送りアラームを発し用紙の再設定やサイズ設定を促
し、設定が完了したらセット完了ボタンを押すことによ
り再設定部6で再紙送り制御信号116を紙送り部2に
送り紙送りを始める(ステップP7〜P9)、そこで、
もう−度用紙の確認を行うために再検出制御信号117
を検出部9に送り、再度用紙の確認を行い、用紙が無け
れば再度アラームで知らせる。
When there is no paper or when an attempt is made to print beyond the paper position, the detection section 9 sends an error control signal 114 to the alarm section 5.
The alarm unit 5 sends a resetting control signal 115 to the resetting unit to issue an alarm to prompt paper resetting and size setting, and when the setting is completed, pressing the set completion button causes the resetting unit 6 to refeed the paper. The control signal 116 is sent to the paper feeding unit 2 to start paper feeding (steps P7 to P9), and then,
Re-detection control signal 117 to check the paper again
is sent to the detection unit 9, the paper is checked again, and if there is no paper, an alarm is issued again.

このようにすることにより、用紙からはみ出して印字す
ることなく、印字ヘッドの磨耗を防ぎ、また用紙の無駄
を無くすことができ、また用紙位置を気にすることなく
設定できる。
By doing so, it is possible to prevent the print head from being worn out without printing protruding from the paper, to eliminate waste of paper, and to set the paper position without worrying about it.

〔発明の効果〕〔Effect of the invention〕

以上説明した様に本発明は、1頁分の印字データを格納
するメモリと印字ヘッド両側に用紙の有無を検出するセ
ンサを設け、用紙をオーバーして印字することとなるか
否かを判断することにより、用紙の無い部分へ印字する
ことを防ぎ、又用紙位置の誤りによる印字ヘッド周辺部
分に用紙をひっかかるのを防ぐことにより、用紙の無駄
を無くすことができる効果がある。
As explained above, the present invention includes a memory that stores print data for one page and a sensor that detects the presence or absence of paper on both sides of the print head, and determines whether or not printing will exceed the paper. This has the effect of eliminating paper wastage by preventing printing on areas where there is no paper, and by preventing paper from getting caught around the print head due to incorrect paper position.

【図面の簡単な説明】[Brief explanation of drawings]

第1図および第2図はそれぞれ本発明の一実施例のブロ
ック図およびフローチャート、第3図および第4図はそ
れぞれ本発明の他の実施例の゛ブロック図およびフロー
チャートである。 1・・・メモリ部5.2・・・紙送り部、3・・・算出
部、4・・検出部、5・・・アラーム部、6・・・再設
定部、7・・・印字部、8・・・サイズ入力部、9・・
・検出部、10・・・印字位置変換部、110・・・印
字データ、111・・・紙送り制御信号、112・・・
1頁分のデータ、113・・・開始・終了位置制御信号
、114・・・エラー制御信号、115・・・再設定制
御信号、116・・・再紙送り制御信号、117・・・
再検出制御信号、118・・・印字開始制御信号。
1 and 2 are a block diagram and a flowchart, respectively, of one embodiment of the invention, and FIGS. 3 and 4 are a block diagram and a flowchart, respectively, of another embodiment of the invention. 1... Memory section 5. 2... Paper feeding section, 3... Calculating section, 4... Detecting section, 5... Alarm section, 6... Resetting section, 7... Printing section , 8... size input section, 9...
- Detection unit, 10... Print position conversion unit, 110... Print data, 111... Paper feed control signal, 112...
Data for one page, 113... Start/end position control signal, 114... Error control signal, 115... Reset control signal, 116... Re-feed control signal, 117...
Redetection control signal, 118...Printing start control signal.

Claims (1)

【特許請求の範囲】[Claims] 情報処理装置から送付される印字データを印字ヘッドを
移動させながら用紙に印字するプリンタ装置において、
1頁分の前記印字データを格納するメモリ部と、前記印
字ヘッドの両側に設置された用紙の有無を検出するセン
サとを含み、前記メモリ部に格納した印字データから算
出した印字開始位置および印字終了位置並びに前記セン
サにより検出した用紙開始位置および用紙終了位置に基
づいて前記用紙をオーバーして印字することとなると判
断した時は印字を停止してアラームを発することを特徴
とするプリンタ装置。
In a printer device that prints print data sent from an information processing device onto paper while moving the print head,
It includes a memory unit that stores one page of the print data, and sensors installed on both sides of the print head to detect the presence or absence of paper, and a print start position and print calculated from the print data stored in the memory unit. The printer device is characterized in that it stops printing and issues an alarm when it is determined that printing will exceed the paper based on the end position and the paper start position and paper end position detected by the sensor.
JP1102499A 1989-04-21 1989-04-21 Printer Pending JPH02279374A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1102499A JPH02279374A (en) 1989-04-21 1989-04-21 Printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1102499A JPH02279374A (en) 1989-04-21 1989-04-21 Printer

Publications (1)

Publication Number Publication Date
JPH02279374A true JPH02279374A (en) 1990-11-15

Family

ID=14329103

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1102499A Pending JPH02279374A (en) 1989-04-21 1989-04-21 Printer

Country Status (1)

Country Link
JP (1) JPH02279374A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010030183A (en) * 2008-07-30 2010-02-12 Seiko Epson Corp Paper width detection method of label printer, print control method of label printer, and label printer
US8714688B2 (en) 2008-07-30 2014-05-06 Seiko Epson Corporation Paper width detection method for a label printer, printing control method for a label printer, and a label printer

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010030183A (en) * 2008-07-30 2010-02-12 Seiko Epson Corp Paper width detection method of label printer, print control method of label printer, and label printer
US8714688B2 (en) 2008-07-30 2014-05-06 Seiko Epson Corporation Paper width detection method for a label printer, printing control method for a label printer, and a label printer
US9211734B2 (en) 2008-07-30 2015-12-15 Seiko Epson Corporation Paper width detection method for a label printer, printing control method for a label printer, and a label printer

Similar Documents

Publication Publication Date Title
JP4732946B2 (en) Page pitch detection method, page pitch detection device and printer
JPS63112185A (en) Printer
JP3149168B2 (en) Printing device
JPS6019580A (en) Printer
JPH02279374A (en) Printer
US5697539A (en) Label or tag sheet feeding apparatus with failure detection
JPH06286239A (en) Method for processing of label printing in label printer
JP4559588B2 (en) Label printer
JPH07276750A (en) Printer
JP2002273992A (en) Printer, printer host for controlling the same, and operation program of printer host
JPH07309039A (en) Printer
JP4611164B2 (en) Printer and print control method
JP2735031B2 (en) Printer device
JPH08112953A (en) Printer
KR970003649B1 (en) Sheet feeding method
JPH04341882A (en) Apparatus for detecting left and right margin position of printing paper
JP2641952B2 (en) Label printer
JPH04347670A (en) Label printer
JPH05270114A (en) Detecting system for depletion of sheet feeding in printer
JPS6354268A (en) Paper detector for printer
JP2002166634A (en) Printer
JPH0214171A (en) Printer apparatus
JPH05169708A (en) Broken character detecting system
JPH04138272A (en) Warning signal resetting method when paper is cut in printer and printer executing same method
JPH08174957A (en) Printer