JPS6232593A - Electronic appliance with printing function - Google Patents
Electronic appliance with printing functionInfo
- Publication number
- JPS6232593A JPS6232593A JP17303685A JP17303685A JPS6232593A JP S6232593 A JPS6232593 A JP S6232593A JP 17303685 A JP17303685 A JP 17303685A JP 17303685 A JP17303685 A JP 17303685A JP S6232593 A JPS6232593 A JP S6232593A
- Authority
- JP
- Japan
- Prior art keywords
- printing
- character data
- journal
- character
- data
- 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
Links
Landscapes
- Cash Registers Or Receiving Machines (AREA)
Abstract
(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.
Description
【発明の詳細な説明】
[発明の技術分野]
この発明は印字機能付電子機器に関し、特に、ECR(
電子式金銭登録袋こ)等で用いられる印字機能付電子機
器に関するものである。[Detailed Description of the Invention] [Technical Field of the Invention] The present invention relates to an electronic device with a printing function, and in particular, to an electronic device with a printing function.
This relates to electronic devices with a printing function used in electronic cash registration bags and the like.
[発明の背景]
ECRにおいては、取引の際、取引の情報を客へのレシ
ートのみでなく、使用者の記録用としてジャーナルとよ
ばれる用紙にも印字を行う、そしてレシートとジャーナ
ルの作成は、シャトルプリンタと呼ばれる共用のプリン
タで、キャラクタジェネレータ(印字するドツトマトリ
クス構成の文字パターンを記憶するメモリ)から取り出
した同一パターンの文字を、レシートとジャーナルで各
1回ずつ、2度打ちすることで行っているものがある。[Background of the invention] In ECR, when a transaction is made, transaction information is printed not only on a receipt for the customer, but also on paper called a journal for the user's records, and the creation of the receipt and journal is This is done by typing the same pattern of characters twice, once on the receipt and once on the journal, using a shared printer called a shuttle printer (a memory that stores the dot matrix character pattern to be printed). There are things that are.
しかしながら、同一パターン文字の2度打ちという方式
は、経済的にも、印字速度面でも有利とはいえず、使用
者が保存するジャーナルにはその目的に合った7オーマ
ー/ トで印字がなされ1客の受は取るレシートにはそ
の目的にかなったフォーマットで印字されるという理想
からはほど遠い方式である0例えばこの方式だと、レシ
ート側にイ8文字(倍の高さの文字)等の強調文字を打
つとジャーナル側にもそれと同じ大きさの文字を打つた
め、通常文字の2行分の印字が必要であり、ジャーナル
の用紙が無駄となり、印字速度も下がってしまう。However, the method of printing the same pattern twice is not advantageous in terms of economics or printing speed, and journals kept by users are printed at 7 ohms/t, which suits the purpose. This method is far from ideal, as the receipt that the customer receives is printed in a format that suits its purpose. When a character is typed, a character of the same size is also typed on the journal side, so it is necessary to print two lines of normal characters, which wastes journal paper and reduces printing speed.
[発明の目的]
この発明は上記の事情を鑑みてなされたもので、その目
的とするところは、用紙の無駄をはぶき、全体として印
字速度を上げた印字機能付電子機器を提供することにあ
る。[Purpose of the invention] This invention was made in view of the above circumstances, and its purpose is to provide an electronic device with a printing function that eliminates paper waste and increases overall printing speed. .
[発明の要点]
この発明は上記の目的を達成するため、文字発生手段(
CG)からのドツト文字データを圧縮する手段を使用し
、その圧縮されたドツト文字データと文字発生手段から
の文字データとを夫々印字手段に出力するようにしたこ
とをその特徴とするものである。[Summary of the Invention] In order to achieve the above object, the present invention provides character generation means (
It is characterized by using means for compressing the dot character data from the computer graphics (CG), and outputting the compressed dot character data and the character data from the character generating means to the printing means, respectively. .
[実施例]
以下、図面を参照して本発明の詳細な説明する。第1図
は実施例を組み込んだECRの機能ブロック図を示した
もので、lは入力部で各種のキーやOCR(バーコード
読取袋aI)が配置されており、2はCPUでECR全
体の動作を制御するもので、3はメモリでECRに必要
な各種プログラム、取引データ等が記憶されており、4
はドロア、5は出力装置に供給するド−/ トマトリク
ス構成のドツト文字パターンを記憶するキャラクタジェ
ネレータ(CG)、6は表示バッファでCG5からの表
示すべきドツト文字データを一時ためておくところ、7
は表示駆動部で、表示バッファ6からの表示データを受
は取って表示部8を駆動する。[Example] Hereinafter, the present invention will be described in detail with reference to the drawings. Fig. 1 shows a functional block diagram of the ECR incorporating the embodiment, where l is the input section where various keys and OCR (barcode reading bag aI) are arranged, and 2 is the CPU, which controls the entire ECR. It controls the operation, and 3 is a memory that stores various programs, transaction data, etc. necessary for ECR, and 4
5 is a character generator (CG) that stores dot character patterns in a dot/matrix configuration to be supplied to the output device; 6 is a display buffer that temporarily stores dot character data to be displayed from CG 5; 7
is a display driving section which receives display data from the display buffer 6 and drives the display section 8.
9は印字バッファでここでは1列分の印字データをため
るlラインバッファで構成されている。Reference numeral 9 denotes a print buffer, which here consists of an l-line buffer that stores print data for one column.
lラインバッファ9はCPU2を介してCG5より転送
されてくるドツト文字データ(ここでは9行×5列のマ
トリクス構成の文字パターン)を1列ずつ受は取り、図
示しない読出指令に従って、印字駆動部10と印字駆動
部11にデータを出力する。ここにおいて、印字駆動部
10はlラインバッファ9の出力ラインのすべてと結合
しているが、印字駆動部11はlラインバッファ9の出
力ラインのうち第1行目、第3行目、第5行目及び第9
行目のみに接続されている。したがって、印字駆動部l
OにはCG5からのドツト文字データがそのままの形で
入力されるが、印字駆動部11には、そのドツトデータ
から第1.第3.第5、及び第9行目のドツトのみを取
り出した圧縮ドツト文字データ即ち半分の高さの文字(
第2図参照)が入力されることがわかる。印字駆動部1
0はレシート印字部12を駆動するとともに、CPU2
より主文字指令がかかっていないときにはインバータ1
3を介してイネーブルされるANDゲー)14、及びO
Rゲー)15を介してジャーナル印字部16を駆動する
。しかし、メモリ3より主文字指令がかかっているとき
はANDゲート14はディスエーブルとなり代りにイネ
ーブルとなるANDゲート17が半文字データを受けと
る印字駆動部11からの駆動信号を通し、ORゲート1
5を介してジャーナル印字部16を駆動する。The line buffer 9 receives dot character data (character pattern in a matrix of 9 rows x 5 columns) transferred from the CG 5 via the CPU 2 one column at a time, and sends the dot character data to the print drive section according to a read command (not shown). 10 and a print drive unit 11 . Here, the print drive unit 10 is coupled to all of the output lines of the l-line buffer 9, and the print drive unit 11 is connected to the first, third, and fifth lines of the output lines of the l-line buffer 9. Line and 9th
Connected only to the first row. Therefore, the print drive unit l
The dot character data from the CG 5 is input to O as it is, but the print drive section 11 inputs the first . Third. Compressed dot character data that extracts only the dots in the 5th and 9th lines, that is, characters with half height (
2) is input. Print drive unit 1
0 drives the receipt printing section 12 and the CPU 2
Inverter 1 when no main character command is applied.
3) 14, and O
The journal printing section 16 is driven via the R game) 15. However, when a main character command is applied from the memory 3, the AND gate 14 is disabled and the AND gate 17, which is enabled instead, passes the drive signal from the print drive unit 11 that receives half character data to the OR gate 14.
The journal printing section 16 is driven via the terminal 5.
以上の構成の動作について以下説明する。The operation of the above configuration will be explained below.
まず、客の購入した商品についてレジ係は、入力部1の
OCR(バーコード読取装置、図示せず)または、キー
操作によりCPU2へ商品名やその他の入力データを入
力する。これを受けてCPU2はメモリ3より商品の単
価データを取り出し印字すべき1行のデータを作成し、
順次CG5をアクセスして対応するドツト文字データを
1ラインバツフア9に転送する。最初にレシート側より
印字がなされる。すなわち、1列分のドツト文字データ
をためたlラインバッファ9より順次、データが印字駆
動部10に送られレシート印字部12が印字動作を行い
、レシート用紙上に一行の印字がなされる。レシート印
字部12は一行印字が完了するとその旨をCPU2に知
らせる。これを受けてCPU2は再度、作成した1行デ
ータに従ってCG5をアクセスしlラインバッファ9に
ドツト文字データを転送する。このときCPU2は8紙
送り信号を出してlラインバッファ9の紙送り機構を同
信号が指定する量だけ駆動し、レシート用紙を紙送りす
るとともに、必要に応じ(その1行印字データを半分に
圧縮した形でジャーナル用紙に印字する場合)、半文字
指令を出し、ANDゲート17をイネーブルにする(以
下、半文字指令が出されたものとして動作説明を続ける
)、この場合、lラインバッファ9よりの9行×5列の
構成のドツト文字データのうち第1行、第3行、第5行
、第9行のデータが印字駆動部11に入力され、AND
ゲート17、ORゲート15を通ってジャーナル印字部
16に送られる。この結果、ジャーナルの用紙には、レ
シートの用紙に印字したのと同一内容であるが、はぼ半
分の高さで文字が印字される。ジャーナル印字部16は
1行印字を完了すると1ライン終了信号を発生してCP
U2に伝える。これを受けてCPU2は1紙送り信号を
出してジャーナル印字部16の紙送り機構を駆動してジ
ャーナル用紙の紙送りを行なわせるとともに、次に印字
すべき行のデータに従ってCG5をアクセスし、」−述
したのと同様な動作をくり返す。First, the cashier inputs the product name and other input data into the CPU 2 using the OCR (barcode reader, not shown) of the input unit 1 or key operations regarding the product purchased by the customer. In response to this, the CPU 2 extracts the unit price data of the product from the memory 3 and creates one line of data to be printed.
The CG 5 is sequentially accessed and the corresponding dot character data is transferred to the 1-line buffer 9. First, printing is done from the receipt side. That is, the data is sequentially sent from the l-line buffer 9, which stores dot character data for one column, to the print drive section 10, and the receipt printing section 12 performs a printing operation, thereby printing one line on the receipt paper. Upon completion of printing one line, the receipt printing unit 12 notifies the CPU 2 of this fact. In response to this, the CPU 2 again accesses the CG 5 according to the created one-line data and transfers the dot character data to the one-line buffer 9. At this time, the CPU 2 outputs an 8-paper feed signal and drives the paper feed mechanism of the 1-line buffer 9 by the amount specified by the signal, feeds the receipt paper, and halves the 1-line print data as needed. When printing on journal paper in a compressed form), issue a half-character command and enable AND gate 17 (below, the operation will be explained assuming that a half-character command has been issued); in this case, l line buffer 9 The data of the first, third, fifth, and ninth lines of the dot character data in the 9 rows x 5 columns are input to the print drive section 11, and the data is ANDed.
It passes through the gate 17 and the OR gate 15 and is sent to the journal printing section 16. As a result, characters are printed on the journal paper with the same content as those printed on the receipt paper, but at approximately half the height. When the journal printing unit 16 completes printing one line, it generates a one line end signal and outputs a CP.
Tell U2. In response to this, the CPU 2 issues a one-sheet feed signal to drive the paper feed mechanism of the journal printing unit 16 to feed the journal paper, and accesses the CG5 according to the data of the next line to be printed. -Repeat the same actions as described above.
第3図はこのようにしてレシート用紙Bとジャーナル用
紙Jに印字した結果の一例を示したもので、同図かられ
かるように、ジャーナル用紙にはレシート用紙の印字内
容と同一だが、はぼt分の高さの文字が印字される。し
たがって1両用紙の共用プリンタであるシャトルプリン
タの印字速度が上がるとともに、ジャーナル用紙の序約
が図れる。Figure 3 shows an example of the results printed on receipt paper B and journal paper J in this way. Characters with a height of t are printed. Therefore, the printing speed of the shuttle printer, which is a shared printer for both sheets, is increased, and journal sheets can be preordered.
第4図は別の圧縮法を図示したもので、9行×5列のド
ツトマトリクス構成の文字(CG5に記憶されている文
字パターン)について、その第2列と第4列のドツトを
抜いてほぼ手中の文字を生成することを示しである。こ
れを実現するには、第1図の実施例を変更する必要があ
る。第5図に示す構成は、このような圧縮のしかたを含
め、任意の位置のドツトをCG5からのドツト文字デー
タから抜くことのできるものである。すなわち文字デー
タ圧縮部18はCG5からのドツトマトリクス構成の文
字パターンについて、CPU2より与えられる選択行の
ドツト抜指令と選択桁(選択列)のドツト抜指令に従っ
て圧縮した文字パターンを生成する。そして上記指令の
ない場合、例えばレシート側を印字する場合には、圧縮
することなくCG5から出力される文字データパターン
を印字バッファ9に供給する。Figure 4 illustrates another compression method, in which dots are removed from the second and fourth columns of characters in a dot matrix structure of 9 rows x 5 columns (character pattern stored in CG5). This shows that you can generate almost any character in your hand. To achieve this, it is necessary to modify the embodiment of FIG. 1. The configuration shown in FIG. 5 is capable of extracting dots at arbitrary positions from dot character data from CG5, including this compression method. That is, the character data compression unit 18 generates a compressed character pattern for the character pattern in the dot matrix configuration from the CG 5 in accordance with the dot extraction command for the selected row and the dot extraction command for the selected digit (selected column) given by the CPU 2. In the absence of the above command, for example, when printing on the receipt side, the character data pattern output from the CG 5 is supplied to the print buffer 9 without being compressed.
第6図はジャーナル用紙に印字される、さらに別の印字
パターンを示している。この図かられかるようにRFと
01のところは、ジャーナル用紙の1行分の印字の始め
のところで印字される部分であり、レシート側では2行
分の印字操作で印字がなされるところである。これを実
現するには、キャラクタジェネレータより取り出したR
とFの文字と0と1の文字を第2図に示すような方法で
圧縮し、こうして圧縮したデータをいったん適当な印字
レジスタに格納し、ジャーナル用紙に一行印字する際、
始めにこの印字レジスタをアクセスしてRFと01の合
成パターンを出力させ、以降、キャラクタジェネレータ
をアクセスして後続するl、2のドツト文字データを取
り出せばよい。FIG. 6 shows yet another print pattern printed on journal paper. As can be seen from this figure, RF and 01 are the parts that are printed at the beginning of one line of printing on the journal paper, and are printed by two lines of printing on the receipt side. To achieve this, we need to extract R from the character generator.
The characters F and 0 and 1 are compressed using the method shown in Figure 2, and the compressed data is stored in an appropriate print register, and when printing one line on journal paper,
First, this print register is accessed to output a composite pattern of RF and 01, and then the character generator is accessed to extract the subsequent dot character data of 1 and 2.
以上の実施例の特徴は、ECRにおいて同一のプリンタ
でレシートとジャーナルを作成するにあたり、ジャーナ
ル側には必要に応じて圧縮したパターンの文字が印字さ
れるようにし、レシート側にはキャラクタジェネレータ
からの字体のきれいな文字が印字されるようにしたこと
にある。The feature of the above embodiment is that when a receipt and a journal are created using the same printer in the ECR, compressed pattern characters are printed on the journal side as necessary, and characters from a character generator are printed on the receipt side. The reason lies in the fact that characters with clean fonts are printed.
なお、実施例ではレシートとジャーナルに同一内容のデ
ータが送られるようにしているが、これに限らず、ジャ
ーナル側にのみ特殊な字体を必要に応じて打たせて登録
や戻し等を目立たせるようにしてもよい。In the embodiment, the same data is sent to both the receipt and the journal, but this is not the only option. Special fonts can be typed only on the journal side as needed to make registrations, returns, etc. stand out. You can also do this.
[発明の効果]
この発明は以上詳説したように文字発生手段からのドツ
ト文字データを圧縮する手段を用い、その圧縮されたド
ツト文字データと文字発生手段からのドツト文字データ
とを印字手段に出力しているので、印字用紙の節約がで
きるとともに印字速度も陶土させることが可能である。[Effects of the Invention] As detailed above, this invention uses a means for compressing dot character data from a character generating means, and outputs the compressed dot character data and dot character data from the character generating means to a printing means. This makes it possible to save on printing paper and to increase the printing speed.
fjS1図はECRに組み込んだこの発明の実施例の機
能ブロック図、第2図は第1図の実施例で使用する圧縮
スキームを示す図、第3図は第1図の実施例の動作結果
の一例を示し左側はレシートに印字されたもの、右側が
ジャーナルに印字されたものを示す図、第4図は別の圧
縮スキームを示す図、第5図はトフト文字データの圧縮
の変形例を示す図、第6図はジャーナルに印字されるさ
らに別の印字パターンを示す図である。
1・・・・・・人力部、2・・・・・・CPU、5・・
・・・・CG、■?・・・・・・レシート印字部、16
・・・・・・ジャーナル印字部、18・・・・・・文字
データ圧縮部。
特許出願人 カシオ計算機株式会社
第3図
第4図
(デ村に4ベゴV・トTシ′1■−1
第5図
第6図Fig. fjS1 is a functional block diagram of an embodiment of the present invention incorporated into an ECR, Fig. 2 is a diagram showing a compression scheme used in the embodiment of Fig. 1, and Fig. 3 is a diagram showing the operation results of the embodiment of Fig. 1. An example is shown, the left side shows what is printed on a receipt, the right side shows what is printed on a journal, Figure 4 shows another compression scheme, and Figure 5 shows a modified example of compression of Toft character data. FIG. 6 is a diagram showing still another print pattern printed on the journal. 1...Human power department, 2...CPU, 5...
...CG, ■? ...Receipt printing section, 16
. . . Journal printing section, 18 . . . Character data compression section. Patent applicant: Casio Computer Co., Ltd.
Claims (1)
発生手段より出力されるドット文字データより所定のド
ットを抜いてデータ圧縮を行なう文字データ圧縮手段と
、上記ドット文字データ発生手段からのドット文字デー
タと上記文字データ圧縮手段からの圧縮されたドット文
字データとを夫々印字する印字手段とを有することを特
徴とする印字機能付電子機器。a dot character data generation means; a character data compression means for compressing data by removing predetermined dots from the dot character data output from the dot character data generation means; 1. An electronic device with a printing function, comprising printing means for printing compressed dot character data from a character data compression means.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP17303685A JPS6232593A (en) | 1985-08-06 | 1985-08-06 | Electronic appliance with printing function |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP17303685A JPS6232593A (en) | 1985-08-06 | 1985-08-06 | Electronic appliance with printing function |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPS6232593A true JPS6232593A (en) | 1987-02-12 |
Family
ID=15953008
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP17303685A Pending JPS6232593A (en) | 1985-08-06 | 1985-08-06 | Electronic appliance with printing function |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS6232593A (en) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH09185764A (en) * | 1996-11-05 | 1997-07-15 | Tec Corp | Sales data processing equipment |
| JP2010027929A (en) * | 2008-07-22 | 2010-02-04 | Mitsumi Electric Co Ltd | Circuit board and electronic device |
-
1985
- 1985-08-06 JP JP17303685A patent/JPS6232593A/en active Pending
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH09185764A (en) * | 1996-11-05 | 1997-07-15 | Tec Corp | Sales data processing equipment |
| JP2010027929A (en) * | 2008-07-22 | 2010-02-04 | Mitsumi Electric Co Ltd | Circuit board and electronic device |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPH04500876A (en) | image generation software | |
| JPS6233650A (en) | Printing compressor | |
| JPH0747322B2 (en) | Printer | |
| JPH022793U (en) | ||
| JP2798637B2 (en) | Overlay printing method | |
| JPH0620160A (en) | Printer for electronic cash register | |
| JPS63104119A (en) | Document processor | |
| JPH0176660U (en) | ||
| JPH0116622Y2 (en) | ||
| JP3037888B2 (en) | Information processing device | |
| JPS5856192A (en) | Printer | |
| JPH06119556A (en) | Product sales data processor | |
| JPH0761048A (en) | Bar code printer | |
| JPS60159073A (en) | Printer with bar-code reader | |
| JPS61280945A (en) | Letter processor | |
| JPS60966A (en) | Printing system of printer | |
| JPS60229194A (en) | Slip issuing equipment | |
| JPH02104066A (en) | Facsimile equipment | |
| JPS63209951A (en) | Print method | |
| JPH05205161A (en) | Cash register with braille output function | |
| JPH03268070A (en) | Seal print file retrieving system | |
| JPS5968946U (en) | Printing device for tags with barcodes | |
| JPH04122658A (en) | Page printer controller | |
| JPH01213136A (en) | label printer | |
| JPS6243694A (en) | Layout display system |