JP2005297483A - Printing system - Google Patents

Printing system Download PDF

Info

Publication number
JP2005297483A
JP2005297483A JP2004120203A JP2004120203A JP2005297483A JP 2005297483 A JP2005297483 A JP 2005297483A JP 2004120203 A JP2004120203 A JP 2004120203A JP 2004120203 A JP2004120203 A JP 2004120203A JP 2005297483 A JP2005297483 A JP 2005297483A
Authority
JP
Japan
Prior art keywords
characters
character
printed
print
printing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2004120203A
Other languages
Japanese (ja)
Inventor
Tetsuji Watanabe
哲治 渡辺
Hiroyuki Konishi
浩之 小西
Kenichi Nakaoka
建一 中岡
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.)
Ishida Co Ltd
Original Assignee
Ishida 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 Ishida Co Ltd filed Critical Ishida Co Ltd
Priority to JP2004120203A priority Critical patent/JP2005297483A/en
Publication of JP2005297483A publication Critical patent/JP2005297483A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide a printing system enabling the printing operation capable of appealing enough visually while seeing easily to be performed even if the number of letters is few. <P>SOLUTION: The system is equipped with a space insertion printing mode by which the printing operation is performed with providing the space required for more than one letters at the left or right end of the printing areas 20, 21 in which the letters for a pop-advertisement or label are printed and a usual printing mode not provided with the space required for more than one letters at the left and right ends. Making comparison between a first memory part storing beforehand the threshold corresponding to the minimum number of letters to be a mode-selection standard for every paper for the pop advertisement or label, a second memory part storing the printed letters or letter rows, the number of the printed letters or letter rows and the threshold, if the number of printing letters run short against the minimum number of letters, the space 30 is automatically inserted at the left and right ends of the printing area. <P>COPYRIGHT: (C)2006,JPO&NCIPI

Description

本発明は、ポップ広告またはラベルに文字や絵柄を印字する印字システムに関するものである。   The present invention relates to a printing system that prints characters and designs on pop advertisements or labels.

従来より、この種の印字システムとして下記の文献が存在する。
特開平1−229648号(特許請求の範囲、図4) 特開昭63−49636号(特許請求の範囲、図3) 特開平7−114548号(要約) 特許第2882038号(図2,図3) 特許第2667087号(0017、図10)
Conventionally, the following documents exist as this type of printing system.
JP-A-1-229648 (Claims, FIG. 4) JP-A 63-49636 (Claims, FIG. 3) JP-A-7-114548 (Summary) Japanese Patent No. 2882038 (FIGS. 2 and 3) Japanese Patent No. 2667087 (0017, FIG. 10)

特許文献1の発明では、基準から外れたアウトラインフォントに対しても正しい縦横比を計算し、正確な倍率で印字を行うことができる。
特許文献2の発明では、設定された所定文字数よりも少ない場合、文字間を調整することができる。
特許文献3の発明では、文字枠内に設定された文字サイズで収まらない場合は、文字枠を拡張し、さらに拡張枠が重なる場合は当該枠が重ならないように移動することができる。
特許文献4の発明では、ラベルの長さと文字列入力に応じて自動的に文字サイズ、間隔を計算することができる。
特許文献5の発明では、ラベル印字領域を判別し、選択された文字サイズに合わせてラベル印字領域に均等に文字間隔の自動割り付けを行うことができる。
In the invention of Patent Document 1, a correct aspect ratio can be calculated even for an outline font that is out of the standard, and printing can be performed at an accurate magnification.
In the invention of Patent Document 2, when the number of characters is smaller than the predetermined number of characters, the space between characters can be adjusted.
In the invention of Patent Document 3, when the character size set in the character frame does not fit, the character frame is expanded, and when the expanded frames overlap, the frame can be moved so as not to overlap.
In the invention of Patent Document 4, the character size and the interval can be automatically calculated according to the label length and the character string input.
In the invention of Patent Document 5, it is possible to determine the label printing area and automatically assign the character spacing to the label printing area equally according to the selected character size.

一方、TrueTypeFontなどのベクトルフォントを使用してPOP広告やラベルの印字レイアウトを設計する際に、印字データの文字数に関係なく、指定された印字領域一杯に印字データを拡縮する機能がある。この機能を利用すると、指定された領域の枠一杯に、文字数に関係なく自動的に拡縮されたデータを印字することができ、視覚的に訴えるような効果的な文字を表現することができる。   On the other hand, when designing the print layout of POP advertisements and labels using vector fonts such as TrueTypeFont, there is a function to enlarge / reduce the print data to fill the specified print area regardless of the number of characters of the print data. By using this function, it is possible to print automatically enlarged / reduced data regardless of the number of characters in the designated area, and to express effective characters that appeal visually.

しかし、この機能では、印字データの文字数が少なくなると、図7(a)〜(c)に示すように、文字が横方向に拡大されすぎて、かえって見難くなってしまうことがある。かかる問題および解決方法については、前記特許文献1〜5には何ら記載されていない。   However, with this function, if the number of characters in the print data decreases, the characters may be excessively enlarged in the horizontal direction as shown in FIGS. Such problems and solutions are not described in Patent Documents 1 to 5.

したがって、本発明の目的は、文字数が少ない場合でも、見易く、かつ視覚的に十分訴えることができる印字を行うことが可能な印字システムを提供することを目的とする。   Accordingly, an object of the present invention is to provide a printing system capable of performing printing that is easy to see and can appeal visually even when the number of characters is small.

前記目的を達成するために、本第1発明にかかる印字システムは、ポップ広告またはラベルに文字を印字する印字システムであって、文字が印字される印字領域と文字または文字列に応じて文字の縦横の大きさを演算して文字を形成する文字形成手段と、印字する1文字当たりの領域の最大縦横比を予め設定する設定手段と、を設けたことを特徴とする。   In order to achieve the above object, a printing system according to the first aspect of the present invention is a printing system that prints characters on a pop advertisement or a label, and prints characters according to a printing area and characters or character strings. Character forming means for calculating characters in length and width and character setting means and setting means for presetting the maximum aspect ratio of the area per character to be printed are provided.

本第2発明にかかる印字システムは、ポップ広告またはラベルに文字を印字する印字システムであって、前記ポップ広告またはラベルにおける文字が印字される印字領域の左端または右端に1文字分以上のスペースを設けて印字するスペース挿入印字モードと、前記左端および右端に1文字分以上の前記スペースを設けない通常印字モードとを備え、前記モードの選択の基準となる最少文字数に対応する閾値を前記ポップ広告またはラベルの用紙または前記印字領域ごとに予め記憶する第1記憶部と、印字される文字または文字列を記憶する第2記憶部と、前記印字される文字または文字列の印字文字数と前記閾値とを比較して、前記印字文字数が前記最少文字数に対して不足する場合は、前記印字領域の左右端に自動的にスペースを挿入することを特徴とする。   The printing system according to the second aspect of the present invention is a printing system for printing characters on a pop advertisement or label, and has a space of one character or more at the left end or right end of the print area where characters in the pop advertisement or label are printed. A pop-up advertisement with a threshold value corresponding to the minimum number of characters that serves as a reference for selection of the mode, and a space insertion print mode that is provided and printed, and a normal print mode that does not provide one or more spaces at the left and right ends Alternatively, a first storage unit that stores in advance for each label sheet or print region, a second storage unit that stores characters or character strings to be printed, the number of characters to be printed or the character string and the threshold value, If the number of printed characters is insufficient with respect to the minimum number of characters, a space is automatically inserted at the left and right edges of the printed area. It is characterized in.

本第1発明によれば、文字数が少ない場合でも、文字の変形が最小限に抑えられ、その結果、見易く、かつ視覚的に十分訴えることができるレイアウトが可能となる。   According to the first aspect of the present invention, even when the number of characters is small, the deformation of the characters can be minimized, and as a result, a layout that can be easily viewed and can be appealed visually is possible.

本第2発明によれば、前記第1発明と同様に、文字数が少ない場合でも、見易く、かつ視覚的に十分訴えることができるレイアウトが可能となる。しかも、文字数を入力するのは最大縦横比を設定するのに比べ、設定が容易になる。また、ポップ広告またはラベルの用紙ごとに設定できるので、ポップ広告やラベルの種類、機能に応じて文字の縦横比を選択することができる。   According to the second aspect of the invention, as in the first aspect of the invention, even when the number of characters is small, it is possible to provide a layout that is easy to see and can appeal sufficiently visually. Moreover, setting the number of characters is easier than setting the maximum aspect ratio. Further, since it can be set for each paper of the pop advertisement or label, the aspect ratio of the character can be selected according to the type and function of the pop advertisement or label.

この印字システムにおいては、前記印字領域の大きさに合わせて前記文字の大きさが設定されるようにするのが好ましい。   In this printing system, it is preferable that the size of the character is set in accordance with the size of the printing area.

本第2発明の別の好適な印字システムは、ポップ広告またはラベルに文字を印字する印字システムであって、前記ポップ広告またはラベルにおける文字が印字される印字領域の左端または右端に1文字分以上のスペースを設けて印字するスペース挿入印字モードと、前記左端および右端に1文字分以上の前記スペースを設けない通常印字モードとを備え、前記モードの選択の基準となる最少文字数に対応する閾値を前記ポップ広告またはラベルの用紙または前記印字領域ごとに予め記憶する第1記憶部と、印字される文字または文字列を記憶する第2記憶部と、前記印字される文字または文字列の印字文字数と前記閾値とを比較して、前記印字文字数が前記最少文字数に対して不足する場合は、前記スペース挿入印字モードを選択し、一方、前記印字文字数が不足しない場合は前記通常印字モードを選択する判別手段と、前記判別の結果、スペース挿入印字モードにおいては、前記最少文字数から前記印字文字数を減算した不足分に相当する数のスペースデータを前記文字または文字列に付加して印字データを作成するデータ作成手段と、前記スペースデータの数を文字または文字列の文字の数に加算した上で、当該加算された総数と前記印字領域の大きさに応じて、実際に印字する文字の大きさを設定する文字形成手段とを備えている。   Another preferred printing system of the second invention is a printing system for printing characters on a pop advertisement or a label, and at least one character is printed on the left or right edge of a printing area where characters in the pop advertisement or label are printed. A space insertion print mode for printing with a space and a normal print mode in which the space for one character or more is not provided at the left end and the right end, and a threshold value corresponding to the minimum number of characters serving as a reference for selection of the mode is set. A first storage unit that stores the pop advertisement or label paper or each print area in advance; a second storage unit that stores characters or character strings to be printed; and the number of characters to be printed. In comparison with the threshold, if the number of characters printed is insufficient with respect to the minimum number of characters, select the space insertion print mode, When the number of printed characters is not insufficient, the determining means for selecting the normal print mode, and, as a result of the determination, in the space insertion print mode, the number of space data corresponding to the shortage obtained by subtracting the number of printed characters from the minimum number of characters. Is added to the character or character string to create print data, and the number of the space data is added to the number of characters or characters in the character string. Character forming means for setting the size of characters to be actually printed according to the size is provided.

本発明において、スペースを挿入(付加)する場合には、文字の種別に応じて、前記スペースを左端または右端のいずれに挿入するかを設定できるようにするのが好ましい。
こうすれば、文字の種別に応じて最も見易いレイアウトを選択して設定することができる。
In the present invention, when a space is inserted (added), it is preferable that whether the space is inserted at the left end or the right end can be set according to the character type.
In this way, it is possible to select and set the most easily viewable layout according to the character type.

以下、第2発明にかかる印字システムの実施例を図1〜5を用いて説明する。
まず、本印字システムの説明に先立って、本印字システムにより印字されるラベルおよびポップ広告について説明する。
Hereinafter, an embodiment of a printing system according to the second invention will be described with reference to FIGS.
First, prior to the description of the printing system, labels and pop advertisements printed by the printing system will be described.

本印字システムにより印字されるラベルやポップ広告は、たとえば、商品に貼付されたり商品の近傍に配置されることで、主として、需要者に対し商品に関する情報を提供したり商品の販売を促進する目的で用いられる。   For example, labels and pop advertisements printed by this printing system are mainly attached to products or placed in the vicinity of products to provide information on products to consumers or promote sales of products. Used in

ラベル
図3(a)〜(d)に示すように、ラベルには、価格印字領域20および副印字領域22が設けられている。価格印字領域20は、図3(a)〜(d)の二点鎖線で囲まれた内側の領域であり、ラベル用紙の概ね中央付近に配置されている。該価格印字領域20には、たとえば、商品の価格が印字される。
副印字領域22は、前記価格印字領域20の周囲の領域であり、該副印字領域22には、たとえば、商品名やコードなど前記価格以外の情報が印字される。
Label As shown in FIGS. 3A to 3D, the label is provided with a price print area 20 and a sub print area 22. The price printing area 20 is an inner area surrounded by a two-dot chain line in FIGS. 3A to 3D and is arranged in the vicinity of the center of the label sheet. In the price printing area 20, for example, the price of the product is printed.
The sub print area 22 is an area around the price print area 20, and information other than the price such as a product name and a code is printed in the sub print area 22, for example.

ポップ広告
図4(a),(b)に示すように、ポップ広告には、広告文印字領域21が設けられている。広告文印字領域21は、図4(a),(b)の二点鎖線で囲まれた内側の領域であり、該広告文印字領域21には、たとえば、商品の販売を促進するための広告文が印字される。なお、広告文印字領域21は、ポップ広告用紙における周縁の余白領域23を除く概ね全面にわたって設けられている。
Pop Advertisement As shown in FIGS. 4A and 4B, an advertisement text printing area 21 is provided in the pop advertisement. The advertisement text print area 21 is an inner area surrounded by a two-dot chain line in FIGS. 4A and 4B, and the advertisement text print area 21 includes, for example, an advertisement for promoting the sale of products. A sentence is printed. Note that the advertisement text printing area 21 is provided over almost the entire surface excluding the margin area 23 at the periphery of the pop advertisement paper.

本印字システムは、前記ラベルまたはポップ広告における前記価格印字領域20または広告文印字領域21に印字される文字または文字列の大きさを適切な大きさに設定するものである。すなわち、本印字システムは、前記各印字領域20,21に合わせて当該印字領域20,21に印字される文字または文字列を拡縮するに際して、図7(a)〜(c)のように、印字文字数が少ない場合に文字が歪に変形して見難くなるのを防止するものである。   This printing system sets the size of the character or character string printed in the price printing area 20 or the advertisement text printing area 21 in the label or pop advertisement to an appropriate size. That is, the present printing system performs printing as shown in FIGS. 7A to 7C when expanding or reducing the characters or character strings printed in the printing areas 20 and 21 in accordance with the printing areas 20 and 21, respectively. This prevents the characters from becoming distorted and difficult to see when the number of characters is small.

ハードウェア
以下、本発明を実現するためのシステム構成について説明する。
本発明にかかる印字システムは、内部にCPUを備えたコンピュータシステムにより実現される。たとえば、図1は、パーソナルコンピュータを用いた場合のシステム構成を示す。
Hardware A system configuration for realizing the present invention will be described below.
The printing system according to the present invention is realized by a computer system having a CPU therein. For example, FIG. 1 shows a system configuration when a personal computer is used.

図1において、パーソナルコンピュータは、CPU1、ROM2およびRAM3と共に、ハードディスクドライブ(HDD)4、フロッピーディスクドライブ(FDD)5およびCD−ROMドライブ6などの外部装置を備えている。前記FDD5およびCD−ROMドライブ6は、それぞれ、記憶媒体(フロッピーディスクやCD−ROMメディア)に記録されたデータやプログラムを読み取る。本印字システムに関するプログラムは、前記記録媒体に記録されており、前記HDD4を介してハードディスクにインストールを行い、当該コンピュータシステムにおいて実行することが可能である。   In FIG. 1, the personal computer includes external devices such as a hard disk drive (HDD) 4, a floppy disk drive (FDD) 5, and a CD-ROM drive 6 along with a CPU 1, a ROM 2 and a RAM 3. The FDD 5 and the CD-ROM drive 6 read data and programs recorded on a storage medium (floppy disk or CD-ROM medium), respectively. A program related to the printing system is recorded on the recording medium, and can be installed on a hard disk via the HDD 4 and executed on the computer system.

前記コンピュータには、キーボード8やマウス9などの入力装置と共に、表示器7が接続されている。また、図1のコンピュータには、1台または複数台のプリンタ10が接続されている。プリンタ10は、たとえば、図3〜図4に示す前記ラベルやポップ広告などを印字する。
なお、図1の各機器ないし各装置は、図示しないインターフェイスを介して接続されている。
A display 7 is connected to the computer together with input devices such as a keyboard 8 and a mouse 9. In addition, one or a plurality of printers 10 are connected to the computer shown in FIG. The printer 10 prints, for example, the labels and pop advertisements shown in FIGS.
1 is connected via an interface (not shown).

つぎに、前記インストール等により、前記ハードディスクおよびRAM3に構築される各記憶部(記憶エリア)について説明する。
図1に示すパソコンのRAM3には、図2に示す用紙情報記憶部(第1記憶部)3aおよび印字データ記憶部(第2記憶部)3bが構築される。
Next, each storage unit (storage area) constructed in the hard disk and the RAM 3 by the installation or the like will be described.
A paper information storage unit (first storage unit) 3a and a print data storage unit (second storage unit) 3b shown in FIG. 2 are constructed in the RAM 3 of the personal computer shown in FIG.

図2(a)に示す用紙情報記憶部3aには、ポップ広告またはラベルの印字用紙No. ごとに前記価格または広告文印字領域20,21のサイズおよび当該印字領域20,21に印字される最少文字数が互いに関連付けられて記憶される。   In the paper information storage unit 3a shown in FIG. 2 (a), the size of the price or the advertisement text printing area 20, 21 and the minimum printed in the printing area 20, 21 for each pop advertisement or label printing paper No. The number of characters is stored in association with each other.

最少文字数は、前記価格または広告文印字領域20,21のサイズに合わせて文字を拡大した場合に、図7(a)〜(c)のように、文字が大きく変形して見難くなるのを防ぎ得る最少の文字数であり、前記印字領域20,21のサイズから予め割り出されて設定される。この設定は、オペレータによって印字用紙ごとに計算されて入力されてもよいし、予め演算式をプログラム中に設け、印字領域のサイズが入力されると、最少文字数が自動的に計算されて設定されるようにしてもよい。   The minimum number of characters is that when the characters are enlarged in accordance with the price or the size of the advertisement text printing area 20, 21, the characters are greatly deformed and become difficult to see as shown in FIGS. This is the minimum number of characters that can be prevented, and is preliminarily determined from the size of the print areas 20 and 21. This setting may be calculated and input for each printing paper by the operator, or if an arithmetic expression is provided in the program in advance and the size of the printing area is input, the minimum number of characters is automatically calculated and set. You may make it do.

前記最少文字数は、後述の2つのモードのいずれか一方を選択するための基準となるものであり、図2(a)の用紙情報記憶部3aには、前記最少文字数が閾値として印字用紙No. ごとに記憶される。この閾値は、前記最少文字数に対して一定の関係を有するように適宜設定できるが、本実施例では説明を容易にするため、最少文字数=閾値としている。   The minimum number of characters serves as a reference for selecting one of the following two modes, and the paper information storage unit 3a in FIG. It is memorized every time. This threshold value can be set as appropriate so as to have a certain relationship with the minimum number of characters, but in this embodiment, the minimum number of characters is set to a threshold value for ease of explanation.

なお、前記最少文字数および閾値は、本来、印字領域20,21ごとに設定すべきである。しかし、一般に、印字用紙が決まると印字領域20,21の大きさが一義的に決まる場合が多いので、したがって、本実施例では、前記最少文字数および閾値を印字用紙ごとに記憶させている。   Note that the minimum number of characters and the threshold value should be originally set for each of the print areas 20 and 21. However, generally, when the printing paper is determined, the sizes of the printing areas 20 and 21 are often determined uniquely. Therefore, in this embodiment, the minimum number of characters and the threshold value are stored for each printing paper.

図2(b)、(c)に示す印字データ記憶部3bは、ラベルに関する印字データおよびポップ広告に関する印字データをそれぞれ記憶している。
図2(b)の印字データ記憶部3bには、ラベルに関する印字データとして、印字データNo. ごとに商品名、価格および用紙No. などが互いに関連付けられて記憶される。図3に示すように、これらの記憶内容のうち、価格データが前記価格印字領域20に印字され、商品名等その他のデータは副印字領域22に印字される。
The print data storage unit 3b shown in FIGS. 2B and 2C stores print data related to labels and print data related to pop advertisements.
In the print data storage unit 3b of FIG. 2B, the product name, price, paper number and the like are stored in association with each other for each print data No. as print data relating to the label. As shown in FIG. 3, among these stored contents, price data is printed in the price print area 20, and other data such as product names are printed in the sub print area 22.

図2(c)の印字データ記憶部3bには、ポップ広告に関する印字データとして、印字データNo. ごとに印字すべき文字列(または文字)および用紙No. が互いに関連付けられて記憶される。図4に示すように、前記各文字列等が前記広告文印字領域21に印字される。   In the print data storage unit 3b of FIG. 2C, a character string (or character) to be printed for each print data number and a paper number are stored in association with each other as print data related to the pop advertisement. As shown in FIG. 4, the character strings and the like are printed in the advertisement text print area 21.

CPUの機能
図1の前記CPU1は、スペース挿入印字モードと通常印字モードとを備えている。
スペース挿入印字モードは、図3(a),(b)および図4(a)のように、前記価格または広告文印字領域20,21の左端または右端に1文字分以上のスペース30を設けて印字するモードである。
通常印字モードは、図3(c),(d)および図4(b)のように、前記価格または広告文印字領域20,21の左端および右端に1文字分以上のスペースを設けないモードである。なお、この通常印字モードにおいては、図4(b)のように、前記印字領域20,21の左端または右端に若干のスペースが設けられていてもよい。
CPU Function The CPU 1 in FIG. 1 has a space insertion print mode and a normal print mode.
In the space insertion print mode, as shown in FIGS. 3A, 3B and 4A, a space 30 of one character or more is provided at the left or right end of the price or advertisement text print area 20, 21. This is the mode for printing.
As shown in FIGS. 3C, 3D and 4B, the normal print mode is a mode in which a space of one character or more is not provided at the left end and the right end of the price or advertisement text print areas 20, 21. is there. In this normal printing mode, as shown in FIG. 4B, a slight space may be provided at the left end or the right end of the print areas 20, 21.

CPU1は、印字領域20,21に印字される印字データ(文字または文字列)の印字文字数が、図2(a)の前記最少文字数に対して不足するか否かに応じて、前記2つのモードのうちのいずれか一方を選択する。すなわち、CPU1は、印字データの印字文字数と前記最少文字数(閾値)とを比較して、印字データの印字文字数が最少文字数に対して不足するか否かを判別し、不足する場合はスペース挿入印字モードを選択し、一方、不足しない場合は通常印字モードを選択する。   The CPU 1 determines the two modes depending on whether or not the number of print characters (characters or character strings) printed in the print areas 20 and 21 is insufficient with respect to the minimum number of characters shown in FIG. Select one of these. That is, the CPU 1 compares the number of print characters of print data with the minimum number of characters (threshold) to determine whether the number of print characters of the print data is insufficient with respect to the minimum number of characters. Select the mode. If there is no shortage, select the normal print mode.

前記判別の結果、スペース挿入印字モードが選択されると、CPU1は、前記最少文字数から印字文字数を減算した不足分に相当する数のスペースデータを前記文字または文字列に付加して新たな印字データを作成する。たとえば、図3(a)のように、最少文字数が3文字に対して印字文字数が2文字の場合は、スペースデータ30を1つ付加し、図3(b)のように、最少文字数が3文字に対して印字文字数が1文字の場合は、スペースデータ30を2つ付加する。   If the space insertion print mode is selected as a result of the determination, the CPU 1 adds a number of space data corresponding to the shortage obtained by subtracting the number of print characters from the minimum number of characters to the new character or character string. Create For example, when the minimum number of characters is 3 and the number of print characters is 2 as shown in FIG. 3A, one space data 30 is added, and the minimum number of characters is 3 as shown in FIG. When the number of print characters is one character, two space data 30 are added.

CPU1は、前記スペースデータ30の数を文字または文字列の文字の数に加算した上で、当該加算された総数と前記印字領域20,21の大きさに応じて、実際に印字する文字の大きさを演算して文字を形成する。たとえば、図3(a)のように、印字文字が「98」のように2文字の場合には、スペースデータ30を1つ加算した3文字分が前記印字領域20,21に印字されるものとして、実際に印字する文字の大きさが設定される。   The CPU 1 adds the number of the space data 30 to the number of characters or characters in the character string, and then determines the size of characters to be actually printed according to the added total number and the sizes of the print areas 20 and 21. The character is calculated by calculating the length. For example, as shown in FIG. 3A, when there are two print characters such as “98”, three characters obtained by adding one space data 30 are printed in the print areas 20 and 21. The size of characters that are actually printed is set.

一方、前記判別の結果、通常印字モードが選択されると、CPU1は、印字文字数と印字領域20,21の大きさに応じて、実際に印字する文字の大きさを演算して文字を形成する。たとえば、図3(c)のように、最少文字数が3文字の価格印字領域20に対して、印字文字が「780」のように3文字の場合は、該3文字が価格印字領域20に対して一杯に印字される大きさとなるように文字の大きさを設定し、また、図3(d)のように、印字文字が「1280」のように4文字の場合は、該4文字が価格印字領域20に対して一杯に印字される大きさとなるように文字の大きさを設定する。   On the other hand, if the normal printing mode is selected as a result of the determination, the CPU 1 calculates the size of characters to be actually printed according to the number of print characters and the sizes of the print areas 20 and 21 to form characters. . For example, as shown in FIG. 3C, when the print character is three characters such as “780” for the price print region 20 having the minimum number of characters of three characters, the three characters correspond to the price print region 20. The size of the character is set so that it can be printed as much as possible. Also, as shown in FIG. 3D, when the print character is four characters such as “1280”, the four characters are priced. The character size is set so that the print area 20 can be printed in full.

なお、CPU1は、たとえば、図1のROM2および/またはRAM3に予め記憶されている基本フォントを所定の倍率で拡縮することで、前記印字領域20,21に対して一杯の大きさとなるように前記印字文字の大きさを設定する。   For example, the CPU 1 enlarges / reduces the basic font stored in advance in the ROM 2 and / or RAM 3 of FIG. 1 at a predetermined magnification so that the print area 20, 21 becomes full. Sets the size of the print character.

印字システムの運用
つぎに、本印字システムの運用について、図5のフローチャートを用いて説明する。
オペレータが所定の操作を行い、印字データを選択すると、CPU1が前記印字データ記憶部3bおよび用紙情報記憶部3aから当該印字データおよび閾値を呼び出して図5のステップS1に進む。
Operation of Printing System Next, the operation of the printing system will be described with reference to the flowchart of FIG.
When the operator performs a predetermined operation and selects print data, the CPU 1 calls the print data and threshold from the print data storage unit 3b and the paper information storage unit 3a, and proceeds to step S1 in FIG.

ステップS1において、前記CPU1は、前記印字データ記憶部3bから読み出した印字データ(たとえば、「98」、「安い!」など)の文字数と、前記用紙情報記憶部3aから読み出した閾値(最少文字数)とを比較して、印字文字数が最少文字数に対して不足するか否かを判別する。印字文字数が最少文字数に対して不足する場合は、前記スペース挿入印字モードに設定されて図5のステップS2に進む。印字文字数が最少文字数に対して不足しない場合は、前記通常印字モードに設定されてステップS5に進む。   In step S1, the CPU 1 determines the number of characters of the print data (for example, “98”, “cheap!”, Etc.) read from the print data storage unit 3b and the threshold value (minimum number of characters) read from the paper information storage unit 3a. To determine whether the number of printed characters is insufficient with respect to the minimum number of characters. If the number of print characters is insufficient with respect to the minimum number of characters, the space insertion print mode is set, and the process proceeds to step S2 in FIG. When the number of print characters is not insufficient with respect to the minimum number of characters, the normal print mode is set and the process proceeds to step S5.

ステップS2では、印字する文字または文字列の種別を判別する。すなわち、印字データが数字(金額を表すのに用いられる「,」や「¥」などの記号を含む)のみからなるか否かの判別が行われる。印字データが数字のみからなる場合はステップS3に進み、図3(a),(b)のように、価格印字領域20(広告文印字領域21)の左端にスペース30が挿入(付加)される。一方、印字データが数字以外の文字を含んでいる場合はステップS4に進み、図4(a)のように、広告文印字領域21(価格印字領域20)の右端にスペース30が挿入(付加)される。なお、挿入するスペース30の数は、前述したように、CPU1が最少文字数から印字文字数を減算することで算出する。   In step S2, the type of character or character string to be printed is determined. That is, it is determined whether or not the print data consists only of numbers (including symbols such as “,” and “¥” used to represent the amount). If the print data consists only of numbers, the process proceeds to step S3, and a space 30 is inserted (added) to the left end of the price print area 20 (advertisement text print area 21) as shown in FIGS. 3 (a) and 3 (b). . On the other hand, if the print data includes characters other than numerals, the process proceeds to step S4, and a space 30 is inserted (added) at the right end of the advertisement text print area 21 (price print area 20) as shown in FIG. Is done. As described above, the number of spaces 30 to be inserted is calculated by the CPU 1 subtracting the number of print characters from the minimum number of characters.

図5のステップS5では、印字領域20に実際に印字する文字の大きさが設定される。前記ステップS1において、通常印字モードに設定された場合には、図3(c),(d)および図4(b)に示すように、印字文字数と印字領域20,21の大きさに応じて、実際に印字する文字の大きさが設定されてステップS6に進む。前記ステップS1において、スペース挿入印字モードに設定され、かつ、前記ステップS3またはステップS4において、スペースデータ30が付加された場合には、図3(a),(b)および図4(a)に示すように、印字される文字の数にスペースデータ30の数を加算した総数と印字領域20,21の大きさに応じて、実際に印字する文字の大きさが設定されてステップS6に進む。   In step S5 of FIG. 5, the size of the characters actually printed in the print area 20 is set. When the normal print mode is set in step S1, the number of print characters and the size of the print areas 20, 21 are set as shown in FIGS. 3 (c), 3 (d) and 4 (b). Then, the size of the character to be actually printed is set, and the process proceeds to step S6. When the space insertion print mode is set in step S1 and the space data 30 is added in step S3 or step S4, the processes shown in FIGS. 3 (a), 3 (b) and 4 (a) are performed. As shown in the drawing, the size of characters to be actually printed is set according to the total number obtained by adding the number of space data 30 to the number of characters to be printed and the sizes of the print areas 20 and 21, and the process proceeds to step S6.

ステップS6では、CPU1が、前記ステップS5で設定した文字の大きさに基づいて、プリンタ10に印字させる出力処理を行う。   In step S6, the CPU 1 performs an output process for causing the printer 10 to print based on the character size set in step S5.

以上のように、印字される文字または文字列の印字文字数が、最少文字数に不足する場合は、当該不足分の数に相当するスペースデータ30を補填した上で文字の大きさが設定される。したがって、印字領域20,21の大きさに対して印字する文字数が少ない場合でも、予想外に文字が大きく変形して見難くなるのを防止することができるから、見栄えが良く効果的な印字を行うことができる。   As described above, when the number of characters to be printed or the number of characters to be printed in the character string is insufficient to the minimum number of characters, the character size is set after compensating for the space data 30 corresponding to the number of the shortage. Therefore, even when the number of characters to be printed is small with respect to the size of the print areas 20, 21, it is possible to prevent unexpected deformation of the characters and make it difficult to see them. It can be carried out.

ところで、本実施例1においては、図2(a)の最少文字数が閾値として設定されていたが、最少文字数に対して一定の関係を有するように前記閾値を設定すれば、該閾値と印字文字数とを比較することで、印字文字数が最少文字数に不足するか否かを判別することができるから、前記閾値の値は適宜設定できる。したがって、最少文字数よりも小さい値(最少文字数が3に対して閾値が2など)に閾値を設定してもよいし、また、最少文字数よりも大きい値(最少文字数が3に対して閾値が5など)に閾値を設定してもよい。   In the first embodiment, the minimum number of characters in FIG. 2A is set as a threshold value. However, if the threshold value is set so as to have a certain relationship with the minimum number of characters, the threshold value and the number of print characters are set. , It can be determined whether or not the number of printed characters is insufficient to the minimum number of characters, so that the threshold value can be set as appropriate. Accordingly, the threshold may be set to a value smaller than the minimum number of characters (threshold is 3 for the minimum number of characters 3), or a value larger than the minimum number of characters (the threshold is 5 for the minimum number of characters of 3). ) May be set.

前述の実施例1では、印字文字数に基づいて印字する文字の大きさを設定したが、以下に説明する第1発明にかかる印字システムでは、印字する1文字当たりの領域の縦横比に基づいて印字する文字の大きさを設定する。以下、その一例を図6を用いて説明する。   In the first embodiment, the size of characters to be printed is set based on the number of characters to be printed. However, in the printing system according to the first invention described below, printing is performed based on the aspect ratio of the area per character to be printed. Set the size of characters to be used. Hereinafter, an example will be described with reference to FIG.

本実施例2においては、図6(a)に示すように、価格印字領域20(広告文印字領域21)に印字する1文字当たりに割り当てられる割当領域20aが取り得る縦横比Y/Xの最大値を予め設定しておく。この最大縦横比の設定値は、たとえば、本システムに関するプログラムのインストール等により図1のRAM3に記憶される。なお、オペレータが所定の操作を行うことで、前記最大縦横比の設定値を変更できるようにしてもよい。   In the second embodiment, as shown in FIG. 6A, the maximum aspect ratio Y / X that can be taken by the allocation area 20a assigned to each character printed in the price print area 20 (advertisement text print area 21). A value is set in advance. The set value of the maximum aspect ratio is stored in the RAM 3 of FIG. 1 by installing a program related to this system, for example. The operator may change the set value of the maximum aspect ratio by performing a predetermined operation.

図6(b)のフローチャートにおいて、印字システムによる処理がスタートすると、ステップS10において、CPU1は、印字領域20,21の大きさと印字文字数とから前記割当領域20aの縦横比Y/Xを算出する。CPU1は、印字文字数に変数nを加算した数で前記印字領域20,21の大きさを除算して割当領域20aの縦寸法Yおよび横寸法Xを求め、前記縦横比Y/Xを算出してステップS11に進む。前記変数nはカウンタであり、その初期値は0に設定されている。   In the flowchart of FIG. 6B, when processing by the printing system starts, in step S10, the CPU 1 calculates the aspect ratio Y / X of the allocation area 20a from the size of the printing areas 20 and 21 and the number of print characters. The CPU 1 calculates the vertical dimension Y and the horizontal dimension X of the allocation area 20a by dividing the size of the print areas 20 and 21 by the number obtained by adding the variable n to the number of print characters, and calculates the aspect ratio Y / X. Proceed to step S11. The variable n is a counter, and its initial value is set to zero.

図6(b)のステップS11では、CPU1が、前記縦横比Y/Xと前記最大縦横比とを比較して、縦横比Y/Xが最大縦横比以下か否かを判別する。縦横比Y/Xが最大縦横比以下の場合はステップS12に進む。一方、縦横比Y/Xが最大縦横比よりも大きい場合は前記ステップS10に戻り、前記変数n=n+1として割当領域20aの縦横比Y/Xを改めて算出する。ステップS11からステップS10へ戻るループは、割当領域20aの縦横比Y/Xが最大縦横比以下となるまで繰り返し行われ、前記縦横比Y/Xが最大縦横比以下となったときに前記ループを終了してステップS12に進む。   In step S11 of FIG. 6B, the CPU 1 compares the aspect ratio Y / X with the maximum aspect ratio to determine whether the aspect ratio Y / X is equal to or less than the maximum aspect ratio. If the aspect ratio Y / X is less than or equal to the maximum aspect ratio, the process proceeds to step S12. On the other hand, if the aspect ratio Y / X is larger than the maximum aspect ratio, the process returns to step S10, and the aspect ratio Y / X of the allocation area 20a is calculated again with the variable n = n + 1. The loop returning from step S11 to step S10 is repeated until the aspect ratio Y / X of the allocation area 20a is equal to or less than the maximum aspect ratio, and the loop is executed when the aspect ratio Y / X is equal to or less than the maximum aspect ratio. End and proceed to step S12.

ステップS12では、CPU1が、前記ループを繰り返した回数、すなわち、変数nの値に相当する数のスペース30を、図6(a)のように、印字領域20,21の左右端に自動的に挿入する。また、CPU1は、前記割当領域20aに一杯の大きさとなるように、印字する文字の縦横の大きさを演算して文字を形成してステップS13に進む。   In step S12, the CPU 1 automatically sets the number of times the loop is repeated, that is, the number of spaces 30 corresponding to the value of the variable n to the left and right ends of the print areas 20 and 21 as shown in FIG. insert. Further, the CPU 1 calculates the vertical and horizontal sizes of the characters to be printed so as to fill the allocation area 20a, and proceeds to step S13.

ステップS13では、CPU1が、前記ステップS12で形成した文字に基づいて、プリンタ10に印字させる出力処理を行う。   In step S13, the CPU 1 performs output processing for causing the printer 10 to print based on the characters formed in step S12.

以上のように、印字する1文字当たりの領域20aの最大縦横比を予め設定しておくことで、予想外に文字が大きく変形して見難くなるのを防止できるから、見栄えが良く効果的な印字を行うことができる。   As described above, since the maximum aspect ratio of the area 20a per character to be printed is set in advance, it is possible to prevent unexpectedly large deformation of the character, making it difficult to see. Printing can be performed.

以上のとおり、図面を参照しながら好適な実施例を説明したが、当業者であれば、本明細書を見て、自明な範囲で種々の変更および修正を容易に想定するであろう。
たとえば、前記実施例では、印字データが印字領域に対して横書きされる場合について説明したが、印字データが印字領域に対して縦書きされる場合についても本発明を適用することができる。
また、スペースを挿入する位置は印字領域の左端または右端のいずれか一方に限られず、左端および右端の双方にスペースを挿入して、印字される文字をセンタリングするようにしてもよい。
また、1枚の印字用紙に対して複数の印字領域が設けられていてもよい。この場合、各印字領域ごとに最少文字数および閾値を設定するようにしてもよい。
また、本発明で扱われるフォントの種類は、ベクトルフォントの他にドットフォントでもよい。
したがって、そのような変更および修正は、請求の範囲から定まる本発明の範囲内のものと解釈される。
As described above, the preferred embodiments have been described with reference to the drawings. However, those skilled in the art will readily understand various changes and modifications within the obvious scope by looking at the present specification.
For example, in the above-described embodiment, the case where the print data is written horizontally to the print area has been described. However, the present invention can also be applied to the case where the print data is written vertically to the print area.
Further, the position at which the space is inserted is not limited to either the left end or the right end of the print area, and a character to be printed may be centered by inserting a space at both the left end and the right end.
A plurality of print areas may be provided for one print sheet. In this case, a minimum number of characters and a threshold value may be set for each print area.
Further, the type of font handled in the present invention may be a dot font in addition to a vector font.
Accordingly, such changes and modifications are to be construed as within the scope of the present invention as defined by the claims.

本発明の実施例1にかかる印字システムを示す概略構成図である。1 is a schematic configuration diagram illustrating a printing system according to a first embodiment of the present invention. 記憶部の記憶内容を示す図表である。It is a graph which shows the memory content of a memory | storage part. ラベルを示す平面図である。It is a top view which shows a label. ポップ広告を示す平面図である。It is a top view which shows a pop advertisement. CPUの処理の一例を示すフローチャートである。It is a flowchart which shows an example of a process of CPU. (a)は実施例2にかかるラベルを示す平面図、(b)はCPUの処理の一例を示すフローチャートである。(A) is a top view which shows the label concerning Example 2, (b) is a flowchart which shows an example of a process of CPU. 従来の印字システムで印字した場合のラベルおよびポップ広告を示す平面図である。It is a top view which shows the label at the time of printing with the conventional printing system, and a pop advertisement.

符号の説明Explanation of symbols

1:CPU(判別手段、データ作成手段、文字形成手段)
3a:用紙情報記憶部(第1記憶部)
3b:印字データ記憶部(第2記憶部)
20,21:印字領域
20a:1文字当たりの領域
30:スペース(スペースデータ)
1: CPU (discriminating means, data creating means, character forming means)
3a: Paper information storage unit (first storage unit)
3b: Print data storage unit (second storage unit)
20, 21: Print area 20a: Area per character 30: Space (space data)

Claims (5)

ポップ広告またはラベルに文字を印字する印字システムであって、
文字が印字される印字領域と文字または文字列に応じて文字の縦横の大きさを演算して文字を形成する文字形成手段と、
印字する1文字当たりの領域の最大縦横比を予め設定する設定手段と、を設けたことを特徴とする印字システム。
A printing system for printing characters on pop advertisements or labels,
A character forming means for calculating the vertical and horizontal sizes of the character according to the print area in which the character is printed and the character or character string;
And a setting means for presetting the maximum aspect ratio of the area per character to be printed.
ポップ広告またはラベルに文字を印字する印字システムであって、
前記ポップ広告またはラベルにおける文字が印字される印字領域の左端または右端に1文字分以上のスペースを設けて印字するスペース挿入印字モードと、
前記左端および右端に1文字分以上の前記スペースを設けない通常印字モードとを備え、
前記モードの選択の基準となる最少文字数に対応する閾値を前記ポップ広告またはラベルの用紙または前記印字領域ごとに予め記憶する第1記憶部と、
印字される文字または文字列を記憶する第2記憶部と、
前記印字される文字または文字列の印字文字数と前記閾値とを比較して、前記印字文字数が前記最少文字数に対して不足する場合は、前記印字領域の左右端に自動的にスペースを挿入することを特徴とする印字システム。
A printing system for printing characters on pop advertisements or labels,
A space insertion print mode in which a space of one character or more is provided at the left end or right end of a print area where characters in the pop advertisement or label are printed; and
A normal printing mode in which the space of one character or more is not provided at the left end and the right end,
A first storage unit that prestores a threshold value corresponding to the minimum number of characters serving as a reference for selection of the mode for each sheet of the pop advertisement or label or the print area;
A second storage unit for storing characters or character strings to be printed;
When the number of characters to be printed or the character string of the character string is compared with the threshold value, and the number of characters to be printed is insufficient with respect to the minimum number of characters, a space is automatically inserted at the left and right edges of the print area. A printing system featuring.
請求項2において、前記印字領域の大きさに合わせて前記文字の大きさが設定される印字システム。   3. The printing system according to claim 2, wherein a size of the character is set in accordance with a size of the printing area. ポップ広告またはラベルに文字を印字する印字システムであって、
前記ポップ広告またはラベルにおける文字が印字される印字領域の左端または右端に1文字分以上のスペースを設けて印字するスペース挿入印字モードと、
前記左端および右端に1文字分以上の前記スペースを設けない通常印字モードとを備え、
前記モードの選択の基準となる最少文字数に対応する閾値を前記ポップ広告またはラベルの用紙または前記印字領域ごとに予め記憶する第1記憶部と、
印字される文字または文字列を記憶する第2記憶部と、
前記印字される文字または文字列の印字文字数と前記閾値とを比較して、前記印字文字数が前記最少文字数に対して不足する場合は、前記スペース挿入印字モードを選択し、一方、前記印字文字数が不足しない場合は前記通常印字モードを選択する判別手段と、
前記判別の結果、スペース挿入印字モードにおいては、前記最少文字数から前記印字文字数を減算した不足分に相当する数のスペースデータを前記文字または文字列に付加して印字データを作成するデータ作成手段と、
前記スペースデータの数を前記印字される文字または文字列の文字の数に加算した上で、当該加算した総数と前記印字領域の大きさに応じて、実際に印字する文字の大きさを設定する文字形成手段とを備えた印字システム。
A printing system for printing characters on pop advertisements or labels,
A space insertion print mode in which a space of one character or more is provided at the left end or right end of a print area where characters in the pop advertisement or label are printed; and
A normal printing mode in which the space of one character or more is not provided at the left end and the right end,
A first storage unit that prestores a threshold value corresponding to the minimum number of characters serving as a reference for selection of the mode for each sheet of the pop advertisement or label or the print area;
A second storage unit for storing characters or character strings to be printed;
When the number of characters to be printed is compared with the threshold value and the number of characters to be printed is insufficient with respect to the minimum number of characters, the space insertion printing mode is selected, while the number of characters to be printed is If there is no shortage, the discriminating means for selecting the normal printing mode,
As a result of the determination, in the space insertion print mode, data creation means for creating print data by adding a number of space data corresponding to the shortage obtained by subtracting the number of print characters from the minimum number of characters to the character or character string; ,
After adding the number of the space data to the number of characters to be printed or the character string, the size of the characters to be actually printed is set according to the total number and the size of the print area. A printing system comprising character forming means.
請求項2、3もしくは4において、文字の種別に応じて、前記スペースを左端または右端のいずれに挿入するかを設定できることを特徴とする印字システム。   5. The printing system according to claim 2, 3 or 4, wherein the space can be set at the left end or the right end depending on a character type.
JP2004120203A 2004-04-15 2004-04-15 Printing system Pending JP2005297483A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004120203A JP2005297483A (en) 2004-04-15 2004-04-15 Printing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004120203A JP2005297483A (en) 2004-04-15 2004-04-15 Printing system

Publications (1)

Publication Number Publication Date
JP2005297483A true JP2005297483A (en) 2005-10-27

Family

ID=35329606

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004120203A Pending JP2005297483A (en) 2004-04-15 2004-04-15 Printing system

Country Status (1)

Country Link
JP (1) JP2005297483A (en)

Similar Documents

Publication Publication Date Title
US7492366B2 (en) Method and system of character placement in opentype fonts
US20080030502A1 (en) Diacritics positioning system for digital typography
JP3598070B2 (en) DTP system capable of row control, row control method, row control program, and recording medium recording the same
JP7186107B2 (en) title estimator
US8467082B1 (en) Print compound conserving font production method
JP3795784B2 (en) Character set free space setting device with icon display, character set free space setting program, and recording medium recording the same
JP4330954B2 (en) Grid tracking and character set spacing for Japanese text adjustment
JP5028980B2 (en) Document editing apparatus and program
JP2005297483A (en) Printing system
JP4946408B2 (en) Printing system and printing control method in printing system
JP2008141496A (en) Document editing device and program
JPH0675952A (en) Document preparing device
JPH01229673A (en) English and european writing printing control system
JP6918610B2 (en) Image processing equipment and programs
JP6107181B2 (en) Printing program, printing apparatus, and printing method
JP3102778B2 (en) Screen display and print control method, and recording medium recording screen display and print control program
JPH06243127A (en) Document layout device
JP3715685B2 (en) Document processing method and document processing apparatus
Hofmann et al. Authors’ Instructions for the Preparation of Camera-Ready Contributions to LNCS Proceedings
Bernauer-Budiman et al. Alfred Hofmann1, Antje Endemann1, Anna Kramer1, Andrea Washington1
JP2691871B2 (en) Comp compiling device using pseudo characters
JPH04353478A (en) Reduction print controller
Bernauer-Budiman et al. Alfred Hofmann1, Antje Endemann1, Ingrid Beyer1, Anna Kramer1
Bernauer-Budiman et al. Alfred Hofmann1, Ingrid Beyer1, Anna Kramer1, Erika Siebert-Cole1
Kramer et al. Alfred Hofmann1, Antje Endemann1, Ruth Abraham1, Ingrid Beyer1, Anna