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
JPS6125196B2 - - Google Patents
[go: Go Back, main page]

JPS6125196B2 - - Google Patents

Info

Publication number
JPS6125196B2
JPS6125196B2 JP15711178A JP15711178A JPS6125196B2 JP S6125196 B2 JPS6125196 B2 JP S6125196B2 JP 15711178 A JP15711178 A JP 15711178A JP 15711178 A JP15711178 A JP 15711178A JP S6125196 B2 JPS6125196 B2 JP S6125196B2
Authority
JP
Japan
Prior art keywords
address
characters
character
ticket
print
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
JP15711178A
Other languages
Japanese (ja)
Other versions
JPS5583989A (en
Inventor
Seiji Hara
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.)
Tokyo Sanyo Electric Co Ltd
Sanyo Denki Co Ltd
Original Assignee
Tokyo Sanyo Electric Co Ltd
Sanyo Denki Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tokyo Sanyo Electric Co Ltd, Sanyo Denki Co Ltd filed Critical Tokyo Sanyo Electric Co Ltd
Priority to JP15711178A priority Critical patent/JPS5583989A/en
Publication of JPS5583989A publication Critical patent/JPS5583989A/en
Publication of JPS6125196B2 publication Critical patent/JPS6125196B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Cash Registers Or Receiving Machines (AREA)

Description

【発明の詳細な説明】 本発明は、販売時に所与の情報を券面に印字し
て発行する自動券売機に関する。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to an automatic ticket vending machine that prints and issues given information on the face of a ticket at the time of sale.

所定の券面情報を券面に印字して発行する装置
としては、特開昭50−38598号公報に示されてい
る技術がある。このような券発行装置は予め券面
のフオーマツトが定められており、このフオーマ
ツトにしたがつて券面情報を印字するものであ
る。第1図に食券販売機から発行される券を示し
て説明するが、この券のフオーマツトは上から販
売店名・販売品名・販売価格を順次印字するもの
である。しかして印字情報の配列は券面の中央即
ち左右の余白部が等間隔である方が券の体裁上望
ましく、例えば券面の左端から右端までに最高10
まで印字可能なフオーマツトであるとすると、販
売品名「コーヒー」を印字するには両端から夫々
3字分は余白とし、中央の4字分に印字するのが
よい。したがつて印字情報をフオーマツトメモリ
にストアするには、販売品名の記憶領域の中央部
に印字情報をロードし、両端をスペースとする必
要がある。即ち第2図はアドレス3000番地から
3009番地までの10バイトで最高10字までのメニユ
ー名を記憶できるフオーマツトメモリの販売品名
記憶領域を示すが、このとき印字情報「コーヒ
ー」を設定するには3003番地から3006番地までに
印字情報をロードし、他のアドレスはスペースと
するものである。しかしながら従来技術による
と、このような設定は券売機を設置した段階では
困難なために、フオーマツトの第1字目から印字
情報を印字しており、券面のバランスが悪い。
As a device for printing and issuing predetermined ticket face information on the face of a ticket, there is a technique disclosed in Japanese Patent Application Laid-open No. 38598/1983. In such a ticket issuing device, the format of the ticket surface is determined in advance, and the ticket surface information is printed in accordance with this format. FIG. 1 shows and explains a ticket issued from a food ticket vending machine, and the format of this ticket is such that the name of the store, the name of the product being sold, and the selling price are printed sequentially from the top. However, it is preferable for the appearance of the ticket that the printed information be arranged at equal intervals in the center of the ticket surface, that is, in the left and right margins.
Assuming that the format is such that it is possible to print up to 4 characters, in order to print the sales product name ``coffee'', it is best to leave a margin of 3 characters from each end and print the 4 characters in the center. Therefore, in order to store the print information in the format memory, it is necessary to load the print information into the center of the storage area for the product name and leave spaces at both ends. In other words, Figure 2 starts from address 3000.
This is the product name storage area of the format memory that can store a menu name of up to 10 characters in 10 bytes up to address 3009. At this time, to set the print information "coffee", print information must be stored between addresses 3003 and 3006. , and other addresses are spaces. However, according to the prior art, it is difficult to make such settings once the ticket vending machine is installed, so the print information is printed from the first character of the format, resulting in an unbalanced ticket surface.

ところが券発行用のプリンタを用いて売上げの
集計データを印字する場合には、上記公報でも示
されているように集計データである印字情報は券
面の端から一様に頭を揃えて印字した方が集計者
にとつて判読しやすい。
However, when printing aggregated sales data using a ticket issuing printer, the printed information, which is aggregated data, should be printed uniformly starting from the edge of the ticket, as shown in the above publication. is easy to read for tabulators.

上記点より本発明は、入力された印字情報を発
券時にはフオーマツトの中央に印字し、売上集計
時にはフオーマツトの頭から自動的に切換えて印
字可能な装置を提供するものである。
In view of the above, the present invention provides a device that can print inputted print information at the center of the format when issuing tickets, and can automatically switch and print from the beginning of the format when tabulating sales.

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

第3図は自動券売機の全体を示し、接客部
は販売品種表示部2、品種毎の選択ボタン3、硬
貨投入口4、店名などの表示部5及び投入金額或
いは釣銭額の金額表示部6が配列されている。そ
して発券部は外部に釣銭及び券を払出す販売口
8を備え、内部のプリンタが客によつて操作され
た選択ボタン3のメニユーに関し所定の印字情報
を印刷した後券を販売口8へ送出するように構成
してある。第4図はプリンタ9の構成を示し、軸
10に券回された券用紙を販売動作毎に所定量ず
つ券用紙摘出ローラ11にて摘出し、印字ヘツド
12により定められた文字或いは数字を印字しカ
ツター13にて切断して発行するものである。第
5図は印字ヘツド12の構成を示し縦1列7ドツ
トの発熱素子14を備え、タイミング信号と同期
して印字ヘツド12が横方向に移動する間7個の
素子14を通電或いは非通電とすることで印字が
行なわれる。第6図は「ア」の印字を示し5個の
タイミングパルスに沿つて印字ヘツド12を移動
させ斜線の部分で素子14を動作させるよう第7
図に示す如くT1からT5タイミングまでの間に7
個の素子へ夫々「1」或いは「0」を出力するこ
とで印字が行なわれる。このような文字毎のドツ
ト分解した文字パターンはキヤラクタジエネレー
タと称するメモリにストアされ、文字パターンは
5個のタイミングパルスによつて制御されるため
5バイトの記憶容量が必要となり第7図に示すよ
うな縦列の7ビツトのデータが1バイト毎記憶さ
れている。
Fig. 3 shows the entire automatic ticket vending machine, 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 an amount display for the input amount or change amount. portions 6 are arranged. 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 is sent to the sales outlet 8. It is configured to send. FIG. 4 shows the configuration of the printer 9, in which a predetermined amount of ticket paper passed through a shaft 10 is extracted by a ticket paper extraction roller 11 for each sales operation, and predetermined characters or numbers are printed by a printing head 12. It is issued after being cut with a cutter 13. FIG. 5 shows the configuration of the print head 12, which is equipped with seven dots of heating elements 14 in a vertical row.While the print head 12 moves in the horizontal direction in synchronization with a timing signal, the seven elements 14 are energized or de-energized. Printing is performed by doing this. FIG. 6 shows the printing of "A", and the print head 12 is moved along five timing pulses to operate the element 14 in the shaded area.
As shown in the figure, between T 1 and T 5 timing, 7
Printing is performed by outputting "1" or "0" to each element. The character pattern separated into dots for each character is stored in a memory called a character generator, and since the character pattern is controlled by five timing pulses, a storage capacity of 5 bytes is required, as shown in Figure 7. Seven bits of data in columns as shown are stored for each byte.

第8図は本発明に依る印字情報設定装置の制御
回路をブロツク図にて示す。15はキー操作によ
りキヤクタ信号を生じるキーボード、16はフオ
ーマツトメモリで読取り及び書込みが可能な例え
ばRAMにて構成される。17は読取/書込制御
装置、18は券面の両端の間隔に納まる最高字数
を記憶する記憶装置で、本例では10字が設定され
て記憶している。19は設定字数カウンタ、20
は減算カウンタ、21は演算装置、22はプリン
ト制御装置、23はアドレス設定装置で太線の矢
印はキヤラクタコード或いはアドレスのデータパ
スを示す キーボード15は「ア」から「ン」ま
での必要な文字毎の文字キーと、0から9までの
数字キーと、印字情報の設定時に操作するフアン
クシヨンキーとから成り、発行店名設定時には、
フアンクシヨンキーFK1、販売価格設定時にはフ
アンクシヨンキーFK2、販売品名設定時にはフア
ンクシヨンキーFK3、設定終了時にはフアンクシ
ヨンキーFK4を夫々操作する。そして文字或いは
数字キーを操作したときに生じるキヤラクタコー
ドはRAM16へ導入されて所定の記憶領域にス
トアされ、またフアンクツシヨンキーを操作した
ときに生じるキヤラクタコードはアドレス設定装
置23に導入されてRAM16の記憶領域指定に
必要な情報となる。かかるシステムの販売品名設
定動作を第11図のフローチヤートで説明すると
FK3キーの操作で生じるキヤラクタコードがアド
レス設定装置23へ導入すると、アドレス設定装
置23はRAM16の販売品名記憶領域3000番地
(第2図)を指定する。そして文字キーを操作す
ると3000番地に当該文字を示すキヤラクタコード
が書込まれると共に設定字数カウンタ19は
「1」をカウントする。続いて再び任意の文字キ
ーを操作するとアドレス設定装置23はカウンタ
19の計数内容「1」に基づき3001番地を指定し
た後同番地に当該文字を示すキヤラクタコードが
書込まれて、カウンタ19は1つ歩進して「2」
をカウントする。そしてキヤラクタコードの書込
終了後アドレス設定装置23は3000番地を指定し
て待機している。更に続いて文字キーが操作され
るとアドレス設定装置23はカウンタ19の計数
内容「2」に基づき3002番地を指定してキヤラク
タコードを書込み、カウンタ19は「3」をカウ
ントする。したがつて、販売品名の綴りにしたが
つて順次文字キーを操作する度にアドレス設定装
置23は3000番地より1番地ずつ上位アドレスを
指定し、そのアドレスに各文字に相当するキヤラ
クタコードが書込まれ、更に文字或いは数字キー
の操作回数がカウンタ19でカウントされる。例
えば印字情報として「コーヒー」を設定する場合
に順次文字キーを操作すると3000番地から3003番
地に亘つて、各文字のキヤラクタコードが記憶さ
れて、書込終了後アドレス設定装置23は3000番
地を指定して待機している。そして販売品名の設
定終了後にFK4キー或いは店名・価格等の他の設
定動作を指定するFK1キー、FK2キーを操作する
とカウンタ19の計数内容が減算カウンタ20に
移換され、演算装置21で最大字数記憶装置18
に記憶している数値10と減算カウンタ20にカウ
ンタ19より移換された内容との差の半分が算出
されて記憶装置24で記憶される。上記の「コー
ヒー」を設定した場合カウンタ19は「4」を計
数しこの内容をカウンタ20に移換しているため
演算装置21は「3」を算出する。尚算出結果が
整数とならない場合は、除算値の上下の何れかの
整数を採用する。
FIG. 8 shows a control circuit of the print information setting device according to the present invention in a block diagram. Reference numeral 15 is a keyboard which generates a character signal by key operation, and 16 is a format memory, such as a RAM, which can be read and written. 17 is a read/write control device, and 18 is a storage device that stores the maximum number of characters that can fit in the space between both ends of the bill. In this example, 10 characters are set and stored. 19 is the set character number counter, 20
is a subtraction counter, 21 is an arithmetic unit, 22 is a print control device, 23 is an address setting device, and the thick arrow indicates a character code or address data path.The keyboard 15 displays necessary characters from "A" to "N". It consists of letter keys for each, numeric keys from 0 to 9, and function keys used when setting print information.When setting the issuing store name,
Function key FK 1 is operated, function key FK 2 is operated when setting the sales price, function key FK 3 is operated when setting the sales product name, and function key FK 4 is operated when setting is completed. A character code generated when a character or number key is operated is introduced into the RAM 16 and stored in a predetermined storage area, and a character code generated when a function key is operated is introduced into the address setting device 23. This information is necessary for specifying the storage area of the RAM 16. The operation of setting sales product names in this system is explained using the flowchart shown in Figure 11.
When the character code generated by the operation of the FK 3 key is introduced into the address setting device 23, the address setting device 23 specifies address 3000 of the product name storage area of the RAM 16 (FIG. 2). When a character key is operated, a character code indicating the character is written at address 3000, and the set character number counter 19 counts "1". Subsequently, when an arbitrary character key is operated again, the address setting device 23 specifies the address 3001 based on the count content "1" of the counter 19, and a character code indicating the character in question is written at the same address, and the counter 19 Step one step and get "2"
count. After writing the character code, the address setting device 23 specifies address 3000 and waits. Further, when a character key is operated subsequently, the address setting device 23 specifies address 3002 and writes a character code based on the count of "2" in the counter 19, and the counter 19 counts "3". Therefore, each time the character keys are operated in sequence according to the spelling of the sales product name, the address setting device 23 specifies the upper address by one address from address 3000, and the character code corresponding to each character is written in that address. The counter 19 counts the number of times the character or numeric key is pressed. For example, when setting "coffee" as print information, if you operate the character keys in sequence, the character code of each character from address 3000 to address 3003 will be stored, and after the writing is completed, the address setting device 23 will set address 3000. Specified and waiting. When the FK 4 key or the FK 1 and FK 2 keys for specifying other setting operations such as store name and price are operated after setting the sales product name, the count contents of the counter 19 are transferred to the subtraction counter 20, and the arithmetic unit 21 Maximum number of characters storage device 18
Half of the difference between the numerical value 10 stored in the subtraction counter 20 and the content transferred by the counter 19 to the subtraction counter 20 is calculated and stored in the storage device 24. When the above-mentioned "coffee" is set, the counter 19 counts "4" and transfers this content to the counter 20, so the arithmetic unit 21 calculates "3". If the calculation result is not an integer, use an integer above or below the division value.

次にアドレス設定装置23は減算カウンタ20
の計数内容「4」に基づき3003番地を指定すると
共に読取/書込制御装置17に読取信号Rを出力
する。したがつて読取/書込制御装置17は
RAM16の3003番地に記憶している「−」に相
当するキヤラクタコードを読取つて保持する。そ
してアドレス設定装置23は減算カウンタ20の
計数内容「4」と記憶装置24の記憶内容「3」
に基づき3006番地を指定すると共に読取/書込制
御装置17に書込信号Wを出力する。そのため読
取/書込制御装置17は先に読取つて保持してあ
る「−」のキヤラクタコードをRAM16の3006
番地に書込む。更に書込終了後アドレス設定装置
23は減算カウンタ20に減算パルスを出力し
「3」を計数する。
Next, the address setting device 23 uses a subtraction counter 20.
The address 3003 is specified based on the count content "4" and a read signal R is output to the read/write control device 17. Therefore, the read/write control device 17
The character code corresponding to "-" stored at address 3003 in the RAM 16 is read and held. Then, the address setting device 23 receives the count content "4" of the subtraction counter 20 and the storage content "3" of the storage device 24.
Based on this, address 3006 is designated and a write signal W is output to the read/write control device 17. Therefore, the read/write control device 17 reads and holds the "-" character code at 3006 in the RAM 16.
Write to address. Furthermore, after the writing is completed, the address setting device 23 outputs a subtraction pulse to the subtraction counter 20 to count "3".

続いてアドレス設定装置23は減算カウンタ2
0の計数内容「3」に基づき3002番地を指定して
読取信号Rを出力するために、RAM16の3002
番地に記憶している「ヒ」に相当するキヤラクタ
コードが読取られて読取/書込制御装置17で保
持される。その後アドレス設定装置23は減算カ
ウンタ20の計数内容「3」と記憶装置24の記
憶内容「3」に基づき3005番地を指定して書込信
号Wを出力するために、RAM16の3005番地に
「ヒ」のキヤラクタコードが書込まれる。更に書
込終了後に減算カウンタ20は「2」を計数す
る。
Next, the address setting device 23 sets the subtraction counter 2.
3002 of RAM 16 in order to specify address 3002 and output the read signal R based on the count content "3" of 0.
The character code corresponding to "hi" stored at the address is read and held by the read/write control device 17. Thereafter, the address setting device 23 sets the address 3005 of the RAM 16 to "hi" in order to designate the address 3005 and output the write signal W based on the count content "3" of the subtraction counter 20 and the storage content "3" of the storage device 24. ” character code is written. Further, after the writing is completed, the subtraction counter 20 counts "2".

上記の如き動作は減算カウンタ20が減算計数
により「0」を算出するまで繰返され、以下
RAM16の3001番地に記憶している「−」に相
当するキヤラクタコードが3004番地に、3000番地
に記憶している「コ」に相当するキヤラクタコー
ドが3003番地に夫々書込まれる。
The above operation is repeated until the subtraction counter 20 calculates "0" by subtraction count, and the following
The character code corresponding to "-" stored at address 3001 of the RAM 16 is written to address 3004, and the character code corresponding to "ko" stored at address 3000 is written to address 3003.

斯かるRAM16内部での設定情報のトランス
ボート動作が終了すると、アドレス設定装置23
は記憶装置24の記憶内容「3」に応じて3000番
地・3001番地・3002番地と3つのアドレスを順次
指定し、読取/書込制御装置17にクリア信号
CLを出力する。そのため順次指定される上記番
地には、「0」が書込まれ、その結果3000番地か
ら3009番地までの領域では3003番地から3006番地
にのみ「コーヒー」の文字に相当するキヤラクタ
コードが夫々設定されたことになる。尚図示され
ていないが、販売価格は数字で最高4字(4桁)
まで、そして販売店名は文字で最高10字まで記憶
できる構成であり、RAM16の所定のアドレス
には4バイトの販売価格記憶領域及び10バイトの
販売店名記憶領域が夫々割りあてられFK2キー及
びFK1キーの操作で夫々アドレスが指定される。
そして販売価格及び販売店名の場合もフアンクシ
ヨンキーの操作後、文字或いは数字キーの操作に
より印字情報を設定すると、後は自動的に各記憶
領域の中央部に情報が移換される。また第8図の
制御回路には図示されていないが、複数種の券を
発行する券売機では券種を指定するフアンクシヨ
ンキーがあり、更にRAM16は券種に応じて前
記販売価格記憶領域及び販売品名記憶領域があ
る。したがつて、印字情報設定時には券種を指定
するフアンクシヨンキーの操作に続き、販売品名
或いは販売価格設定に応じFK2キー、FK3キーを
操作すればよい。
When the transport operation of the setting information inside the RAM 16 is completed, the address setting device 23
sequentially specifies three addresses 3000, 3001, and 3002 according to the memory content “3” of the storage device 24, and sends a clear signal to the read/write control device 17.
Output CL. Therefore, "0" is written to the above addresses that are specified sequentially, and as a result, in the area from 3000 to 3009, the character code corresponding to the character "coffee" is set only at addresses 3003 to 3006. It means that it was done. Although not shown, the sales price can be up to 4 characters (4 digits).
The store name can be stored up to 10 characters in length, and a 4-byte selling price storage area and a 10-byte store name storage area are each allocated to a predetermined address in the RAM 16. Each address is specified by operating one key.
In the case of selling price and store name, after operating the function key, if printing information is set by operating the letter or number keys, the information is automatically transferred to the center of each storage area. Although not shown in the control circuit of FIG. 8, in a ticket vending machine that issues multiple types of tickets, there is a function key for specifying the ticket type, and the RAM 16 also has a function key for specifying the ticket type. There is a storage area for sales product names. Therefore, when setting print information, after operating the function key to designate the ticket type, the FK 2 key and FK 3 key may be operated in accordance with the sales item name or sales price setting.

次に発券動作について説明する。所定金額投入
後客により選択ボタン2……2の何れかが操作さ
れて選択信号SL1,SL2………SLoが入力すると、
アドレス設定装置23は選択券種に相当する
RAM16の記憶領域をアドレスし、読取/書込
制御装置17を読出状態とする。したがつて読
取/書込制御装置17は当該記憶領域に記憶され
ているキヤラクタコードを順次読出してプリント
制御装置22に導入する。プリント制御装置22
は内部に前記キヤラクタジエネレータを包含して
おり入力するキヤラクタコードに基づき特定の文
字パターンを読出して、ドツト式プリンタで印字
発行する。
Next, the ticket issuing operation will be explained. After inserting a predetermined amount of money, the customer operates one of the selection buttons 2...2 and inputs the selection signal SL1 , SL2 ... SLo ,
The address setting device 23 corresponds to the selected ticket type.
The storage area of the RAM 16 is addressed and the read/write control device 17 is placed in a read state. Therefore, the read/write control device 17 sequentially reads out the character codes stored in the storage area and introduces them into the print control device 22. Print control device 22
contains the character generator, reads out a specific character pattern based on the input character code, and prints it out using a dot printer.

プリンタによりプリント動作するのは、上記発
券の外に集計スイツチの操作にて生じる集計信号
Tに応答しての動作である売上集計表の発行があ
る。第9図は売上集計表を示し券種毎に販売品名
及び売上枚数がプリントされている。この場合は
券面と異なり販売品名の綴りの長さに係わらず表
の左端から一定の間隔で頭文字を揃えて販売品名
をプリントした方が見やすい。そのためプリント
制御装置22は第10図に示すように構成されて
いる。即ち、読取/書込制御装置17とキヤラク
タジエネレータ26の間にはゲート装置25が介
在しており、ゲート装置25はゲート制御装置2
7によつて導通が制御されている。ゲート制御装
置27は発券信号a或いは発行信号bに応じてゲ
ート装置25の導通を制御する。即ち、何れかの
選択信号SL1,SL2………SLoの発生にて発券信号
aが生じると、ゲート制御装置27はゲート装置
25を導通状態に維持し、集計信号Tの発生にて
発行信号bが生じると、ゲート制御装置27は読
取/書込制御装置17からの印字情報に応じてゲ
ート装置25の導通を制御する。例えば第2図に
示すRAM16の3000番地から3009番地までに記
憶されている印字情報が読取/書込制御装置17
で読取られて導入されたとすると、発券時にはゲ
ート装置25が導通しているために3000から3009
までの各番地のストアデータが全てキヤラクタジ
エネレータ26に導入される。したがつて、3000
番地から3002番地まではキヤラクタコードが記憶
されておらず即ちストアデータ「0」であり、プ
リンタ9は駆動するが何も印字されず、次に3003
番地から3006番地にかけては、このキヤラクタコ
ードに基づく文字が印字され、続く、3006番地か
ら3009番地までは再びキヤラクタコードが記憶さ
れておらず何も印字されない。したがつて、発券
時にはRAM16に設定されているフオーマツト
通りに印字するために、券の中央に「コーヒー」
と印字することができる。一方、売上集計表の発
行時においてゲート制御装置27は、3000から
3009までの各番地のストアデータを判読し、スト
アデータが「0」の場合はゲート装置25を不導
通にして、このストアデータが読取/書込制御装
置17からキヤラクタジエネレータ26へ導入さ
れるのを阻止し、そしてストアデータがキヤラク
タコードの場合はゲート装置25を導通させて、
このキヤラクタコードをキヤラクタジエネレータ
26へ導入する。そのためRAM16の印字情報
で3000番地から3002番までのストアデータは、キ
ヤラクタジエネレータ26に出力されずプリンタ
9は駆動しない。そして3003番地は「コ」字に相
当するキヤラクタコードが記憶されているためゲ
ート装置は導通しキヤラクタジエネレータ26に
出力されてプリンタ9は駆動を開始し、先ず
「コ」の印字を行なう。したがつて、売上集計表
の発行時にはRAM16のキヤラクタコードをス
トアしている番地から印字を開始するために、表
の左端より頭文字を揃えて販売品名を印字するこ
とができる。
In addition to the above-mentioned ticket issuing, the printing operation performed by the printer includes the issuance of a sales summary table, which is an operation in response to the totalization signal T generated by the operation of the totalization switch. FIG. 9 shows a sales summary table in which the names of sold products and the number of sold tickets are printed for each ticket type. In this case, unlike the face of the ticket, it is easier to read the product name by printing it with the initials aligned at regular intervals from the left edge of the front, regardless of the length of the spelling of the product name. For this purpose, the print control device 22 is configured as shown in FIG. That is, a gate device 25 is interposed between the read/write control device 17 and the character generator 26, and the gate device 25 is connected to the gate control device 2.
7 controls conduction. The gate control device 27 controls conduction of the gate device 25 according to the ticket issuing signal a or the issuing signal b. That is, when the ticket issuing signal a is generated by the generation of any one of the selection signals SL 1 , SL 2 . When the issue signal b is generated, the gate control device 27 controls the conduction of the gate device 25 in accordance with the print information from the read/write control device 17. For example, the print information stored in addresses 3000 to 3009 of the RAM 16 shown in FIG.
3000 to 3009 because the gate device 25 is conductive at the time of ticket issuance.
All the store data at each address up to is introduced into the character generator 26. Therefore, 3000
No character code is stored from the address to address 3002, that is, the store data is "0", and the printer 9 is driven but nothing is printed.
Characters based on this character code are printed from address 3006 to address 3006, and no character code is stored again from address 3006 to address 3009, so nothing is printed. Therefore, when issuing a ticket, in order to print it according to the format set in RAM 16, "coffee" is placed in the center of the ticket.
can be printed. On the other hand, at the time of issuing the sales summary table, the gate control device 27
The store data at each address up to 3009 is read, and if the store data is "0", the gate device 25 is made non-conductive, and this store data is introduced from the read/write control device 17 to the character generator 26. If the stored data is a character code, the gate device 25 is made conductive.
This character code is introduced into the character generator 26. Therefore, the store data from addresses 3000 to 3002 in the print information of the RAM 16 is not output to the character generator 26 and the printer 9 is not driven. Since the character code corresponding to the character "U" is stored at address 3003, the gate device becomes conductive and is output to the character generator 26, and the printer 9 starts driving, and first prints the character "U". . Therefore, when issuing a sales summary table, in order to start printing from the address where the character code of the RAM 16 is stored, it is possible to print the sales item names with the initial letters aligned from the left end of the table.

本発明に依ると、文字或いは数字のデータキー
を操作して印字情報を設定すると、自動的にメモ
リの記憶領域の中央部に印字情報が記憶されて、
発券時に券面の中央に印字するフオーマツトが自
動的に作成される。したがつて印字する文字数の
大小にかかわらずバランスの取れた体裁の良い券
を発行することができる。そして売上集計表の発
行時には印字情報の頭文字を揃えて印字でき見易
い表が発行される。
According to the present invention, when print information is set by operating a character or numeric data key, the print information is automatically stored in the center of the storage area of the memory.
A format to be printed in the center of the ticket surface is automatically created when the ticket is issued. Therefore, it is possible to issue tickets with a well-balanced appearance regardless of the number of printed characters. When a sales summary table is issued, an easy-to-read table that can be printed with the initial letters of the printed information aligned is issued.

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

第1図は発行券の一例を示し、第2図はRAM
のアドレス割付図、第3図は自動券売機の外観
図、第4図はプリンタの構成図、第5図は印字ヘ
ツド、第6図は文字「ア」の文字パターン、第7
図は文字「ア」の印字データ、第8図は印字情報
設定に係る制御回路、第9図は売上集計表の一
例、第10図はプリント制御装置の具体図を、第
11図はフオーマツト作成を示すフローチヤート
である。 15……キーボード、18……記憶装置、19
……カウンタ、16……メモリ、22……プリン
ト制御装置。
Figure 1 shows an example of issued tickets, Figure 2 shows RAM
Figure 3 is an external view of the automatic ticket vending machine, Figure 4 is a configuration diagram of the printer, Figure 5 is the print head, Figure 6 is the character pattern for the letter "A," Figure 7 is
The figure shows print data for the letter "A", Figure 8 shows a control circuit for setting print information, Figure 9 shows an example of a sales summary table, Figure 10 shows a specific diagram of the print control device, and Figure 11 shows format creation. This is a flowchart showing the following. 15...Keyboard, 18...Storage device, 19
...Counter, 16...Memory, 22...Print control device.

Claims (1)

【特許請求の範囲】[Claims] 1 キー操作により設定すべき印字情報を構成す
る文字或いは数字に対応したキヤラクタコードを
生じるキーボードと、券面の所定の一方向に最大
印字可能な最高字数を記憶している記憶装置と、
前記印字情報の字数をカウントするカウンタと、
前記最高字数に相当する記憶領域を備えて前記印
字情報にしたがいキー操作を行なつて、順次生じ
るキヤラクタコードを最上位或いは最下位アドレ
スより1番地毎記憶するメモリと、キー操作終了
により前記最高字数と前記カウンタにてカウント
した字数に基づき、前記記憶領域の中央部のアド
レスに前記印字情報を移換させる装置と、前記メ
モリより読出す キヤラクタコードに基づき、発
券時に前記印字情報を券面の中央に印字し、売上
集計表発行時に前記印字情報を売上集計表の端部
より頭文字を揃えて印字するプリント制御装置と
から成る自動券売機の印字発行装置。
1. A keyboard that generates a character code corresponding to the characters or numbers constituting the print information to be set by key operation, and a storage device that stores the maximum number of characters that can be printed in a predetermined direction on the ticket surface;
a counter that counts the number of characters in the printed information;
A memory is provided with a storage area corresponding to the maximum number of characters and stores the character codes sequentially generated address by address from the highest or lowest address by performing key operations according to the printed information, and A device that transfers the printed information to an address in the center of the storage area based on the number of characters and the number of characters counted by the counter; A print issuing device for an automatic ticket vending machine, comprising a print control device that prints information in the center and prints the printed information from the edge of the sales summary table with initial letters aligned when issuing the sales summary table.
JP15711178A 1978-12-19 1978-12-19 Print issuing device for automatic ticket vending machine Granted JPS5583989A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP15711178A JPS5583989A (en) 1978-12-19 1978-12-19 Print issuing device for automatic ticket vending machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP15711178A JPS5583989A (en) 1978-12-19 1978-12-19 Print issuing device for automatic ticket vending machine

Publications (2)

Publication Number Publication Date
JPS5583989A JPS5583989A (en) 1980-06-24
JPS6125196B2 true JPS6125196B2 (en) 1986-06-14

Family

ID=15642462

Family Applications (1)

Application Number Title Priority Date Filing Date
JP15711178A Granted JPS5583989A (en) 1978-12-19 1978-12-19 Print issuing device for automatic ticket vending machine

Country Status (1)

Country Link
JP (1) JPS5583989A (en)

Also Published As

Publication number Publication date
JPS5583989A (en) 1980-06-24

Similar Documents

Publication Publication Date Title
US4425619A (en) Selective read out of one hour transaction data in an electronic cash register
JPH07109637B2 (en) Electronic cash register
US3739161A (en) Cash registers and other accounting machines
JPS6125196B2 (en)
JPS5927365A (en) Sales information control device
JPH021742B2 (en)
JPS6124756B2 (en)
JPS5850386B2 (en) Automatic ticket vending machine printing device
JPH0113113B2 (en)
JPS6113631B2 (en)
JPS592946B2 (en) electronic register
GB1036116A (en) Business machine
JP2796476B2 (en) Receipt issuing device
JPS5840220B2 (en) electronic cash register
US3076598A (en) Data processing system
JPS54133861A (en) Processor for commodity sales data
JPS61251977A (en) Label printer
Baer et al. On-line sales recording system
JPH0125118B2 (en)
JP2755085B2 (en) Man-hour printing device for time recorder
JPS5851315B2 (en) Automatic ticket vending machine print information setting method
JPS6049468A (en) Setting system of fixture data
JPS584679Y2 (en) Dot printer dot needle drive power control circuit
JPS63307976A (en) Recorder
JPS5829552B2 (en) Vending type setting device for automatic ticket vending machines