JPH0227498A - Slip printing device - Google Patents

Slip printing device

Info

Publication number
JPH0227498A
JPH0227498A JP63176727A JP17672788A JPH0227498A JP H0227498 A JPH0227498 A JP H0227498A JP 63176727 A JP63176727 A JP 63176727A JP 17672788 A JP17672788 A JP 17672788A JP H0227498 A JPH0227498 A JP H0227498A
Authority
JP
Japan
Prior art keywords
slip
barcode
printing
paper
type
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
JP63176727A
Other languages
Japanese (ja)
Inventor
Takao Morimoto
森本 孝男
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 JP63176727A priority Critical patent/JPH0227498A/en
Publication of JPH0227498A publication Critical patent/JPH0227498A/en
Pending legal-status Critical Current

Links

Landscapes

  • Cash Registers Or Receiving Machines (AREA)

Abstract

PURPOSE:To easily alter a printing format by recognizing a printing item from a read bar code, and printing corresponding slip data on a slip paper printed with a bar code train. CONSTITUTION:The top bar code of a bar code train 40 printed on a slip paper 13 is read by a bar code reader head 15, a character code is decoded, and the type of the slip is recognized. In addition, the recognized types of the slips are comparatively collated, and when they correspond, the slip paper 13 is conveyed for one field portion. Next, a second bar code 42 of the bar code train 40 is read by the bar code reader head 15, the character code is decoded, and the printing item is recognized. Further, the data are transmitted to a slip printer 2, and the commodity name is printed by a printing head 14. Thus, the printing format can be easily altered.

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は、電子式キャッシュレジスタやPO8(販売時
点情報管理)システムの端末機に接続して使用される伝
票印刷装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a slip printing device that is used by being connected to an electronic cash register or a terminal of a PO8 (point of sale) system.

[従来の技術] 各販売商品の販売登録処理を実行する電子式キャッシュ
レジスタにおいては、伝票印刷装置いわゆるスリッププ
リンタを接続することにより配送伝票や掛売伝票等の各
種伝票を発行できるようになっている。ただし、これら
の伝票はそれぞれ印字フォーマットが異なるため、電子
式キャッシュレジスタのCPU (中央演算処理装置)
においては各伝票の印字フォーマットに対応するプログ
ラムを伝票種類毎にそれぞれ管理している。そして、伝
票種類指定キーなどの操作によって発行伝票の種類が指
定されると、その伝票種類に応じて伝票データの編集を
行ない、フォーマットデータとともに伝票データをスリ
ッププリンタへ送出する。
[Prior Art] Electronic cash registers that perform sales registration processing for each sold product can issue various slips such as delivery slips and credit slips by connecting a slip printer to a slip printer. There is. However, since each of these slips has a different printing format, the electronic cash register's CPU (central processing unit)
, programs corresponding to the printing format of each slip are managed for each slip type. Then, when the type of issued slip is designated by operating a slip type designation key, etc., the slip data is edited according to the selected slip type, and the slip data is sent to the slip printer together with the format data.

スリッププリンタにおいては伝票用紙挿入口に伝票用紙
が挿入されていることを確認した後に伝票用紙の搬送を
行ない、フォーマットデータにより指定されたフォーマ
ットで伝票用紙に伝票データを印刷している。
In a slip printer, after confirming that the slip paper is inserted into the slip paper insertion slot, the slip paper is transported and the slip data is printed on the slip paper in the format specified by the format data.

[発明が解決しようとする課題] 上述したように、従来はスリッププリンタを制御する制
御部(例えば電子式キャッシュレジスタのCPU)にお
いて伝票の印字フォーマットに対応するプログラムを伝
票毎に管理する必要があった。このため、店によっては
各伝票の印字フォーマットを適宜変更したい要望かある
が、その場合には複雑なプログラムの変更が要求され、
手間と時間を費やさざるを得なかった。
[Problems to be Solved by the Invention] As described above, conventionally, it has been necessary to manage a program corresponding to the printing format of a slip for each slip in the control unit that controls the slip printer (for example, the CPU of an electronic cash register). Ta. For this reason, some stores have requests to change the printing format of each slip as appropriate, but in that case, complicated program changes are required.
I had no choice but to waste time and effort.

また、従来のスリッププリンタにおいては、伝票挿入口
に用紙が挿入されてさえいれば伝票種類指定操作に応じ
てその用紙に所定の印字フォーマットにしたがって伝票
データの印刷が行なわれる。
Furthermore, in conventional slip printers, as long as a sheet of paper is inserted into the slip insertion slot, slip data is printed on the sheet according to a predetermined printing format in response to a slip type designation operation.

このため、伝票種類指定操作によって指定された種類と
は異なる種類の伝票用紙が挿入された場合であっても伝
票印刷が行なわれてしまい、伝票用紙の無駄使いとなる
上、印刷によって伝票データが抹消されるので再度登録
をし直さなければならない不具合があった。
For this reason, even if a slip paper of a different type than the one specified by the slip type specification operation is inserted, the slip will be printed, resulting in a waste of slip paper, and the printing will erase the slip data. There was a problem where you had to re-register because it would be deleted.

そこで本発明は、各種伝票の印字フォーマットに対応す
るプログラムを管理することなく印字フォーマットの異
なる各種伝票を印刷処理でき、印字フォーマットの変更
を容易に行なうことができる伝票印刷装置を提供しよう
とするものである。
SUMMARY OF THE INVENTION Therefore, an object of the present invention is to provide a slip printing device that can print various slips with different printing formats without managing programs corresponding to the printing formats of various slips, and that can easily change the printing format. It is.

さらに本発明は、伝票種類指定操作によって指定された
種類とは異なる伝票用紙が挿入された場合に伝票印刷動
作を禁止できる伝票印刷装置を提供しようとするもので
ある。
Furthermore, it is an object of the present invention to provide a slip printing device that can prohibit a slip printing operation when a slip sheet different from the type specified by the slip type designation operation is inserted.

[課題を解決するための手段] 本発明は、伝票種類指定操作により指定された伝票種類
に応じて伝票データの編集を行ない、伝票挿入口に挿入
された伝票用紙を搬送しながら伝票種類に対応する印字
フォーマットで伝票データの印刷を行なう伝票印刷装置
において、印字フォーマットに対応するバーコード列が
印刷された伝票用紙からバーコードを読取るバーコード
読取り手段を伝票挿入口近傍に配置し、このバーコード
読取り手段により読取られたバーコードから印刷項目を
認識する印刷項目認1手段と、この認識手段により認識
された印刷項目に対応する伝票データを当該バーコード
列の印刷された伝票用紙に印刷する伝票印刷制御手段と
を備えたものである。
[Means for Solving the Problems] The present invention edits the slip data according to the slip type specified by the slip type designation operation, and corresponds to the slip type while conveying the slip paper inserted into the slip insertion slot. In a slip printing device that prints slip data in a printing format that corresponds to the printing format, a barcode reading means for reading a barcode from slip paper on which a barcode string corresponding to the printing format is printed is arranged near the slip insertion slot, and the barcode reading means is arranged near the slip insertion slot. A printing item recognition means for recognizing a printing item from a barcode read by a reading means, and a slip for printing slip data corresponding to the printing item recognized by the recognition means on slip paper on which the barcode string is printed. The printer is equipped with a printing control means.

そして、伝票用紙はその一側部近傍に印字フォーマット
に対応するバーコード列を搬送方向に対して平行に1フ
ィード単位で印刷し、かつバーコード読取り装置は伝票
挿入口近傍における上記伝票用紙のバーコード読取り可
能な位置に固定して、伝票用紙のフィード毎にバーコー
ドを順次読取るようにすることが望ましい。
Then, a barcode row corresponding to the print format is printed near one side of the slip paper in parallel to the conveying direction in units of one feed, and a barcode reading device prints a barcode row on the slip paper near the slip insertion slot. It is desirable to fix the barcode at a position where the code can be read, and read the barcode sequentially each time a slip is fed.

また、伝票用紙は印字フォーマットに対応するバーコー
ド列の先頭に伝票種類に応じたバーコードを印刷し、バ
ーコード読取り装置により読取られた先頭バーコードか
ら伝票種類を認識し、伝票種類指定操作により指定され
た伝票種類と比較照合して不一致のとき伝票印刷動作を
禁止する手段を設けるとよい。
In addition, on the slip paper, a barcode corresponding to the slip type is printed at the beginning of the barcode string corresponding to the printing format, the slip type is recognized from the first barcode read by the barcode reader, and the slip type is specified by the slip type specification operation. It is preferable to provide means for comparing and collating the specified slip type and prohibiting the slip printing operation if there is a mismatch.

さらに、バーコード読取り装置の出力に基いて伝票挿入
口に伝票゛用紙が挿入されていることを検知する手段を
設けてもよい。
Further, a means may be provided for detecting that a slip (paper) is inserted into the slip insertion slot based on the output of the barcode reading device.

[作用] このような手段を講じた伝票印刷装置であれば、印字フ
ォーマットに対応するバーコード列が印刷された伝票を
伝票挿入口に挿入した状態で、伝票種類指定操作により
伝票種類を指定すると、この種類に応じて伝票データが
編集されるとともに、バーコード読取り装置により伝票
のバーコードが読取られ、そのバーコードから印刷項目
が認識されて、対応する伝票データが当該伝票に印刷さ
れる。
[Function] With a slip printing device that takes such measures, if a slip with a barcode string corresponding to the printing format printed is inserted into the slip insertion slot, and the slip type is specified using the slip type specification operation, , the slip data is edited according to the type, the barcode of the slip is read by a barcode reading device, the print item is recognized from the barcode, and the corresponding slip data is printed on the slip.

そして、印字フォーマットに対応するバーコード列を搬
送方向に対して平行に1フィード単位で印刷した伝票用
紙を用いることにより、バーコード読取り装置は伝票用
紙挿入口近傍のバーコード読取り可能位置に固定してお
けばよい。
By using slip paper on which barcode rows corresponding to the printing format are printed parallel to the conveyance direction in units of feed, the barcode reading device is fixed at a position near the slip paper insertion slot where the barcode can be read. Just leave it there.

また、印字フォーマットに対応するバーコード列の先頭
に伝票種類に応じたバーコードを印刷した伝票用紙を用
いることにより、バーコード読取り装置の先頭バーコー
ド読取りによって当該伝票用紙の種類が認識され、伝票
種類指定操作によって指定された伝票種類と不一致の場
合には伝票印刷動作が禁止される。
In addition, by using slip paper with a barcode corresponding to the slip type printed at the beginning of the barcode string corresponding to the printing format, the type of slip paper can be recognized by reading the first barcode with a barcode reading device, and the slip paper If the slip type does not match the slip type specified by the type designation operation, the slip printing operation is prohibited.

しかも、バーコード読取り装置の出力に基いて伝票用紙
が伝票挿入口に挿入されていることが確認される。
Moreover, it is confirmed that the slip paper is inserted into the slip insertion slot based on the output of the barcode reading device.

[実施例] 以下、本発明の伝票印刷装置を電子式キャッシュレジス
タに接続して使用した一実施例について図面を参照しな
がら説明する。
[Embodiment] Hereinafter, an embodiment in which a slip printing device of the present invention is connected to an electronic cash register will be described with reference to the drawings.

第1図は本実施例の外観構成を示す斜視図であって、図
中1が電子式キャッシュレジスタ、2が伝票印刷装置と
してのスリッププリンタであり、両者はケーブル3によ
って接続されている。電子式キャッシュレジスタ1の前
面中央部には各販売商品の販売データなどを入力するた
めのキーボード4が設けられている。このキーボード4
には、置数キー、部門キー、小計キー、現計キーなどの
販売登録用キーのほかに、配送伝票、掛売伝票等の伝票
種類を指定するための伝票種類指定キーが配設されてい
る。また、このキーボード上には「登録」 「精算」 
「設定」等の各種業務モードを選択するためのモードス
イッチ5が設けられている。電子式キャッシュレジスタ
1の前面上方部には販売登録された商品の販売金額や合
計金額等を表示するためのキャッシャ用表示器6が設け
られており、この表示器6に隣接してレシートやジャー
ナルに印字を行なうR/J (レシート/ジャーナル)
プリンタ7が取付けられている。また、電子式キャッシ
ュレジスタ1の上面には前記キャッシャ用表示器6と同
一構成の客用表示器8が取付けられており、下面には現
金等を収納するためのドロワ9が配置されている。10
はレシート発行口である。
FIG. 1 is a perspective view showing the external configuration of this embodiment. In the figure, 1 is an electronic cash register, 2 is a slip printer as a slip printing device, and both are connected by a cable 3. A keyboard 4 is provided at the center of the front surface of the electronic cash register 1 for inputting sales data of each sales item. this keyboard 4
In addition to keys for sales registration such as number keys, department keys, subtotal keys, and cash keys, there are document type specification keys for specifying document types such as delivery slips and credit slips. There is. Also, on this keyboard are "registration" and "payment".
A mode switch 5 is provided for selecting various business modes such as "setting". A cashier display 6 is provided at the upper front part of the electronic cash register 1 to display the sales amount and total amount of products registered for sale. R/J to print on (receipt/journal)
A printer 7 is attached. Further, a customer display 8 having the same configuration as the cashier display 6 is attached to the top surface of the electronic cash register 1, and a drawer 9 for storing cash and the like is arranged on the bottom surface. 10
is the receipt issuing port.

スリッププリンタ2において、11は用紙ガイド、12
は伝票挿入口であって、この伝票挿入口12に挿入され
た伝票用紙13は用紙ガイド11にガイドされながら図
中矢印X方向に搬送される。
In the slip printer 2, 11 is a paper guide;
1 is a slip insertion slot, and the slip paper 13 inserted into the slip insertion slot 12 is conveyed in the direction of the arrow X in the figure while being guided by the paper guide 11.

14は伝票用紙13の搬送方向Xに対して直交する方向
Yに走査する印字ヘッド、15は伝票用紙13の一側部
近傍に搬送方向Xに対して平行に印刷されたバーコード
を読取るバーコードリーダヘプトであって、両ヘッド1
4.15とも伝票挿入口12の内部に設けられるが、バ
ーコードリーダヘッド15は印字ヘッド14よりも距離
pだけ手前に設けられており、かつ伝票用紙13に印刷
されたバーコードの読取り可能な位置に固定されている
14 is a print head that scans in the direction Y perpendicular to the transport direction X of the slip paper 13; 15 is a bar code that reads a bar code printed near one side of the slip paper 13 in parallel to the transport direction X; Leader hept, both heads 1
4.15 Both are provided inside the slip insertion slot 12, but the barcode reader head 15 is provided a distance p in front of the print head 14 and is capable of reading the barcode printed on the slip paper 13. Fixed in position.

第2図は電子式キャッシュレジスタ1の制御ブロック図
である。同図において、21は制御部本体としてのCP
Uであって、演算回路、メモリ制御回路等を内蔵し、入
力データに応じて各種の演算処理を行なうとともに、パ
スライン21を介して前記各業務を実行するためのプロ
グラムなどを記憶するROM22と、各販売商品の販売
データを登録処理するためのメモリ等を形成したRAM
23とを制御する。また、前記モードスイッチ5とブザ
ー24とを接続するI10ボート25、前記キーボード
4からのキー信号を入力処理するキーボード回路26、
前記R/Jプリンタを駆動制御するR/Jプリンタイン
タフェース27、前記各表示器6.8を駆動制御する表
示制御回路28等のほかに、前記スリッププリンタ2内
のバーコードリーグヘッド15からコード読取り信号を
取込んで解読処理するバーコードデコーダ回路29、前
記スリッププリンタ30を接続するスリッププリンタイ
ンタフェース30が前記パスライン21を介してCPU
20に接続されている。
FIG. 2 is a control block diagram of the electronic cash register 1. In the same figure, 21 is the CP as the main body of the control unit.
A ROM 22 which has a built-in arithmetic circuit, a memory control circuit, etc., performs various arithmetic processing according to input data, and stores programs etc. for executing each of the above-mentioned tasks via a path line 21. , a RAM that forms memory etc. for registering and processing sales data of each sales product.
23. Also, an I10 boat 25 that connects the mode switch 5 and the buzzer 24, a keyboard circuit 26 that inputs and processes key signals from the keyboard 4,
In addition to the R/J printer interface 27 that drives and controls the R/J printer, the display control circuit 28 that drives and controls each of the displays 6.8, and the like, there is also a code reading unit that reads codes from the barcode league head 15 in the slip printer 2. A barcode decoder circuit 29 that takes in and decodes signals, and a slip printer interface 30 that connects the slip printer 30 to the CPU via the path line 21.
20.

なお、上記バーコードリーグへラド15およびバーコー
ドデコーダ回路29によってバーコード読取り装置が構
成されており、第3図はこのバーコード゛読取り装置の
回路構成図である。バーコードリーグヘッド15は、発
光素子としてのフォトダイオード31から照射された光
の反射光を受光素子としてのフォトトランジスタ32に
て受光する構成であって、フォトトランジスタ32から
の出力信号はバーコードデコーダ回路29の増1幅器3
3にて増幅後、例えば第4図に示すようなコード読取り
信号αとして波形整形回路34に入力される。このコー
ド読取り信号αはバーコードの白部分は反射率が高いの
でレベルが高くなり、黒部分は逆に反射率が低+τので
レベルが低くなる一0波を波形整形した後にレベル反転
させて例えば第5図に示すようなパルス信号βとしてデ
コーダ35に出力するものである。この場合、バーコー
ドの白部分はローレベルとなり、黒部分はハイレベルと
なる。デコーダ35はパルス信号βを解読してバーコー
ドに対応する文字コードを解読し、CPU20に出力す
る。
The barcode reader 15 and the barcode decoder circuit 29 constitute a barcode reader, and FIG. 3 is a circuit diagram of this barcode reader. The barcode league head 15 has a configuration in which a phototransistor 32 as a light receiving element receives reflected light emitted from a photodiode 31 as a light emitting element, and an output signal from the phototransistor 32 is sent to a barcode decoder. Amplifier 3 of circuit 29
After amplification in step 3, the signal is input to the waveform shaping circuit 34 as a code reading signal α as shown in FIG. 4, for example. The white part of the barcode has a high reflectance, so the level of this code reading signal α is high, and the black part has a low reflectance +τ, so the level is low. After shaping the waveform of 10 waves, the level is inverted, for example. It is output to the decoder 35 as a pulse signal β as shown in FIG. In this case, the white part of the barcode becomes a low level, and the black part becomes a high level. The decoder 35 decodes the pulse signal β, decodes the character code corresponding to the barcode, and outputs it to the CPU 20.

また、本実施例において使用される伝票用紙13は、第
6図に示すように、用紙の一側部近傍に搬送方向Xに対
して平行に1フィード単位でバーコード列40が印刷さ
れている。そして、上記バーコード列40のうち先頭の
バーコード41は伝票の種類に応じて設定された文字コ
ードに対応するバーコードであって、例えば伝票種類に
応じて文字コードが次の第1表のように設定されている
Further, as shown in FIG. 6, the slip paper 13 used in this embodiment has a barcode row 40 printed in parallel to the transport direction X in the vicinity of one side of the paper in units of one feed. . The barcode 41 at the beginning of the barcode string 40 is a barcode corresponding to a character code set according to the type of slip. It is set as follows.

なお、この先頭バーコード41は伝票用紙13をスリッ
ププリンタ2の伝票挿入口12に挿入し1フィード分搬
送されたときにバーコードリーグヘッド15によりて読
取られる位置に印刷されている。
The leading barcode 41 is printed at a position where the slip paper 13 is read by the barcode league head 15 when the slip paper 13 is inserted into the slip insertion slot 12 of the slip printer 2 and conveyed by one feed.

また、バーコード42〜47は印字フォーマットを構成
する印刷項目毎にそれぞれ設定された文字コードに対応
するバーコードであって、それぞれ次の第2表のように
印刷項目に対応する文字コードが設定されている。
In addition, barcodes 42 to 47 are barcodes corresponding to the character codes set for each print item making up the print format, and the character codes corresponding to the print items are set as shown in Table 2 below. has been done.

第   2   表 したがって、第6図の配送伝票の場合、バーコード41
は文字コード“0°に該当し、以下、バーコード42は
文字コード C、バーコード43は文字コード“b″、
バーコード44は文字コード a 、バーコード45は
文字コードバーコード46は文字コード“+”、バーコ
ード47は文字コード“tm、、<−コード48は文字
コード′″/“に該当する。そして、印字フォーマット
のバーコード42〜48に対応する各印刷項目の領域は
それぞれバーコードリーダヘッド15と印字ヘッド14
との距離pだけ離れて予め印刷されている。
Table 2 Therefore, in the case of the delivery slip in Figure 6, barcode 41
corresponds to the character code "0°," below, barcode 42 is the character code C, barcode 43 is the character code "b",
The barcode 44 corresponds to the character code a, the barcode 45 corresponds to the character code barcode 46 corresponds to the character code "+", the barcode 47 corresponds to the character code "tm," and the <- code 48 corresponds to the character code ``''/''. , the areas of each print item corresponding to the barcodes 42 to 48 of the print format are the barcode reader head 15 and the print head 14, respectively.
are printed in advance at a distance p from the

なお、バーコードの分解能は例えばNW−7コードを用
いて22文字種を表現可能な1桁を1フイードで表わす
とすると、 (1桁のフィード量)/(lフィード量)−4,23u
/20+IJl”=i0.212aとなり、−船釣なバ
ーコードリーグヘッドの分解能となる。
Note that the resolution of a barcode is, for example, if one digit that can represent 22 character types is represented by one feed using the NW-7 code, (feed amount of one digit) / (l feed amount) - 4,23u
/20+IJl"=i0.212a, which is the resolution of a barcode league head for boat fishing.

しかして、前記CPU20は、キーボード4の伝票種類
指定キーが操作されると、第7図に示す処理を実行する
ようにプログラム構成されている。
The CPU 20 is programmed to execute the process shown in FIG. 7 when the slip type designation key on the keyboard 4 is operated.

すなわち、ST(ステップ)1としてキー操作により指
定された伝票種類に応じてその伝票に印刷するべく伝票
データを編集処理し、RAM23に格納する。次いで、
バーコードリーグヘッド15からの出力信号をバーコー
ドデコーダ回路29にて解読した結果を取込み、ST2
にてスリッププリンタ2の伝票挿入口12に伝票用紙1
3が挿入されているか否かを判定する。このステップで
は伝票用紙13が挿入されていたならばバーコードリー
グヘッド15が用紙の白を検出して波形整形回路34の
出力が全てローレベルとなるのでこのとき用紙有りを判
定し、逆に伝票用紙13が挿入されていなければバーコ
ードリーグヘッド15が挿入口内の暗部を検出して波形
整形回路34の出力が全てローレベルとなるのでこのと
き用紙無しを判定する。そして、用紙無しの場合はエラ
ーとしてブザー24を鳴動させ、この処理を終了する。
That is, as ST (step) 1, the slip data is edited to be printed on the slip according to the slip type specified by the key operation, and is stored in the RAM 23. Then,
The output signal from the barcode league head 15 is decoded by the barcode decoder circuit 29, the result is taken in, and ST2
Insert slip paper 1 into slip insertion slot 12 of slip printer 2.
3 is inserted. In this step, if the slip paper 13 has been inserted, the barcode league head 15 will detect the white of the paper and all the outputs of the waveform shaping circuit 34 will be at a low level, so it is determined that paper is present at this time, and conversely, the slip paper 13 is inserted. If the paper 13 is not inserted, the barcode league head 15 detects a dark area in the insertion slot, and all outputs of the waveform shaping circuit 34 become low level, so that it is determined that there is no paper. If there is no paper, the buzzer 24 is sounded as an error, and the process is ended.

これに対し、用紙有りの場合にはスリッププリンタイン
タフェース30ヘフイードコマンドを送出し、挿入口1
2に挿入されている伝票用紙13をX方向に1フイード
させる。そして、再度バーコードリーグヘッド15から
の出力信号をバーコードデコーダ回路29にて解読した
結果を取込む。
On the other hand, if there is paper, the slip printer interface 30 sends a feed command and inserts the paper into the insertion slot 1.
The slip paper 13 inserted into the slot 2 is fed one time in the X direction. Then, the result of decoding the output signal from the barcode league head 15 by the barcode decoder circuit 29 is taken in again.

このとき、バーコードリーグヘッド15によって伝票用
紙13に印刷されたバーコード列40の先頭バーコード
41が読取られるので、ST3として解読された文字コ
ードに対応する伝票種類とキー操作によって指定された
伝票種類とが一致するか否かを判断する。そして、不一
致の場合には印刷目的とは異なるフォーマットの伝票が
挿入されているのでエラーとしてブザー24を鳴動させ
、伝票用紙13を逆フィードさせるべくコマンドをスリ
ッププリンタインタフェース30に出力して伝票印刷動
作を禁止する。
At this time, the first barcode 41 of the barcode string 40 printed on the slip paper 13 is read by the barcode league head 15, so the slip type corresponding to the character code decoded as ST3 and the slip specified by key operation are read. Determine whether the types match. If there is a mismatch, the buzzer 24 sounds as an error because a slip with a format different from that intended for printing has been inserted, and a command is output to the slip printer interface 30 to reverse feed the slip paper 13 to perform the slip printing operation. prohibited.

一方、両者が一致した場合には印刷目的に対応したフォ
ーマットの伝票が挿入されているので、再度バーコード
リーダへラド15からの出力信号をバーコードデコーダ
回路29にて解読した結果を取込む。このとき、バーコ
ードリーグヘッド15によって伝票用紙13に印刷され
たバーコード列40の2番目のバーコード42が読取ら
れるので、解読された文字コードに対応する印刷項目を
4議し、この印刷項目に応じた処理を実行する。
On the other hand, if the two match, a slip with a format corresponding to the printing purpose has been inserted, so the result of decoding the output signal from the RAD 15 by the barcode decoder circuit 29 is read into the barcode reader again. At this time, the second barcode 42 of the barcode string 40 printed on the slip paper 13 is read by the barcode league head 15, so four print items corresponding to the decoded character code are selected, and this print item is read by the barcode league head 15. Execute processing accordingly.

すなわち、バーコードの解読結果が文字コード“a″の
場合にはRAM23にて格納されている編集済み伝票デ
ータのなかから金額データを読出してスリッププリンタ
インタフェース30へ送出し、しかる後、フィードコマ
ンドを送出する。同様に、バーコードの解読結果が文字
コード“b”の場合には単価2個数データを読出し、文
字コード“C”の場合には品名データを読出し、文字コ
ード“+”の場合には送料データを読出し、文字コード
″t′の場合には合計データをそれぞれ読出してスリッ
ププリンタインタフェース30へ送出し、しかる後、フ
ィードコマンドを送出する。
That is, if the result of decoding the barcode is the character code "a", the amount data is read out from the edited slip data stored in the RAM 23 and sent to the slip printer interface 30, and then the feed command is sent. Send. Similarly, if the barcode decoding result is the character code "b", the unit price 2 quantity data is read out, if the character code is "C", the product name data is read out, and if the character code is "+", the shipping fee data is read out. If the character code is "t", the total data is read out and sent to the slip printer interface 30, and then a feed command is sent out.

なお、バーコードの解読結果が文字コード“の場合には
無印字データなので直ちにフィードコマンドを送出する
。また、バーコードの解読結果が文字コード“/#の場
合には終了データなのでこの処理を終了する。
If the result of decoding the barcode is the character code "," it is non-print data, so a feed command is sent immediately. Also, if the result of decoding the barcode is the character code "/#, it is end data, so this process ends. do.

このような構成の本実施例において、今、第6図に示す
伝票用紙13をスリッププリンタ2の伝票挿入口12に
挿入し、電子式キャッシュレジスタ1におけるキーボー
ド4の配送伝票指定キーを操作すると、搬送伝票に関す
る伝票データが編集処理された後、バーコードリーグヘ
ッド15の出力から用紙有無が判定される。この場合、
バーコードリードヘッド15は伝票用紙上方の白部分を
読取り波形整形回路34の出力がローレベルとなるので
用紙有りが判定され、伝票用紙13は1フィード分搬送
される。
In this embodiment with such a configuration, when the slip paper 13 shown in FIG. 6 is inserted into the slip insertion slot 12 of the slip printer 2 and the delivery slip designation key on the keyboard 4 of the electronic cash register 1 is operated, After the slip data regarding the conveyance slip is edited, the presence or absence of paper is determined from the output of the barcode league head 15. in this case,
The barcode read head 15 reads the white portion above the slip paper, and the output of the waveform shaping circuit 34 becomes low level, so it is determined that paper is present, and the slip paper 13 is conveyed by one feed.

次いで、伝票用紙13に印刷されたバーコード列40の
先頭バーコードがバーコードリーグヘッド15によって
読取られ、その文字コードが解読されて第1表に基づき
伝票種類が認識される。そして、この認識された伝票種
類とキー操作によって指定された伝票種類とが比較照合
され、一致しているか否かが判定される。この場合、両
者は一致しているので伝票用紙13が1フィード分搬送
される。
Next, the first barcode of the barcode string 40 printed on the slip paper 13 is read by the barcode league head 15, its character code is decoded, and the slip type is recognized based on Table 1. Then, the recognized slip type and the slip type specified by the key operation are compared and checked to determine whether they match. In this case, since the two match, the slip paper 13 is conveyed by one feed.

次いで、バーコード列40の2番目のバーコード42が
バーコードリーグヘッド15によって読取られ、その文
字コードが解読されて第2表に基づき印刷項目が認識さ
れる。この場合、文字コード“C゛であり項目「品名」
なので編集済みの伝票データから品名データがスリップ
プリンタ2へ送信され、印字ヘッド14により品名の印
字が行なわれる。しかる後、伝票用紙13が1フィード
分搬送され、バーコード列40の3番目のバーコード4
3が読取られて同様の印刷処理が行なわれる。
Next, the second barcode 42 in the barcode sequence 40 is read by the barcode league head 15, its character code is decoded, and the printed item is recognized based on the second table. In this case, the character code is “C” and the item is “Product name”.
Therefore, the product name data is sent from the edited slip data to the slip printer 2, and the print head 14 prints the product name. After that, the slip paper 13 is conveyed by one feed, and the third barcode 4 in the barcode row 40 is
3 is read and the same printing process is performed.

こうして、エフイードされる毎にバーコード列4のバー
コード42〜48が順次読出され、このバーコードに対
応する印字フォーマットで伝票用紙13に該当する伝票
データが印刷される。そして、印刷項目「終了」の文字
コード“/”に対応するバーコードが読取られると、印
刷処理は終了する。
In this way, barcodes 42 to 48 of the barcode string 4 are read out in sequence every time the e-feed is performed, and the corresponding slip data is printed on the slip paper 13 in a printing format corresponding to this barcode. Then, when the barcode corresponding to the character code "/" of the print item "end" is read, the printing process ends.

このように、本実施例によれば、印字フォーマットに対
応するバーコード列が印刷された伝票用紙を用いること
により、このバーコード列の印字フォーマットにしたが
って伝票データの印刷処理が行なわれ所要伝票が発行さ
れるので、印字フォーマットに対応するプログラムを管
理しなくても任意の印字フォーマットを有する伝票を発
行することができる。したがって、伝票の印字フォーマ
ットを変更する場合も伝票用紙に印刷されるバーコード
列を変更するだけ・でよいので容易に実施できる上、短
時間でフォーマットの変更が可能で、実用性を向上でき
る。
As described above, according to this embodiment, by using slip paper on which a barcode string corresponding to the printing format is printed, the printing process of the slip data is performed according to the printing format of this barcode string, and the required slip is printed. Therefore, it is possible to issue a slip having an arbitrary print format without managing a program corresponding to the print format. Therefore, even when changing the printing format of a slip, it is only necessary to change the barcode string printed on the slip paper, so it can be easily carried out, and the format can be changed in a short time, improving practicality.

また、第6図に示すように、伝票用紙13に印刷される
バーコード列40を搬送方向に対して平行に1フィード
単位で印刷することにより、バーコードリードヘッド1
5の取付は位置が伝票挿入口12の近傍における上記伝
票用紙13のバーコード読取り可能な位置に固定するだ
けでよいので、構造が簡単となる。
Further, as shown in FIG. 6, by printing the barcode row 40 printed on the slip paper 13 in parallel to the conveyance direction in units of one feed, the barcode read head
5 need only be fixed at a position near the slip insertion slot 12 where the bar code of the slip paper 13 can be read, which simplifies the structure.

さらに、バーコードリーグへラド15の読取り出力によ
って用紙の有無を判定できるので、従来のスリッププリ
ンタに必要であった用紙センサを省略できる。
Furthermore, since the presence or absence of paper can be determined based on the reading output of the RAD 15 to the barcode league, the paper sensor required in conventional slip printers can be omitted.

また、伝票用紙におけるバーコード列の先頭に伝票種類
に応じたバーコードを印刷することにより、この先頭バ
ーコードの読取りにより認識された伝票種類と伝票種類
指定操作によって指定された伝票種類との比較照合が行
なわれて不一致のとき印刷動作が禁止されるので、誤っ
て印刷目的の伝票とは異なった伝票用紙を挿入しても印
刷が実行されるおそれはなく、用紙の無駄を防止できる
上、伝票データが印刷によって消滅してしまうおそれが
ないので、再登録の手間がなくなる。
In addition, by printing a barcode corresponding to the document type at the beginning of the barcode column on the document, it is possible to compare the document type recognized by reading this first barcode with the document type specified by the document type specification operation. Since the printing operation is prohibited after verification and if there is a discrepancy, there is no risk that printing will be executed even if a slip paper different from the slip paper intended for printing is inserted by mistake, and paper wastage can be prevented. Since there is no risk that the slip data will disappear due to printing, there is no need for re-registration.

なお、本発明は前記実施例に限定されるものではない。Note that the present invention is not limited to the above embodiments.

例えば、前記実施例では印字フォーマットに対応するバ
ーコード列40のみを伝票用紙13に印刷した場合を示
したが、第8図に示すようにバーコード列40の各バー
コードに該当する印刷項目の印字位置を桁数りで指定で
きるようにし、この桁数りに対応するデータをバーコー
ド化したバーコード列50をバーコード列40と並列に
設けてもよい。こうすることにより、バーコードリーグ
ヘッドが2個必要とはなるが、印字フォーマットをより
自由に設定できる。なお、この場合において1フィード
分で2文字のコードを表現できる高密度なバーコードを
使用することによりバーコード列を1列にでき、バーコ
ードリーダヘッドの増加は避けられる。
For example, in the above embodiment, only the barcode string 40 corresponding to the printing format is printed on the slip paper 13, but as shown in FIG. The printing position may be designated by the number of digits, and a barcode string 50 in which data corresponding to the number of digits is converted into a barcode may be provided in parallel with the barcode string 40. By doing this, although two barcode league heads are required, the printing format can be set more freely. In this case, by using a high-density barcode that can express a two-character code in one feed, the barcode row can be made into one row, and an increase in the number of barcode reader heads can be avoided.

また、前記実施例ではバーコード列を搬送方向Xに対し
て平行に設けた場合を示したが、伝票用紙の搬送方向先
端部近傍に搬送方向Xに対して直交する方向Yに当該バ
ーコード列を印刷し、印字ヘッド14と同一方向に走査
するバーコードリーグヘッドによって印刷動作開始前に
このバーコード列を読取り、その読取った順に印刷処理
するようにしても同様な効果を奏し得る。ただし、この
場合においては読取ったバーコード列の情報を記憶して
おくためのメモリが必要となる上、バーコードリーグヘ
ッドの構成が複雑化する。
Further, in the above embodiment, the case where the barcode row is provided parallel to the transport direction The same effect can be obtained by printing a barcode string, reading this barcode string before starting the printing operation using a barcode league head that scans in the same direction as the print head 14, and printing the barcode string in the order in which it is read. However, in this case, a memory is required to store information on the read barcode string, and the configuration of the barcode league head becomes complicated.

このほか、伝票種類指定操作、バーコードデコーダ回路
の構成等、本発明の要旨を逸脱しない範囲で種々変形実
施可能であるのは勿論である。
In addition, it goes without saying that various modifications can be made to the slip type designation operation, the configuration of the barcode decoder circuit, etc. without departing from the gist of the present invention.

[発明の効果] 以上詳述したように、本発明によれば、各種伝票の印字
フォーマットに対応するプログラムを管理することなく
印字フォーマットの異なる各種伝票を印刷処理でき、印
字フォーマットの変更を容易に行なうことができる伝票
印刷装置を提供できる。
[Effects of the Invention] As detailed above, according to the present invention, it is possible to print various types of vouchers with different printing formats without managing programs corresponding to the printing formats of various vouchers, and it is possible to easily change the printing format. It is possible to provide a slip printing device that can perform the following operations.

そして、請求項2によれば、バーコード読取り装置を伝
票挿入口近傍に固定しておけばよいので、構造が複雑化
するおそれのない伝票印刷装置を提供できる。
According to the second aspect, since the barcode reading device can be fixed near the slip insertion slot, it is possible to provide a slip printing device that does not have a complicated structure.

また、請求項3によれば、伝票種類指定操作によって指
定された種類とは異なる伝票用紙が挿入された場合に伝
票印刷動作を禁止できる伝票印刷装置を提供できる。
Further, according to claim 3, it is possible to provide a slip printing device that can prohibit the slip printing operation when a slip sheet different from the type specified by the slip type designation operation is inserted.

さらに、請求項4によれば、バーコード読取り装置の出
力によって用紙の有無を判定できるので用紙センサの省
略が可能な伝票印刷装置を提供できる。
Furthermore, according to claim 4, since the presence or absence of paper can be determined based on the output of the barcode reading device, it is possible to provide a slip printing device in which a paper sensor can be omitted.

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

第1図ないし第7図は本発明の一実施例を示す図であっ
て、第1図は全体構成を示す斜視図、第2図は電子式キ
ャッシュレジスタのブロック構成図、第3図はバーコー
ド読取り装置の回路構成図、第4図および第5図はバー
コード読取り装置の動作を示す波形図、第6図は伝票の
一例を示す図、第7図は本実施例の動作を示す流れ図、
第8図は本発明に関わる伝票の変形例を示す図である。 1・・・電子式キャッシュレジスタ、2・・・スリップ
プリンタ、13・・・伝票用紙、14・・・印字ヘッド
、15・・・バーコードリーグヘッド、20・・・CP
U。 29・・・バーコードデコーダ回路。 出願人代理人 弁理士 鈴江武彦 第2図 第3yJ W&4図 第5図 第 図
1 to 7 are diagrams showing one embodiment of the present invention, in which FIG. 1 is a perspective view showing the overall configuration, FIG. 2 is a block diagram of an electronic cash register, and FIG. 3 is a bar diagram. A circuit configuration diagram of the code reading device, FIGS. 4 and 5 are waveform diagrams showing the operation of the barcode reading device, FIG. 6 is a diagram showing an example of a slip, and FIG. 7 is a flowchart showing the operation of this embodiment. ,
FIG. 8 is a diagram showing a modified example of a slip related to the present invention. 1... Electronic cash register, 2... Slip printer, 13... Slip paper, 14... Print head, 15... Barcode league head, 20... CP
U. 29...Barcode decoder circuit. Applicant's Representative Patent Attorney Takehiko Suzue Figure 2 Figure 3 yJ W&4 Figure 5 Figure

Claims (4)

【特許請求の範囲】[Claims] (1)伝票種類指定操作により指定された伝票種類に応
じて伝票データの編集を行ない、伝票挿入口に挿入され
た伝票用紙を搬送しながら上記伝票種類に対応する印字
フォーマットで上記伝票データの印刷を行なう伝票印刷
装置において、前記伝票挿入口近傍に配置され、前記印
字フォーマットに対応するバーコード列が印刷された伝
票用紙からバーコードを読取るバーコード読取り手段と
、この読取り手段により読取られたバーコードから印刷
項目を認識する印刷項目認識手段と、この認識手段によ
り認識された印刷項目に対応する伝票データを当該バー
コード列の印刷された伝票用紙に印刷する伝票印刷制御
手段とを具備したことを特徴とする伝票印刷装置。
(1) Edit the slip data according to the slip type specified by the slip type specification operation, and print the slip data in the print format corresponding to the slip type while conveying the slip paper inserted into the slip insertion slot. A slip printing device that performs the above-mentioned printing includes: a barcode reading means disposed near the slip insertion slot for reading a barcode from a slip sheet on which a barcode string corresponding to the printing format is printed; and a barcode reading means read by the reading means. A printing item recognition means for recognizing a printing item from a code, and a slip printing control means for printing slip data corresponding to the printing item recognized by the recognition means on slip paper on which the barcode string is printed. A slip printing device characterized by:
(2)伝票用紙は、一側部近傍に印字フォーマットに対
応するバーコード列を搬送方向に対して平行に1フィー
ド単位で印刷し、バーコード読取り装置は、伝票挿入口
近傍における上記伝票用紙のバーコード読取り可能な位
置に固定して、伝票用紙のフィード毎にバーコードを順
次読取ることを特徴とする請求項1記載の伝票印刷装置
(2) A barcode row corresponding to the printing format is printed near one side of the slip paper in parallel to the conveyance direction in units of one feed, and the barcode reading device prints a barcode row corresponding to the printing format near one side of the slip paper, and the barcode reading device prints the barcode row corresponding to the printing format near one side of the slip paper in parallel with the conveyance direction. 2. The slip printing device according to claim 1, wherein the slip printing device is fixed at a position where the barcode can be read and sequentially reads the barcode each time the slip paper is fed.
(3)伝票用紙は、バーコード列の先頭に伝票種類に応
じたバーコードを印刷し、バーコード読取り装置により
読取られた先頭バーコードから伝票種類を認識する伝票
種類認識手段と、この手段により認識された伝票種類と
伝票種類指定操作により指定された伝票種類とを比較照
合し不一致のとき印刷動作を禁止する手段とを設けたこ
とを特徴とする請求項1記載の伝票印刷装置。
(3) The slip paper includes a slip type recognition means that prints a barcode according to the slip type at the beginning of the barcode column and recognizes the slip type from the first barcode read by the barcode reader; 2. The slip printing apparatus according to claim 1, further comprising means for comparing and collating the recognized slip type with the slip type designated by the slip type designation operation and prohibiting the printing operation when there is a mismatch.
(4)バーコード読取り装置の出力に基いて伝票挿入口
に伝票用紙が挿入されていることを検知する用紙検知手
段を設けたことを特徴とする請求項1記載の伝票印刷装
置。
(4) The slip printing apparatus according to claim 1, further comprising a paper detecting means for detecting that a slip paper is inserted into the slip insertion slot based on the output of the barcode reading device.
JP63176727A 1988-07-15 1988-07-15 Slip printing device Pending JPH0227498A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63176727A JPH0227498A (en) 1988-07-15 1988-07-15 Slip printing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63176727A JPH0227498A (en) 1988-07-15 1988-07-15 Slip printing device

Publications (1)

Publication Number Publication Date
JPH0227498A true JPH0227498A (en) 1990-01-30

Family

ID=16018725

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63176727A Pending JPH0227498A (en) 1988-07-15 1988-07-15 Slip printing device

Country Status (1)

Country Link
JP (1) JPH0227498A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0762894A (en) * 1993-08-25 1995-03-07 Mitsubishi Chem Corp Panel work method and offset absorption shape material used therein
JPH07269131A (en) * 1994-03-29 1995-10-17 Biruken:Kk Panel fitting method to structure plane of building and fitting panel therefor
JP2007177507A (en) * 2005-12-28 2007-07-12 Sanwa Shutter Corp Sudden fall stop device for overhead door
JP2007218031A (en) * 2006-02-20 2007-08-30 Bunka Shutter Co Ltd Opening/closing device with closing preventive device

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0762894A (en) * 1993-08-25 1995-03-07 Mitsubishi Chem Corp Panel work method and offset absorption shape material used therein
JPH07269131A (en) * 1994-03-29 1995-10-17 Biruken:Kk Panel fitting method to structure plane of building and fitting panel therefor
JP2007177507A (en) * 2005-12-28 2007-07-12 Sanwa Shutter Corp Sudden fall stop device for overhead door
JP2007218031A (en) * 2006-02-20 2007-08-30 Bunka Shutter Co Ltd Opening/closing device with closing preventive device

Similar Documents

Publication Publication Date Title
JPH0227498A (en) Slip printing device
JP2006338573A (en) Printer, payment processing system and age verification processing method
JP2719988B2 (en) Information processing device
JPH04347793A (en) Electronic cash register
JP3193461B2 (en) Ticketing system
JP2001134708A (en) Bar code reader and substitutive storage job processing system provided with the same
JP7410602B2 (en) system
JP2005085123A (en) Slip-processing system and slip-processing method
JP2002203279A (en) Sales managing system
JP3081438B2 (en) Product sales registration data processing device
JPS62156791A (en) Air ticket printer
JP2005250566A (en) Merchandise sales data processing apparatus
JPH06251255A (en) Commodity sale registration data processor
JPH05324959A (en) Ticket reader
JPH0589310A (en) Ticket issuing device
JPH03127197A (en) Pos system
JP2783234B2 (en) Barcode reader
JPS6243798A (en) Goods selling data processor
JP2853155B2 (en) Slip issuing device
JPS6324488A (en) Electronic type cash register
JPH0877271A (en) Automatic transaction device
JPH01144186A (en) Goods sale register
JP2002011904A (en) Slip issuing system
JPH02297665A (en) Slip issuing device
JPH01141773A (en) Printer