JP2607159B2 - Barcode printer - Google Patents

Barcode printer

Info

Publication number
JP2607159B2
JP2607159B2 JP1313478A JP31347889A JP2607159B2 JP 2607159 B2 JP2607159 B2 JP 2607159B2 JP 1313478 A JP1313478 A JP 1313478A JP 31347889 A JP31347889 A JP 31347889A JP 2607159 B2 JP2607159 B2 JP 2607159B2
Authority
JP
Japan
Prior art keywords
printing
dots
character
font
bar code
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 - Fee Related
Application number
JP1313478A
Other languages
Japanese (ja)
Other versions
JPH03173660A (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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial 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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP1313478A priority Critical patent/JP2607159B2/en
Publication of JPH03173660A publication Critical patent/JPH03173660A/en
Application granted granted Critical
Publication of JP2607159B2 publication Critical patent/JP2607159B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Printers Characterized By Their Purpose (AREA)
  • Accessory Devices And Overall Control Thereof (AREA)
  • Dot-Matrix Printers And Others (AREA)

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は、バーコードプリンタに関する。Description: TECHNICAL FIELD The present invention relates to a barcode printer.

(従来の技術) 従来より、ラインのサーマヘッドを用いるバーコード
プリンタについては、印字速度の高速化のためにデータ
の通信速度の向上、あるいはサーマルヘッドの加熱,冷
却時間の削減が検討されてきている。さらに、印字の品
質を少し下げることになるが、紙送り速度のみを速くし
て印字することも試みられてきている。
(Prior Art) Conventionally, with regard to a barcode printer using a line thermal head, improvement of a data communication speed or reduction of heating and cooling time of a thermal head has been studied in order to increase a printing speed. I have. Further, although the quality of printing is slightly reduced, it has been attempted to perform printing by increasing only the paper feeding speed.

(発明が解決しようとする課題) 従来の紙送り速度のみを向上させる技術で問題となる
のは、印字の縦の長さが長くなり、元の字体が印字され
ないことであった。バーコードの印字では、縦と横との
線のみであり、縦長の印字ドットを用いても縦方向の分
解能が落ちるだけで、バーコードリーダで読み取ること
ができれば良いので特に問題とならない。しかし、通常
の文字としては縦に伸び過ぎた文字は、読みにくいので
好まれないという問題があった。
(Problem to be Solved by the Invention) The problem with the conventional technique for improving only the paper feed speed is that the vertical length of the print becomes long and the original font is not printed. In printing barcodes, only vertical and horizontal lines are used. Even if vertically long printing dots are used, only resolution in the vertical direction is reduced, and there is no particular problem as long as they can be read by a barcode reader. However, there is a problem in that characters that are too long in the vertical direction as ordinary characters are not preferred because they are difficult to read.

本発明の目的は、高速の印字の際に、視覚的に好まし
い縦横比の字体で印字できるバーコードプリンタを提供
することにある。
SUMMARY OF THE INVENTION An object of the present invention is to provide a barcode printer capable of printing in a font having a visually favorable aspect ratio at the time of high-speed printing.

(課題を解決するための手段) 上記の目的を達成するため、本発明は、記録紙に印字
される印字ドットの縦の長さを横の長に比べて長くする
と共に、文字の字体が縦に伸び過ぎない用に予め横長の
文字とバーコードをイメージRAMに描画したことを特徴
とする。
(Means for Solving the Problems) In order to achieve the above object, the present invention increases the length of print dots printed on recording paper as compared with the horizontal length, and changes the font of characters to vertical. It is characterized in that a horizontally long character and a barcode are previously drawn on the image RAM so that it does not grow too long.

(作用) 上記の手段を採用したため、印字ドットの縦の長さが
長い分、印字の速度が速くなり、また、予め横長の文字
をイメージRAMに描画することにより、印字ドットが縦
に長くとも印字の際には視覚的に好ましい縦横比の字体
にることができる。
(Operation) Since the above-mentioned means is employed, the printing speed is increased by the length of the printing dots, and the printing of the horizontally long characters in the image RAM in advance allows the printing dots to be vertically long. In printing, it is possible to obtain a font having a visually favorable aspect ratio.

(実施例) 以下、本発明の実施例を図面に基づいて説明する。(Example) Hereinafter, an example of the present invention will be described with reference to the drawings.

第1図は本発明のバーコードプリンタの一実施例にお
ける制御部のブロック図であり、1はCPU(中央演算
部)、2はイメージデータプロセサ、3は漢字ROM、5
はイメージRAM4とサーマルヘッド6との間に介在するシ
フトレジスタ、7はパルスジェネレータ、8はパルスジ
ェネレータ7の信号によりステップモータ9を駆動させ
るモータドライバ、10はプログラムROM、11はシステムR
AM、12は前記CPU1,イメージデータプロセサ,漢字ROM3,
イメージRAM4,プログラムROM10,システムRAM11などにお
けるデータの転送用のバスである。
FIG. 1 is a block diagram of a control unit in an embodiment of a bar code printer according to the present invention, wherein 1 is a CPU (central processing unit), 2 is an image data processor, 3 is a kanji ROM,
Is a shift register interposed between the image RAM 4 and the thermal head 6, 7 is a pulse generator, 8 is a motor driver for driving a step motor 9 by a signal from the pulse generator 7, 10 is a program ROM, and 11 is a system ROM.
AM and 12 are the CPU 1, image data processor, kanji ROM 3,
A bus for transferring data in the image RAM 4, the program ROM 10, the system RAM 11, and the like.

同図において、CPU1はプログラムROM10とシステムRAM
11により動作する。イメージデータプロセサ2は、CPU1
の制御によって漢字ROM3から文字フォントを読み取り、
イメージRAM4内に予め横長の文字を描画する。イメージ
RAM4内に全ての描画が終了すれば、1ライン毎にシフト
レジスタ5を経由してサーマルヘッド6にデータが送信
される。
In FIG. 1, a CPU 1 includes a program ROM 10 and a system RAM.
Operated by 11. Image data processor 2 is CPU1
Reads character fonts from Kanji ROM3 under the control of
A horizontally long character is drawn in the image RAM 4 in advance. image
When all drawing in the RAM 4 is completed, data is transmitted to the thermal head 6 via the shift register 5 line by line.

記録紙への印字のシーケンスは、まずパルスジェネレ
ータ7がパルスを発生し、このパルスをモータドライバ
8に入力して、モータドライバ8によりステップモータ
9を1ステップ回転させる。次に、上述の手順でサーマ
ルヘッド6にデータを送信し、加熱制御信号を送ってサ
ーマルヘッド6をパルス発熱させる。
In the sequence of printing on the recording paper, first, the pulse generator 7 generates a pulse, the pulse is input to the motor driver 8, and the motor driver 8 rotates the step motor 9 by one step. Next, data is transmitted to the thermal head 6 according to the above-described procedure, and a heating control signal is transmitted to cause the thermal head 6 to generate pulse heat.

これを繰り返してイメージRAM4内のデータを記録紙に
印字する。この際に、ステップモータ9の1ステップ当
たりの記録紙の送り量を増すか、またはステップモータ
9に印字するパルスの数を増すことにより、縦長のドッ
トの印字を行う。
By repeating this, the data in the image RAM 4 is printed on the recording paper. At this time, vertically long dots are printed by increasing the recording paper feed amount per step of the step motor 9 or increasing the number of pulses to be printed on the step motor 9.

例えば、ステップモータ9を2ステップ回転させる毎
にサーマルヘッド6をパルス発熱させるようにすれば、
通常の正方形の印字ドットでなく、横に比べて縦の方が
2灰長い印字ドットとなる。この縦長の印字ドットで
は、漢字ROM3の中の正方形の字体が記録紙上では縦長の
字体に変わることになり、読み取りにくい文字となって
しまう。
For example, if the thermal head 6 is pulse-heated every time the step motor 9 is rotated by two steps,
Instead of a regular square print dot, the print dot is longer by two grays in the vertical direction than in the horizontal direction. With this vertically long printing dot, the square font in the kanji ROM 3 is changed to a vertically long font on the recording paper, making the character difficult to read.

そこで本実施例では、イメージRAM4内の字体をイメー
ジデータプロセサ2によって、第2図(b)に示すよう
に、予め縦をつぶした形にしてイメージRAM4内に描画す
る。従って、漢字ROM3では、第2図(a)に示すよう
に、8×8ドットの字体が、イメージRAM4内では8×4
ドットになっている。この縦をつぶした字体が、上記の
横に比べて縦の方が2倍長い印字ドットと組み合わされ
て、第2図(c)に示すように、記録紙上で元の正方形
の字体に戻される。縦方向のドット数は少なくなるので
字体の品位は少し犠牲になるが、縦の長さが横の長さの
2倍の文字よりは視覚的に好ましい字体となる。縦と横
の長さの比は印字速度の向上と字体の品位の兼ね合いか
ら1〜3倍(整数値でなくて良い)を用いることができ
る。
Therefore, in the present embodiment, the fonts in the image RAM 4 are drawn in the image RAM 4 by the image data processor 2 in a state where the characters are previously crushed as shown in FIG. 2B. Accordingly, as shown in FIG. 2 (a), in the kanji ROM3, the font of 8 × 8 dots is
It is a dot. This vertically squeezed font is combined with a print dot that is twice as long in the vertical direction as compared to the horizontal direction, and is returned to the original square font on the recording paper as shown in FIG. 2 (c). . Since the number of dots in the vertical direction is reduced, the quality of the font is slightly sacrificed, but it is visually more preferable than a character whose vertical length is twice the horizontal length. The ratio of the length to the width can be 1 to 3 times (not necessarily an integer value) in consideration of the improvement of the printing speed and the quality of the font.

以上説明したように、本実施例において、印字ドット
の縦の長さを長くすることにより、一定時間内にサーマ
ルヘッド6に送信するデータの数が同じであれば、印字
ドットの縦の長さが長い分、印字の速度が速くなること
になる。
As described above, in the present embodiment, by increasing the vertical length of the print dot, if the number of data to be transmitted to the thermal head 6 within a certain period of time is the same, the vertical length of the print dot The longer the printing time, the faster the printing speed.

また、印字ドットの縦の長さが長ければ、印字の速度
を速めてもサーマルヘッド6の加熱と冷却のサイクルの
制御が容易になる。
Further, if the vertical length of the print dot is long, even if the printing speed is increased, the control of the cycle of heating and cooling of the thermal head 6 becomes easy.

一般的な漢字ROM3は、縦と横のドット数が同じなの
で、横長の文字を印字用のイメージRAM4に描画すること
はイメージデータプロセサ2を用いることで容易に行な
うことができる(例えば、日立製作所のHD64400、松下
電子工業のMN8617Aなどを用いることができる)。
Since a general kanji ROM 3 has the same number of dots in the vertical and horizontal directions, it is easy to draw horizontally long characters in the image RAM 4 for printing by using the image data processor 2 (for example, Hitachi, Ltd.). HD64400, Matsushita Electronics MN8617A, etc.).

これらのイメージデータプロセサ2を用いないで、予
め縦と横のドット数が異なる漢字ROM3を用いることもで
きる。印字の際に、印字ドットの縦の長さを横の長に比
べて長くすることにより、この横長の文字を元の正方形
に戻すことができる。視覚的な効果のために文字の形を
正方形に比べて縦長にしたり、横長にしたりすることも
可能である。
Instead of using these image data processors 2, a kanji ROM 3 having different numbers of dots in the vertical and horizontal directions can be used in advance. At the time of printing, by making the vertical length of the print dot longer than the horizontal length, this horizontally long character can be returned to the original square. For a visual effect, it is possible to make the character vertically or horizontally longer than a square.

さらに、字体を構成するドットの数が縦横ともに2の
倍数であるように文字を構成すると、縦と横のドットを
掛け算した数が4の倍数になり、4ビット,8ビット,16
ビットなどのデータとして扱うとが容易になり、処理速
度が向上する。
Further, if a character is configured so that the number of dots forming the font is a multiple of 2 both vertically and horizontally, the number obtained by multiplying the vertical and horizontal dots becomes a multiple of 4, and 4 bits, 8 bits, 16 bits
It is easy to handle as data such as bits, and the processing speed is improved.

さらに、もともと線(長方形)の集合であり、イメー
ジRAM4に描画されているバーコードの形は崩れないの
で、実用性が高いものである。
Furthermore, since it is originally a set of lines (rectangles) and the shape of the barcode drawn in the image RAM 4 does not collapse, it is highly practical.

(発明の効果) 本発明によれば、印字ドットの縦の長さを長くして印
字速度を速くし、かつ予め横長の文字をイメージRAMに
描画しておくことにより、視覚的に好ましい縦横比の字
体を印字できるため、高速で見易い文字の印字ができる
バーコードプリンタを提供できる。
(Effects of the Invention) According to the present invention, the vertical length of print dots is increased to increase the printing speed, and a horizontally long character is rendered in the image RAM in advance, so that a visually preferable aspect ratio is obtained. The bar code printer capable of printing characters that can be easily read at high speed can be provided.

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

第1図は本発明のバーコードプリンタの一実施例におけ
る制御部のブロック図、第2図(a)〜(c)は字体の
変化を示す説明図である。 1……CPU、2……イメージデータプロセサ、3……漢
字ROM、4……イメージRAM、5……シフトレジスタ、6
……サーマルヘッド、7……パルスジェネレータ、8…
…モータドライバ、9……ステップモータ、10……プロ
グラムROM、11……システムRAM,12……バス。
FIG. 1 is a block diagram of a control unit in an embodiment of a bar code printer according to the present invention, and FIGS. 2 (a) to 2 (c) are explanatory views showing changes in fonts. 1 CPU CPU 2 Image data processor 3 Kanji ROM 4 Image RAM 5 Shift register 6
... thermal head, 7 ... pulse generator, 8 ...
... Motor driver, 9 ... Step motor, 10 ... Program ROM, 11 ... System RAM, 12 ... Bus.

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】記録紙に印字される印字ドットの縦の長さ
を横の長さに比べて長くすると共に、印字された文字の
字体が縦に伸び過ぎないように予め横長の文字とバーコ
ードとをイメージRAM内に描画したことを特徴とするバ
ーコードプリンタ。
1. A printing method according to claim 1, wherein the length of the printing dots printed on the recording paper is made longer than the width of the printing dots, and a horizontally elongated character and a bar are set in advance so that the font of the printed character does not extend too vertically. A bar code printer characterized in that codes are drawn in an image RAM.
【請求項2】文字を構成するドットの数を、縦横共に2
の倍数にしたことを特徴とする請求項(1)記載のバー
コードプリンタ。
2. The number of dots constituting a character is set to 2 in both the vertical and horizontal directions.
The bar code printer according to claim 1, wherein the bar code printer is a multiple of the bar code.
JP1313478A 1989-12-04 1989-12-04 Barcode printer Expired - Fee Related JP2607159B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1313478A JP2607159B2 (en) 1989-12-04 1989-12-04 Barcode printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1313478A JP2607159B2 (en) 1989-12-04 1989-12-04 Barcode printer

Publications (2)

Publication Number Publication Date
JPH03173660A JPH03173660A (en) 1991-07-26
JP2607159B2 true JP2607159B2 (en) 1997-05-07

Family

ID=18041791

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1313478A Expired - Fee Related JP2607159B2 (en) 1989-12-04 1989-12-04 Barcode printer

Country Status (1)

Country Link
JP (1) JP2607159B2 (en)

Also Published As

Publication number Publication date
JPH03173660A (en) 1991-07-26

Similar Documents

Publication Publication Date Title
EP0396982B1 (en) Recording device and recording method
JP2607159B2 (en) Barcode printer
US4834564A (en) Paper feed control in a dot matrix printer
US5887989A (en) Low cost digital printer
JP3016515B2 (en) Character processing apparatus and method
JPH0775894B2 (en) How to print on a matrix printer
JP2935510B2 (en) Output device and output method
US5020005A (en) Image overlay printing controlling method and apparatus for printer
JP2645170B2 (en) Line printer printing method
JP3055738B2 (en) Dot matrix pattern printing method and apparatus
EP0150988A2 (en) Enlarged picture output apparatus
JPS61104860A (en) Reduction printer
JP3242523B2 (en) Printing information processing device
JPS6359559A (en) Serial-type thermal printer system
JP2564513B2 (en) Printer control device
JPH04475B2 (en)
JP2969791B2 (en) Dot line printer
JP3003265B2 (en) Serial printer
JPH0347893Y2 (en)
JPH0375164A (en) Serial printer
JPH07105886B2 (en) Recording device
JPH0525673B2 (en)
JPS6160121A (en) Graphic print processing system
JP3003266B2 (en) Serial printer
JPS5948166A (en) Print control system in dot printer

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees