JPH06143754A - Slip printer with bar code printing function - Google Patents

Slip printer with bar code printing function

Info

Publication number
JPH06143754A
JPH06143754A JP14191092A JP14191092A JPH06143754A JP H06143754 A JPH06143754 A JP H06143754A JP 14191092 A JP14191092 A JP 14191092A JP 14191092 A JP14191092 A JP 14191092A JP H06143754 A JPH06143754 A JP H06143754A
Authority
JP
Japan
Prior art keywords
card
data
patient
bar code
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
JP14191092A
Other languages
Japanese (ja)
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 JP14191092A priority Critical patent/JPH06143754A/en
Publication of JPH06143754A publication Critical patent/JPH06143754A/en
Pending legal-status Critical Current

Links

Landscapes

  • Printers Characterized By Their Purpose (AREA)
  • Accessory Devices And Overall Control Thereof (AREA)
  • Medical Treatment And Welfare Office Work (AREA)

Abstract

PURPOSE:To provide a slip printer capable of directly printing data containing a bar code of a patient's ID number on a label to enhance the operating efficiency in making an entry of a patient's ID number, a patient's name, a date of taking blood/urine, and the like in a blood/urine vessel and reduce occurence of an errors. 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. A card read-out means 74 is provided. Information in a patient card, a doctor card, and a comment card are read by the means 74 and respectivey stored in appropriate storage means 76, 78, 79. In addition, a bar code printing mode assigning means 82 is provided. When a bar code printing mode is assigned, a patient's ID number in the storage means 76 is converted to a bar code by a conversion means 77. When printing is started by a printing start means 83, the ID number bar code is printed on a label together with time data and a patient's name.

Description

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

【0001】[0001]

【産業上の利用分野】この発明はバーコード印字機能を
有する伝票プリンタに関し、特に、患者のIDナンバー
のバーコードを含むデータをラベルに印字することがで
きるようにした伝票プリンタに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a slip printer having a bar code printing function, and more particularly to a slip printer capable of printing data including a bar code of a patient's ID number on a label.

【0002】[0002]

【従来の技術】病院によっては、患者が診察を終えた
後、図22に示されているような伝票を患者に手渡す所
がある。この伝票は、図示されているように、伝票タイ
トル、患者カードデータ、予約データ、コメントデータ
等からなり、伝票タイトル、コメントデータ、患者カー
ドデータ中の「氏名」、「殿」、予約データ中の「予約
日」、「月日」、「曜日」の文字は伝票に印刷済みであ
り、患者カードを読込むことにより、患者のID番号、
名前、生年月日、性別をプリンタで印字していた。ま
た、予約日、曜日については、事務員がボールペン等で
記入していた。
2. Description of the Related Art Some hospitals hand over a voucher as shown in FIG. 22 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】また、他の従来例としては、病院に勤務し
ている医師の一人々々の磁気カード(以下、医師カード
と呼ぶ)と、互いに異なるコメントを記憶している複数
枚の磁気カード(以下、コメントカードと呼ぶ)とを用
意しておき、患者に伝票を発行する際に、患者カード、
担当医の医師カードおよび患者に適合するコメントカー
ドを選択し、カードリーダからカードデータを読込み、
読込んだデータを予め用意されているフォーマットの伝
票に印字することにより、図22のような伝票を発行し
ていた。なお、この例の場合には、担当医のデータが、
図22の伝票に追加され、コメントデータがその都度印
字されることになる。
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,
The slip as shown in FIG. 22 is issued by printing the read data on the slip having a format prepared in advance. In this example, the data of the doctor in charge is
The comment data is added to the slip in FIG. 22 and is printed each time.

【0004】また、従来病院において、患者の採血ある
いは採尿をする場合、誰の血液あるいは尿であるかを識
別できるように、採血/採尿容器自体あるいはこれに貼
るラベルに、患者のIDナンバーと患者名と採血/採尿
日を手書きしていた。
Further, in the conventional hospital, when collecting blood or urine from a patient, the patient's ID number and the patient's ID number and the label attached to the blood / urine collecting container itself can be identified so that the blood or urine of the patient can be identified. He hand-written the name and the date of blood collection / urine collection.

【0005】[0005]

【発明が解決しようとする課題】以上のように、従来
は、採血あるいは採尿をした血液あるいは尿を入れる容
器自体あるいはこれに貼られるラベルに、患者のIDナ
ンバー、患者名、採血/採尿日等を手書きしていたた
め、面倒であるという問題があった。また、場合によっ
ては、書込まれた数字、文字等が読取りにくく、間違い
が発生する虞れがあるという問題もあった。
As described above, conventionally, the ID number of the patient, the name of the patient, the date of blood collection / urine collection, etc. have been attached to the blood collected or urine collected or the container itself containing the urine or the label attached to the container. Since I was handwriting, there was a problem that it was troublesome. In addition, in some cases, written numbers, characters, etc. are difficult to read, and there is a possibility that an error may occur.

【0006】この発明の目的は、前記した従来装置の問
題点に鑑み、患者のIDナンバーのバーコードを含むデ
ータをラベルに直接印字することのできる伝票プリンタ
を提供することにより、採血/採尿容器への、患者のI
Dナンバー、患者名、採血/採尿日等の記入の作業能率
を向上すると共に、間違いが発生する虞れを低減するこ
とにある。
In view of the above problems of the conventional apparatus, an object of the present invention is to provide a slip printer capable of directly printing data including a bar code of a patient's ID number on a label, thereby collecting blood / urine collecting container. To patient's I
It is to improve the work efficiency of filling in the D number, the patient name, the blood collection / urine collection date, and the like, and to reduce the possibility of making an error.

【0007】[0007]

【課題を解決するための手段】前記目的を達成するため
に、請求項1の発明は、患者カードから読み出されたデ
ータを記憶する患者カード内容記憶手段と、キー操作に
よりバーコード印字モードを指定するバーコード印字モ
ード指定手段と、前記バーコード印字モードが指定され
た時に、前記患者カード内容記憶手段中の患者IDナン
バーをバーコードフォントデータに変換する患者IDナ
ンバー・バーコードフォント変換手段とを具備した点に
特徴がある。
In order to achieve the above object, the invention according to claim 1 provides a patient card content storage means for storing data read from a patient card and a bar code print mode by key operation. Bar code print mode specifying means for specifying, and a patient ID number / bar code font converting means for converting the patient ID number in the patient card content storage means into bar code font data when the bar code print mode is specified. It is characterized in that it is equipped with.

【0008】また、請求項2の発明は、請求項1の構成
に加えて、患者IDのバーコード、患者名および発行日
の各データを、被印字用紙の予め定められた位置に、予
め定められた配置で印字する印字制御手段を具備した点
に特徴がある。
According to the invention of claim 2, in addition to the structure of claim 1, the bar code of the patient ID, the patient name and the data of the issue date are preset at predetermined positions on the printing paper. It is characterized in that it is provided with a printing control means for printing with the arranged arrangement.

【0009】[0009]

【作用】請求項1の発明によれば、バーコード印字モー
ドが指定された時に、前記患者カード内容記憶手段中の
患者IDナンバーをバーコードフォントデータに、自動
的に変換することができる。
According to the first aspect of the present invention, when the bar code printing mode is designated, the patient ID number in the patient card content storage means can be automatically converted into bar code font data.

【0010】また、請求項2の発明によれば、被印字用
紙、例えば台紙に貼付されたラベルに、患者IDのバー
コード、患者名および発行日の各データを、被印字用紙
の予め定められた位置に、予め定められた配置で印字す
ることができる。
According to the second aspect of the present invention, each data of the patient ID bar code, the patient name and the issue date is predetermined on the label attached to the printing target sheet, for example, the mount sheet. It is possible to print at a predetermined position in a predetermined arrangement.

【0011】このため、病院等の採血/採尿容器等に貼
るラベルを、容易にかつ品質良く作成することができ
る。
Therefore, a label to be attached to a blood collection / urine collection container in a hospital or the like can be easily produced with good quality.

【0012】[0012]

【実施例】以下に、図面を参照して、本発明を詳細に説
明する。図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.

【0013】図において、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.

【0014】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, which can be opened by placing a finger on the recess 3.

【0015】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.

【0016】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.

【0017】次に、図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.

【0018】また、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.

【0019】図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 inserted into 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.

【0020】前記伝票用紙が第1と第2のローラ23、
24の間に入るようにさらに挿入されると、伝票用紙は
第1のローラ23の回転により奥の方(図のY方向)へ
送られる。伝票用紙は、印字ヘッド25の下を通過した
後、第2の紙検出センサ28で先端が検出され、印字ヘ
ッド25と伝票用紙の位置決めがなされる。その後、所
定のトップマージン分さらに紙送りされた後、印字ヘッ
ド25は印字中心25aを中心として、第1行の印字を
開始する。ここに、前記トップマージンとは、図12、
図13に示されているように、伝票の最初の非印字部分
であり、通常は伝票のタイトルが予め印刷されている箇
所である。なお、図12、図13の説明は後で行う。
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 FIG. 13, it is the first non-printed portion of the slip, and is usually the portion where the title of the slip is printed in advance. 12 and 13 will be described later.

【0021】以上のようにして、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.

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

【0023】図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.

【0024】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.

【0025】また、38は第1の入出力装置(I/O)
であり、該第1の入出力装置38には、前記キー11
と、第1、第2の紙検出センサ27、28が接続されて
いる。39は第2の入出力装置(I/O)であり、これ
には、前記液晶表示装置12とブサー40が接続されて
いる。
Reference numeral 38 denotes 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.

【0026】さらに、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 / 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.

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

【0028】次に、前記カードリーダ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.

【0029】患者カードは、図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.

【0030】また、医師カードは、図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. .

【0031】さらに、コメントカードは、図7(a) に示
されているように、カード判別情報(CT)、第1行コ
メント情報、第2行コメント情報、第3行コメント情
報、およびパリティチェックの情報から構成されてい
る。図7(b) は、前記第1〜3行コメント情報の一具体
例を示す。
Further, as shown in FIG. 7 (a), 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.

【0032】次に、前記RAM33に設定される記憶領
域について、図8を参照して説明する。
Next, the storage area set in the RAM 33 will be described with reference to FIG.

【0033】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.

【0034】次の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 patient card data. 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.

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

【0036】次に、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.

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

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

【0039】次に、時刻データが設けられている。この
時刻データは、刻時手段である時計ICのデータを記憶
するメモリエリアである。このメモリエリア内のデータ
は、前記時計IC37のデータにより更新される。この
時刻データは、伝票の発行日を印字するために使用され
る。
Next, time data is provided. This time data is a memory area for storing the data of the clock IC, which is the clock means. The data in this memory area is updated by the data of the clock IC 37. This time data is used to print the issue date of the slip.

【0040】次に、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.

【0041】展開データは、前記第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.

【0042】次に、PP格納ポインタ、PP読み出しポ
インタおよび紙送りデータがある。PP格納ポインタ
は、改行毎の紙送りデータの記憶位置を指定するポイン
タである。PP読み出しポインタは、改行時に、紙送り
データの読み出し位置を指定するポインタである。紙送
りデータは、カードデータ等からドットデータを作成す
る時に、作成される改行量を示すデータである。行間の
改行量は4ドット、漢字の上半分印字後、下半分を印字
する時の改行量は1/2ドットである。
Next, there are a PP storage pointer, a PP read pointer, 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 the line feed amount 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.

【0043】次に、SP格納ポインタ、SP読み出しポ
インタおよび#1〜#5SPパラメータがある。SP格
納ポインタは、SPパラメータすなわち伝票パラメータ
(例えば、トップマージン、紙厚さ、文字配列等)の記
憶位置を指定するポインタである。SP読み出しポイン
タは、SPパラメータの読み出し位置、すなわち#1〜
#6SPパラメータのいずれかを示すポインタである。
このポインタは、前記伝票キーが押される毎に更新され
る。#1〜#5SPパラメータは、伝票パラメータ#1
〜#5のデータが格納されるメモリエリアである。ま
た、#6SPパラメータはバーコード印字のための伝票
パラメータである。これに続くその他の記憶エリアは、
ワーキングエリア、スタックエリア等に使用される。
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.
This is a pointer indicating any of # 6SP 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 # 6SP parameter is a slip parameter for printing a barcode. Other storage areas that follow are:
Used for working area, stack area, etc.

【0044】さて、前記伝票キーが1回押されると、伝
票プリンタ設置時に設定された伝票パラメータが伝票名
と共に、図9に示されているように液晶表示装置に表示
される。この状態で印字されると、表示された伝票パラ
メータで印字が実行され、図11の印字結果が一例とし
て得られる。
When the chit key is pressed once, the chit parameters set when the chit printer is installed are displayed together with the chit name on the liquid crystal display device as shown in FIG. When printing is performed in this state, printing is executed with the displayed slip parameter, and the printing result of FIG. 11 is obtained as an example.

【0045】一方、伝票キーが次々と押されていくと、
#2、…、#5の伝票パラメータが伝票名と共に液晶表
示装置に表示され、#5の伝票パラメータの表示の次
に、バーコード印字を知らせる図10の表示となる。
On the other hand, when the slip keys are pressed one after another,
The slip parameters # 2, ..., # 5 are displayed on the liquid crystal display together with the slip name, and after the display of the slip parameters # 5, the display shown in FIG.

【0046】この表示がされている時に、図12に示さ
れているような、台紙61にラベル62が2枚貼られた
用紙を伝票プリンタの印字機構に挿入し、印字を行う
と、図13に示されているような、患者のIDコードの
バーコードと、患者名と、日付が前記2枚のラベル62
に印字されて出力される。
When this display is displayed, when a sheet having two labels 62 attached to a mount 61 as shown in FIG. 12 is inserted into the printing mechanism of the slip printer and printing is performed, FIG. The bar code of the patient's ID code, the patient's name, and the date as shown in FIG.
Is printed on the output.

【0047】なお、図12の63は印字エリアを示し、
台紙61の先端から第1枚目のラベルの印字エリアの先
端までの距離は、トップマージンを示している。
Reference numeral 63 in FIG. 12 denotes a print area,
The distance from the leading edge of the mount 61 to the leading edge of the print area of the first label indicates the top margin.

【0048】前記ラベル62は、印字が終了すると台紙
61から剥がされ、採血/採尿容器に貼付けられる。
When the printing is completed, the label 62 is peeled off from the mount 61 and attached to the blood / urine collection container.

【0049】図14は、病院で多用されているNW−7
形式のキャラクタ・バーコードパターン対応表を示す。
NW−7の場合は、キャラクタとして、数字、6種類の
記号、スタート・ストップキャラクタに使用する4種類
の文字が割付けられている。
FIG. 14 shows NW-7 which is frequently used in hospitals.
The following shows the character / bar code pattern correspondence table of the format.
In the case of NW-7, numbers, 6 types of symbols, and 4 types of characters used for start / stop characters are assigned as characters.

【0050】図15は、スタートキャラクタ、ストップ
キャラクタの両方に、aキャラクタを用いた時の数字列
「123‥‥03」のバーコードパターンである。
FIG. 15 shows a bar code pattern of the numeral string "123 ... 03" when the character a is used as both the start character and the stop character.

【0051】図16は、本発明のバーコードパターンの
ドット構成図を示している。9ピンの印字ヘッドが右方
向へ移動し、各ドットを印字してバーコードパターンを
構成する。ほぼ長方形状のバーコードパターンを得るた
めに、下記の順序で印字が行われる。
FIG. 16 shows a dot configuration diagram of the bar code pattern of the present invention. The 9-pin print head moves to the right and prints each dot to form a bar code pattern. In order to obtain a substantially rectangular barcode pattern, printing is performed in the following order.

【0052】DPナンバー(DPNO)が奇数番目の
ドット(Iのドット)を印字する。
The odd-numbered dots (dots of I) having the DP number (DPNO) are printed.

【0053】DPナンバーが偶数番目のドット(IIの
ドット)を印字する。
The even-numbered dots (II dots) with DP numbers are printed.

【0054】1/2ピッチ紙送りして、DPナンバー
が奇数番目のドット(III のドット)を印字する。
The 1/2 pitch paper is fed to print the odd-numbered dots of DP number (dots of III).

【0055】DPナンバーが偶数番目のドット(IVの
ドット)を印字する。
The even-numbered dots (dots IV) of the DP number are printed.

【0056】以上により、紙送り方向の1〜9´までの
上半分のバーコードパターンが構成される。次に、該バ
ーコードパターンの下半分を形成するために、(8+1
/2)ピッチだけ紙送りして、前記の〜の処理を繰
り返す。これにより、紙送り方向の10〜18´までの
バーコードパターンが構成されることになる。
As described above, the upper half bar code patterns 1 to 9'in the paper feeding direction are formed. Then, to form the lower half of the barcode pattern, (8 + 1
/ 2) Paper is fed by the pitch, and the above-mentioned steps 1 to 3 are repeated. As a result, 10 to 18 'barcode patterns in the paper feed direction are formed.

【0057】よって、バーコードの幅、すなわち紙送り
方向の長さは、適当な大きさ(6.4mm)になる。な
お、ナローバーの幅とワイドバーの幅の比は、ドット径
が0.3mmで左右方向のピッチが0.293mmであ
るので、約1対2.5になっている。
Therefore, the width of the bar code, that is, the length in the paper feed direction is an appropriate size (6.4 mm). The ratio of the width of the narrow bar to the width of the wide bar is about 1: 2.5 because the dot diameter is 0.3 mm and the horizontal pitch is 0.293 mm.

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

【0059】同図(a) に示されているように、カードデ
ータの読込みはリードクロック信号(RCL)による割
込みで行われる。ステップS1では、カードが前記カー
ド挿入孔4に差込まれたか否かの判断が行われる。この
判断は、カードロード信号がハイかロウかで判断され
る。ハイであれば、差込まれていると判断し、ステップ
S2に進む。ステップS2では、リードクロック信号
(RCL)が立下がったか否かの判断をする。立下がっ
た時には、ステップS3に進み、割込み処理をする。
割込み処理は、同図(b) に示されているように、CD格
納ポインタ(図8参照)で指示されているカードデータ
バッファのアドレスに、カードデータの1ビットが書き
込まれる(ステップS301)。続いて、次のデータの
書込みのために、CD格納ポインタはインクリメントさ
れる(ステップS302)。以上の割込み処理により、
カードリーダ36で読込まれたデータは、一時的に、カ
ードデータバッファに格納されることになる。
As shown in FIG. 9A, the reading of the card data is performed by the 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.

【0060】次に、本発明の伝票プリンタを用いて印字
を行う前の動作、すなわち、通常印字モード処理の動作
を、図18、図19のフローチャートを参照して説明す
る。
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 flowcharts of FIGS. 18 and 19.

【0061】ステップ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.

【0062】ステップ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.

【0063】前記チェックによりカードデータが正しい
と判断された時には、ステップS16に進む。一方、正
しくないと判定された時には、ステップS15に進み、
もう一度カードを挿入するように、前記液晶表示装置1
2にエラー表示が行われる。その後、ステップS21に
進む。
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, it progresses to step S21.

【0064】ステップ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.

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

【0066】以上により、カードデータバッファからカ
ードに対応したカードデータ格納領域へのデータの転送
は終了したので、ステップ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.

【0067】次に、ステップS12において、医師キー
がオンにされたと判断されると、ステップS23に進
み、DR読出しポインタがインクリメントされ、次の位
置のDRカードデータが前記DRカードデータ格納領域
から読み出され、液晶表示装置12に表示される(ステ
ップS24)。これを繰返すことにより、所望の医師名
が選択される。
Next, in step S12, when it is determined that the doctor key is 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.

【0068】次に、前記ステップ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.

【0069】次に、ステップS12で前記第1の紙検出
センサ27がオンにされたと判断されると、ステップS
27の印字制御に動作が進む。なお、印字制御の詳細に
ついては、同一出願人の特願平4−25986号「伝票
パラメータ設定機能を有する伝票プリンタ」に記されて
いるので、説明を省略する。
Next, when it is determined in step S12 that the first paper detection sensor 27 is turned on, step S12
The operation proceeds to print control 27. 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.

【0070】また、ステップS12で前記伝票キーがオ
ンにされると、ステップS29に進み、前記SP読出し
ポインタ(図8参照)を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. 8) by 1. Next, in step S30, the slip parameter pointed to by the SP read pointer is displayed on the liquid crystal display (LCD) 12.

【0071】伝票キーがオンされる毎に、前記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.

【0072】さらに伝票キーがオンされると、図10に
示されている「バーコードインジ」となり、バーコード
印字のための伝票パラメータ(トップマージンは10m
m、印打力は普通、文字配列は通常配列)が指定され
る。したがって、伝票キーがバーコード印字モード指定
手段となる。
When the chit key is further turned on, the "bar code indicator" shown in FIG. 10 is displayed, and the chit parameter for bar code printing (the top margin is 10 m
m, printing force is normal, and character arrangement is normal arrangement). Therefore, the slip key serves as a bar code print mode designating means.

【0073】次に、前記印字機構に前記ラベルが貼付さ
れた台紙が挿入されて、第1の紙検出センサ27がオン
になった時に実行されるステップS27の印字制御につ
いて、図20のフローチャートを参照して説明する。
Next, regarding the printing control of step S27 executed when the mount with the label attached is inserted into the printing mechanism and the first paper detection sensor 27 is turned on, the flowchart of FIG. It will be described with reference to FIG.

【0074】前記第1の紙検出センサ27がオンになる
と、ステップS51により、SP読出しポインタが6で
あるか否かを調べ、6であるとバーコード印字モードで
あるのでステップS51の判断は肯定となり、ステップ
S54に進む。一方、6でない場合は前記判断は否定と
なり、ステップS52に進む。
When the first paper detection sensor 27 is turned on, it is checked in step S51 whether or not the SP read pointer is 6, and if it is 6, the bar code print mode is set. Therefore, the determination in step S51 is affirmative. Then, the process proceeds to step S54. On the other hand, if it is not 6, the determination is negative and the process proceeds to step S52.

【0075】ステップS52においては、患者カードデ
ータ、各読出しポインタの指定する医師カードデータ、
コメントカードデータの中の文字、改行データにより、
印字のためのフォントデータである展開データ、紙送り
データを作成する。そして、ステップS53において印
字処理されると、図11に示したような印字内容が伝票
に印字される。
In step S52, patient card data, doctor card data designated by each read pointer,
Depending on the characters in the comment card data and line feed data,
Create expansion data and paper feed data that are font data for printing. Then, when the print processing is performed in step S53, the print content as shown in FIG. 11 is printed on the slip.

【0076】一方、バーコード印字モードの場合、ステ
ップS54で患者IDナンバーをバーコードパターンの
フォントデータに変換し、ステップS55で患者カード
データの中の患者IDナンバー、患者名(片仮名)、時
刻データの中の文字、改行データにより、印字のための
フォントデータである展開データ、紙送りデータを作成
し、ステップS53にて印字処理すると、図13に示す
印字内容がラベル紙に印字される。
On the other hand, in the case of the bar code printing mode, the patient ID number is converted into bar code pattern font data in step S54, and the patient ID number, patient name (Katakana), and time data in the patient card data are converted in step S55. When the expansion data and the paper feed data, which are the font data for printing, are created by the characters and the line feed data in, and the print processing is performed in step S53, the print content shown in FIG. 13 is printed on the label paper.

【0077】次に、ステップS54のバーコード−フォ
ント変換について、図21のフローチャートを参照して
詳細に説明する。
Next, the barcode-font conversion in step S54 will be described in detail with reference to the flowchart in FIG.

【0078】ステップS501において、まず、患者カ
ードデータ内の患者ナンバーが取り込まれる。次に、ス
テップS502に進んで、スタートキャラクタ(a) と、
ストップキャラクタ(a) が、前記取り込まれた患者ID
ナンバーの前後に付加される。 ステップS503に進
むと、図14に示されているキャラクタ・バーコードパ
ターン対照表を参照しながら、前記バーコードフォント
作成のための文字列をバーコードパターンに変換する。
ステップS504では、図16に示されているドットパ
ターンのうち、上側9ドット分のIのエリアのフォント
データが生成される。ステップS505では、紙送りデ
ータは0とされる。
In step S501, first, the patient number in the patient card data is fetched. Next, in step S502, the start character (a) and
The stop character (a) is the patient ID taken in
It is added before and after the number. In step S503, the character string for creating the bar code font is converted into a bar code pattern with reference to the character / bar code pattern comparison table shown in FIG.
In step S504, the font data of the I area for the upper 9 dots of the dot pattern shown in FIG. 16 is generated. In step S505, the paper feed data is set to zero.

【0079】次に、ステップS506に進み、上側9ド
ット分のIIのエリアのフォントデータが生成される。こ
れは、DPナンバーが奇数番目と偶数番目のドットを続
けて印字すると、印字ワイヤが紙に引っ掛かって印字不
良となるのを防ぐ処置であり、DPナンバーの奇数番目
と偶数番目とが2回に分けて印字される。
Next, in step S506, the font data of the II area for the upper 9 dots is generated. This is a measure to prevent the print wire from being caught on the paper and causing printing failure when the dots of the odd number and the even number of the DP number are continuously printed. It is printed separately.

【0080】次に、ステップS507に進んで、紙送り
データ、すなわち改行量が1/2と設定される。ステッ
プS508では、上側9ドット分のIII のエリアのフォ
ントデータが生成される。このデータは、前記Iのエリ
アのフォントデータと同じである。次いで、ステップS
509に進んで、紙送りデータは0とされ、ステップS
510では、上側9ドット分のIVのエリアのフォントデ
ータが生成される。このデータは、前記IIのエリアのフ
ォントデータと同じである。
Next, in step S507, the paper feed data, that is, the line feed amount is set to 1/2. In step S508, the font data of the area III of 9 dots on the upper side is generated. This data is the same as the font data for the area I. Then, step S
In step S509, the paper feed data is set to 0, and step S
At 510, the font data of the IV area for the upper 9 dots is generated. This data is the same as the font data of the area II.

【0081】前記ステップS504〜S510の処理に
より、紙送り方向のドットの隙間はなくなる。
By the processing in steps S504 to S510, there is no dot gap in the paper feed direction.

【0082】次に、ステップS511にて、紙送りデー
タが(8+1/2)ピッチとされる。そして、ステップ
S512以下(すなわち、S512〜S518)で、上
記と同様の下側9ドット分のフォントデータが生成され
る。これによって、バーコードの幅は、適当な大きさ、
例えば、0.353×(9+9)=6.4mmになされ
る。 以上のように、本実施例によれば、図12の台紙
61に貼られた2枚のラベル62に、患者IDのナンバ
ーをバーコードで印字し、さらに患者名と時刻データを
印字することができる。
Next, in step S511, the paper feed data is set to the (8 + 1/2) pitch. Then, in step S512 and subsequent steps (that is, S512 to S518), font data for the lower 9 dots similar to the above is generated. With this, the width of the barcode is an appropriate size,
For example, 0.353 × (9 + 9) = 6.4 mm. As described above, according to the present embodiment, the number of the patient ID can be printed by the barcode on the two labels 62 attached to the mount 61 of FIG. 12, and further the patient name and the time data can be printed. it can.

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

【0084】患者カード71、医師カード72およびコ
メントカード73はカード読出し手段74から読み込ま
れる。カード判別手段75は読み込まれたカードの種類
を判別し、患者カードのデータは患者カード内容記憶手
段76に格納する。また、医師カードのデータは医師カ
ード内容記憶手段78に、コメントカードのデータはコ
メントカード内容記憶手段79に格納する。また、刻時
手段80から出力された時刻データは、時刻データ記憶
手段81に記憶される。
The patient card 71, the doctor card 72 and the comment card 73 are read by the card reading means 74. The card discriminating means 75 discriminates the type of the read card and stores the data of the patient card in the patient card content storing means 76. The doctor card data is stored in the doctor card content storage means 78, and the comment card data is stored in the comment card content storage means 79. Further, the time data output from the clock means 80 is stored in the time data storage means 81.

【0085】上記のように各データがそれぞれの記憶手
段に記憶されている状態において、バーコード印字モー
ド指定手段82がバーコード印字モードを選択すると、
患者IDナンバーバーコードフォント変換手段77が起
動され、前記患者カード内容記憶手段76の患者IDナ
ンバーがバーコードフォントに変換される。
When the bar code print mode designating means 82 selects the bar code print mode in the state where each data is stored in the respective storage means as described above,
The patient ID number bar code font conversion means 77 is activated, and the patient ID number in the patient card content storage means 76 is converted into a bar code font.

【0086】そこで、図示されていない印字機構に前記
ラベルが貼付された台紙が挿入され、印字開始手段83
が印字を開始すると、太線で記されているように、時刻
データと患者名データと、患者IDナンバーのバーコー
ドデータとが、印字制御手段84に送られ合成されて、
前記ラベルにこれらのデータが印字される。
Then, the mount with the label attached is inserted into a printing mechanism (not shown), and the printing start means 83
When the printing is started, the time data, the patient name data, and the bar code data of the patient ID number are sent to the print control means 84 and are combined, as indicated by the thick line.
These data are printed on the label.

【0087】なお、通常の印字モードで印字開始手段8
3が印字を開始すると、点線の太線で記されているよう
に、時刻データ、患者カードデータ、医師カードデー
タ、およびコメントカードデータが印字制御手段84に
送られ合成されて、印字機構に挿入された伝票に印字さ
れる。
In the normal printing mode, the print starting means 8
When 3 starts printing, time data, patient card data, doctor card data, and comment card data are sent to the print control means 84, combined, and inserted into the print mechanism, as indicated by the thick dotted line. Printed on the slip.

【0088】[0088]

【発明の効果】以上のように、本発明によれば、バーコ
ード印字モードを選択して、印字を開始することによ
り、患者IDナンバーをバーコードデータで表したデー
タに、患者名および日付データを付して、台紙に貼付さ
れたラベルに自動的に、印字されることになり、採血/
採尿容器に貼るラベルの作成作業を大幅に簡単化するこ
とができるようになる。
As described above, according to the present invention, by selecting the bar code printing mode and starting printing, the patient ID number is represented by bar code data, and the patient name and date data are added. Will be automatically printed on the label attached to the backing paper.
The work of creating a label to be attached to a urine collection container can be greatly simplified.

【0089】また、見やすく、間違いが起こる虞れを低
減した品質の高いラベルを発行することができる。
Further, it is possible to issue a high-quality label which is easy to see and reduces the risk of making an error.

【図面の簡単な説明】[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】 液晶表示装置の表示例を示す図である。FIG. 9 is a diagram showing a display example of a liquid crystal display device.

【図10】 液晶表示装置の表示例を示す図である。FIG. 10 is a diagram showing a display example of a liquid crystal display device.

【図11】 伝票の印字例を示す図である。FIG. 11 is a diagram showing an example of printing a slip.

【図12】 台紙に貼られたラベルを示す図である。FIG. 12 is a diagram showing a label attached to a mount.

【図13】 本実施例により得られるラベルの印字例を
示す図である。
FIG. 13 is a diagram showing a print example of a label obtained in this example.

【図14】 キャラクタ・バーコードパターン対応表を
示す図である。
FIG. 14 is a diagram showing a character / bar code pattern correspondence table.

【図15】 バーコードパターンの一例を示す図であ
る。
FIG. 15 is a diagram showing an example of a barcode pattern.

【図16】 バーコードパターンのドット構成図であ
る。
FIG. 16 is a dot configuration diagram of a barcode pattern.

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

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

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

【図20】 印字制御動作を説明するためのフローチャ
ートである。
FIG. 20 is a flowchart illustrating a print control operation.

【図21】 バーコードフォント変換処理のフローチャ
ートである。
FIG. 21 is a flowchart of a barcode font conversion process.

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

【符号の説明】 74…カード読出し手段、75…カード判別手段、76
…患者カード内容記憶手段、77…患者IDナンバー・
バーコードフォント変換手段、78…医師カード内容記
憶手段、79…コメントカード内容記憶手段、80…刻
時手段、81…時刻データ記憶手段、82…バーコード
印字モード指定手段、83…印字開始手段、84…印字
制御手段
[Explanation of Codes] 74 ... Card reading means, 75 ... Card discriminating means, 76
… Patient card content storage means, 77… Patient ID number ・
Bar code font conversion means, 78 ... Doctor card content storage means, 79 ... Comment card content storage means, 80 ... Clocking means, 81 ... Time data storage means, 82 ... Bar code print mode designating means, 83 ... Printing start means, 84 ... 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】患者カードから読み出されたデータを記憶
する患者カード内容記憶手段と、 キー操作によりバーコード印字モードを指定するバーコ
ード印字モード指定手段と、 前記バーコード印字モードが指定された時に、前記患者
カード内容記憶手段中の患者IDナンバーをバーコード
フォントデータに変換する患者IDナンバー・バーコー
ドフォント変換手段とを具備したことを特徴とするバー
コード印字機能を有する伝票プリンタ。
1. A patient card content storage means for storing data read from a patient card, a bar code print mode designating means for designating a bar code print mode by a key operation, and the bar code print mode is designated. A voucher printer having a bar code printing function, further comprising: a patient ID number / bar code font conversion means for converting a patient ID number in the patient card content storage means into bar code font data.
【請求項2】前記請求項1記載のバーコード印字機能を
有する伝票プリンタにおいて、 前記バーコード印字モードが指定され、続いて印字開始
となった時に、患者IDのバーコード、患者名および発
行日の各データを、被印字用紙の予め定められた位置
に、予め定められた配置で印字する印字制御手段を具備
したことを特徴とするバーコード印字機能を有する伝票
プリンタ。
2. A slip printer having a bar code printing function according to claim 1, wherein when the bar code printing mode is designated and printing is subsequently started, a bar code of a patient ID, a patient name and an issue date. 2. A slip printer having a bar code printing function, comprising: print control means for printing the respective data at a predetermined position on a printing target paper in a predetermined arrangement.
JP14191092A 1992-05-08 1992-05-08 Slip printer with bar code printing function Pending JPH06143754A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP14191092A JPH06143754A (en) 1992-05-08 1992-05-08 Slip printer with bar code printing function

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP14191092A JPH06143754A (en) 1992-05-08 1992-05-08 Slip printer with bar code printing function

Publications (1)

Publication Number Publication Date
JPH06143754A true JPH06143754A (en) 1994-05-24

Family

ID=15303009

Family Applications (1)

Application Number Title Priority Date Filing Date
JP14191092A Pending JPH06143754A (en) 1992-05-08 1992-05-08 Slip printer with bar code printing function

Country Status (1)

Country Link
JP (1) JPH06143754A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4865934A (en) * 1987-04-24 1989-09-12 Minolta Camera Kabushiki Kaisha Fuction divided photosensitive member
US4886720A (en) * 1987-08-31 1989-12-12 Minolta Camera Kabushiki Kaisha Photosensitive medium having a styryl charge transport material
JP2007035234A (en) * 2005-06-24 2007-02-08 Mitsumi Electric Co Ltd Tape cartridge autoloader
JP5880450B2 (en) * 2011-01-31 2016-03-09 住友ベークライト株式会社 Resin composition and semiconductor device

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4865934A (en) * 1987-04-24 1989-09-12 Minolta Camera Kabushiki Kaisha Fuction divided photosensitive member
US4886720A (en) * 1987-08-31 1989-12-12 Minolta Camera Kabushiki Kaisha Photosensitive medium having a styryl charge transport material
JP2007035234A (en) * 2005-06-24 2007-02-08 Mitsumi Electric Co Ltd Tape cartridge autoloader
JP5880450B2 (en) * 2011-01-31 2016-03-09 住友ベークライト株式会社 Resin composition and semiconductor device

Similar Documents

Publication Publication Date Title
JPH06143754A (en) Slip printer with bar code printing function
US5290109A (en) Electronic typewriter for printing of documents having a fixed format
JPH06286239A (en) Method for processing of label printing in label printer
JP2791988B2 (en) Hospital slip printer capable of printing patient age
JP2791987B2 (en) Slip printer with date printing function
JP2969019B2 (en) Slip printer for card data entry
JP2915674B2 (en) Slip printer
JP2751129B2 (en) Slip printer
JP2839118B2 (en) Printing device for slip printer
JPH06143753A (en) Slip printer
JPH05193224A (en) Screen control system in slip printer
JP2667085B2 (en) Label printing device
JPH079702A (en) Method of reading card data of slip printer
JP2703146B2 (en) Label printing device
JP2703461B2 (en) Label printing device
JPH05193190A (en) Slip printer having slip parameter setting function
JP3932629B2 (en) Securities issuing equipment
JP2667083B2 (en) Label printing device
JPH06143750A (en) Printing system in slip printer
JP2779157B2 (en) Document information processing device
JP2718603B2 (en) Label printing device
JPH05193210A (en) Printing device in slip printer
JPH079727A (en) Printer of slip having free layout
JP3142307B2 (en) Personal mail system
JPH05330140A (en) Label printer