JPH06143749A - Slip printer having date printing function - Google Patents

Slip printer having date printing function

Info

Publication number
JPH06143749A
JPH06143749A JP14190592A JP14190592A JPH06143749A JP H06143749 A JPH06143749 A JP H06143749A JP 14190592 A JP14190592 A JP 14190592A JP 14190592 A JP14190592 A JP 14190592A JP H06143749 A JPH06143749 A JP H06143749A
Authority
JP
Japan
Prior art keywords
date
data
mode
printing
card
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.)
Granted
Application number
JP14190592A
Other languages
Japanese (ja)
Other versions
JP2791987B2 (en
Inventor
Michio Hisatake
通夫 久武
Shinichi Fuchigami
伸一 渕上
Nagahiro Kodama
長大 小玉
Toshiaki Yamaguchi
俊明 山口
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.)
Data Card Japan Ltd
Janome Corp
Janome Credia Co Ltd
Original Assignee
Janome Sewing Machine Co Ltd
Data Card Japan Ltd
Janome Credia 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 Janome Sewing Machine Co Ltd, Data Card Japan Ltd, Janome Credia Co Ltd filed Critical Janome Sewing Machine Co Ltd
Priority to JP4141905A priority Critical patent/JP2791987B2/en
Publication of JPH06143749A publication Critical patent/JPH06143749A/en
Application granted granted Critical
Publication of JP2791987B2 publication Critical patent/JP2791987B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)
  • Record Information Processing For Printing (AREA)
  • Printers Characterized By Their Purpose (AREA)

Abstract

PURPOSE:To easily print an issuance date or an appointment date on a slip to enhance the operability by a method wherein when printing is started with selection of one of an issuance date printing mode and an appointment date printing mode, specified printing data can be printed on a slip with an issuance date or an appointment date added. CONSTITUTION:In the application to a slip printer used in a hospital and the like, keys for stop, doctor, comment, and slip are arranged on the front surface of a top cover, and a liquid crystal display is incorporated in the upper stage. An issuance date printing presence mode or an appointment date printing mode can be selected by a date mode selection means 61 made of the stop key. The selected mode is stored in a storage means 63. When the appointment date printing mode is selected, the appointment date selected by an appointment date selection means 62 is stored in a storage means 66. When a slip is inserted to a printing mechanism, printing is started by a printing start means 67. Data outputted from a printing control means 68 for combining appointment date data with data from a card data recording means 59 is printed on the slip.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】この発明は日付印字機能を有する
伝票プリンタに関し、特に、伝票の発行日または診察予
約日等を伝票に印字することができるようにした伝票プ
リンタに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a voucher printer having a date printing function, and more particularly to a voucher printer capable of printing a voucher issuance date or a medical appointment date.

【0002】[0002]

【従来の技術】病院によっては、患者が診察を終えた
後、図16に示されているような伝票を患者に手渡す所
がある。この伝票は、図示されているように、伝票タイ
トル、患者カードデータ、予約データ、コメントデータ
等からなり、伝票タイトル、コメントデータ、患者カー
ドデータ中の「氏名」、「殿」、予約データ中の「予約
日」、「月日」、「曜日」の文字は伝票に印刷済みであ
り、患者カードを読込むことにより、患者のID番号、
名前、生年月日、性別をプリンタで印字していた。ま
た、予約日、曜日については、事務員がボールペン等で
記入していた。
2. Description of the Related Art In some hospitals, a voucher as shown in FIG. 16 is handed to a patient after the patient finishes the examination. As shown in the figure, this voucher is composed of a voucher title, patient card data, reservation data, comment data, etc., and the voucher title, comment data, “name” in the patient card data, “customer”, and reservation data The characters "reservation date", "month day", and "day of the week" have been printed on the slip, and by reading the patient card, the patient ID number,
I printed my name, date of birth, and gender on a printer. In addition, the clerk entered the reservation date and the day of the week with a ballpoint pen.

【0003】また、他の従来例としては、病院に勤務し
ている医師の一人々々の磁気カード(以下、医師カード
と呼ぶ)と、互いに異なるコメントを記憶している複数
枚の磁気カード(以下、コメントカードと呼ぶ)とを用
意しておき、患者に伝票を発行する際に、患者カード、
担当医の医師カードおよび患者に適合するコメントカー
ドを選択し、カードリーダからカードデータを読込み、
読込んだデータを予め用意されているフォーマットの伝
票に印字することにより、図16のような伝票を発行し
ていた。なお、この例の場合には、担当医のデータが、
図16の伝票に追加され、コメントデータがその都度印
字されることになる。
Further, as another conventional example, a magnetic card (hereinafter, referred to as a doctor card) of each doctor working at a hospital and a plurality of magnetic cards storing different comments ( (Hereinafter referred to as a comment card) and prepare a patient card when issuing a slip to a patient.
Select the doctor card of the doctor in charge and the comment card that matches the patient, read the card data from the card reader,
By printing the read data on a slip of a prepared format, a slip as shown in FIG. 16 is issued. In this example, the data of the doctor in charge is
The comment data is added to the slip in FIG. 16 and is printed each time.

【0004】また、スイミングスクール等の学校におい
ても、生徒用のカードと、指導教官用のカードと、コメ
ントカードとを用意し、例えば泳力のランクが上がった
時とか、月謝を収める時期が近付いた時等に、図16に
示されているような形式の伝票が、生徒に発行されてい
た。
In schools such as swimming schools, cards for students, cards for teaching professors, and comment cards are prepared, and when the rank of swimming power goes up, the time to get a monthly fee is approaching. At some point, a slip of the format shown in FIG. 16 was issued to the student.

【0005】[0005]

【発明が解決しようとする課題】前記伝票プリンタで
は、伝票の発行日あるいは次回の診察の予約日等を、伝
票に印字装置によって印字する点の配慮がされていず、
これらを記入する必要がある時は、操作員がペン等によ
り記入しなければならないという問題があった。また、
このため、場合によっては、伝票の発行日あるいは予約
日等が見辛くなるという問題があった。
In the above-mentioned voucher printer, consideration is not given to printing the voucher issuance date or the next medical appointment date on the voucher by a printing device.
When it was necessary to fill in these, there was a problem that the operator had to fill in with a pen or the like. Also,
Therefore, in some cases, the issue date of the slip or the reservation date is difficult to see.

【0006】この発明の目的は、前記した従来装置の問
題点に鑑み、印字装置によって直接伝票に、伝票の発行
日あるいは予約日等を印字することができる伝票プリン
タを提供することにある。
An object of the present invention is to provide a voucher printer capable of directly printing the voucher issuance date, reservation date, etc. on a voucher by a printing device in view of the problems of the conventional device.

【0007】[0007]

【課題を解決するための手段】前記目的を達成するため
に、請求項1の発明は、日付モードを選択する日付モー
ド選択手段と、前記日付モード選択手段によって選択さ
れた発行日印字モードおよび予約日印字モードのいずれ
かを記憶する日付モードデータ記憶手段と、前記予約日
印字モード時に所望の予約日を選択する予約日選択手段
と、現時点の時刻データ中の年月日データを基準にし
て、前記予約日選択手段によって更新選択された予約日
を記憶する予約日データ記憶手段と、日付モードおよび
予約日を前記日付モード選択手段および予約日選択手段
の操作に対応して表示する日付モード/予約日表示手段
と、発行日印字モード時には発行日を付して印字し、予
約日印字モード時には予約日を付して印字する印字制御
手段とを具備した点に特徴がある。
In order to achieve the above object, the invention of claim 1 is a date mode selecting means for selecting a date mode, an issue date printing mode selected by the date mode selecting means, and a reservation. Based on the date mode data storage means for storing any of the date print modes, the reserved date selection means for selecting a desired reserved date in the reserved date print mode, and the date data in the current time data as a reference, Reservation date data storage means for storing the reservation date updated and selected by the reservation date selection means, and date mode / reservation for displaying the date mode and the reservation date in correspondence with the operation of the date mode selection means and the reservation date selection means. A point provided with a date display means and a print control means for printing with an issue date in the issue date print mode and printing with a reserve date in the reserve date print mode There is a feature.

【0008】[0008]

【作用】請求項1の発明によれば、発行日印字モードお
よび予約日印字モードのいずれかを選択し、印字を開始
すると、伝票に所定のデータに発行日または予約日を付
して印字することができる。
According to the first aspect of the present invention, when either the issue date print mode or the reserved date print mode is selected and printing is started, predetermined data is printed with the issue date or the reservation date attached. be able to.

【0009】[0009]

【実施例】以下に、図面を参照して、本発明を詳細に説
明する。図2は本発明の伝票プリンタの一実施例の外観
斜視図を示す。なお、以下では、病院で使用する伝票プ
リンタを例にして説明するが、本発明はこれに限定され
るものではない。
DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention will be described in detail below with reference to the drawings. FIG. 2 is an external perspective view of an embodiment of the slip printer of the present invention. It should be noted that, in the following, a slip printer used in a hospital will be described as an example, but the present invention is not limited to this.

【0010】図において、1はトップカバーであり、内
部に配置されている機構部を覆っている。該トップカバ
ー1の前面には、ストップ、医師、コメント、伝票の各
キー11が配置され、その上段に、入力されているデー
タの一部、あるいは使用者に対してメッセージ等を表示
する液晶表示装置12が組付けられている。
In the figure, reference numeral 1 denotes a top cover, which covers a mechanism portion arranged inside. Stop, doctor, comment, and slip keys 11 are arranged on the front surface of the top cover 1, and a liquid crystal display for displaying a part of the input data or a message to the user is provided on the upper part thereof. The device 12 is assembled.

【0011】2はインクリボン(図示せず)を交換した
り、ジャムが発生した時等に開けられるフロントカバー
であり、凹部3に指をかけることにより、これを開ける
ことができる。
Reference numeral 2 denotes a front cover which can be opened when an ink ribbon (not shown) is replaced or when a jam occurs, and can be opened by putting a finger on the recess 3.

【0012】4はデータを記憶した磁気カードを通し、
データを読込むためのカード挿入孔であり、その後方に
は、磁気カードの挿入方向を決めやすくするための案内
突起5が設けられている。6は前記液晶表示装置12の
後方に設けられたカードポケットであり、複数枚の医師
カード、コメントカード等のカード13を保管するため
に使用される。
4 is a magnetic card storing data,
A card insertion hole for reading data, and a guide protrusion 5 is provided behind the card insertion hole to facilitate determination of the insertion direction of the magnetic card. A card pocket 6 is provided at the rear of the liquid crystal display device 12, and is used for storing a plurality of cards 13 such as doctor cards and comment cards.

【0013】7は印字台であり、印字する時に、印字部
が空欄の伝票がその上に乗せられる。8は伝票の左右方
向の位置決め用ガイドである。
Reference numeral 7 denotes a printing table on which a slip having a blank print portion is placed when printing. Reference numeral 8 is a guide for laterally positioning the slip.

【0014】次に、図3を参照して、前記フロントカバ
ー2の内部に配置された伝票送り機構について説明す
る。図において、20は紙送りモータ、21、22はギ
ャ、23は前記ギャ21、22を介して動力が伝達され
る第1のローラである。24は第2のローラであり、図
示されていないばねにより、下方向に付勢されている。
25は印字ヘッドであり、X方向に移動して、図示され
ていないインクリボンにより、挿入された伝票用紙に印
字する。26は印字台ストッパである。この印字台スト
ッパ26と前記印字ヘッド25との距離は、伝票のトッ
プマージンの最大値と、最大印字行数を加味して決めら
れている。
Next, with reference to FIG. 3, the slip feeding mechanism arranged inside the front cover 2 will be described. In the figure, 20 is a paper feed motor, 21 and 22 are gears, and 23 is a first roller to which power is transmitted via the gears 21 and 22. A second roller 24 is urged downward by a spring (not shown).
Reference numeral 25 denotes a print head which moves in the X direction and prints on the inserted slip paper by an ink ribbon (not shown). Reference numeral 26 is a print stand stopper. The distance between the print stand stopper 26 and the print head 25 is determined in consideration of the maximum value of the top margin of the slip and the maximum number of print lines.

【0015】また、27、28は印字台7上を搬送され
る伝票を検知する第1、第2の紙検出センサである。本
実施例では、前記第1の紙検出センサ27として、アク
チュエータ型フォトセンサが使用され、第2の紙検出セ
ンサ28として、反射型フォトセンサが使用されてい
る。なお、前記以外の符号は、図2と同一又は同等物を
示す。
Further, 27 and 28 are first and second paper detection sensors for detecting a slip conveyed on the printing table 7. In this embodiment, an actuator type photo sensor is used as the first paper detection sensor 27, and a reflection type photo sensor is used as the second paper detection sensor 28. The reference numerals other than the above indicate the same or equivalent parts as in FIG.

【0016】図3において、印字台7に伝票用紙が乗せ
られて奥の方へ挿入され、その先端が第1の紙検出セン
サ27により検出されると、該検出信号により、前記紙
送りモータ20が起動される。そうすると、紙送りモー
タ20の動力はギャ21、22を介して、第1のローラ
23に伝えられる。
In FIG. 3, when a slip sheet is placed on the printing table 7 and is inserted in the back and the leading edge of the slip sheet is detected by the first sheet detection sensor 27, the sheet feed motor 20 is detected by the detection signal. Is started. Then, the power of the paper feed motor 20 is transmitted to the first roller 23 via the gears 21 and 22.

【0017】前記伝票用紙が第1と第2のローラ23、
24の間に入るようにさらに挿入されると、伝票用紙は
第1のローラ23の回転により奥の方(図のY方向)へ
送られる。伝票用紙は、印字ヘッド25の下を通過した
後、第2の紙検出センサ28で先端が検出され、印字ヘ
ッド25と伝票用紙の位置決めがなされる。その後、所
定のトップマージン分さらに紙送りされた後、印字ヘッ
ド25は印字中心25aを中心として、第1行の印字を
開始する。ここに、前記トップマージンとは、図14
(a) に示されているように、伝票の最初の非印字部分で
あり、通常は伝票のタイトルが予め印刷されている箇所
である。なお、図14(a) の説明は後で行う。
The slip sheet is composed of first and second rollers 23,
When the slip paper is further inserted so as to be inserted between 24, the slip paper is sent to the inner side (Y direction in the drawing) by the rotation of the first roller 23. After the slip sheet passes under the print head 25, the leading edge of the slip sheet is detected by the second sheet detection sensor 28, and the print head 25 and the slip sheet are positioned. Then, after the paper is further fed by a predetermined top margin, the print head 25 starts printing the first line around the print center 25a. Here, the top margin is as shown in FIG.
As shown in (a), it is the first non-printed part of the slip and is usually the part where the title of the slip is printed in advance. The description of FIG. 14A will be given later.

【0018】以上のようにして、1行々々印字が進めら
れ、必要な印字が全て終了すると、前記紙送りモータ2
0は逆回転する。これにより、第1のローラ23も逆回
転し、伝票は伝票送り機構から自動的に排出される。
As described above, the printing is advanced line by line, and when all necessary printing is completed, the paper feed motor 2
0 rotates in the reverse direction. As a result, the first roller 23 also rotates in the reverse direction, and the slip is automatically ejected from the slip feeding mechanism.

【0019】次に、本実施例の伝票プリンタのハード構
成を、図4のブロック図を参照して説明する。
Next, the hardware configuration of the slip printer of this embodiment will be described with reference to the block diagram of FIG.

【0020】図4において、31はCPU、32は本伝
票プリンタの制御プログラムや制御データが格納された
ROM、33はカードから読込まれたデータ等を電源が
オフされるまで保持したり、データ編集等のワークエリ
アを提供するRAMである。また、34は書込みが可能
なEEPROMである。このEEPROM34には、各
種のパラメータが格納され、このパラメータは電源オフ
後も記憶保持される。
In FIG. 4, 31 is a CPU, 32 is a ROM in which the control program and control data of this slip printer are stored, 33 is a memory for holding the data read from the card, etc. until the power is turned off, and data editing. It is a RAM that provides a work area such as. Further, 34 is a writable EEPROM. Various parameters are stored in the EEPROM 34, and these parameters are stored and held even after the power is turned off.

【0021】35は漢字変換ROMである。この漢字変
換ROM35には、JIS第1、第2水準漢字、非漢字
のフォントデータが記憶されている。36は磁気カード
に記録されているデータを読込むカードリーダである。
カードリーダ36は、カードロード信号(CLD)によ
りカードの挿入/離脱の判別ができ、リードクロック信
号(RCL)のタイミングで、リードデータ信号(RD
T)が読込まれる。37は時計ICであり、伝票発行年
月日時分のデータを提供する。この時計IC37は、大
容量のコンデンサによりバックアップされており、電源
切断後も、数日間であれば、動作を継続する。
Reference numeral 35 is a Kanji conversion ROM. The Kanji conversion ROM 35 stores font data of JIS first, second level Kanji and non-Kanji. A card reader 36 reads data recorded on a magnetic card.
The card reader 36 can determine the insertion / removal of the card by the card load signal (CLD), and the read data signal (RD) at the timing of the read clock signal (RCL).
T) is read. Reference numeral 37 is a clock IC, which provides data for the date and time when the slip is issued. The timepiece IC 37 is backed up by a large-capacity capacitor, and continues to operate for several days even after the power is turned off.

【0022】また、38は第1の入出力装置(I/O)
であり、該第1の入出力装置38には、前記キー11
と、第1、第2の紙検出センサ27、28が接続されて
いる。39は第2の入出力装置(I/O)であり、これ
には、前記液晶表示装置12とブサー40が接続されて
いる。
Numeral 38 is a first input / output device (I / O)
In the first input / output device 38, the key 11
And the first and second paper detection sensors 27 and 28 are connected. Reference numeral 39 denotes a second input / output device (I / O) to which the liquid crystal display device 12 and the buser 40 are connected.

【0023】さらに、41は第3の入出力装置(I/
O)であり、これには、Y方向(図3参照)モータ、す
なわち紙送りモータ20のドライバ42が接続されてい
る。また、43は第4の入出力装置(I/O)であり、
これには、X方向(図3参照)モータ、すなわちヘッド
移動モータ45のドライバ44が接続されている。ま
た、ソレノイドドライバ48を介して、印字ヘッドを構
成するソレノイド49に制御信号を提供する。46はヘ
ッドの初期位置を検出するホームポジションセンサ(HP
SENS)であり、47は前記ソレノイドの動作タイミング
を取るためのドットパルスセンサ(DP SENS) である。ま
た、50はデータバスラインである。
Further, 41 is a third input / output device (I /
O), which is connected to the Y-direction (see FIG. 3) motor, that is, the driver 42 of the paper feed motor 20. 43 is a fourth input / output device (I / O),
The driver 44 of the X-direction (see FIG. 3) motor, that is, the head moving motor 45 is connected to this. In addition, a control signal is provided to a solenoid 49 forming the print head via the solenoid driver 48. 46 is a home position sensor (HP
SENS), and 47 is a dot pulse sensor (DP SENS) for determining the operation timing of the solenoid. Further, 50 is a data bus line.

【0024】なお、前記ヘッド移動モータ45、ホーム
ポジションセンサ46、ドットパルスセンサ47および
ソレノイド49はプリンタユニットを構成している。
The head moving motor 45, the home position sensor 46, the dot pulse sensor 47, and the solenoid 49 constitute a printer unit.

【0025】次に、前記カードリーダ36によって読込
まれる患者カード、医師カードおよびコメントカードの
構成の概要を、図5、図6および図7を参照して説明す
る。
Next, the outline of the configuration of the patient card, doctor card and comment card read by the card reader 36 will be described with reference to FIGS. 5, 6 and 7.

【0026】患者カードは、図5に示されているよう
に、カード判別情報(ID)、患者コード、氏名(片仮
名)、氏名(漢字)、生年月日、性別およびパリティチ
ェックの情報を有している。
As shown in FIG. 5, the patient card has card discrimination information (ID), patient code, name (Katakana), name (Kanji), date of birth, sex, and parity check information. ing.

【0027】また、医師カードは、図6に示されている
ように、カード判別情報(DR)、氏名(片仮名)、医
師コード、氏名(漢字)、所属およびパリティチェック
の情報を有している。
Further, as shown in FIG. 6, the doctor card has card discrimination information (DR), name (Katakana), doctor code, name (Kanji), affiliation and parity check information. .

【0028】さらに、コメントカードは、図7(a) に示
されているように、カード判別情報(CT)、第1行コ
メント情報、第2行コメント情報、第3行コメント情
報、およびパリティチェックの情報から構成されてい
る。図7(b) は、前記第1〜3行コメント情報の一具体
例を示す。
Further, as shown in FIG. 7A, the comment card has card discrimination information (CT), first line comment information, second line comment information, third line comment information, and parity check. It is composed of information. FIG. 7B shows a specific example of the comment information on the first to third lines.

【0029】次に、前記RAM33に設定される記憶領
域について、図8、図9を参照して説明する。なお、図
9は図8に続く図を示している。
Next, the storage area set in the RAM 33 will be described with reference to FIGS. 8 and 9. Note that FIG. 9 shows a diagram subsequent to FIG.

【0030】CD格納ポインタは、後述するリードクロ
ック信号(RCL)による割込み時に、磁気カードデー
タを記憶するために使用されるポインタである。カード
データバッファは、前記リードクロック信号(RCL)
と同期して読み出された磁気カードデータを、1アドレ
スに対し、1ビット記憶するメモリエリアである。この
カードデータバッファには、カードの種別に関係なく、
読込まれたデータが一時格納されることになる。
The CD storage pointer is a pointer used for storing magnetic card data at the time of interruption by a read clock signal (RCL) described later. The card data buffer uses the read clock signal (RCL).
This is a memory area for storing the magnetic card data read in synchronization with 1 bit for 1 address. In this card data buffer, regardless of the type of card,
The read data will be temporarily stored.

【0031】次のIDカードデータは、患者カードのデ
ータを記憶するメモリエリアである。 次に、DR格納
ポインタ、DR読み出しポインタ、#1DRカードデー
タ、#2DRカードデータ、……、#5DRカードデー
タが設けられている。DR格納ポインタは、医師カード
データの格納位置、すなわち#1〜#5DRカードデー
タのいずれかを示すポインタである。DR読み出しポイ
ンタは、医師カードデータの読み出し位置、すなわち#
1〜#5DRカードデータのいずれかを示すポインタで
ある。#1DRカードデータは、医師カード#1のデー
タが格納されるメモリエリアである。#2〜#5DRカ
ードデータは、医師カード#2〜#5のデータが格納さ
れるメモリエリアである。
The next ID card data is a memory area for storing the data of the patient card. Next, a DR storage pointer, a DR read pointer, # 1DR card data, # 2DR card data, ..., # 5DR card data are provided. The DR storage pointer is a pointer indicating a storage position of doctor card data, that is, any of # 1 to # 5 DR card data. The DR read pointer is a read position of the doctor card data, that is, #
It is a pointer indicating any of 1 to # 5 DR card data. The # 1DR card data is a memory area in which the data of the doctor card # 1 is stored. The # 2 to # 5 DR card data is a memory area in which the data of the doctor cards # 2 to # 5 is stored.

【0032】なお、医師キーを押して、DR読み出しポ
インタを0にすると、液晶表示装置12に[クウハク]
と表示される。そして、この状態で印字すると、医師名
は印字されず、空白となる。
It should be noted that when the doctor key is pressed and the DR read pointer is set to 0, the liquid crystal display device 12 displays [chuckling].
Is displayed. Then, when printing is performed in this state, the doctor name is not printed and is blank.

【0033】次に、CT格納ポインタ、CT読み出しポ
インタ、#1CTカードデータ、#2CTカードデー
タ、……、#5CTカードデータが設けられている。C
T格納ポインタは、コメントカードデータの格納位置、
すなわち#1〜#5CTカードデータのいずれかを示す
ポインタである。CT読み出しポインタは、コメントカ
ードデータの読み出し位置、すなわち#1〜#5CTカ
ードデータのいずれかを示すポインタである。#1〜#
5CTカードデータは、コメントカード#1〜#5のデ
ータが格納されるメモリエリアである。
Next, a CT storage pointer, a CT read pointer, # 1 CT card data, # 2 CT card data, ..., # 5 CT card data are provided. C
The T storage pointer is a storage position of the comment card data,
That is, it is a pointer indicating any of # 1 to # 5 CT card data. The CT read pointer is a pointer indicating the read position of the comment card data, that is, any of # 1 to # 5 CT card data. # 1 to #
The 5CT card data is a memory area in which the data of the comment cards # 1 to # 5 are stored.

【0034】なお、コメントキーを押して、CT読み出
しポインタを0にすると、液晶表示装置12に[クウハ
ク]と表示される。そして、この状態で印字すると、コ
メントは印字されず、空白となる。
When the CT key is set to 0 by pressing the comment key, the LCD display device 12 displays [Quhaku]. When printing is performed in this state, the comment is not printed and is blank.

【0035】なお、本実施例では、DRカードデータお
よびCTカードデータの格納領域を5個設け、5枚のカ
ードデータを記憶できるようにしたが、本発明はこれに
限定されず、6個以上のカードデータ格納領域を設け、
6枚以上のカードデータを記憶できるようにしてもよ
い。
In this embodiment, five storage areas for DR card data and CT card data are provided so that five pieces of card data can be stored, but the present invention is not limited to this, and six or more storage areas are provided. The card data storage area of
It may be possible to store data of six or more cards.

【0036】次に、時刻関連データを構成する日付モー
ドデータ、時刻データおよび予約日データが設けられて
いる。
Next, date mode data, time data, and reservation date data, which constitute time-related data, are provided.

【0037】日付モードデータは、発行日印字ありの時
「1」、予約日印字ありの時「2」、発行日印字なしの
時「0」となり、下記の時刻データ(発行日)を印字す
るか、予約日データを印字するか、何も印字しないかを
指定する。すなわち、該日付モードデータは、時刻デー
タおよび予約日データを指定するポインタである。前記
時刻データは、時計ICのデータを記憶するメモリエリ
アである。このメモリエリア内のデータは、前記時計I
C37のデータにより更新される。この時刻データは、
伝票の発行日を印字するために使用される。
The date mode data is "1" when the issue date is printed, "2" when the reserved date is printed, and "0" when the issue date is not printed, and the following time data (issue date) is printed. Specify whether to print the reservation date data or nothing. That is, the date mode data is a pointer that designates time data and reservation date data. The time data is a memory area that stores data of the clock IC. The data in this memory area corresponds to the clock I
Updated with C37 data. This time data is
Used to print the issue date of the voucher.

【0038】また、予約日データは、時刻データの中の
年月日データを基準にして、前記ストップキーが押され
る回数に応じて更新して記憶される。このデータは予約
印字のために使用される。
Further, the reservation date data is updated and stored according to the number of times the stop key is pressed with reference to the date data in the time data. This data is used for reserved printing.

【0039】次に、EX格納ポインタ、EX読み出しポ
インタおよび展開データがある。EX格納ポインタは、
文字列データを9ピンヘッドに出力する9個のドットデ
ータの記憶位置を指定するポインタである。EX読み出
しポインタは、1組のドットデータを印字ヘッドに出力
する時、読み出し位置を指定するポインタである。
Next, there are an EX storage pointer, an EX read pointer, and expanded data. The EX storage pointer is
It is a pointer for designating the storage positions of the 9 dot data for outputting the character string data to the 9-pin head. The EX read pointer is a pointer for designating a read position when outputting a set of dot data to the print head.

【0040】展開データは、前記第1の検出センサ27
がオンになった時点のIDカードデータと、DR読出し
ポインタの指すDRカードデータと、CT読出しポイン
タの指すCTカードデータと、日付モードデータの指す
時刻関連データとからなる文字列データを個々の文字の
印字フォントデータに変換したものである。
The expanded data is the first detection sensor 27.
Character string data consisting of ID card data at the time when is turned on, DR card data pointed to by the DR read pointer, CT card data pointed by the CT read pointer, and time related data pointed to by the date mode data. It is converted to the print font data of.

【0041】次に、図9に示されているように、PP格
納ポインタ、PP読み出しポインタおよび紙送りデータ
がある。PP格納ポインタは、改行毎の紙送りデータの
記憶位置を指定するポインタである。PP読み出しポイ
ンタは、改行時に、紙送りデータの読み出し位置を指定
するポインタである。紙送りデータは、カードデータ等
からドットデータを作成する時に作成される、改行量を
示すデータである。行間の改行量は4ドット、漢字の上
半分印字後、下半分を印字する時の改行量は1/2ドッ
トである。
Next, as shown in FIG. 9, there are PP storage pointers, PP read pointers, and paper feed data. The PP storage pointer is a pointer that specifies the storage position of the paper feed data for each line feed. The PP read pointer is a pointer that specifies the read position of the paper feed data at the time of line feed. The paper feed data is data indicating a line feed amount, which is created when dot data is created from card data or the like. The line feed amount between lines is 4 dots, and the line feed amount when printing the lower half after printing the upper half of Chinese characters is 1/2 dot.

【0042】次に、SP格納ポインタ、SP読み出しポ
インタおよび#1〜#5SPパラメータがある。SP格
納ポインタは、SPパラメータすなわち伝票パラメータ
(例えば、トップマージン、紙厚さ、文字配列等)の記
憶位置を指定するポインタである。SP読み出しポイン
タは、SPパラメータの読み出し位置、すなわち#1〜
#5SPパラメータのいずれかを示すポインタである。
このポインタは、前記伝票キーが押される毎に更新され
る。#1〜#5SPパラメータは、伝票パラメータ#1
〜#5のデータが格納されるメモリエリアである。その
他の記憶エリアは、ワーキングエリア、スタックエリア
等に使用される。
Next, there are SP storage pointer, SP read pointer and # 1 to # 5 SP parameters. The SP storage pointer is a pointer for designating the storage position of the SP parameter, that is, the slip parameter (for example, top margin, paper thickness, character arrangement, etc.). The SP read pointer is a SP parameter read position, that is, # 1 to # 1.
It is a pointer indicating one of the # 5SP parameters.
This pointer is updated every time the slip key is pressed. # 1 to # 5 SP parameters are slip parameters # 1
This is a memory area in which data of # 5 to # 5 are stored. The other storage areas are used as a working area, a stack area, and the like.

【0043】次に、前記のカードを読込むカードリーダ
36の読込み動作を、図10のフローチャートを参照し
て、詳細に説明する。
Next, the reading operation of the card reader 36 for reading the above card will be described in detail with reference to the flowchart of FIG.

【0044】同図(a) に示されているように、カードデ
ータの読込みはリードクロック信号(RCL)による割
込みで行われる。ステップS1では、カードが前記カー
ド挿入孔4に差込まれたか否かの判断が行われる。この
判断は、カードロード信号がハイかロウかで判断され
る。ハイであれば、差込まれていると判断し、ステップ
S2に進む。ステップS2では、リードクロック信号
(RCL)が立下がったか否かの判断をする。立下がっ
た時には、ステップS3に進み、割込み処理をする。
割込み処理は、同図(b) に示されているように、CD格
納ポインタ(図8参照)で指示されているカードデータ
バッファのアドレスに、カードデータの1ビットが書き
込まれる(ステップS301)。続いて、次のデータの
書込みのために、CD格納ポインタはインクリメントさ
れる(ステップS302)。以上の割込み処理により、
カードリーダ36で読込まれたデータは、一時的に、カ
ードデータバッファに格納されることになる。
As shown in FIG. 7A, reading of card data is performed by interruption by the read clock signal (RCL). In step S1, it is determined whether a card has been inserted into the card insertion hole 4. This judgment is made based on whether the card load signal is high or low. If it is high, it is determined that it is inserted, and the process proceeds to step S2. In step S2, it is determined whether or not the read clock signal (RCL) has fallen. When it has fallen, the process proceeds to step S3 and interrupt processing is performed.
In the interrupt processing, as shown in FIG. 8B, 1 bit of the card data is written in the address of the card data buffer designated by the CD storage pointer (see FIG. 8) (step S301). Then, the CD storage pointer is incremented for writing the next data (step S302). By the above interrupt processing,
The data read by the card reader 36 is temporarily stored in the card data buffer.

【0045】次に、本発明の伝票プリンタを用いて印字
を行う前の動作、すなわち、通常印字モード処理の動作
を、図11のフローチャートを参照して説明する。な
お、この動作は、伝票プリンタに電源が投入されている
時で、かつカード非挿入、非印字時に実行されるもので
ある。
Next, the operation before printing using the slip printer of the present invention, that is, the operation of the normal print mode process will be described with reference to the flowchart of FIG. It should be noted that this operation is executed when the slip printer is powered on and when the card is not inserted and the card is not printed.

【0046】ステップS11では、時計IC37より時
刻データを読み出し、RAM33の時刻データを更新す
る動作を行う。ステップS12では、カードリーダ3
6、キー11およびセンサ27の処理を行う。
In step S11, the time data is read from the clock IC 37 and the time data in the RAM 33 is updated. In step S12, the card reader 3
6, the key 11 and the sensor 27 are processed.

【0047】ステップS13では、カードがカードリー
ダ36から離脱したことが、カードロード信号がロウレ
ベルになることにより検出されると、前記カードデータ
バッファの内容が新たなカード挿入により書き替えられ
るのを防止するために、リードクロック信号による割込
みが禁止される。ステップS14では、読込まれたカー
ドデータのチェックが行われる。このチェックは、デー
タ列の先頭および終端に所定のデータ(DEL 機能キャラ
クタ)が存在するか、パリティは正しいかにより行われ
る。
In step S13, when it is detected that the card is removed from the card reader 36 by the low level of the card load signal, the contents of the card data buffer are prevented from being rewritten by inserting a new card. Therefore, the interrupt by the read clock signal is prohibited. In step S14, the read card data is checked. This check is made based on whether the specified data (DEL function character) exists at the beginning and end of the data string and whether the parity is correct.

【0048】前記チェックによりカードデータが正しい
と判断された時には、ステップS16に進む。一方、正
しくないと判定された時には、ステップS15に進み、
もう一度カードを挿入するように、前記液晶表示装置1
2にエラー表示が行われる。その後、ステップS21
(図12参照)に進む。
If it is determined by the above-mentioned check that the card data is correct, the process proceeds to step S16. On the other hand, when it is determined that it is not correct, the process proceeds to step S15,
The liquid crystal display device 1 so that the card can be inserted again.
An error is displayed on 2. Then, step S21
(See FIG. 12).

【0049】ステップS16では、予め定められている
カード種類判別データを調べる動作が行われる。この判
別は、各カードに予め登録されているカード判別情報に
より行われる。ステップS17では、カードデータバッ
ファの値が、アルファベット・数字・仮名(ANK)又
は漢字の文字列データに変換して、当該カードデータエ
リアに格納される。例えば、医師カードのデータであれ
ば、図8のDRカードデータ格納領域に格納される。
In step S16, an operation for checking predetermined card type discrimination data is performed. This determination is performed based on the card determination information registered in advance on each card. In step S17, the value of the card data buffer is converted into character string data of alphabets, numbers, kana (ANK) or kanji, and stored in the card data area. For example, doctor card data is stored in the DR card data storage area in FIG.

【0050】ステップS20では、上記のカードデータ
が液晶表示装置12に表示される。
In step S20, the above card data is displayed on the liquid crystal display device 12.

【0051】以上により、カードデータバッファからカ
ードに対応したカードデータ格納領域へのデータの転送
は終了したので、ステップS21に進んで、前記CD格
納ポインタを初期化する動作が実行される。続いてステ
ップS22に進んで、前記リードクロックRCLによる
割込みが許可され、前記ステップS11に戻る。
As described above, the transfer of the data from the card data buffer to the card data storage area corresponding to the card is completed. Therefore, the process proceeds to step S21, and the operation of initializing the CD storage pointer is executed. Then, the process proceeds to step S22, the interrupt by the read clock RCL is permitted, and the process returns to step S11.

【0052】次に、ステップS12において、医師キー
がオンにされたと判断されると、ステップS23に進
み、DR読出しポインタがインクリメントされ、次の位
置のDRカードデータが前記DRカードデータ格納領域
から読み出され、液晶表示装置12に表示される(ステ
ップS24)。これを繰返すことにより、所望の医師名
が選択される。
Next, when it is determined in step S12 that the doctor key has been turned on, the process proceeds to step S23, the DR read pointer is incremented, and the DR card data at the next position is read from the DR card data storage area. And is displayed on the liquid crystal display device 12 (step S24). By repeating this, a desired doctor name is selected.

【0053】次に、前記ステップS12において、コメ
ントキーがオンにされると、ステップS25に進み、C
T読出しポインタがインクリメントされ、次の位置のC
Tカードデータが前記CTカードデータ格納領域から読
み出され、液晶表示装置12に表示される(ステップS
26)。これを繰返すことにより、所望のコメントが選
択される。
Next, in step S12, when the comment key is turned on, the process proceeds to step S25 and C
The T read pointer is incremented and C at the next position
The T card data is read from the CT card data storage area and displayed on the liquid crystal display device 12 (step S
26). By repeating this, a desired comment is selected.

【0054】次に、ステップS12で前記第1の紙検出
センサ27がオンにされたと判断されると、印字制御に
動作が進む。なお、印字制御の詳細については、同一出
願人の特願平4−25986号「伝票パラメータ設定機
能を有する伝票プリンタ」に記されているので、説明を
省略する。
Next, when it is determined in step S12 that the first paper detection sensor 27 is turned on, the operation proceeds to print control. The details of the print control are described in Japanese Patent Application No. 4-25986 “Voucher printer having a voucher parameter setting function” of the same applicant, and thus the description thereof is omitted.

【0055】また、ステップS12で前記伝票キーがオ
ンにされると、ステップS29に進み、前記SP読出し
ポインタ(図9参照)を1だけインクリメントする。次
に、ステップS30に進んで、該SP読出しポインタが
指す伝票パラメータを液晶表示装置(LCD)12に表
示する。
When the chit key is turned on in step S12, the flow advances to step S29 to increment the SP read pointer (see FIG. 9) by one. Next, in step S30, the slip parameter pointed to by the SP read pointer is displayed on the liquid crystal display (LCD) 12.

【0056】伝票キーがオンされる毎に、前記SP読出
しポインタはインクリメントされ、予め設定された伝票
1〜5の伝票パラメータが順次表示される。そこで、オ
ペレータは、これから印字する伝票の種類に適合した伝
票パラメータを選択することができる。
Each time the slip key is turned on, the SP read pointer is incremented and the preset slip parameters for slips 1 to 5 are sequentially displayed. Therefore, the operator can select a slip parameter suitable for the type of slip to be printed.

【0057】次に、ステップS12において、ストップ
キーがオンにされると、ステップS51へ進み、印字中
であるか否かが判断される。この判断が肯定であれば、
ステップS52に進んで、印字を中止し、伝票は排出さ
れる。一方、前記の判断が否定であれば、ステップS5
3に進んで、日付モード処理を実行する。
Next, when the stop key is turned on in step S12, the process proceeds to step S51, and it is determined whether or not printing is in progress. If this decision is positive,
In step S52, printing is stopped and the slip is ejected. On the other hand, if the above determination is negative, step S5
In step 3, the date mode process is executed.

【0058】次に、前記日付モード処理を、図13を参
照して詳細に説明する。なおこの説明にあたって、図1
4の印字例と、図15の液晶表示装置の表示内容を適宜
参照する。
Next, the date mode processing will be described in detail with reference to FIG. In addition, in this explanation, FIG.
The printing example of No. 4 and the display contents of the liquid crystal display device of FIG.

【0059】まず、ステップS501において、ストッ
プキーの第1回目のオン操作により、日付モードが発行
日印字有りモードとなる。つまり、前記日付モードデー
タが(図8参照)1とされる。次に、ステップS502
に進み、図15(a) に示されている内容、すなわち「ハ
ッコウビインジアリ」が表示される。これにより、使用
者に、発行日が印字されることが知らされる。
First, in step S501, the date mode becomes the issue date printing enabled mode by the first ON operation of the stop key. That is, the date mode data is set to 1 (see FIG. 8). Next, step S502.
Then, the contents shown in FIG. 15 (a), that is, "Hakkobinijiari" are displayed. This informs the user that the issue date will be printed.

【0060】ステップS502の状態で、例えば1秒間
何の操作もされなければ(ステップS504が肯定)、
日付モードは発行日印字有りモードに確定し、ステップ
S516に進んで、液晶表示装置の表示は患者名表示に
変わる。この状態で伝票が印字部に挿入され、第1のセ
ンサ27がオンになると、印字が行われる。その印字例
は、図14(a) に示されている通りであり、伝票に発行
日(1991年12月28日 15:36)が印字され
ることになる。
In the state of step S502, if no operation is performed for one second (step S504 is affirmative),
The date mode is confirmed to be the printing date printing mode, the flow proceeds to step S516, and the display on the liquid crystal display device is changed to the patient name display. In this state, when the voucher is inserted into the printing section and the first sensor 27 is turned on, printing is performed. An example of the printing is as shown in FIG. 14A, and the issue date (December 28, 1991, 15:36) is printed on the slip.

【0061】前記ステップS502において、「ハッコ
ウビインジアリ」が表示された時に、ストップキーがオ
ンにされると(ステップS503が肯定)、ステップS
505に進み、日付モードが発行日印字無しモードに変
更される。この時、前記日付モードデータは0となる。
次に、ステップS506に進み、前記液晶表示装置に、
図15(b) に示されている内容、すなわち「ハッコウビ
インジナシ」が表示される。これにより、使用者に、発
行日が印字されないことが知らされる。
In step S502, if the stop key is turned on when "Hakkobinijiari" is displayed (Yes in step S503), step S503
Proceeding to 505, the date mode is changed to the issue date non-printing mode. At this time, the date mode data becomes 0.
Next, in step S506, the liquid crystal display device is
The content shown in FIG. 15 (b), that is, "Physalis japonicus" is displayed. This informs the user that the issue date is not printed.

【0062】その後、例えば1秒間何の操作もされない
と(ステップS508が肯定)、日付モードは発行日印
字無しモードに確定し、ステップS516に進んで、液
晶表示装置の表示は患者名表示に変わる。この状態で伝
票に印字が行われると、図14(b) に示されているよう
な、発行日が印字されていない印字が得られる。
Thereafter, for example, if no operation is performed for one second (step S508 is affirmative), the date mode is set to the issue date non-printing mode, the process proceeds to step S516, and the display of the liquid crystal display device is changed to the patient name display. . When the voucher is printed in this state, the printing without the issue date is obtained as shown in FIG. 14 (b).

【0063】次に、前記ステップS506において、
「ハッコウビインジナシ」が表示された時に、ストップ
キーがオンにされると(ステップS507が肯定)、ス
テップS509に進み、日付モードが予約日付モードに
変更される。この時、前記日付モードデータは2とな
る。
Next, in step S506,
If the stop key is turned on when "Hakkobininjin" is displayed (Yes in step S507), the process proceeds to step S509, and the date mode is changed to the reserved date mode. At this time, the date mode data becomes 2.

【0064】続いて、ステップS510において、前記
時刻データにより、現時点の年(○○○○)、月(×
×)、日(△△)データを読出し、予約日データ記憶エ
リアに記憶する。次いで、ステップS511で、図15
(c) に示されている内容、例えば「ヨヤクビ 1991
−12−28」を液晶表示装置に表示して、使用者に予
約日印字モードとなり、現在は1991年12月28日
であることを知らせる。
Then, in step S510, the current year (○○○○), month (×)
X), date (ΔΔ) data is read out and stored in the reserved date data storage area. Then, in step S511, FIG.
The content shown in (c), for example, "Yoyakubi 1991.
"-12-28" is displayed on the liquid crystal display device to inform the user that the reservation date print mode has been entered and the present date is December 28, 1991.

【0065】この時、更にストップキーが押されると
(ステップS512が肯定)、ステップS514に進ん
で、日データがインクリメントされ、ステップS515
において、予約日が更新して記憶される。このステップ
S511からS515の処理は、所望の予約日となるま
で、続行される。この時、日データは32となったら0
1に戻り、月データをインクリメントする。また、月デ
ータは13となったら01に戻り、年データをインクリ
メントする。この時の表示例が、図15(d) である。
At this time, if the stop key is further pressed (Yes in step S512), the process proceeds to step S514, the date data is incremented, and step S515 is performed.
In, the reservation date is updated and stored. The processes of steps S511 to S515 are continued until the desired reservation date is reached. At this time, 0 if the day data becomes 32
Return to 1 and increment the month data. When the month data becomes 13, the process returns to 01 and the year data is incremented. A display example at this time is shown in FIG.

【0066】所望の予約日になった時に、約1秒間放置
されると(ステップS513が肯定)、該予約日が確定
し、ステップS516に進んで、液晶表示装置の表示は
患者名表示に変わる。この状態で印字した例は、図14
(c) のようになる。すなわち、医師名の下に、予約日が
印字される。
When the desired reservation date is reached, if it is left for about 1 second (step S513 is affirmative), the reservation date is fixed, and the flow advances to step S516 to change the display of the liquid crystal display device to the patient name display. . An example of printing in this state is shown in FIG.
It becomes like (c). That is, the appointment date is printed under the doctor's name.

【0067】以上のように、本実施例の日付モード処理
によれば、発行日印字有り、発行日印字無し、および予
約日印字の3つから任意のものを選ぶことができる。
As described above, according to the date mode processing of the present embodiment, it is possible to select any one of the printing of the issuing date, the printing of the issuing date, and the printing of the reserved date.

【0068】次に、本発明の構成を、図1の機能ブロッ
ク図を参照して説明する。
Next, the configuration of the present invention will be described with reference to the functional block diagram of FIG.

【0069】図において、58はカード読出し手段であ
り、患者カード、医師カードおよびコメントカードを読
込む手段である。該手段58から読込まれたデータは、
カードデータ記憶手段59に格納される。
In the figure, numeral 58 is a card reading means for reading a patient card, a doctor card and a comment card. The data read from the means 58 is
It is stored in the card data storage means 59.

【0070】次に、日付モード選択手段61(前記スト
ップキーに相当する)により、日付モードに入ると、日
付モードデータ記憶手段63が有効になり、発行日印字
有りモードになると該領域に1がセットされ、発行日印
字無しモードになると該領域に0がセットされ、さら
に、予約日印字モードになると該領域に2が登録され
る。 65は刻時手段であり、その出力は時刻データ記
憶手段66に記憶される。予約日印字モード時に、予約
日選択手段62が操作されると、時刻データ記憶手段6
6の現時点の時刻データ中の年月日データを基準にし
て、更新選択された予約日が予約日データ記憶手段66
に記憶される。該予約日データは、日付モード/予約日
表示手段64に表示される。
Next, when the date mode is selected by the date mode selection means 61 (corresponding to the stop key), the date mode data storage means 63 becomes effective, and when the issue date printing enabled mode is set, 1 is set in the area. When it is set and the issue date printing mode is set, 0 is set in the area, and when the reservation date printing mode is set, 2 is registered in the area. Reference numeral 65 is a clock means, the output of which is stored in the time data storage means 66. When the reservation date selection means 62 is operated in the reservation date printing mode, the time data storage means 6
Based on the date data in the current time data of 6, the reservation date selected for update is the reservation date data storage means 66.
Memorized in. The reservation date data is displayed on the date mode / reservation date display means 64.

【0071】前記日付モード記憶手段63において所望
のモードが選択された状態において、印字開始手段67
が起動されると、前記カードデータ記憶手段59からカ
ードデータが読み出され、印字制御手段68に送出され
ると共に、前記日付モード記憶手段63のモード選択に
応じて、前記時刻データおよび予約日データ記憶手段6
6から所定のデータが読み出され、該印字制御手段68
に送られる。
With the desired mode selected in the date mode storage means 63, the printing start means 67 is provided.
When is activated, the card data is read from the card data storage means 59 and sent to the print control means 68, and the time data and the reservation date data are sent in accordance with the mode selection of the date mode storage means 63. Storage means 6
Predetermined data is read from 6 and the print control means 68
Sent to.

【0072】該印字制御手段68は、前記カードデータ
と前記時刻データまたは予約日データを合成して、伝票
に印刷して出力する。
The print control means 68 synthesizes the card data with the time data or the reservation date data, prints it on the slip, and outputs it.

【0073】なお、図1の点線はカードデータを示し、
実線は日付モード処理時のラインを示し、太線は伝票に
印字する時のラインを示す。
The dotted line in FIG. 1 indicates card data,
The solid line shows the line at the time of the date mode processing, and the thick line shows the line at the time of printing on the slip.

【0074】[0074]

【発明の効果】以上のように、本発明によれば、ストッ
プキーをオンすることにより、日付モード処理に移行で
き、さらに該ストップキーの操作を続行することによ
り、発行日に変えて、予約日を伝票に印字することがで
きる。
As described above, according to the present invention, it is possible to shift to the date mode processing by turning on the stop key, and by continuing the operation of the stop key, the issue date can be changed and the reservation can be made. The date can be printed on the slip.

【0075】したがって、本発明は、伝票に予約日を簡
単に印字することができ、操作性を改善できるとという
効果がある。
Therefore, the present invention has an effect that the reservation date can be easily printed on the slip and the operability can be improved.

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

【図1】 本発明の機能ブロック図である。FIG. 1 is a functional block diagram of the present invention.

【図2】 本発明の一実施例の伝票プリンタの外観斜視
図である。
FIG. 2 is an external perspective view of the slip printer according to the embodiment of the present invention.

【図3】 本実施例の印字機構の構成図である。FIG. 3 is a configuration diagram of a printing mechanism of the present embodiment.

【図4】 本実施例の伝票プリンタのハード構成を示す
ブロック図である。
FIG. 4 is a block diagram showing a hardware configuration of a slip printer of this embodiment.

【図5】 患者カード情報の一例の説明図である。FIG. 5 is an explanatory diagram of an example of patient card information.

【図6】 医師カード情報の一例の説明図である。FIG. 6 is an explanatory diagram of an example of doctor card information.

【図7】 コメントカード情報の一例の説明図である。FIG. 7 is an explanatory diagram of an example of comment card information.

【図8】 RAMマップの一例の説明図である。FIG. 8 is an explanatory diagram of an example of a RAM map.

【図9】 図8のRAMマップの続きの図である。9 is a continuation of the RAM map of FIG.

【図10】 カードリーダの読込み動作を説明するフロ
ーチャートである。
FIG. 10 is a flowchart illustrating a reading operation of the card reader.

【図11】 通常印字処理モード処理の動作を説明する
フローチャートである。
FIG. 11 is a flowchart illustrating an operation of normal print processing mode processing.

【図12】 図11の続きのフローチャートである。FIG. 12 is a flowchart continued from FIG.

【図13】 日付モード処理の動作を説明するフローチ
ャートである。
FIG. 13 is a flowchart illustrating an operation of date mode processing.

【図14】 本実施例により得られる伝票の印字例を示
す図である。
FIG. 14 is a diagram showing a print example of a slip obtained according to the present embodiment.

【図15】 日付モード処理時に、液晶表示装置に表示
される表示例を示す図である。
FIG. 15 is a diagram showing a display example displayed on the liquid crystal display device during the date mode processing.

【図16】 従来の伝票の一例を示す図である。FIG. 16 is a diagram showing an example of a conventional slip.

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

59…カードデータ記憶手段、61…日付モード選択手
段、62…予約日選択手段、63…日付モードデータ記
憶手段、64…日付モード/予約日表示手段、65…刻
時手段、66…時刻データ/予約日データ記憶手段、6
7…印字開始手段、68…印字制御手段
59 ... Card data storage means, 61 ... Date mode selection means, 62 ... Reservation date selection means, 63 ... Date mode data storage means, 64 ... Date mode / reservation date display means, 65 ... Clocking means, 66 ... Time data / Reservation date data storage means, 6
7 ... Printing start means, 68 ... Printing control means

───────────────────────────────────────────────────── フロントページの続き (72)発明者 渕上 伸一 東京都八王子市狭間町1463番地 蛇の目ミ シン工業株式会社内 (72)発明者 小玉 長大 東京都八王子市狭間町1463番地 蛇の目ミ シン工業株式会社内 (72)発明者 山口 俊明 東京都八王子市狭間町1463番地 蛇の目ミ シン工業株式会社内 ─────────────────────────────────────────────────── ─── Continuation of the front page (72) Inventor Shinichi Fuchigami, 1463 Asama-cho, Hachioji-shi, Tokyo Within Jamome Machine Industry Co., Ltd. (72) Inventor Toshiaki Yamaguchi 1463, Sakumacho, Hachioji City, Tokyo

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】複数個のキーを備えた日付印字機能を有す
る伝票プリンタであって、 日付モードを選択する日付モード選択手段と、 前記日付モード選択手段によって選択された発行日印字
モードおよび予約日印字モードのいずれかを記憶する日
付モードデータ記憶手段と、 前記予約日印字モード時に所望の予約日を選択する予約
日選択手段と、 現時点の時刻データ中の年月日データを基準にして、前
記予約日選択手段によって更新選択された予約日を記憶
する予約日データ記憶手段と、 日付モードおよび予約日を前記日付モード選択手段およ
び予約日選択手段の操作に対応して表示する日付モード
/予約日表示手段と、 発行日印字モード時には発行日を付して印字し、予約日
印字モード時には予約日を付して印字する印字制御手段
とを具備したことを特徴とする日付印字機能を有する伝
票プリンタ。
1. A voucher printer having a plurality of keys and having a date printing function, comprising: date mode selecting means for selecting a date mode; and an issue date printing mode and a reservation date selected by the date mode selecting means. Date mode data storage means for storing one of the print modes; reservation date selection means for selecting a desired reservation date in the reservation date print mode; and date / time data in the current time data as a reference. Reservation date data storing means for storing the reservation date updated and selected by the reservation date selecting means, and date mode / reservation date for displaying the date mode and the reservation date corresponding to the operation of the date mode selecting means and the reservation date selecting means. A display unit and a print control unit that prints with the issue date in the issue date print mode and prints with the reserve date in the reserve date print mode Document printer having a date printing function, characterized in that the.
【請求項2】印字中に操作すると印字を中止するストッ
プキーが、印字前においては、日付モード選択手段と、
予約日選択手段の少なくとも1つの選択手段として割当
てられていることを特徴とする請求項1記載の日付印字
機能を有する伝票プリンタ。
2. A stop key, which stops printing if operated during printing, has a date mode selection means before printing.
The voucher printer having a date printing function according to claim 1, wherein the voucher printer is assigned as at least one selecting means of the reservation date selecting means.
JP4141905A 1992-05-08 1992-05-08 Slip printer with date printing function Expired - Fee Related JP2791987B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4141905A JP2791987B2 (en) 1992-05-08 1992-05-08 Slip printer with date printing function

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4141905A JP2791987B2 (en) 1992-05-08 1992-05-08 Slip printer with date printing function

Publications (2)

Publication Number Publication Date
JPH06143749A true JPH06143749A (en) 1994-05-24
JP2791987B2 JP2791987B2 (en) 1998-08-27

Family

ID=15302891

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4141905A Expired - Fee Related JP2791987B2 (en) 1992-05-08 1992-05-08 Slip printer with date printing function

Country Status (1)

Country Link
JP (1) JP2791987B2 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5185345A (en) * 1975-01-23 1976-07-26 Shinko Electric Co Ltd
JPS59170966A (en) * 1983-03-18 1984-09-27 Casio Comput Co Ltd Method for updating stored data
JPH0319084A (en) * 1989-06-16 1991-01-28 Nec Corp Reservation slip issuing system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5185345A (en) * 1975-01-23 1976-07-26 Shinko Electric Co Ltd
JPS59170966A (en) * 1983-03-18 1984-09-27 Casio Comput Co Ltd Method for updating stored data
JPH0319084A (en) * 1989-06-16 1991-01-28 Nec Corp Reservation slip issuing system

Also Published As

Publication number Publication date
JP2791987B2 (en) 1998-08-27

Similar Documents

Publication Publication Date Title
US6064802A (en) Character information processor for printing characters
JPH10166667A (en) Character printer
JPS62197821A (en) Word processor
JPH06143754A (en) Slip printer with bar code printing function
JPH06143749A (en) Slip printer having date printing function
JP2791988B2 (en) Hospital slip printer capable of printing patient age
JP4719920B2 (en) Barcode creation method and barcode word processor
JP4491220B2 (en) Small printed matter creating apparatus, small printed matter creating method, and small printed matter creating program
JP2969019B2 (en) Slip printer for card data entry
JP2751129B2 (en) Slip printer
JP2839118B2 (en) Printing device for slip printer
JPH05193224A (en) Screen control system in slip printer
JPH06143750A (en) Printing system in slip printer
JPH05193190A (en) Slip printer having slip parameter setting function
JPH06143753A (en) Slip printer
JP2915674B2 (en) Slip printer
JP2779157B2 (en) Document information processing device
JPH079702A (en) Method of reading card data of slip printer
JPH05193210A (en) Printing device in slip printer
JP2667085B2 (en) Label printing device
JPS62216030A (en) Word processor
JPH0311420A (en) Sentence processing method
JPH079727A (en) Printer of slip having free layout
JP2667083B2 (en) Label printing device
JPH074948B2 (en) Printer controller

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 19980428

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees