JPH04319470A - Printer - Google Patents

Printer

Info

Publication number
JPH04319470A
JPH04319470A JP3086928A JP8692891A JPH04319470A JP H04319470 A JPH04319470 A JP H04319470A JP 3086928 A JP3086928 A JP 3086928A JP 8692891 A JP8692891 A JP 8692891A JP H04319470 A JPH04319470 A JP H04319470A
Authority
JP
Japan
Prior art keywords
print
data
buffer
image
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
JP3086928A
Other languages
Japanese (ja)
Inventor
Hiroshi Sawa
寛 澤
Hideo Seki
秀雄 関
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Toshiba TEC Corp
Original Assignee
Tokyo Electric 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 Tokyo Electric Co Ltd filed Critical Tokyo Electric Co Ltd
Priority to JP3086928A priority Critical patent/JPH04319470A/en
Publication of JPH04319470A publication Critical patent/JPH04319470A/en
Pending legal-status Critical Current

Links

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)

Abstract

PURPOSE:To evaluate print result automatically, improve efficiency of printing work, and detect failure earlier by comparing an image data read by an image read means with a printing data in a print buffer so as to evaluate print accuracy. CONSTITUTION:When a printing work is started in a state that a printing data to a receipt is stored in a print buffer, the printing data in the print buffer is printed on a receipt paper by a print head 20. The print result is read out immediately by an image sensor 25 and the read data is stored in a read buffer. When the printing by the print head 20 with respect to the whole print data in the print buffer is completed and the whole printed data are read out by the image sensor 25, the data in the print buffer is compared with the data in the read buffer. Thus, accuracy of printing on a sheet paper can be evaluated automatically and in real time.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】本発明は、電子式キャッシュレジ
スタでのレシート印字等に用いられるプリンタに関する
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a printer used for printing receipts on electronic cash registers.

【0002】0002

【従来の技術】従来の電子式キャッシュレジスタにおい
ては、図7に示すようなレシート1を印字するためのプ
リンタとしてドットプリンタが広く用いられていた。た
だし、レシート先頭部分に印刷される店名やロゴマーク
は印字データが膨大で印字に時間がかかるので、一般に
はスタンプで押印することにより対処していた。
2. Description of the Related Art In conventional electronic cash registers, dot printers have been widely used as printers for printing receipts 1 as shown in FIG. However, the store name and logo printed at the beginning of the receipt require a huge amount of data and take time to print, so this has generally been dealt with by stamping.

【0003】一方、サーマルヘッドを用いたサーマルプ
リンタは、ドットプリンタに比べて印字品質が良好であ
る上、印字速度が速い利点がある。このため、最近では
電子式キャッシュレジスタのレシート用プリンタとして
ドットプリンタの代りにサーマルプリンタを使用されつ
つある。この場合、店名やロゴマークの印刷にサーマル
プリンタを用いても高速性を確保できる。
On the other hand, thermal printers using thermal heads have the advantage of better printing quality and faster printing speed than dot printers. For this reason, thermal printers have recently been used instead of dot printers as receipt printers for electronic cash registers. In this case, even if a thermal printer is used to print the store name and logo, high speed can be ensured.

【0004】0004

【発明が解決しようとする課題】しかるに、ドットプリ
ンタを用いてレシートを印字した場合もサーマルプリン
タを用いてレシートを印字した場合も、オペレータが印
字結果を評価するには発行されたレシートを視認して確
かめるしかなかった。
[Problem to be Solved by the Invention] However, whether the receipt is printed using a dot printer or a thermal printer, the operator must visually check the issued receipt to evaluate the printing result. I had no choice but to check.

【0005】また、レシートの店名やロゴマークをプリ
ンタで印字させる場合においても、予め膨大な印字デー
タを設定しなければならず、その設定作業が大変面倒で
あった。
[0005] Furthermore, even when printing a store name or logo mark on a receipt using a printer, a huge amount of print data must be set in advance, and the setting work is very troublesome.

【0006】そこで本発明は、印字結果を自動的に評価
でき、印字業務の能率向上をはかり得るとともに、故障
の早期発見が可能なプリンタを提供しようとするもので
ある。また、図形等の膨大な印字データを簡単に設定で
き、オペレータの負担を軽減できるプリンタを提供しよ
うとするものである。
SUMMARY OF THE INVENTION Therefore, an object of the present invention is to provide a printer that can automatically evaluate printing results, improve the efficiency of printing operations, and detect failures at an early stage. Another object of the present invention is to provide a printer that can easily set a large amount of print data such as graphics and reduce the burden on the operator.

【0007】[0007]

【課題を解決するための手段】本発明は、印字バッファ
内の印字データに基づいて印字ヘッドに印加し、搬送機
構により印字ヘッドの印字位置に導かれる用紙に印字を
行うプリンタにおいて、印字ヘッドの印字位置より下流
側に設けられ用紙に記録された画像を読取る画像読取り
手段と、この画像読取り手段により読取った画像データ
と印字バッファ内の印字データとを比較して印字精度を
評価する精度評価手段と、備えたものである。
[Means for Solving the Problems] The present invention provides a printer that applies a voltage to a print head based on print data in a print buffer and prints on paper that is guided to a print position of the print head by a conveyance mechanism. An image reading means provided downstream from the printing position to read the image recorded on the paper, and an accuracy evaluation means for evaluating the printing accuracy by comparing the image data read by the image reading means and the print data in the print buffer. This is what I prepared.

【0008】また、上記構成に加えて画像データを格納
するためのイメージバッファを設けるとともに、画情報
の入力モードを指定するモード指定手段を設け、画情報
入力モード指定時には画像読取り手段により読取った画
像データをイメージバッファに格納して、印字データの
少なくとも一部として使用するようにしたものである。
In addition to the above configuration, an image buffer for storing image data is provided, and mode specifying means for specifying an image information input mode is provided, and when the image information input mode is specified, the image read by the image reading means is Data is stored in an image buffer and used as at least part of print data.

【0009】[0009]

【作用】このような構成の本発明であれば、印字ヘッド
によって用紙に印字された画像が画像読取り手段によっ
て読取られ、印字バッファ内の印字データと比較されて
、自動的に印字精度が評価される。
[Operation] With the present invention having such a configuration, the image printed on the paper by the print head is read by the image reading means, and is compared with the print data in the print buffer to automatically evaluate the print accuracy. Ru.

【0010】また、画情報の入力モードを指定すると画
像読取り手段により読取られた画像がイメージバッファ
に格納されて、その後の印字データの少なくとも一部と
して使用される。
Furthermore, when the image information input mode is designated, the image read by the image reading means is stored in the image buffer and used as at least a part of the subsequent print data.

【0011】[0011]

【実施例】以下、本発明を電子式キャッシュレジスタに
装備されるレシート用プリンタに適用した一実施例につ
いて、図面を参照しながら説明する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment in which the present invention is applied to a receipt printer installed in an electronic cash register will be described below with reference to the drawings.

【0012】図1は電子式キャッシュレジスタのブロッ
ク図で、11は制御部本体を構成するCPU(中央処理
装置)である。そして、このCPU11にバスライン1
2を介して、プログラムデータ等が予め格納されたRO
M(リード・オンリ・メモリ)13、可変的な各種デー
タを記憶するためのメモリエリアが形成されるRAM(
ランダム・アクセス・メモリ)14、商品登録用の各種
キーが配設されたキーボード15からキー信号が入力さ
れるキーボードコントローラ16、商品の値段等を表示
するための表示器17を駆動制御する表示器コントロー
ラ18、レシート用紙に印字を行うプリンタ19に組込
まれる印字ヘッド20や用紙フィードモータ21等を駆
動制御するプリンタコントローラ22及びI/Oポート
23が接続されている。
FIG. 1 is a block diagram of an electronic cash register, and 11 is a CPU (central processing unit) constituting the main body of the control section. Then, bus line 1 is connected to this CPU11.
2, the RO in which program data etc. are stored in advance
M (read only memory) 13, RAM (RAM) in which a memory area for storing various variable data is formed.
Random access memory) 14, a keyboard controller 16 into which key signals are input from a keyboard 15 provided with various keys for product registration, and a display device that drives and controls a display device 17 for displaying product prices, etc. A controller 18, a printer controller 22 that drives and controls a print head 20, a paper feed motor 21, etc. incorporated in a printer 19 that prints on receipt paper, and an I/O port 23 are connected.

【0013】ここで、上記印字ヘッド20としてはライ
ンサーマルヘッドが用いられている。また、用紙フィー
ドモータ21としては正逆転自在のステッピングモータ
が用いられている。
Here, a line thermal head is used as the print head 20. Further, as the paper feed motor 21, a stepping motor that can freely rotate in forward and reverse directions is used.

【0014】前記I/Oポート23には、「登録」「精
算」「設定」等の各種業務モードを選択するためのモー
ドスイッチ24、レシート用紙に印字された画像を読取
るためのイメージセンサ25、レシート用紙の有無を検
出する用紙センサ26がそれぞれ接続されている。ここ
で、上記イメージセンサ25としては前記印字ヘッド2
0と同等の解像度を有するラインセンサが用いられてい
る。
The I/O port 23 includes a mode switch 24 for selecting various business modes such as "registration", "payment", and "setting", an image sensor 25 for reading the image printed on the receipt paper, A paper sensor 26 for detecting the presence or absence of receipt paper is connected to each of them. Here, the image sensor 25 is the print head 2.
A line sensor with a resolution equivalent to 0 is used.

【0015】図2は上記プリンタ19の要部機構図で、
31はロール状のレシート用紙、32は前記用紙フィー
ドモータ21の正転によって反時計方向に回転するフィ
ードローラ32、33は上記フィードローラ32に対向
配置された押えローラ、34は前記用紙フィードモータ
21の逆転によって時計方向に回転する逆フィードロー
ラ、35は上記逆フィードローラ34の押えローラであ
る。上記逆フィードローラ34及び押えローラ35はレ
シート発行口36の近傍に設けられている。そして、こ
の逆フィードローラ34の内側にレシート用紙31を切
断するためのカッタ37が設けられている。また、カッ
タ37の内側に前記イメージセンサ25とその押えロー
ラ38が、さらに内側に前記印字ヘッド20とその押え
ローラ39がそれぞれ設けられている。
FIG. 2 is a mechanical diagram of the main parts of the printer 19.
31 is a roll of receipt paper; 32 is a feed roller 32 which rotates counterclockwise as the paper feed motor 21 rotates; 33 is a presser roller disposed opposite to the feed roller 32; and 34 is the paper feed motor 21. A reverse feed roller 35 rotates clockwise due to the reverse rotation of the reverse feed roller 34, and 35 is a holding roller of the reverse feed roller 34. The reverse feed roller 34 and the press roller 35 are provided near the receipt issuing port 36. A cutter 37 for cutting the receipt paper 31 is provided inside the reverse feed roller 34. Further, the image sensor 25 and its press roller 38 are provided inside the cutter 37, and the print head 20 and its press roller 39 are provided further inside.

【0016】しかして、レシート用紙31はフィードモ
ータ21の正転により回転するフィードローラ32と押
えローラ33とに挟まれてレシート発行口36の方向に
搬送され、印字ヘッド20による印字位置、イメージセ
ンサ25による画像読取り位置及びカッタ37による切
断位置を通過し、逆フィードローラ34と押えローラ3
5との間隙を抜けてレシート発行口36から排出される
。このとき、印字位置にて印字ヘッド20により印字が
行われ、画像読取り位置にてイメージセンサ25により
レシート上の文字等が読取られ、切断位置によってカッ
タ37によりレシートが切断されるようになっている。
Thus, the receipt paper 31 is conveyed in the direction of the receipt issuing port 36 while being sandwiched between the feed roller 32 and the presser roller 33 which are rotated by the normal rotation of the feed motor 21, and the printing position by the print head 20 and the image sensor are 25, the image reading position by the cutter 37, and the reverse feed roller 34 and the presser roller 3.
5 and is discharged from the receipt issuing port 36. At this time, printing is performed by the print head 20 at the printing position, characters, etc. on the receipt are read by the image sensor 25 at the image reading position, and the receipt is cut by the cutter 37 at the cutting position. .

【0017】ここで、印字ヘッド20による印字位置と
イメージセンサ25による読取り位置との距離はフィー
ドモータ21のnステップに相当する。また、イメージ
センサ25による読取り位置と逆フィードローラ34と
押えローラ35との接触位置との距離はaステップに相
当する。
Here, the distance between the printing position by the print head 20 and the reading position by the image sensor 25 corresponds to n steps of the feed motor 21. Further, the distance between the reading position by the image sensor 25 and the contact position between the reverse feed roller 34 and the presser roller 35 corresponds to a step.

【0018】図3は前記RAM14に形成される主要な
メモリ構成を示している。このRAM14には、レシー
ト1枚分の印字データが格納される印字バッファ41と
、前記イメージセンサ25により読取られた画像データ
を格納するための読取りバッファ42及びイメージバッ
ファ43と、各バッファポインタp,q,s及びフィー
ドカウンタrの領域44とが形成されている。
FIG. 3 shows the main memory structure formed in the RAM 14. This RAM 14 includes a print buffer 41 that stores print data for one receipt, a read buffer 42 and an image buffer 43 that store image data read by the image sensor 25, and buffer pointers p, q, s and a region 44 of a feed counter r are formed.

【0019】前記CPU11は、図4に示す印字業務を
実行するようにプログラム設定されている。すなわち、
印字業務が開始されると、先ずST(ステップ)1とし
てバッファポインタpを“1”に初期設定した後、ST
2として用紙センサ26の出力をチェックする。そして
、レシート用紙無しが検出されている場合には、紙無し
エラーである旨を表示器17に表示させて、この業務を
終了する。
The CPU 11 is programmed to execute the printing operation shown in FIG. That is,
When the printing job starts, first, the buffer pointer p is initialized to "1" in ST (step) 1, and then ST
2, the output of the paper sensor 26 is checked. If no receipt paper is detected, a message to the effect that there is no paper error is displayed on the display 17, and this task is ended.

【0020】ST2にてレシート用紙有りの場合、ST
3として印字バッファ41のpライン目に格納されてい
る印字データを読出し、印字ヘッド20を動作させて1
ラインのレシート印字を制御する。次いで、ST4とし
てフィードモータ21を正転方向に1ステップ駆動させ
てレシート用紙31を1ステップ分前方にフィードさせ
る。このとき、ST5として前記バッファポインタpを
「+1」だけ更新し、ST6として更新後のポインタp
と、印字ヘッド20による印字位置とイメージセンサ2
5による読取り位置との距離に相当するステップ数nと
を比較する。そして、[p<n]なる関係が成立するな
らば、レシート用紙31の印字開始位置がまだイメージ
センサ25による読取り位置に達していないので、上記
ST2〜ST5の処理を繰り返す。
[0020] If receipt paper is available in ST2, ST
3, the print data stored in the p-th line of the print buffer 41 is read out, the print head 20 is operated, and the
Controls line receipt printing. Next, in ST4, the feed motor 21 is driven one step in the normal rotation direction to feed the receipt paper 31 forward by one step. At this time, in ST5, the buffer pointer p is updated by "+1", and in ST6, the updated pointer p is
, the printing position by the print head 20 and the image sensor 2
5 is compared with the number of steps n corresponding to the distance from the reading position. If the relationship [p<n] holds true, then the printing start position on the receipt paper 31 has not yet reached the reading position by the image sensor 25, so the processes of ST2 to ST5 are repeated.

【0021】こうして1ライン毎のレシート印字が繰り
返され、ST6にて[p≧n]なる関係が成立するなら
ばレシート用紙31の印字済領域がイメージセンサ25
による読取り位置に達したので、ST7として(p−n
+1)を計算してバッファポインタqとする。そして、
ST8としてイメージセンサ25により読み取った1ラ
インの画像データを読取りバッファ42のqライン目に
格納する。(画像読取り手段)
Receipt printing for each line is thus repeated, and if the relationship [p≧n] is established in ST6, the printed area of the receipt paper 31 is detected by the image sensor 25.
Since the reading position has been reached, ST7 reads (p-n
+1) and set it as the buffer pointer q. and,
In ST8, one line of image data read by the image sensor 25 is stored in the q-th line of the read buffer 42. (Image reading means)

【0022】その後、ST9として前記バッファポイン
タpと前記印字バッファ41の最終ライン数Nとを比較
する。そして、[p≦N]なる関係が成立するならば、
まだ印字していない印字データが印字バッファ41に残
っているので、上記ST2〜ST8の処理を繰り返す。
Thereafter, in ST9, the buffer pointer p and the final line number N of the print buffer 41 are compared. And if the relationship [p≦N] holds, then
Since print data that has not been printed yet remains in the print buffer 41, the processes of ST2 to ST8 are repeated.

【0023】これに対し、ST9にて[p>N]なる関
係が成立するならば、印字バッファ41内の印字データ
を全て印字したので、ST10として前記バッファポイ
ンタqと前記印字バッファ41の最終ライン数Nとを比
較する。そして、[q≦N]なる関係が成立するならば
、印字ヘッド20とイメージセンサ25との間のレシー
ト用紙31に印字済領域が存在するので、上記ST4〜
ST8の処理を繰り返す。
On the other hand, if the relationship [p>N] holds in ST9, all the print data in the print buffer 41 has been printed, so in ST10, the buffer pointer q and the last line of the print buffer 41 are Compare with the number N. Then, if the relationship [q≦N] is established, there is a printed area on the receipt paper 31 between the print head 20 and the image sensor 25, so the steps from ST4 to
Repeat the process of ST8.

【0024】ST10にて[q>N]なる関係が成立す
るならば、印字バッファ41内の印字データをレシート
用紙31に印字した画像をイメージセンサ25によって
全て読取って読取りバッファ42に格納したので、ST
11として印字バッファ41内のデータと読取りバッフ
ァ42内のデータとを比較する。そして、両バッファ4
1,42内のデータが一致する場合には印字ヘッド20
によって印字バッファ41内の印字データを正確に印字
出力できたので、プリンタ正常を認識して、この業務を
終了する。これに対し、ST11として両バッファ41
,42内のデータが一致していない場合には印字ヘッド
20によって印字バッファ41内の印字データを正確に
印字出力できなかったので、プリンタ異常を認識し、表
示器17にプリンタエラーである旨を表示させて、この
業務を終了する。(精度評価手段)
If the relationship [q>N] is established in ST10, then the image sensor 25 has read all of the print data in the print buffer 41 printed on the receipt paper 31 and stored it in the read buffer 42. ST
11, the data in the print buffer 41 and the data in the read buffer 42 are compared. And both buffers 4
If the data in 1 and 42 match, the print head 20
Since the print data in the print buffer 41 can be accurately printed out, the printer recognizes that the printer is normal and ends this work. On the other hand, both buffers 41 as ST11
, 42 do not match, the print head 20 was unable to accurately print out the print data in the print buffer 41, so a printer error is recognized and a message indicating a printer error is displayed on the display 17. Display it and finish this task. (Accuracy evaluation means)

【0025】また前記CPU11は、図5に示す画入力
業務を実行するようにプログラム設定されている。すな
わち、ST21としてキーボード15に配設された読取
キーがキー入力されると、画情報の入力モードであると
認識する。ここに読取キーは画入力モードの指定手段と
して機能する。
Furthermore, the CPU 11 is programmed to execute the image input task shown in FIG. That is, when the reading key provided on the keyboard 15 is input as ST21, it is recognized that the mode is for inputting image information. Here, the reading key functions as a means for specifying the image input mode.

【0026】そして、ST22として用紙センサ25の
出力をチェックし、レシート用紙31無しが検出されて
いることを確認したならば、ST23としてフィードカ
ウンタrを“0”に初期設定する。次いで、ST24と
してフィードモータ21を逆転方向に1ステップ駆動さ
せる。 このとき、ST25として前記フィードカウンタrを「
+1」だけ更新し、ST26として更新後のカウンタr
と、逆フィードローラ34と押えローラ35との接触位
置からイメージセンサ25による読取り位置までの距離
に相当するステップ数aとを比較する。ここで、[r<
a]なる関係が成立するならば、ST24,ST25の
処理を繰り返し実行する。そして、ST26にて[r=
a]なる関係が成立したならば、ST27として(r−
a+1)を計算してバッファポインタsとし、ST28
としてイメージセンサ25により読み取った1ラインの
画像データをイメージバッファ43のsライン目に格納
する。その後、ST24〜ST28の処理を繰り返す。
Then, in ST22, the output of the paper sensor 25 is checked, and if it is confirmed that no receipt paper 31 is detected, the feed counter r is initialized to "0" in ST23. Next, in ST24, the feed motor 21 is driven one step in the reverse direction. At this time, in ST25, the feed counter r is
+1" and the updated counter r as ST26.
and the number of steps a corresponding to the distance from the contact position between the reverse feed roller 34 and the presser roller 35 to the reading position by the image sensor 25. Here, [r<
a], the processes of ST24 and ST25 are repeatedly executed. Then, in ST26, [r=
a], then as ST27, (r-
a+1) and set it as the buffer pointer s, ST28
One line of image data read by the image sensor 25 is stored in the sth line of the image buffer 43. Thereafter, the processes of ST24 to ST28 are repeated.

【0027】そして、ST29として上記フィードカウ
ンタrがa+b(b>0)に達したならば、ST30と
してフィードモータ21を正転方向に(a+b)ステッ
プ駆動させて、この処理を終了する。
When the feed counter r reaches a+b (b>0) in ST29, the feed motor 21 is driven in steps (a+b) in the forward rotation direction in ST30, and this process is completed.

【0028】このように構成された本実施例においては
、レシートへの印字データが印字バッファ41に格納さ
れた状態で印字業務が開始されると、印字バッファ41
内の印字データが印字ヘッド20によりレシート用紙3
1に印字されるとともに、その印字結果が直ちにイメー
ジセンサ25によって読取られて、読取りデータが読取
りバッファ42に格納される。そして、印字バッファ4
1内の全印字データについて印字ヘッド20による印字
が完了し、その印字済データの全てがイメージセンサ2
5によって読み取られると、印字バッファ41内のデー
タと読取りバッファ42内のデータが比較される。ここ
で、両バッファ41,42内のデータが一致している場
合にはプリンタ19が正常であると認識されて次の業務
に移行するが、例えばレシート用紙31への印字が掠れ
たり全く印字されなかったりして一致していない場合に
はプリンタエラーである旨の表示がなされる。
In this embodiment configured as described above, when the printing operation is started with the print data on the receipt stored in the print buffer 41, the print buffer 41
The print data inside is printed on the receipt paper 3 by the print head 20.
1 is printed, the print result is immediately read by the image sensor 25, and the read data is stored in the read buffer 42. And print buffer 4
The printing by the print head 20 has been completed for all the print data in the image sensor 2.
5, the data in the print buffer 41 and the data in the read buffer 42 are compared. Here, if the data in both buffers 41 and 42 match, it is recognized that the printer 19 is normal and the process moves on to the next job. However, for example, the print on the receipt paper 31 may be blurred or may not be printed at all. If they do not match, a message indicating a printer error is displayed.

【0029】このように本実施例によれば、レシート用
紙31に対する印字精度を自動的にしかもほぼリアルタ
イムで評価されるので、プリンタ19の故障を早期に発
見できる。また、オペレータは発行されたレシートの印
字精度を確認する面倒がなくなるので、印字業務を能率
的に処理できるようになる。
As described above, according to this embodiment, since the printing accuracy on the receipt paper 31 is evaluated automatically and almost in real time, a failure of the printer 19 can be discovered at an early stage. Furthermore, since the operator no longer has to worry about checking the printing accuracy of issued receipts, printing operations can be processed more efficiently.

【0030】また、本実施例においては、レシート用紙
31を取り除いた状態でキーボード15上に配設されて
いる読取キーをキー入力すると画情報入力モードとなり
、フィードモータ21が逆転駆動するとともにイメージ
センサ25により読取られた画像データがイメージバッ
ファ43に格納される。
Further, in this embodiment, when the reading key provided on the keyboard 15 is input with the receipt paper 31 removed, the image information input mode is entered, and the feed motor 21 is driven in reverse and the image sensor is activated. The image data read by 25 is stored in an image buffer 43.

【0031】そこで、図6に示すように幅がレシート1
と同一でかつ上縁部から長さbのエリア2aに所望の店
名またはロゴマークの画像を描いたシート状用紙2を用
意し、レシート発行口36よりら上縁側から挿入して、
その上縁部を逆フィードローラ34とその押えローラ3
5との接触位置に当接させる。この状態で、画情報入力
モードを指定する。そうすると、上記用紙2のエリア2
aに描かれている店名またはロゴマークの画像がイメー
ジセンサ25により読取られてイメージバッファ43に
格納される。
Therefore, as shown in FIG.
Prepare a sheet-like paper 2 with a desired store name or logo image drawn in the area 2a having a length b from the upper edge, and insert it from the upper edge side from the receipt issuing opening 36,
Its upper edge is connected to the reverse feed roller 34 and its presser roller 3.
5. Bring it into contact with the contact position with 5. In this state, specify the image information input mode. Then, area 2 of paper 2 above
The image of the store name or logo drawn in a is read by the image sensor 25 and stored in the image buffer 43.

【0032】上記イメージバッファ43に格納された店
名またはロゴマークのイメージデータはレシート用印字
データの先頭部分に組み入れるようにプログラムするこ
とによって、レシートの先頭部分に印字出力できる。従
って、店名やロゴマーク等のように入力が複雑なイメー
ジデータであっても、所望の画像を所定の用紙2に描い
て画情報入力モードを利用するだけで簡単に入力設定で
きるようになる。
The store name or logo image data stored in the image buffer 43 can be printed at the beginning of the receipt by programming to incorporate it into the beginning of the receipt print data. Therefore, even if the image data is complicated to input, such as a store name or logo mark, input settings can be easily made by simply drawing a desired image on a predetermined paper 2 and using the image information input mode.

【0033】なお、本発明はレシート用プリンタに限定
されるものではなく、各種プリンタに応用できるもので
ある。また、ドットプリンタにも適用できるのは言うま
でもない。この他、印字精度の評価を特定のキー入力が
あったときのみ行う等、本発明の要旨を逸脱しない範囲
で種々変形実施可能であるのは勿論である。
Note that the present invention is not limited to receipt printers, but can be applied to various printers. It goes without saying that the present invention can also be applied to dot printers. It goes without saying that various other modifications can be made without departing from the spirit of the present invention, such as evaluating printing accuracy only when a specific key is input.

【0034】[0034]

【発明の効果】以上詳述したように本発明によれば、印
字結果を自動的に評価でき、印字業務の能率向上をはか
り得るとともに、故障の早期発見が可能なプリンタを提
供できる。また請求項2対応の発明によれば、図形等の
膨大な印字データを簡単に設定でき、オペレータの負担
を軽減できる効果も奏する。
As described in detail above, according to the present invention, it is possible to provide a printer that can automatically evaluate printing results, improve the efficiency of printing operations, and enable early detection of failures. Further, according to the invention corresponding to claim 2, a huge amount of print data such as figures can be easily set, and the burden on the operator can be reduced.

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

【図1】  本発明の一実施例である電子式キャッシュ
レジスタのブロック図。
FIG. 1 is a block diagram of an electronic cash register that is an embodiment of the present invention.

【図2】  同実施例におけるプリンタの要部機構図。FIG. 2 is a mechanical diagram of the main parts of the printer in the same embodiment.

【図3】  同実施例におけるRAMの主要なメモリ構
成図。
FIG. 3 is a main memory configuration diagram of RAM in the same embodiment.

【図4】  同実施例におけるCPUの印字業務におけ
る制御を示す流れ図。
FIG. 4 is a flowchart showing control of printing operations by the CPU in the same embodiment.

【図5】  同実施例におけるCPUの画入力業務にお
ける制御を示す流れ図。
FIG. 5 is a flowchart showing the control of the CPU in image input work in the same embodiment.

【図6】  同実施例において画入力業務で使用される
用紙の一例図。
FIG. 6 is an example of paper used for image input work in the same embodiment.

【図7】  レシートの一発行例を示す図。FIG. 7 is a diagram showing an example of issuing a receipt.

【符号の説明】[Explanation of symbols]

19…プリンタ、20…印字ヘッド、21…フィードモ
ータ、25…イメージセンサ、41…印字バッファ、4
2…読取りバッファ、43…イメージバッファ。
19...Printer, 20...Print head, 21...Feed motor, 25...Image sensor, 41...Print buffer, 4
2...read buffer, 43...image buffer.

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】  印字バッファ内の印字データに基づい
て印字ヘッドを動作させて、搬送機構により上記印字ヘ
ッドの印字位置に導かれる用紙に印字を行うプリンタに
おいて、前記印字ヘッドの印字位置より下流側に設けら
れ前記用紙に記録された画像を読取る画像読取り手段と
、この画像読取り手段により読取った画像データと前記
印字バッファ内の印字データとを比較して印字精度を評
価する精度評価手段と、を具備したことを特徴とするプ
リンタ。
1. A printer that operates a print head based on print data in a print buffer and prints on paper that is guided to a print position of the print head by a conveyance mechanism, the printer comprising: an image reading means for reading the image recorded on the paper, and an accuracy evaluation means for evaluating the printing accuracy by comparing the image data read by the image reading means and the print data in the print buffer. A printer characterized by:
【請求項2】  画像データを格納するためのイメージ
バッファを設けるとともに、画情報の入力モードを指定
するモード指定手段を設け、画情報入力モード指定時に
は前記画像読取り手段により読取った画像データを前記
イメージバッファに格納して、印字データの少なくとも
一部とすることを特徴とする請求項1記載のプリンタ。
2. An image buffer for storing image data is provided, and mode specifying means is provided for specifying an image information input mode, and when specifying the image information input mode, the image data read by the image reading means is transferred to the image data. 2. The printer according to claim 1, wherein the print data is stored in a buffer and used as at least a part of print data.
JP3086928A 1991-04-18 1991-04-18 Printer Pending JPH04319470A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3086928A JPH04319470A (en) 1991-04-18 1991-04-18 Printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3086928A JPH04319470A (en) 1991-04-18 1991-04-18 Printer

Publications (1)

Publication Number Publication Date
JPH04319470A true JPH04319470A (en) 1992-11-10

Family

ID=13900525

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3086928A Pending JPH04319470A (en) 1991-04-18 1991-04-18 Printer

Country Status (1)

Country Link
JP (1) JPH04319470A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003136818A (en) * 2001-11-01 2003-05-14 Fuji Xerox Co Ltd Method and system for detecting image quality abnormality

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003136818A (en) * 2001-11-01 2003-05-14 Fuji Xerox Co Ltd Method and system for detecting image quality abnormality

Similar Documents

Publication Publication Date Title
JPH03193379A (en) Package tag printer
JPH04319470A (en) Printer
JPH05201095A (en) Impact printer
JP2750215B2 (en) Label printer
JPH09254501A (en) Printer
JP2655625B2 (en) Thermal printer
JP3193461B2 (en) Ticketing system
JP2001101482A (en) Bankbook processing system
JP2731030B2 (en) Label printer
JP2945880B2 (en) Electronic cash register
JPH03201192A (en) Device for informing printing paper cutting end in cash register
JPH06251255A (en) Commodity sale registration data processor
JP2533148B2 (en) Electronic cash register
KR910004528B1 (en) Registor
JP6182813B2 (en) Printer with lottery function
JPH07239978A (en) Commodity sales registration data processor
JPH06183096A (en) Printing medium and printing device for printing thereonto
JPH10143762A (en) Article sales registration data processor
JP2590707Y2 (en) Page printer
JPS6253879B2 (en)
JPH10157232A (en) Printer
JPS6057100B2 (en) Event data setting method
JPH078590B2 (en) Printer device
JPH11328530A (en) Coupon issuing machine
JPH07244701A (en) Document printing system