Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPS5851315B2 - Automatic ticket vending machine print information setting method - Google Patents
[go: Go Back, main page]

JPS5851315B2 - Automatic ticket vending machine print information setting method - Google Patents

Automatic ticket vending machine print information setting method

Info

Publication number
JPS5851315B2
JPS5851315B2 JP14557278A JP14557278A JPS5851315B2 JP S5851315 B2 JPS5851315 B2 JP S5851315B2 JP 14557278 A JP14557278 A JP 14557278A JP 14557278 A JP14557278 A JP 14557278A JP S5851315 B2 JPS5851315 B2 JP S5851315B2
Authority
JP
Japan
Prior art keywords
character
font
numbers
key
letters
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.)
Expired
Application number
JP14557278A
Other languages
Japanese (ja)
Other versions
JPS5547580A (en
Inventor
操 梁根
安秀 金成
成治 原
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.)
Sanyo Vending Machine Co Ltd
Original Assignee
Sanyo Vending Machine 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 Sanyo Vending Machine Co Ltd filed Critical Sanyo Vending Machine Co Ltd
Priority to JP14557278A priority Critical patent/JPS5851315B2/en
Publication of JPS5547580A publication Critical patent/JPS5547580A/en
Publication of JPS5851315B2 publication Critical patent/JPS5851315B2/en
Expired legal-status Critical Current

Links

Description

【発明の詳細な説明】 従来自動券売機は予じめ印刷したい文字を形成する印字
機構を備えて発券時には各印字機構が選択的に駆動して
券面に印刷するよう構成されている。
DETAILED DESCRIPTION OF THE INVENTION A conventional automatic ticket vending machine is equipped with a printing mechanism that forms characters to be printed in advance, and when issuing a ticket, each printing mechanism is selectively driven to print on the ticket surface.

したがって食券販売機の場合にメニュー変更はゴム印を
変更しなければならず汎用性の面であまり実用的とはい
えない。
Therefore, in the case of a food ticket vending machine, changing the menu requires changing the rubber stamp, which is not very practical in terms of versatility.

しかも券に印刷する文字が大文字・普通文字と字体を違
えて印刷するにはその字体に応じてゴム印を装備しなけ
ればならずコストが重むばかりか印字機構を駆動させる
にあたって複雑な制御を必要としていた。
Moreover, in order to print characters on tickets in different fonts, such as uppercase and regular characters, it is necessary to equip rubber stamps according to the font, which not only increases costs but also requires complicated control to drive the printing mechanism. It was.

上記点より本発明は、文字或いは数字の文字パターンを
メモリに記憶しておき、キー人力手段により任意の券面
への印字情報を入力すると、発券時にはこの印字情報に
したがってメモリより文字パターンを読出して、印刷す
ることが可能な自動券売機の印字情報設定方式を提供す
るものである。
In view of the above points, the present invention stores a character pattern of letters or numbers in a memory, and inputs information to be printed on an arbitrary ticket surface using key manual means, and then reads out the character pattern from the memory according to this printed information at the time of issuing a ticket. The present invention provides a printing information setting method for an automatic ticket vending machine that is capable of printing.

更に本発明は、同−文字或いは数字を二通りの字体に使
い分けて印刷可能にすると共に、字体を任意に選択する
ことが可能な印字情報設定方式を提供するものである。
Furthermore, the present invention provides a print information setting method that allows the same letter or number to be printed in two different fonts, and allows the font to be arbitrarily selected.

以下図面と共に本発明の一実施例を詳述する。An embodiment of the present invention will be described in detail below with reference to the drawings.

第1図は食堂等で設置される自動券売機を示し、接客部
1には販売品種表示部2、品種毎の選択ボタン3、硬貨
投入口4、店名などの表示部5及び投入金額或いは釣銭
額の金額表示部6が配列されている。
Fig. 1 shows an automatic ticket vending machine installed in a restaurant, etc., and the customer service section 1 includes a sales type display section 2, a selection button 3 for each type, a coin slot 4, a display section 5 for store name, etc., and a display section 5 for displaying the amount inserted or change. Amount display sections 6 are arranged.

そして発券部7は外部に釣銭及び券を払出す販売口8を
備え、内部のプリンタが客によって操作された選択ボタ
ン3のメニューに関し所定の印字情報を印刷後販売口8
へ送出するように構成しである。
The ticket issuing unit 7 is equipped with an external sales outlet 8 for dispensing change and tickets, and after an internal printer prints predetermined print information regarding the menu of the selection button 3 operated by the customer, the ticket issuing unit 7 opens the sales outlet 8.
It is configured to send to.

第2図はプリンタ9の構成を示し、軸10に巻回された
春用紙を販売動作毎に所定量ずつ春用紙摘出ローラー1
1にて摘出し印字ヘッド12により定められた文字或い
は数字を印字しカッター13にて切断して発行するもの
である。
FIG. 2 shows the configuration of the printer 9, in which a predetermined amount of spring paper wound around a shaft 10 is removed by a spring paper extraction roller 1 for each selling operation.
1, a print head 12 prints predetermined characters or numbers, and a cutter 13 cuts the paper for publication.

第3図は印字ヘッド12の構成を示し縦1列7ドツトの
発熱素子14を備えタイミング信号と同期して印字ヘッ
ド12が横方向に移動する間7個の素子14を通電或い
は非通電とすることで印字が行なわれる。
FIG. 3 shows the configuration of the print head 12, which includes heating elements 14 of seven dots in a vertical row, and the seven elements 14 are energized or de-energized while the print head 12 moves in the horizontal direction in synchronization with a timing signal. This is how printing is performed.

即ち第4図は普通文字の字体による口」の印字を示し、
5個のタイミングパルスに沿って印字ヘッド12を移動
させ斜線の部分で素子を動作させるよう第6図に示す如
゛くT1からT5タイミングまでの間に7個の素子へ夫
々「1」或いはrOJを出力することで印字が行なわれ
る。
That is, Fig. 4 shows the printing of ``mouth'' in the font of ordinary characters,
In order to move the print head 12 along the five timing pulses and operate the elements in the diagonally shaded area, apply "1" or rOJ to each of the seven elements between timings T1 and T5, as shown in FIG. Printing is performed by outputting .

また第5図は大文字の字体による「ア」の印字を示し、
10個のタイミングパルスに沿って印字ヘッド12を移
動させ第7図に示す如くT1からTIOタイミングまで
の間に7個の素子へ夫々「1」或いは「Oコを出力して
斯かる印字が行なわれる。
Also, Figure 5 shows the printing of "A" in uppercase font,
The print head 12 is moved according to 10 timing pulses, and as shown in FIG. 7, "1" or "O" is output to each of the seven elements from T1 to TIO timing, and such printing is performed. It will be done.

このような1文字に付き大文字と普通文字の二通りの文
字パターンは必要な文字毎にキャラクタジェネレータと
称するメモリにストアされ、大文字の文字パターンの場
合10個のタイミング)々ルスによって制御されるため
10バイトの記憶容量が必要となり第7図に示すような
縦列の7ビツトのデータが1バイト毎記憶され、普通文
字の文字パターンの場合5個のタイミンク゛)fルスに
よって制御されるため5バイトの記憶容量が必要となり
第6図に示すような縦列の7ビツトのデータが1バイト
毎記憶される。
These two character patterns for one character, uppercase and regular, are stored in a memory called a character generator for each necessary character, and in the case of an uppercase character pattern, they are controlled by 10 timing pulses. A storage capacity of 10 bytes is required, and 7-bit data in a column as shown in Figure 7 is stored for each byte, and in the case of a character pattern for ordinary characters, it is controlled by 5 timing pulses, so 5 bytes of data are stored. Storage capacity is required, and 7-bit data in columns as shown in FIG. 6 is stored for each byte.

第9図はキャラクタジェネレータのアドレス割付図を示
し、同図に於いて1000番地から負方向に普通文字に
よる印字データが各文字及び数字に関して5バイトずつ
記憶されており、また正方向に大文字による印字データ
が各文字及び数字に関して10バイ−ドずつ記憶されて
いる。
Figure 9 shows the address allocation diagram of the character generator. In the figure, printing data in ordinary characters is stored in the negative direction from address 1000, 5 bytes for each character and number, and printing data in uppercase characters is stored in the positive direction. Data is stored in 10 bytes for each letter and number.

そして1000番地を境にして同−文字及び数字に関す
る大文字及び普通文字による印字データが対称に配列さ
れている。
Print data of uppercase letters and ordinary letters regarding the same letters and numbers are arranged symmetrically with the address 1000 as the boundary.

そしてキャラクタジェネレータに記憶されたこのような
文字パターンに関するデータは文字毎に夫々設定した1
6進によるキャラクタコードに基づき読出される。
Data regarding such character patterns stored in the character generator is set for each character.
It is read based on the hexadecimal character code.

第8図は文字「アJから「ン」までと数字「O」から「
9」までと更に濁点「〃」 ・半濁点「○」・長音「−
」に関して大文字と普通文字に於けるキャラクタコード
及びキャラクタ信号を示し、大文字のキャラクタコード
はOOから7Fまでの範囲に設定されて普通文字のキャ
ラクタコードは大文字のキャラクタコードの補数に設定
され80からFFまでの範囲となっている。
Figure 8 shows the letters “AJ” to “N” and the numbers “O” to “N”.
Up to ``9'' and further dakuten ``〃'', half-dakuten ``○'', long tone ``-''
”, the character codes and character signals for uppercase letters and ordinary letters are shown. The character code for uppercase letters is set in the range from OO to 7F, and the character code for ordinary letters is set to the complement of the character code for uppercase letters, from 80 to FF. The range is up to.

第10図は本発明に依る自動券売機の制御回路をブロッ
ク図にて示す。
FIG. 10 shows a control circuit for an automatic ticket vending machine according to the present invention in a block diagram.

15はキー操作によりキャラクタ信号を生じるキーボー
ド、16は補数形成回路、17は読出・書込制御装置、
18は各券種の共通の印字情報を記憶するメモリ、19
A・・・19nは券種毎に夫々異なる印字情報を記憶す
るメモリ、20は制御装置、21は10倍回路、22は
5倍回路、23はデータカウンタ、24は加算器、25
はキャラクタジェネレータ、26は印字制御部、27は
ステータス検出装置であり、他に制御ゲートGより構成
されている。
15 is a keyboard that generates character signals by key operation; 16 is a complement forming circuit; 17 is a read/write control device;
18 is a memory for storing common print information for each ticket type; 19;
A... 19n is a memory that stores different print information for each bill type, 20 is a control device, 21 is a 10x circuit, 22 is a 5x circuit, 23 is a data counter, 24 is an adder, 25
2 is a character generator, 26 is a print control section, 27 is a status detection device, and a control gate G is also included.

キーボード15は必要な文字毎の文字キーと、0から9
までの数字キーと、普通文字lこよる字体を選択するB
Kキーと、印字情報の設定時に操作するSK主キー、設
定終了時に操作するEKキーと、券種を指定するCK1
・CK2・・・CKnキーと、ファンクションキーFK
1・FK2・FK3とを備えている。
The keyboard 15 has character keys for each required character and keys from 0 to 9.
Use the number keys up to and select the font of the normal letter B
K key, SK main key operated when setting print information, EK key operated when finishing setting, and CK1 used to specify the ticket type.
・CK2...CKn key and function key FK
1, FK2, and FK3.

SK主キー操作するとスタート信号SKが制御部20に
入力し券面に印刷すべき印字情報の設定動作となり、以
下制御部20は制御ゲート28゜29の何れかを導通さ
せ更に読出・書込制御装置17に制御信号CL1を送っ
て印字情報の設定動作に関する所定の制御を実行する。
When the SK main key is operated, a start signal SK is input to the control section 20, and the printing information to be printed on the ticket is set.Then, the control section 20 conducts either of the control gates 28 and 29, and then turns on the read/write control device. 17 to execute predetermined control regarding the printing information setting operation.

また発券時に於いては、何れかの選択信号SL、・SL
2・・・SLn の到来により制御ゲート30,31.
32,33゜34を夫々導通或いは不導通とさせ更にプ
リンタ9に制御信号CL2及びタイミングパルスTPを
送つて発券制御を実行する。
Also, at the time of ticket issuance, any selection signal SL, SL
2... Due to the arrival of SLn, the control gates 30, 31 .
32, 33 and 34 are made conductive or non-conductive, respectively, and a control signal CL2 and a timing pulse TP are sent to the printer 9 to execute ticket issuing control.

したがって制御部20はバードロジック或いはマイクロ
プログラムの倒れによっても構成されて上記動作を行な
う。
Therefore, the control section 20 is configured by a bird logic or a microprogram to perform the above operations.

FK1キーはメモリ18とそしてCK1・CK2・・C
Knキーはメモ!、119A、19B・・・19nと夫
々対応しておりこれらが操作されると制御部20は特定
のメモリ18或いは19A、19B・・・19nを指定
すべく読出・書込制御装置17に制御信号CL1を送る
FK1 key is memory 18 and CK1, CK2...C
Kn key is memo! , 119A, 19B...19n, and when these are operated, the control unit 20 sends a control signal to the read/write control device 17 to specify a specific memory 18 or 19A, 19B...19n. Send CL1.

メモ1J19A、19B・・・19nは夫々券種名の印
字情報を記憶する領域M1と販売価格の印字情報を記憶
する領域M2とを備え、FK2K2キー作により前者の
領域FK5K5キー作により後者の領域を選定すべく読
出・書込制御装置17に制御信号CL1を送る。
The memos 1J19A, 19B...19n each have an area M1 for storing the print information of the ticket type name and an area M2 for storing the print information of the selling price. A control signal CL1 is sent to the read/write control device 17 in order to select the read/write control device 17.

またデータキーである文字及び数字キーを操作すると大
文字による夫々のキャラクタコード′を示す8ビツトの
キャラクタ信号が制御ゲート28.29に出力されると
共にストローブ信号sbが制御部20に出力されて、制
御部20はデータキーが操作されたことを知り所定の制
御を進めていく。
Further, when the character and number keys, which are data keys, are operated, an 8-bit character signal indicating the respective character code ' in capital letters is output to the control gates 28 and 29, and a strobe signal sb is output to the control section 20, which controls the control. The unit 20 learns that the data key has been operated and proceeds with predetermined control.

スタート信号SKが制御部20へ入力すると、制御部2
0は通常制御ゲート28を導通制御ゲート29を不導通
とするが、BKキーの操作により制御ゲート28が不導
通制御ゲート29が導通と反転し一文字或いは数字に関
してキーボード15より生じたキャラクタ信号は補数形
成回路16へ導入される。
When the start signal SK is input to the control section 20, the control section 2
0 normally makes the control gate 28 conductive and the control gate 29 non-conductive, but when the BK key is operated, the control gate 28 becomes non-conductive and the control gate 29 becomes conductive, and the character signal generated from the keyboard 15 for one character or number becomes a complement. is introduced into the formation circuit 16.

そしてキャラクタ信号は補数に変換され普通文字による
キャラクタコードが読出・書込制御装置17へ出力され
、読出・書込制御装置17I/i制御部20により書込
制御状態となっており指定のメモIJ1B、19A。
Then, the character signal is converted into a complement, and the character code in ordinary characters is output to the read/write control device 17, and the read/write control device 17 I/i control unit 20 puts the write control state into the specified memo IJ1B. , 19A.

19B・・・19Hにキャラクタコードを記憶させる。Store character codes in 19B...19H.

第12図は制御ゲート28.29及び補数形成回路゛1
6の具体的な構成を示し、制御ゲート28に相当するA
NDゲートA1・A2・・・A3°、制御ゲート29に
相当するANDゲ゛−トAll ・A I 2・・・
A□8・、補数形成回路16に相当するインバータ■l
・I 2”・・・■8、及びゲート選択用のフリップフ
ロップ回路F−とから成る。
Figure 12 shows the control gates 28, 29 and complement forming circuit 1.
6 and corresponds to the control gate 28.
ND gates A1, A2, . . . A3°, AND gates All, A I 2, .
A□8・, inverter ■l corresponding to complement forming circuit 16
・I2''...■8, and a flip-flop circuit F- for gate selection.

8ビツトのキャラクタ信号は各ビット毎パラレルにAN
DゲートA1−A2・・・A8とANDゲートA1(A
’□2・・・A 2 g ’、に夫々入力するが通常フ
リップフロップ回路Fはリセットされているために、制
御部20より制御ゲート28,29に導通信号Aが出力
されても制御ゲート28のみしかキャラクタ信号は出力
されない。
The 8-bit character signal is ANd in parallel for each bit.
D gates A1-A2...A8 and AND gate A1 (A
'□2...A 2 g ', but since the flip-flop circuit F is normally reset, even if the conduction signal A is output from the control section 20 to the control gates 28 and 29, the control gate 28 Character signals are output only in the following cases.

したがって大文字に関するキャラクタ信号が出力される
Therefore, a character signal relating to uppercase letters is output.

尚第10図には図示されていないが制御部20は制御ゲ
ートGを導通させる場合適宜導通信号Aを出力するよう
になっている。
Although not shown in FIG. 10, the control section 20 is configured to appropriately output a conduction signal A when the control gate G is made conductive.

ところがキャラクタ信号が入力する前即ちデータキー操
作前にBKキーが操作されると、BK信号によりフリッ
プフロップ回路Fが反転し、続いて操作されるデータキ
ーによって生じるキャラクタ信号は、制御ゲート29よ
り出力され補数形成回路16へ導入される。
However, if the BK key is operated before a character signal is input, that is, before a data key is operated, the flip-flop circuit F is inverted by the BK signal, and the character signal generated by the subsequently operated data key is output from the control gate 29. and is introduced into the complement forming circuit 16.

したがって、この場合普通文字に関するキャラクタ信号
が出力される。
Therefore, in this case, a character signal related to ordinary characters is output.

そしてこのデ゛−タキーの操作で生じるストローブ信号
sbが遅延回路31に入力して遅延された後フリップフ
ロップ回路Fをリセットするため、このデータキーに係
わる一文字或いは数字のキャラクタコードが補数を形成
される。
Then, in order to reset the flip-flop circuit F after the strobe signal sb generated by the operation of this data key is input to the delay circuit 31 and delayed, the character code of one letter or number related to this data key is formed as a complement. Ru.

第11図は発行券の一例を示し上欄には普通文字による
食堂名「サンヨー」中欄には大文字による券種名「オム
ライス」下欄には普通文字による販売価格「400エン
」が印字されている。
Figure 11 shows an example of an issued ticket.The upper column shows the name of the restaurant in plain letters, "Sanyo," the middle column has the ticket type name, in capital letters, "omelet rice," and the lower column has the selling price, "400 yen," printed in plain letters. ing.

ここで上記券を発行する場合の印字情報設定動作につい
て説明する。
Here, the print information setting operation when issuing the above-mentioned ticket will be explained.

先ずSK主キー操作後FK1キーを操作すると制御部2
0によりメモリ18が指定される。
First, when you operate the SK main key and then the FK1 key, the control unit 2
Memory 18 is specified by 0.

そして「サンヨー」の綴りを形成する文字キー及び長音
「−」キーを順次操作するが、これらのキーを操作する
前に夫々BKキーを操作すると大文字によるキャラクタ
コードが反転して普通文字によるキャラクタコードがメ
モリ18に記憶される。
Then, sequentially operate the letter keys that form the spelling of "Sanyo" and the long sound "-" key, but if you operate the BK key before operating these keys, the uppercase character code will be reversed and the character code will be changed to the regular character code. is stored in the memory 18.

メモリ18に記憶される印字情報は各券種毎共通であり
この設定動作により全ての券種の発行時にメモリ18よ
り印字情報が読取られる。
The printed information stored in the memory 18 is common to each bill type, and by this setting operation, the printed information is read from the memory 18 when all bill types are issued.

次にCK1・CK2・・CKnキーの何れかを操作する
とこれに対応するメモ!J19A、19B・・・19n
が制御部20にて指定される。
Next, when you operate any of the CK1, CK2, CKn keys, a corresponding memo will appear! J19A, 19B...19n
is designated by the control unit 20.

例えば1番月の券種に関し「オムライス」を設定するに
はCK、キー続いてFK2K2キー作すると制御部20
によりメモリ19Aの記憶領域M1が指定される。
For example, to set "omelet rice" for the ticket type of the first month, press the CK key, then the FK2K2 key, and the control unit 20
The storage area M1 of the memory 19A is specified.

そして「オムライス」の綴りを形成する文字キーを幀次
操作しこのときBKキーを操作しないと大文字によるキ
ャラクタコードがこの記憶領域M2に記憶される。
Then, if the character keys forming the spelling of "omelet rice" are operated one after another, and the BK key is not operated at this time, the character code in capital letters is stored in this storage area M2.

然る後FK3キーを操作すると制御部20によりメモ1
月9Aの記憶領域M2が指定され、「400エン」の綴
りを形成する数字キー及び文字キーを操作し、各キーの
操作前でBKキーを操作すると普通文字によるキャラク
タコードがこの記憶領域M に記憶される。
After that, when you operate the FK3 key, the control unit 20 will display memo 1.
Storage area M2 for month 9A is specified, and when you operate the number keys and letter keys that form the spelling of "400 en" and press the BK key before operating each key, the character code in ordinary letters is stored in this storage area M. be remembered.

このようにして1番目の券種に関する券種名及び販売価
格の設定後同様にしてCR2・CR2・・・CKnキー
を操作し、2・3・・・n番目の券種に関する上記情報
を設定する。
After setting the ticket type name and sales price for the first ticket type in this way, operate the CR2, CR2...CKn keys in the same way to set the above information for the 2nd, 3rd, and nth ticket types. do.

そして全ての券種に係わる設定動作の終了後EK主キー
操作すると制御部20は設定動作に関する制御を停止し
制御ゲート28.29の両方を不導通にする。
When the EK main key is operated after the setting operations related to all ticket types are completed, the control section 20 stops the control related to the setting operations and makes both the control gates 28 and 29 non-conductive.

また特定番目の券種についてのみ上記情報を設定するこ
とも可能であり、SKキーの操作後CK1・CR2・・
・CKnキーを操作して設定後EKキーを操作すれば良
く、これによって印字情報の変更及び再設定が行なえる
効果がある。
It is also possible to set the above information only for a specific ticket type, and after operating the SK key, CK1, CR2, etc.
・After setting by operating the CKn key, operating the EK key has the effect of allowing printing information to be changed and reset.

また例えば「ジュース」の「ユ」字の伺く綴りの中の促
音或いは物音を小文字で印刷する場合には、これらの小
文字を設定するためのキー及び大文字体・普通文字体に
よるキャラクタコードとキャラクタ信号が設定れる力体
実施例では省略した。
For example, if you want to print the consonants or sounds in the spelling of the "yu" character of "juice" in lowercase letters, the keys for setting these lowercase letters, and the character codes and characters in uppercase and regular letters. This is omitted in the physical embodiment where a signal can be set.

次に発券動作について説明する。Next, the ticket issuing operation will be explained.

所定金額投入後客により選択ボタン3の何れかが操作さ
れて選択信号SL1 ・SL2・・・SLnが入力する
と、制御部20は読出・書込制御装置17を読出制御状
態とすると共に先ずメモリ18を指定する。
When the customer operates one of the selection buttons 3 after inserting a predetermined amount of money and inputs selection signals SL1, SL2, . Specify.

したがって読出・書込制御装置17はメモリ18に記憶
されたキャラクタコードを順次読出しステータス検出装
置27に導入する。
Therefore, the read/write control device 17 sequentially reads out the character codes stored in the memory 18 and introduces them into the read status detection device 27.

キャラクタコードは8ビツトによる2進化16進符号で
処理され第8図より明らかな如く普通文字の場合8ビツ
ト目のデータが「1」であり、ステータス検出装置27
によりステータスが検出され普通文字を示すキャラクタ
コードであることが制御部20は知ることができる。
The character code is processed using an 8-bit binary coded hexadecimal code, and as is clear from FIG.
The control unit 20 can detect the status and know that it is a character code indicating a normal character.

そしてステータス検出装置27は普通文字の場合制御ゲ
ート31を導通させ5倍回路22にキャラクタコードを
導入し、5倍回路22では入力した8ビツトによるキャ
ラクタ信号の上位に8ビツトによるデータFF(即ち2
進符号で1・1・1・1・1・1・1・1)を追加した
後この16ビツトによる値を5倍するようになっている
In the case of a normal character, the status detection device 27 turns on the control gate 31 and introduces a character code into the quintuple circuit 22, and in the quintuple circuit 22, an 8-bit data FF (i.e., 2
After adding the base code 1, 1, 1, 1, 1, 1, 1, 1), this 16-bit value is multiplied by 5.

例えば読出されたキャラクタコードがrFF’J(即ち
キャラクタ信号によると1・1・1・1・1・1・1・
1)で普通文字「ア」を示す場合、5倍回路22は上位
8ビツトにrFFJを追加してrF’FF’FJ (即
ちキャラクタ信号によると1・1 ・ 1 ・ 1 ・
1 ・ 1 ・ 1 ・ 1 ・ 1 ・ 1 ・
1 ・ 1 ・1・1・1・1)とした後5倍しrF
F F BJを加算器24の一方へ導入する。
For example, the read character code is rFF'J (that is, according to the character signal, 1, 1, 1, 1, 1, 1, 1,
When indicating the ordinary character "A" in 1), the 5x circuit 22 adds rFFJ to the upper 8 bits to produce rF'FF'FJ (that is, according to the character signal, 1.1.1.1.
1 ・ 1 ・ 1 ・ 1 ・ 1 ・ 1 ・
1 ・ 1 ・1 ・ 1 ・ 1 ・ 1) and then multiply by 5 rF
Introduce F F BJ to one side of adder 24 .

また加算器24の他方に接続された制御ゲート33は制
御部20により導通しており、レジスタ35に置数され
ているrloooJ(即ち2進化16進符号で0・0・
0−1−0−0 ・0 ・0−0−0 ・0 ・0
・O・0・0・0)が加算器24に導入される。
Further, the control gate 33 connected to the other side of the adder 24 is made conductive by the control unit 20, and the number rloooJ (i.e., 0, 0,
0-1-0-0 ・0 ・0-0-0 ・0 ・0
.O.0.0.0) is introduced into the adder 24.

そして両者が加算され「0FFB」(即ち2進化16進
符号でo−o−o−o・1・1・1・1・1・1・1・
1・1・0・1・1)がデータカウンタ23へ導入され
てキャラクタジェネレータ25のアドレス0FFB番地
が指定され、ここにストアされている印字データが印字
制御部26に読出される。
Then, both are added and "0FFB" (that is, o-o-o-o・1・1・1・1・1・1・1・
1.1.0.1.1) is introduced into the data counter 23, the address 0FFB of the character generator 25 is designated, and the print data stored there is read out to the print control section 26.

また制御部20は1番目のタイミングパルスTPをプリ
ンタ9に出力しこれと同期して印字ヘッド12の7個の
素子14が0FFB番地のデータに基づき通電或いは非
通電となる。
Further, the control section 20 outputs the first timing pulse TP to the printer 9, and in synchronization with this, the seven elements 14 of the print head 12 are energized or de-energized based on the data at address 0FFB.

その後制御部20は普通文字の場合、以下制御ゲート3
4゜32、を同時に導通・不導通とする一連のサイクル
を4回繰返し各サイクルでタイミングパルスを出力する
After that, the control unit 20 controls the following control gate 3 in the case of normal characters.
A series of cycles in which 4°32 is made conductive and non-conductive at the same time is repeated four times, and a timing pulse is output in each cycle.

したがって加算器24の一方には現在データカウンタ2
3に置数している値が、そして他方にはレジスタ36に
置数されている「1」が入力するため、データカウンタ
23は各サイクルで置数している値に1づつ加算されF
FC・FFD−FFE−FFF番地を順次指定すること
になる。
Therefore, one side of the adder 24 contains the current data counter 2.
Since the value set in 3 is inputted and the number 1 set in the register 36 is inputted in the other, the data counter 23 adds 1 to the value set in each cycle.
The FC/FFD-FFE-FFF addresses will be specified in sequence.

またプリンタ9はタイミングパルスTPが入力する度に
印字ヘッド12移動させると共に印字制御部26に読出
された上記各番地の印字データに基づき7個の素子14
を通電或いは共通型とする。
Further, the printer 9 moves the print head 12 every time the timing pulse TP is input, and prints the seven elements 14 based on the print data at each address read out by the print control section 26.
Energize or use common type.

このようにして制御部20がタイミングパルスTPを5
個出力すると普通文字「ア1が印字される。
In this way, the control section 20 controls the timing pulse TP by 5 times.
When outputting 1, the normal character ``A1'' is printed.

第11図に示す券を発行する場合メモリ18には「サン
ヨー」の各文字毎に普通文字によるキャラクタコードが
記憶されており上記動作が各文字で繰返されて上欄の印
字を終了する。
When issuing the ticket shown in FIG. 11, a character code in ordinary letters is stored in the memory 18 for each character of "SANYO", and the above operation is repeated for each character to complete the printing of the upper column.

したがって読出・書込制御装置17がメモリ18に記憶
しているキャラクタコードを全て読出する制御部20は
プリンタ9に制御信号CL2を出力して券用紙摘出ロー
ラー11を駆動させ次の印字は中欄で行なうように制御
する。
Therefore, the control section 20, which reads out all the character codes stored in the memory 18 by the read/write control device 17, outputs a control signal CL2 to the printer 9 to drive the ticket paper extraction roller 11, and the next printing is performed in the middle column. control the way it is done.

そして制御部20は入力した選択信号5L1SL2・・
・SLnに対応したメモリ19A、19B・・・19n
の記憶領域M1を読出・書込制御装置11にて指定する
Then, the control unit 20 receives the input selection signals 5L1SL2...
・Memory 19A, 19B...19n compatible with SLn
The storage area M1 is designated by the read/write control device 11.

記憶領域M1に設定されているキャラクタコードは大文
字であり、大文字の印字動作について説明する。
The character code set in the storage area M1 is an uppercase letter, and the printing operation for uppercase letters will be explained.

大文字のキャラクタコードは8ビツト目はrOJであり
ステータス検出装置27にステータスは検出されずよっ
て制御ゲート30が制御部20によって導通されており
10倍回路21へ導入されて10倍される。
The 8th bit of the uppercase character code is rOJ, and the status is not detected by the status detection device 27, so the control gate 30 is turned on by the control section 20, and the signal is introduced into the 10x circuit 21 and multiplied by 10.

このとき読出されたキャラクタコードがrolJ(即ち
キャラクタ信号によると0・O−0・0・0・0・0・
1)で大文字「イ」を示す場合は10倍回路21により
0・0・0・0・1・0・1・0となって加算器24の
一方に導入し、レジスフ35の置数値rl 000Jと
加算されrloOAJ(即ち2進化16進符゛号で0・
0・0・1・0・0・0・0・0・0・0・0・1・0
・1・O)がデータカウンタ23に導入される。
The character code read at this time is rolJ (that is, according to the character signal, 0, O-0, 0, 0, 0, 0,
When indicating the capital letter "A" in 1), the 10x circuit 21 converts it into 0, 0, 0, 0, 1, 0, 1, 0, and inputs it to one side of the adder 24, and the register value rl 000J of the register 35 is input. is added to rloOAJ (i.e. 0 in binary coded hexadecimal code).
0.0.1.0.0.0.0.0.0.0.0.1.0
・1・O) is introduced into the data counter 23.

したがってキャラクタジェネレータ25の100A番地
が指定され、ここにストアされている印字データが印字
制御部26により読出され制御部20よりの1番目のタ
イミングパルスTPによって印字ヘッド12の7個の素
子14が通電或いは非通電とされる。
Therefore, the address 100A of the character generator 25 is specified, the print data stored there is read out by the print control section 26, and the seven elements 14 of the print head 12 are energized by the first timing pulse TP from the control section 20. Or it is de-energized.

その後制御部20は大文字の場合、制御ゲート34゜3
2を同時に導通或いは不導通とする=連のサイクルを9
回繰返すためデータカウンタ23に置数されている値が
1ずつ加算されキャラクタジェネレータ25のl00B
・100C・・・1014番地が順次指定される。
After that, the control unit 20 opens the control gate 34°3 in the case of a capital letter.
Make 2 conductive or non-conductive at the same time = 9 consecutive cycles
In order to repeat the number of times, the value placed in the data counter 23 is added by 1, and the character generator 25 l00B
・100C...1014 addresses are sequentially designated.

更に制御部20は各サイクルでタイミングパルスTPを
出力するため、プリンタ9は印字ヘッド12を移動させ
ると共に各々の番地の印字データに基づき7個の素子1
4を通電或いは非通電として大文字「イ」の印字が終了
する。
Furthermore, since the control unit 20 outputs a timing pulse TP in each cycle, the printer 9 moves the print head 12 and prints the seven elements 1 based on the print data at each address.
4 is energized or de-energized, printing of the capital letter "I" is completed.

メモIJ19Aの記憶領域M1には「オムライ内の各文
字毎に大文字によるキャラクタコードが記憶されており
各文字で上記動作が繰返されて中欄の印字が終了する。
In the storage area M1 of the memo IJ19A, a character code in capital letters is stored for each character in the Omurai, and the above operation is repeated for each character to complete printing of the middle column.

モして読出・書込制御装置17が記憶領域M1にストア
しているキャラクタコードを全て読出すと制御部20は
プリンタ9に制御信号CL、4再び出力し券用紙摘出ロ
ーラー11を駆動させ次の印字は下欄で行なうように制
御する。
When the read/write control device 17 reads out all the character codes stored in the storage area M1, the control section 20 again outputs the control signal CL, 4 to the printer 9 to drive the ticket paper extraction roller 11, and then The printing of is controlled in the lower column.

そして制御部20はメモIJ19Aの記憶領域M2.を
読出・書込制御装置17にて指定する。
Then, the control unit 20 controls the storage area M2. of the memo IJ19A. is specified by the read/write control device 17.

記憶領域M2には普通文字によるF400エン」がスト
アされていて上述の普通文字の印字動作が行なわれ、全
てのキャラクタコードが記憶領域M2より読出されると
制御信号CL2が制御部20よりプリンタ9に出力され
て券用紙摘出ローラー11が駆動する。
The storage area M2 stores "F400" with ordinary characters, and the above-mentioned printing operation of ordinary characters is performed. When all character codes are read out from the storage area M2, a control signal CL2 is sent from the control unit 20 to the printer 9. The paper ticket extraction roller 11 is driven.

然る後カッター13により印字した部分が春用紙より切
離されて発券が成される。
Thereafter, the printed portion is separated from the spring paper by the cutter 13 and the ticket is issued.

また他の券種が選択されても同様でありその券種に関す
るメモリ19B・・・19nよりキャラクタコードが読
出されて印字が行なわれる。
Similarly, even if another bill type is selected, the character code is read out from the memory 19B...19n for that bill type and printed.

以上詳述した本発明に依れば、印字に必要な文字或いは
数字について各文字毎に二通りの字体による文字パター
ンをキャラクタジェネレータに記゛憶させ、しかもキャ
ラクタジェネレータの文字パターン記憶配列を所定番地
を境にして一方の字体を正方向他方の字体を負方向と対
称にしたため、同一文字に関し一方の字体のキャラクタ
コードの補数を他方の字体のキャラクタコードに設定す
ることができる。
According to the present invention described in detail above, character patterns in two fonts are stored for each character or number necessary for printing in a character generator, and the character pattern storage array of the character generator is stored in a predetermined location. Since one font is symmetrical to the positive direction and the other font is symmetrical to the negative direction, the complement of the character code of one font can be set to the character code of the other font for the same character.

したがってキャラクタジェネレータより所与のキャラク
タコードで文字パターンを読出す場合にキャラクタコー
ドのステータスを判読するだけで容易に区別し得、その
後視となる所定番地をもとにした同じ演算でアドレスが
指定できるため読出動作が簡略化される。
Therefore, when reading a character pattern using a given character code from a character generator, it can be easily distinguished just by reading the status of the character code, and the address can be specified using the same calculation based on the predetermined location that is the rear view. Therefore, the read operation is simplified.

またキーとしては各文字或いは数字に対応し操作時一方
の字体によるキャラクタコードを生じるデータキーとデ
ータキーにより生じるキャラクタコードの補数をとって
他方の字体によるキャラクタコードとする選定キーを備
えるだけでよく字体に応じてデータキーを設けなくて済
む効果があり、限られた自動券売機のスペース内に効率
良く情報入力装置であるキーボードが格納される。
In addition, the keys only need to be provided with a data key that corresponds to each letter or number and generates a character code in one font when operated, and a selection key that takes the complement of the character code generated by the data key to create a character code in the other font. This has the effect of eliminating the need to provide data keys depending on the font, and the keyboard, which is an information input device, can be efficiently stored within the limited space of the automatic ticket vending machine.

そして印字情報の設定と共に字体の選定をも可能にした
ために、任意の券面様式を編集できる効果がある。
Furthermore, since it is possible to select the font as well as to set the print information, it is possible to edit any card face format.

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

第1図は自動券売機の外観図、第2図はプリンタの構成
図、第3図は印字ヘッドの構成図、第4図は普通文字「
ア」の文字パターン、第5図は大文字「ア」の文字パタ
ーン、第6図は普通文字「ア」の印字データ、第7図は
大文字「ア」の印字データ、第8図は各文字及び数字に
設定したキャラクタコード及びキャラクタ信号を示す図
、第9図はキャラクタジェネレータのアドレス割付図、
第10図は制御回路を示すブロック図、第11図は発行
する券の−f!1.第12図は、制御ゲート28.29
及び補数形成回路の具体的構成を示す。 15・・・・・・キーボード、16・・・・・・補数形
成回路、17・・・・・・読出・書込制御装置、18.
19A。 19B・・・19n・・・・・・メモリ、25・・・・
・・キャラクタジェネレータ、26・・・・・・印字制
御部、9・・・・・・プリンタ。
Fig. 1 is an external view of the automatic ticket vending machine, Fig. 2 is a configuration diagram of the printer, Fig. 3 is a configuration diagram of the print head, and Fig. 4 is an ordinary character "
Figure 5 is the character pattern for the capital letter 'A', Figure 6 is the print data for the regular character 'A', Figure 7 is the print data for the capital letter 'A', Figure 8 is the character pattern for each character and A diagram showing character codes and character signals set to numbers, Figure 9 is an address assignment diagram of the character generator,
FIG. 10 is a block diagram showing the control circuit, and FIG. 11 is a -f! of the issued ticket. 1. Figure 12 shows control gates 28 and 29.
and the specific configuration of the complement forming circuit. 15...keyboard, 16...complement forming circuit, 17...read/write control device, 18.
19A. 19B...19n...Memory, 25...
... Character generator, 26 ... Print control section, 9 ... Printer.

Claims (1)

【特許請求の範囲】[Claims] 1 券面に夫々二連りの字体を使い分けて文字或いは数
字を印字して発行する自動券売機に於いて、第1字体に
よる文字或いは数字を夫々所定のキャラクタコードに対
応させると共に、該キャラクタコードと補数関係にある
キャラクタコードを同じ文字或いは数字の第2字体に設
定し、文字或いは数字に夫々対応しているデータキーと
字体選定キーを備えて該データキー操作により対応する
文字或いは数字の第1字体に関するキャラクタコードを
示す信号を出力し且つ前記字体選定キーと前記データキ
ーの両方の操作にて操作されたデータキーに対応する文
字或いは数字の第2字体に関するキャラクタコードを示
す信号を出力するキー人力手段と、文字或いは数字の各
字体に応じた印字パターンが予め設定されているキャラ
クタジェネレータとを具備し、該キャラクタジェネレー
タは基準アドレスを境にして一方向に第1字体による文
字或いは数字の文字パターンを夫々記憶しており且つ第
1字体による文字或いは数字の前記一方向への配列と対
応して他方向に第2字体による文字或いは数字の文字パ
ターンを夫々記憶しているように構成することで、前記
キー人力手段により設定される券面への印刷文字或いは
数字に対応するキャラクタコードに基づき前記キャラク
タジェネレータは印刷文字或いは数字の文字パターンを
読出し可能にしたことを特徴とする自動券売機の印字情
報設定方式。
1. In an automatic ticket vending machine that prints letters or numbers on the face of a ticket using two different fonts, the letters or numbers in the first font are made to correspond to a predetermined character code, and A character code having a complement relationship is set to the second font of the same letter or number, and a data key and a font selection key are provided, which correspond to the letters or numbers, respectively. A key that outputs a signal indicating a character code related to a font, and outputs a signal indicating a character code related to a second font of a letter or number corresponding to a data key operated by operating both the font selection key and the data key. It is equipped with a human power means and a character generator in which a printing pattern corresponding to each font of letters or numbers is set in advance, and the character generator prints letters or numbers in a first font in one direction with the reference address as the border. The character patterns are stored respectively, and character patterns of characters or numbers in a second font are stored in the other direction corresponding to the arrangement of characters or numbers in the first font in the one direction. The automatic ticket vending machine is characterized in that the character generator is capable of reading the character pattern of the printed characters or numbers based on the character code corresponding to the characters or numbers printed on the ticket face set by the key manual means. Information setting method.
JP14557278A 1978-11-24 1978-11-24 Automatic ticket vending machine print information setting method Expired JPS5851315B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP14557278A JPS5851315B2 (en) 1978-11-24 1978-11-24 Automatic ticket vending machine print information setting method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP14557278A JPS5851315B2 (en) 1978-11-24 1978-11-24 Automatic ticket vending machine print information setting method

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP12106478A Division JPS5850386B2 (en) 1978-09-29 1978-09-29 Automatic ticket vending machine printing device

Publications (2)

Publication Number Publication Date
JPS5547580A JPS5547580A (en) 1980-04-04
JPS5851315B2 true JPS5851315B2 (en) 1983-11-15

Family

ID=15388207

Family Applications (1)

Application Number Title Priority Date Filing Date
JP14557278A Expired JPS5851315B2 (en) 1978-11-24 1978-11-24 Automatic ticket vending machine print information setting method

Country Status (1)

Country Link
JP (1) JPS5851315B2 (en)

Also Published As

Publication number Publication date
JPS5547580A (en) 1980-04-04

Similar Documents

Publication Publication Date Title
US4000486A (en) Full page, raster scan, proportional space character generator
US4144405A (en) Character writing system
US4159471A (en) Communication system using binary compatible characters
JPS592027B2 (en) character generator
US4480316A (en) Ruled line print control system in a word processing apparatus
NL7907353A (en) IDIOGRAPHIC CODING.
US3199446A (en) Overprinting apparatus for printing a character and an accent
JPS5922092A (en) Method and apparatus for memorizing and accessing character and electronic printer using same
US2876687A (en) Type composing apparatus
JPS5850386B2 (en) Automatic ticket vending machine printing device
JPS6335431B2 (en)
JPS5851315B2 (en) Automatic ticket vending machine print information setting method
US3192854A (en) Printer control system
CA1056442A (en) Optical printer character generator
US4952082A (en) Text processing system for cyclically shifting format memory
JPS5829552B2 (en) Vending type setting device for automatic ticket vending machines
US2627805A (en) Device for printing and nonprinting as controlled by comparison of dates
US3977319A (en) Drum column printer
US3975716A (en) Arrangement in connection with a printer with keyboard for printing data in plain language and simultaneously recording corresponding coded data
JPS5816380A (en) Output device for displaying or recording figure pattern
US3018722A (en) Wire printer
CA1090472A (en) Data terminals
JPS5846478A (en) Printer
KR860000298B1 (en) Korean typewriter for writing with 2 beol keyboards
JPH0357660A (en) Highlighted character generation circuit