JP2021068445A - Vertical writing print image generation device, method, mobile terminal and vertical writing printing system - Google Patents
Vertical writing print image generation device, method, mobile terminal and vertical writing printing system Download PDFInfo
- Publication number
- JP2021068445A JP2021068445A JP2020177274A JP2020177274A JP2021068445A JP 2021068445 A JP2021068445 A JP 2021068445A JP 2020177274 A JP2020177274 A JP 2020177274A JP 2020177274 A JP2020177274 A JP 2020177274A JP 2021068445 A JP2021068445 A JP 2021068445A
- Authority
- JP
- Japan
- Prior art keywords
- character
- vertical
- characters
- conversion rule
- print image
- 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.)
- Granted
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/12—Digital output to print unit, e.g. line printer, chain printer
- G06F3/1201—Dedicated interfaces to print systems
- G06F3/1223—Dedicated interfaces to print systems specifically adapted to use a particular technique
- G06F3/1237—Print job management
- G06F3/125—Page layout or assigning input pages onto output media, e.g. imposition
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/12—Digital output to print unit, e.g. line printer, chain printer
- G06F3/1201—Dedicated interfaces to print systems
- G06F3/1223—Dedicated interfaces to print systems specifically adapted to use a particular technique
- G06F3/1237—Print job management
- G06F3/1244—Job translation or job parsing, e.g. page banding
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Record Information Processing For Printing (AREA)
- Document Processing Apparatus (AREA)
Abstract
Description
本発明はプリンターの分野に関し、具体的には、縦書き印刷画像生成装置、方法、モバイル端末及び縦書き印刷システムに関する。 The present invention relates to the field of printers, and specifically to vertical print image generators, methods, mobile terminals and vertical print systems.
印刷技術の発展に伴い、軽量プリンターがより広く使用されている。しかし、軽量プリンターの文字処理能力には限界があり、プリンター内部にて縦書き(縦組)文字の生成を実現することができず、モバイル機器上で縦書き文字を生成し、それから縦書き文字を軽量プリンターに送信する必要がある。 With the development of printing technology, lightweight printers are becoming more widely used. However, the character processing capacity of lightweight printers is limited, and it is not possible to generate vertical writing (vertical writing) characters inside the printer, so vertical writing characters are generated on mobile devices, and then vertical writing characters are generated. Need to be sent to a lightweight printer.
従来のモバイル機器は縦書き文字を生成することができず、横書き文字を縦書き文字として出力できるだけである。一部の文字は、横書き文字と縦書き文字との形式が異なるので、このような場合、軽量プリンターが印刷するいわゆる縦書き文字の中には、実際には縦書きの要求を満たさないものもある。 Conventional mobile devices cannot generate vertical writing characters, and can only output horizontal writing characters as vertical writing characters. Some characters have different formats for horizontal and vertical characters, so in such cases, some so-called vertical characters printed by lightweight printers do not actually meet the requirements for vertical writing. is there.
よって、従来技術の軽量プリンターとモバイル機器は、横書き文字を印刷できるだけで、縦書き文字の印刷を実現することはできない。 Therefore, conventional lightweight printers and mobile devices can only print horizontal characters, and cannot print vertical characters.
本発明は上記課題を解決するためのものであり、縦書き印刷画像生成装置、方法、モバイル端末及び縦書き印刷システムを提供することを目的としている。 The present invention is for solving the above problems, and an object of the present invention is to provide a vertical writing image generator, a method, a mobile terminal, and a vertical writing system.
本発明は、印刷対象ファイル中の文字の内容を処理して、文字ライブラリを持たない軽量印刷機器が縦書き印刷を行うための縦書き印刷画像を生成する、縦書き印刷画像生成装置を提供しており、それは、文字記憶部と、変換規則記憶部と、文字取得部と、判定部と、変換処理部と、縦書き印刷画像出力部と、制御部を備え、文字記憶部は、横書きと縦書きの両方に通用する汎用文字、及び、横書きにだけ適用する限定文字を記憶し、変換規則記憶部は、異なる限定文字にそれぞれ対応する、限定文字を縦書きに変換するための複数の変換規則を記憶し、制御部は、文字取得部が印刷対象ファイルから順番に取得する各文字を現在処理中の文字とするのを制御し、判定部が文字記憶部に基づいて現在処理中の文字が汎用文字であるか限定文字であるかを判定するのを制御し、そして、限定文字であると判断された時は、変換処理部が変換規則記憶部から現在処理中の文字に対応する変換規則を検索すると共に検索された変換規則に基づいて現在処理中の文字に対して縦書き変換処理を行った後で該文字を生成するのを制御し、汎用文字であると判断された時は、変換処理部が現在処理中の文字を生成するのを制御し、さらに、印刷対象ファイルにある全部の文字をすべて処理した後に、生成された縦書き印刷画像を縦書き印刷画像出力部が軽量印刷機器に出力するのを制御する、という特徴を備える。 The present invention provides a vertical print image generator that processes the contents of characters in a file to be printed and generates a vertical print image for a lightweight printing device that does not have a character library to perform vertical print. It is equipped with a character storage unit, a conversion rule storage unit, a character acquisition unit, a determination unit, a conversion processing unit, a vertical print image output unit, and a control unit, and the character storage unit is horizontal writing. It stores general-purpose characters that can be used for both vertical writing and limited characters that apply only to horizontal writing, and the conversion rule storage unit stores multiple conversions for converting limited characters to vertical writing, each corresponding to different limited characters. The rule is memorized, and the control unit controls that each character acquired in order from the print target file by the character acquisition unit is the character currently being processed, and the judgment unit controls the character currently being processed based on the character storage unit. Controls whether is a general-purpose character or a limited character, and when it is determined that the character is a limited character, the conversion processing unit converts the character currently being processed from the conversion rule storage unit. When the rule is searched and the character currently being processed is controlled to be generated after the vertical writing conversion process is performed based on the searched conversion rule, and it is determined to be a general-purpose character. , The conversion processing unit controls the generation of the character currently being processed, and after processing all the characters in the print target file, the generated vertical printing image is lightened by the vertical printing image output unit. It has the feature of controlling the output to printing equipment.
本発明が提供する縦書き印刷画像生成装置は、印刷対象ファイルが縦書き印刷画像のフォントタイプのフォント情報も含み、変換処理部が、フォント記憶ユニットと、変換規則検索ユニットと、変換規則実行ユニットと、フォント取得ユニットと、文字形成ユニットと、を含み、フォント記憶ユニットが、文字の異なるタイプのフォントを記憶し、変換規則検索ユニットが、変換規則記憶部から現在処理中の文字に対応する変換規則を検索し、変換規則実行ユニットは、変換規則検索ユニットによって検索された変換規則に基づいて、現在処理中の文字に対して縦書き変換処理を行って縦書き文字を得て、フォント取得ユニットが、フォント記憶ユニットからフォント情報に対応するフォントを取得し、文字形成ユニットが、フォント取得ユニットによって取得されたフォントに基づいて、縦書き文字を縦書き印刷画像中の対応位置に生成する、という特徴をさらに備えても良い。 In the vertical writing image generation device provided by the present invention, the print target file also includes the font information of the font type of the vertical writing image, and the conversion processing unit includes a font storage unit, a conversion rule search unit, and a conversion rule execution unit. , A font acquisition unit, and a character formation unit, the font storage unit stores fonts of different types of characters, and the conversion rule search unit converts the characters currently being processed from the conversion rule storage unit. The rule is searched, and the conversion rule execution unit performs vertical conversion processing on the character currently being processed based on the conversion rule searched by the conversion rule search unit to obtain the vertical writing character, and obtains the vertical writing character, and the font acquisition unit. Acquires the font corresponding to the font information from the font storage unit, and the character forming unit generates vertical characters at the corresponding positions in the vertically printed image based on the font acquired by the font acquisition unit. It may have additional features.
本発明が提供する縦書き印刷画像生成装置は、印刷対象ファイルが縦書き印刷画像のフォントタイプのフォント情報も含み、変換処理部が、フォント記憶ユニットと、変換規則検索ユニットと、変換規則実行ユニットと、フォント取得ユニットと、文字形成ユニットと、を含み、フォント記憶ユニットが、文字の異なるタイプのフォントを記憶し、変換規則記憶部が、異なるタイプのフォント情報及び異なる限定文字にそれぞれ対応する複数の変換規則を記憶し、変換規則検索ユニットが、変換規則記憶部からフォント情報及び現在処理中の文字に対応する変換規則を検索し、変換規則実行ユニットが、変換規則検索ユニットによって検索された変換規則に基づいて、現在処理中の文字に対して縦書き変換処理を行って縦書き文字を得て、フォント取得ユニットが、フォント記憶ユニットからフォント情報に対応するフォントを取得し、文字形成ユニットが、フォント取得ユニットによって取得されたフォントに基づいて、縦書き文字を縦書き印刷画像中の対応位置に生成する、という特徴をさらに備えても良い。 In the vertical writing image generation device provided by the present invention, the print target file also includes the font information of the font type of the vertical writing image, and the conversion processing unit includes a font storage unit, a conversion rule search unit, and a conversion rule execution unit. , A font acquisition unit, and a character formation unit, the font storage unit stores fonts of different types of characters, and the conversion rule storage unit corresponds to different types of font information and different limited characters, respectively. The conversion rule search unit searches for the font information and the conversion rule corresponding to the character currently being processed from the conversion rule storage unit, and the conversion rule execution unit searches for the conversion by the conversion rule search unit. Based on the rules, the character currently being processed is subjected to vertical writing conversion processing to obtain vertical writing characters, the font acquisition unit acquires the font corresponding to the font information from the font storage unit, and the character formation unit acquires the font corresponding to the font information. , Based on the font acquired by the font acquisition unit, the vertical writing character may be further provided at the corresponding position in the vertical writing image.
本発明が提供する縦書き印刷画像生成装置は、変換規則が、回転、左右反転、オフセットの内の少なくとも一種類を含む、という特徴をさらに備えても良い。 The vertical print image generator provided by the present invention may further be characterized in that the conversion rule includes at least one of rotation, left-right inversion, and offset.
本発明が提供する縦書き印刷画像生成装置は、前記回転が、90度回転、180度回転、270度回転の内の任意の一種類を含み、左右反転が、Y軸に沿った左右反転であり、オフセットが、Y軸に沿ったオフセット、又は、X軸に沿ったオフセット且つY軸に沿ったオフセットである、という特徴をさらに備えても良い。 The vertical print image generator provided by the present invention includes any one of the 90-degree rotation, 180-degree rotation, and 270-degree rotation, and the left-right reversal is left-right reversal along the Y-axis. Yes, it may further have the feature that the offset is an offset along the Y-axis, or an offset along the X-axis and an offset along the Y-axis.
本発明が提供する縦書き印刷画像生成装置は、変換規則記憶部が、異なるタイプの限定文字及び各種タイプの限定文字に対応する複数の変換規則を記憶する、という特徴をさらに備えても良い。 The vertical print image generation device provided by the present invention may further have a feature that the conversion rule storage unit stores a plurality of conversion rules corresponding to different types of limited characters and various types of limited characters.
本発明が提供する縦書き印刷画像生成装置は、限定文字が、対応する変換規則が、X軸に沿ったオフセット且つY軸に沿ったオフセットである第一類限定文字と、対応する変換規則が、Y軸に沿った左右反転と、X軸に沿ったオフセット且つY軸に沿ったオフセットである第二類限定文字と、対応する変換規則が、90度回転である第三類限定文字と、対応する変換規則が、90度回転且つY軸に沿った左右反転である第四類限定文字と、対応する変換規則が、90度回転且つY軸に沿ったオフセットである第五類限定文字と、対応する変換規則が、180度回転と、X軸に沿ったオフセット且つY軸に沿ったオフセットである第六類限定文字と、対応する変換規則が、270度回転且つY軸に沿った左右反転である第七類限定文字と、対応する変換規則が、90度回転且つY軸に沿った左右反転である第八類限定文字と、を含む、という特徴をさらに備えても良い。
The vertical print image generator provided by the present invention has a first-class limited character in which the limited character has an offset along the X-axis and an offset along the Y-axis, and a corresponding conversion rule. , Left-right inversion along the Y-axis, second-class limited characters that are offset along the X-axis and offset along the Y-axis, and third-class limited characters whose corresponding conversion rules are rotated 90 degrees. The corresponding conversion rule is a 90 degree rotation and left-right inversion along the Y axis, and the corresponding conversion rule is a 90 degree rotation and an offset along the Y axis. , Corresponding conversion rules are 180 degree rotation and offset along the X axis and offset along the Y axis.
本発明が提供する縦書き印刷画像生成装置は、変換規則記憶部が、全部の限定文字及び各限定文字にそれぞれ対応する複数の前記変換規則を記憶する、という特徴をさらに備えても良い。 The vertical print image generation device provided by the present invention may further have a feature that the conversion rule storage unit stores all the limited characters and a plurality of the conversion rules corresponding to each limited character.
本発明は、印刷対象ファイル中の文字の内容を処理して、文字ライブラリを持たない軽量印刷機器が縦書き印刷を行うための縦書き印刷画像を生成する、縦書き印刷画像生成方法を提供しており、それは、横書きと縦書きの両方に通用する汎用文字、及び、横書きにだけ適用する限定文字を記憶するステップと、異なる限定文字にそれぞれ対応する、限定文字を縦書きに変換するための複数の変換規則を記憶するステップと、印刷対象ファイルから順番に取得する各文字を処理中の文字とするのを制御し、現在処理中の文字が汎用文字であるか限定文字であるかを判断し、そして、限定文字であると判断された時は、現在処理中の文字に対応する変換規則を検索すると共に、検索された変換規則に基づいて現在処理中の文字に対して縦書き変換処理を行った後で該文字を生成し、汎用文字であると判断された時は、現在処理中の文字を生成するステップと、印刷対象ファイルにある全部の文字をすべて処理した後に、縦書き印刷画像を軽量印刷機器に出力するステップと、を含むことを特徴とする。 The present invention provides a vertical print image generation method that processes the contents of characters in a file to be printed and generates a vertical print image for a lightweight printing device that does not have a character library to perform vertical print. It is a step to memorize general-purpose characters that can be used for both horizontal and vertical writing, and limited characters that apply only to horizontal writing, and to convert limited characters to vertical writing, which correspond to different limited characters. Controls the step of storing multiple conversion rules and making each character acquired in order from the print target file the character being processed, and determines whether the character currently being processed is a general-purpose character or a limited character. Then, when it is determined that the character is a limited character, the conversion rule corresponding to the character currently being processed is searched, and the character currently being processed is subjected to vertical writing conversion processing based on the searched conversion rule. When the character is generated after performing the above and it is determined that it is a general-purpose character, the step of generating the character currently being processed and all the characters in the print target file are processed, and then vertical printing is performed. It is characterized by including a step of outputting an image to a lightweight printing device.
本発明は、印刷対象ファイル中の文字の内容を処理して縦書き印刷画像を生成すると共に、文字ライブラリを持たない軽量印刷機器へ該縦書き印刷画像を送信して印刷を行う、モバイル機器を提供しており、それは、印刷対象ファイルを取得する、印刷対象ファイル取得モジュール装置と、印刷対象ファイル中の文字の内容を処理して縦書き印刷画像を生成すると共に、縦書き印刷画像を軽量印刷機器へ送信する、縦書き印刷画像生成装置と、を備え、縦書き印刷画像生成装置が、上記のいずれか一項に記載の縦書き印刷画像生成装置である、という特徴を備える。 The present invention is a mobile device that processes the contents of characters in a file to be printed to generate a vertical print image, and transmits the vertical print image to a lightweight printing device that does not have a character library for printing. It provides a print target file acquisition module device that acquires the print target file, processes the contents of characters in the print target file to generate a vertical print image, and lightweight prints the vertical print image. It is characterized in that it includes a vertical print image generator for transmitting to an apparatus, and the vertical print image generator is the vertical print image generator according to any one of the above.
本発明は、縦書き印刷システムを提供しており、それは、印刷対象ファイルを取得するとともに、前記印刷対象ファイル中の文字の内容を処理して縦書き印刷画像を生成した後で出力するモバイル機器と、モバイル機器と通信接続し、モバイル機器から縦書き印刷画像を受信すると共に縦書き印刷画像を印刷する印刷機器と、を備え、モバイル機器が、上記のモバイル機器であり、印刷機器が、文字ライブラリを持たない軽量印刷機器である、という特徴を備える。 The present invention provides a vertical writing printing system, which is a mobile device that acquires a printing target file, processes the contents of characters in the printing target file to generate a vertical printing image, and then outputs the image. The mobile device is the above-mentioned mobile device, and the printing device is a character. It is a lightweight printing device that does not have a library.
本発明に記載の縦書き印刷画像生成装置によれば、文字記憶部と、変換規則記憶部と、文字取得部と、判定部と、変換処理部と、縦書き印刷画像出力部と、を備え、字符号記憶部が汎用文字及び限定文字を記憶し、変換規則記憶部が限定文字を縦書きに変換するための複数の変換規則を記憶し、異なる限定文字は複数の変換規則中の一つの変換規則にそれぞれ対応し、文字取得部によって印刷対象ファイルから順番に取得する各文字を現在処理中の文字とし、判定部によって現在処理中の文字が前記汎用文字であるか前記限定文字であるかを判断し、その後、全ての文字が処理されて縦書き印刷画像が生成されるまで、異なる判定結果に対して変換処理部が現在処理中の文字に対してそれぞれ異なる処理を行い、縦書き印刷画像出力部によって縦書き印刷画像を軽量印刷機器へ出力する。よって、該縦書き印刷画像生成装置によって、文字ライブラリを持たない軽量印刷機器が縦書き印刷を行うための縦書き印刷画像を生成することができ、文字ライブラリを持たない軽量印刷機器の縦書き印刷の問題を解決した。 The vertical print image generation device described in the present invention includes a character storage unit, a conversion rule storage unit, a character acquisition unit, a determination unit, a conversion processing unit, and a vertical print image output unit. , The character code storage unit stores general-purpose characters and limited characters, the conversion rule storage unit stores multiple conversion rules for converting limited characters to vertical writing, and different limited characters are one of the multiple conversion rules. Corresponding to each conversion rule, each character acquired in order from the print target file by the character acquisition unit is set as the character currently being processed, and whether the character currently being processed by the determination unit is the general-purpose character or the limited character. After that, until all the characters are processed and a vertical print image is generated, the conversion processing unit performs different processing for the characters currently being processed for different judgment results and prints vertically. The image output unit outputs a vertical print image to a lightweight printing device. Therefore, the vertical printing image generator can generate a vertical printing image for a lightweight printing device that does not have a character library to perform vertical writing, and vertical printing of a lightweight printing device that does not have a character library. Solved the problem.
さらに、現在処理中の文字が限定文字であると判定部が判断した場合、変換処理部は、変換規則記憶部から現在処理中の文字に対応する変換規則を検索すると共に、該変換規則に基づいて現在処理中の文字に対して縦書き変換処理を行った後で該文字を生成することができる。そして、現在処理中の文字が汎用文字であると判断部が判断した場合、変換処理部は、該現在処理中の文字を生成することができる。このように、印刷対象ファイル中の横書きにだけ適用する限定文字をすべて処理して縦書き文字にすることができるとともに、印刷対象ファイル中の汎用文字を直接縦書き文字とすることができるので、縦書き印刷画像の生成を実現することができる。 Further, when the determination unit determines that the character currently being processed is a limited character, the conversion processing unit searches the conversion rule storage unit for the conversion rule corresponding to the character currently being processed, and is based on the conversion rule. The character can be generated after the vertical writing conversion process is performed on the character currently being processed. Then, when the determination unit determines that the character currently being processed is a general-purpose character, the conversion processing unit can generate the character currently being processed. In this way, all the limited characters that apply only to horizontal writing in the print target file can be processed into vertical writing characters, and general-purpose characters in the print target file can be directly converted into vertical writing characters. It is possible to realize the generation of a vertical print image.
本発明に記載の縦書き印刷システムによれば、モバイル機器と印刷機器を含み、両者が通信接続し、モバイル機器が縦書き印刷画像生成装置を備え、印刷機器が文字ライブラリを持たない軽量印刷機器であるので、該モバイル機器により印刷対象ファイルを取得すると共に縦書き印刷画像を生成した後に出力でき、該印刷機器によって縦書き印刷画像を直接印刷することができる。両者が相互に協力することにより、一方で、軽量印刷機器の縦書き印刷を実現でき、他方で、このような印刷機器には文字ライブラリが無いため、更に軽量でコンパクトにできるので、軽量印刷機器としてより多くの利点がある。 According to the vertical writing system described in the present invention, a lightweight printing device including a mobile device and a printing device, both of which are connected by communication, the mobile device is equipped with a vertical writing image generator, and the printing device does not have a character library. Therefore, the print target file can be acquired by the mobile device and the vertical print image can be generated and then output, and the vertical print image can be directly printed by the printing device. By cooperating with each other, on the one hand, vertical printing of lightweight printing equipment can be realized, and on the other hand, since such printing equipment does not have a character library, it can be made even lighter and more compact, so that it is a lightweight printing equipment. As there are more advantages.
本発明により達成される技術手段、創造的特徴、目的および効果を理解しやすくするために、以下、実施例と図面を組み合わせて、本発明の縦書き印刷画像生成装置、モバイル機器及び縦書き印刷システムについて具体的に述べる。 In order to make it easier to understand the technical means, creative features, objectives and effects achieved by the present invention, the following examples and drawings will be combined in combination with the vertical printing image generator, mobile device and vertical writing printing of the present invention. The system will be described concretely.
<実施例>
図1は、本発明の実施例の縦書き印刷システムの構造ブロック図である。
<Example>
FIG. 1 is a structural block diagram of a vertical writing system according to an embodiment of the present invention.
図1に示すように、縦書き印刷システム300は、モバイル機器100と印刷機器200を備える。
As shown in FIG. 1, the vertical
モバイル機器100は、編集モジュール装置10、印刷対象ファイル取得モジュール装置20、及び縦書き印刷画像生成装置30を備える。モバイル機器100は、スマートフォン、ラップトップコンピュータ、PDA(携帯情報端末)などであって良い。
The
編集モジュール装置10は、ユーザーが文字を編集することにより、印刷対象ファイルを形成すると共にキャンバスサイズを設定する。編集モジュール装置10は例えば、ドキュメントの入力、編集、レイアウトのソフトウェアである。印刷対象ファイルは、文字の内容及び縦が印刷のフォントタイプを含む。
The
印刷対象ファイル取得モジュール装置20は、編集モジュール装置10または外部から印刷対象ファイルを取得する。なお、外部から取得可能とは、外部のモバイル機器、記憶機器などの設備から取得することを指し、取得する具体的な方法は、通信接続の方法によって取得するか、或いは、インターフェース接続の方法、又はその他の方法であっても良い。
The print target file
図2は、本発明の実施例の縦書き印刷画像生成装置の構造ブロック図である。 FIG. 2 is a structural block diagram of a vertical print image generator according to an embodiment of the present invention.
図2に示すように、縦書き印刷画像生成装置30は、文字記憶部31と、変換規則記憶部32と、文字取得部33と、判定部34と、変換処理部35と、縦書き印刷画像出力部36と、制御部37と、を備える。縦書き印刷画像生成装置30は、印刷対象ファイル中の文字の内容を処理して縦書き印刷画像を生成するためのものである。
As shown in FIG. 2, the vertical writing
文字記憶部31は、横書きと縦書きの両方に通用する汎用文字、及び、横書きにだけ適用する限定文字を記憶する。
The
前記変換規則記憶部32は、異なる文字のタイプが異なるフォント、及び異なる限定文字にそれぞれ対応する、限定文字を縦書きに変換するための複数の変換規則を記憶する。変換規則は、回転、左右反転、オフセットの内の少なくとも一種類を含む。回転は、90度回転、180度回転、270度回転の内の任意の一種類を含み、左右反転は、Y軸に沿った左右反転であり、オフセットは、Y軸に沿ったオフセット、又は、X軸に沿ったオフセット且つY軸に沿ったオフセットである。回転、左右反転、オフセットには前後の順序が無い。
The conversion
本実施例において、変換規則記憶部32は、異なるタイプの限定文字及び各種タイプの限定文字に対応する複数の変換規則を記憶する。
In this embodiment, the conversion
限定文字のタイプは、具体的な限定文字及びフォントを含み、限定文字のタイプは具体的には以下を含む。 Limited character types include specific limited characters and fonts, and limited character types specifically include:
対応する変換規則が、X軸に沿ったオフセット且つY軸に沿ったオフセットである、第一類限定文字。第一類限定文字には、例えば「。(全てのフォント)」がある。 Class 1 limited characters whose corresponding conversion rules are offset along the X-axis and offset along the Y-axis. The first-class limited characters include, for example, ". (All fonts)".
対応する変換規則が、Y軸に沿った左右反転と、X軸に沿ったオフセット且つY軸に沿ったオフセットである第二類限定文字。第二類限定文字には、例えば「
(外1)
(全てのフォント)」がある。
Class 2 limited characters whose corresponding conversion rules are left-right inversion along the Y-axis, offset along the X-axis and offset along the Y-axis. For example, "Type 2 limited characters"
(Outside 1)
(All fonts) ".
対応する変換規則が、90度回転である第三類限定文字。第三類限定文字には、例えば「!(全てのフォント)」や、「半角英文文字(全てのフォント)」がある。なお、半角英文文字とは、例えば、a、b、c・・・である。
対応する変換規則が、90度回転且つY軸に沿った左右反転である第四類限定文字。第四類限定文字には、例えば「
(外2)
(全てのフォント)」がある。
Class 4 limited characters whose corresponding conversion rules are rotated 90 degrees and flipped horizontally along the Y axis. Class 4 limited characters include, for example, "
(Outside 2)
(All fonts) ".
対応する変換規則が、90度回転且つY軸に沿ったオフセットである第五類限定文字。第五類限定文字には、例えば、「g(全てのフォント)」がある。
対応する変換規則が、180度回転と、X軸に沿ったオフセット且つY軸に沿ったオフセットである第六類限定文字。第六限定文字には、例えば、「‘(全てのフォント)」がある。
対応する変換規則が、270度回転且つY軸に沿った左右反転である第七類限定文字。第七類限定文字には、例えば「一(フォントA)」がある。 Class 7 limited characters whose corresponding conversion rules are rotated 270 degrees and flipped horizontally along the Y axis. The seventh-class limited character includes, for example, "one (font A)".
対応する変換規則が、90度回転且つY軸に沿った左右反転である第八類限定文字。第八類限定文字には、例えば「一(フォントB)」がある。 Class 8 limited characters whose corresponding conversion rules are rotated 90 degrees and flipped horizontally along the Y axis. The eighth-class limited character includes, for example, "one (font B)".
なお、フォントAとフォントBは異なるタイプのフォントである。 Font A and font B are different types of fonts.
文字取得部33は、印刷対象ファイルから順番に取得する各文字を現在処理中の文字とする。
The
判定部34は、文字記憶部31に基づいて前記現在処理中の文字が汎用文字であるか限定文字であるかを判定する。
The
変換処理部35は、フォント記憶ユニット351と、キャンバス形成ユニット352と、変換規則検索ユニット353と、変換規則実行ユニット354と、フォント取得ユニット355と、フォント形成ユニット356と、を備える。
The
フォント記憶ユニット351は、文字の異なるタイプのフォント、即ち文字の異なる描画方法を記憶する。
The
キャンバス形成ユニット352は、編集モジュール装置10が設定したキャンバスサイズに基づいてキャンバスを生成する。フォント取得ユニット355は、フォント記憶ユニット351からフォント情報に対応するフォントを取得する。
The
判定部34が現在処理中の文字が限定文字であると判断した時、変換規則検索ユニット353は、変換規則記憶部32からフォント情報及び現在処理中の文字に対応する変換規則を検索する。変換規則実行ユニット354は、変換規則検索ユニット353によって検索された変換規則に基づいて、現在処理中の文字に対して縦書き変換処理を実行し、縦書き文字を得る。なお、縦書き変換処理とは、即ち、変換規則に照らして前処理文字を回転させたり、左右反転させたり、オフセットさせたり、などの処理を行うことである。
When the
判定部34が現在処理中の文字が汎用文字であると判断した時、変換規則実行354は、直接現在処理中の文字を縦書き文字とする。
When the
文字形成ユニット356は、フォント取得ユニット355によって取得されたフォントに基づいて、縦書き文字をキャンバス中の対応位置に描画(生成)する。
The
印刷対象ファイルの全部の文字がすべて処理された後、キャンバス上の全ての文字の縦書き印刷画像が形成され、縦書き印刷画像出力部36が縦書き印刷画像を出力する。
After all the characters in the print target file are processed, a vertical print image of all the characters on the canvas is formed, and the vertical print
制御部37は、文字記憶部31、変換規則記憶部32、文字取得部33、判定部34、変換処理部35、縦書き印刷画像出力部36の運行を制御する。例えば、開始された後、制御部37は、文字取得部33が印刷対象ファイルから順番に取得する各文字を現在処理中の文字とするのを制御し、判定部34が文字記憶部31に基づいて現在処理中の文字が汎用文字であるか限定文字であるかを判定するのを制御し、そして、限定文字であると判断された時は、変換処理部35が変換規則記憶部32から現在処理中の文字に対応する変換規則を検索すると共に検索された変換規則に基づいて現在処理中の文字に対して縦書き変換処理を行った後で該文字を生成するのを制御し、汎用文字であると判断された時は、変換処理部35が現在処理中の文字を生成するのを制御する。さらに、制御部37は、印刷対象ファイルにある全部の文字をすべて処理した後に、生成された縦書き印刷画像を縦書き印刷画像出力部36が前記軽量印刷機器に出力するのを制御する。
The
印刷機器200は、文字ライブラリを持たない軽量印刷機器である。印刷機器200とモバイル機器100は通信接続する。通信接続の方式は、wifi、bluetooth、ケーブルなどの方式であって良い。本実施例において、印刷機器200とモバイル機器100はwifiによって通信接続している。印刷機器200は、モバイル機器100の縦書き印刷画像出力部36からデータを受信するとともに、該データから縦書き印刷画像を識別した後、縦書き印刷画像を印刷する。
The
図3は、本発明の実施例における、縦書き印刷生成装置が縦書き印刷画像を生成する動作のフロー図である。 FIG. 3 is a flow chart of an operation in which the vertical writing print generator generates a vertical writing image in the embodiment of the present invention.
図3に示すように、本実施例における縦書き印刷画像生成装置30が縦書き印刷画像を生成する動作のフローは、以下を含む。
As shown in FIG. 3, the flow of the operation of the vertical writing
ステップS1:制御部37が、編集モジュール装置10が設定したキャンバスサイズに基づいてキャンバス生成ユニット352がキャンバスを生成するのを制御する。その後、ステップS2へ移る。
Step S1: The
ステップS2:制御部37が、フォント取得ユニット355がフォント記憶ユニット351からフォント情報に対応するフォントを取得するのを制御する。その後、ステップS3へ移る。
Step S2: The
ステップS3:制御部37が、フォント取得部33が印刷対象ファイルから順番に取得する各文字を現在処理中の文字とするのを制御する。その後、ステップS4へ移る。
Step S3: The
ステップS4:制御部37が、判定部34がフォント記憶部31に基づいて現在処理中の文字が汎用文字であるか限定文字であるかを判定するのを制御する。判定結果が限定文字である場合はステップS5へ移り、判定結果が汎用文字である場合はステップS7へ移る。
Step S4: The
ステップS5:制御部37が、変換規則検索ユニット353が変換規則記憶部32から検索したフォント情報及び現在処理中の文字に対応する変換規則を検索するのを制御する。その後、ステップS6へ移る。
Step S5: The
ステップS6:制御部37が、変換規則実行ユニット354が変換規則検索ユニット353によって検索された変換規則に基づいて現在処理中の文字に対して縦書き変換処理を行って縦書き文字を得るのを制御する。その後、ステップS8へ移る。
Step S6: The
ステップS7:制御部37が、変換規則実行ユニット354が直接現在処理中の文字を縦書き文字とするのを制御する。その後、ステップS8へ移る。
Step S7: The
ステップS8、制御部37が、フォント取得ユニット355によって取得されたフォントに基づいて文字形成ユニット356が縦書き文字をキャンバス中の対応位置に描画(生成)するのを制御する。その後、ステップS9へ移る。
In step S8, the
ステップS9:制御部37が、印刷対象ファイル中の全部の文字がすべて処理されたかどうか(キャンバスに描画されたかどうか)を判断し、判断がYESである場合、キャンバス上の全ての文字の縦書き印刷画像が形成され、ステップS10へ移る。判断がNOである場合、ステップS3へ移る。
Step S9: The
ステップS10:制御部37が、縦書き印刷画像出力部36が縦書き印刷画像を出力するのを制御する。
Step S10: The
本発明の実施例は、縦書き印刷画像生成装置30によって印刷対象ファイル中の文字の内容を処理して、文字ライブラリを持たない軽量印刷機器が縦書き印刷を行うための縦書き印刷画像を生成する縦書き印刷画像生成方法を提供している。該方法は、
横書きと縦書きの両方に通用する汎用文字、及び、横書きにだけ適用する限定文字を記憶するステップと、
異なる限定文字にそれぞれ対応する、限定文字を縦書きに変換するための複数の変換規則を記憶するステップと、
印刷対象ファイルから順番に取得する各文字を現在処理中の文字とするのを制御し、現在処理中の文字が汎用文字であるか限定文字であるかを判断し、そして、限定文字であると判断された時は、現在処理中の文字に対応する変換規則を検索すると共に、検索された変換規則に基づいて現在処理中の文字に対して縦書き変換処理を行った後で該文字を生成し、汎用文字であると判断された時は、現在処理中の文字を生成するステップと、
印刷対象ファイルにある全部の文字をすべて処理した後に、縦書き印刷画像を軽量印刷機器に出力するステップと、
を含む。
In the embodiment of the present invention, the vertical print
A step to memorize general-purpose characters that can be used for both horizontal and vertical writing, and limited characters that can be applied only to horizontal writing.
A step to memorize multiple conversion rules for converting a limited character to vertical writing, each corresponding to a different limited character.
It controls that each character acquired in order from the print target file is the character currently being processed, determines whether the character currently being processed is a general-purpose character or a limited character, and determines that the character is a limited character. When it is determined, the conversion rule corresponding to the character currently being processed is searched, and the character is generated after performing vertical writing conversion processing on the character currently being processed based on the searched conversion rule. However, when it is determined that it is a general-purpose character, the step to generate the character currently being processed and
After processing all the characters in the file to be printed, the step of outputting the vertical print image to a lightweight printing device, and
including.
<変形例>
本変形例は上記実施例の変形であり、実施例と同じ部分の記載は省略する。本半径例と上記実施例の相違点は、以下の通りである。
<Modification example>
This modification is a modification of the above embodiment, and the description of the same part as that of the embodiment is omitted. The differences between this radius example and the above embodiment are as follows.
変形例において、変換規則記憶部32は具体的に、全部のフォントの全部の限定文字、及び各フォントタイプの各限定文字にそれぞれ対応する複数の変換規則を、記憶している。即ち、各フォントの宅限定文字は全て、一つの相応の変換規則と対応する。
In the modified example, the conversion
例えば、「。(フォントA)」が対応する変換規則は「X軸に沿ったオフセット且つY軸に沿ったオフセット」であり、「。(フォントB)」が対応する変換規則は「X軸に沿ったオフセット且つY軸に沿ったオフセット」であり、「。(フォントC)」が対応する変換規則は「X軸に沿ったオフセット且つY軸に沿ったオフセット」であり、・・・・・「
(外3)
(フォントA)」が対応する変換規則は「Y軸に沿った左右反転と、X軸に沿ったオフセット且つY軸に沿ったオフセット」であり、・・・・。
For example, the conversion rule corresponding to ". (Font A)" is "offset along the X-axis and offset along the Y-axis", and the conversion rule corresponding to ". (Font B)" is "to the X-axis". "Offset along the X axis and offset along the Y axis", and the conversion rule corresponding to ". (Font C)" is "offset along the X axis and offset along the Y axis" ... "
(Outside 3)
(Font A) ”corresponds to“ left-right inversion along the Y-axis, offset along the X-axis and offset along the Y-axis ”, and so on.
なお、フォントA、フォントB、フォントCは異なるタイプのフォントである。 The font A, the font B, and the font C are different types of fonts.
<実施例の作用と効果>
本発明に記載の縦書き印刷画像生成装置によれば、文字記憶部と、変換規則記憶部と、文字取得部と、判定部と、変換処理部と、縦書き印刷画像出力部と、を備え、字符号記憶部が汎用文字及び限定文字を記憶し、変換規則記憶部が限定文字を縦書きに変換するための複数の変換規則を記憶し、異なる限定文字は複数の変換規則中の一つの変換規則にそれぞれ対応し、文字取得部によって印刷対象ファイルから順番に取得する各文字を現在処理中の文字とし、判定部によって現在処理中の文字が前記汎用文字であるか前記限定文字であるかを判断し、その後、全ての文字が処理されて縦書き印刷画像が生成されるまで、異なる判定結果に対して変換処理部が現在処理中の文字に対してそれぞれ異なる処理を行い、縦書き印刷画像出力部によって縦書き印刷画像を軽量印刷機器へ出力する。よって、該縦書き印刷画像生成装置によって、文字ライブラリを持たない軽量印刷機器が縦書き印刷を行うための縦書き印刷画像を生成することができ、文字ライブラリを持たない軽量印刷機器の縦書き印刷の問題を解決した。
<Action and effect of Examples>
The vertical print image generation device described in the present invention includes a character storage unit, a conversion rule storage unit, a character acquisition unit, a determination unit, a conversion processing unit, and a vertical print image output unit. , The character code storage unit stores general-purpose characters and limited characters, the conversion rule storage unit stores multiple conversion rules for converting limited characters to vertical writing, and different limited characters are one of the multiple conversion rules. Corresponding to each conversion rule, each character acquired in order from the print target file by the character acquisition unit is set as the character currently being processed, and whether the character currently being processed by the determination unit is the general-purpose character or the limited character. After that, until all the characters are processed and a vertical print image is generated, the conversion processing unit performs different processing for the characters currently being processed for different judgment results and prints vertically. The image output unit outputs a vertical print image to a lightweight printing device. Therefore, the vertical printing image generator can generate a vertical printing image for a lightweight printing device that does not have a character library to perform vertical writing, and vertical printing of a lightweight printing device that does not have a character library. Solved the problem.
さらに、現在処理中の文字が限定文字であると判定部が判断した場合、変換処理部は、変換規則記憶部から現在処理中の文字に対応する変換規則を検索すると共に、該変換規則に基づいて現在処理中の文字に対して縦書き変換処理を行った後で該文字を生成することができる。そして、現在処理中の文字が汎用文字であると判断部が判断した場合、変換処理部は、該現在処理中の文字を生成することができる。このように、印刷対象ファイル中の横書きにだけ適用する限定文字をすべて処理して縦書き文字にすることができるとともに、印刷対象ファイル中の汎用文字を直接縦書き文字とすることができるので、縦書き印刷画像の生成を実現することができる。 Further, when the determination unit determines that the character currently being processed is a limited character, the conversion processing unit searches the conversion rule storage unit for the conversion rule corresponding to the character currently being processed, and is based on the conversion rule. The character can be generated after the vertical writing conversion process is performed on the character currently being processed. Then, when the determination unit determines that the character currently being processed is a general-purpose character, the conversion processing unit can generate the character currently being processed. In this way, all the limited characters that apply only to horizontal writing in the print target file can be processed into vertical writing characters, and general-purpose characters in the print target file can be directly converted into vertical writing characters. It is possible to realize the generation of a vertical print image.
本発明に記載の縦書き印刷システムによれば、モバイル機器と印刷機器を含み、両者が通信接続し、モバイル機器が縦書き印刷画像生成装置を備え、印刷機器が文字ライブラリを持たない軽量印刷機器であるので、該モバイル機器により印刷対象ファイルを取得すると共に縦書き印刷画像を生成した後に出力でき、該印刷機器によって縦書き印刷画像を直接印刷することができる。両者が相互に協力することにより、一方で、軽量印刷機器の縦書き印刷を実現でき、他方で、このような印刷機器には文字ライブラリが無いため、更に軽量でコンパクトにできるので、軽量印刷機器としてより多くの利点がある。 According to the vertical writing system described in the present invention, a lightweight printing device including a mobile device and a printing device, both of which are connected by communication, the mobile device is equipped with a vertical writing image generator, and the printing device does not have a character library. Therefore, the print target file can be acquired by the mobile device and the vertical print image can be generated and then output, and the vertical print image can be directly printed by the printing device. By cooperating with each other, on the one hand, vertical printing of lightweight printing equipment can be realized, and on the other hand, since such printing equipment does not have a character library, it can be made lighter and more compact, so that it is a lightweight printing equipment. As there are more advantages.
また、変換規則記憶部が、異なるフォントタイプ及び異なる限定文字にそれぞれ対応する複数の変換規則を記憶し、変換規則検索ユニットが、フォント情報及び現在処理中の文字に対応する変換規則を検索でき、変換規則実行ユニットが、検索された変換規則に基づいて現在処理中の文字に対して縦書き変換処理を行う。このように、フォントが異なり変換規則が異なる限定文字の縦書き変換の問題を解決できる。 In addition, the conversion rule storage unit can store a plurality of conversion rules corresponding to different font types and different limited characters, and the conversion rule search unit can search the font information and the conversion rule corresponding to the character currently being processed. The conversion rule execution unit performs vertical writing conversion processing on the character currently being processed based on the searched conversion rule. In this way, it is possible to solve the problem of vertical writing conversion of limited characters having different fonts and different conversion rules.
また、フォント取得ユニットがフォント情報に対応するフォントを取得することができるので、フォント形成ユニットがフォント取得ユニットによって取得さ有れたフォントに基づいて縦書き文字を生成して縦書き印刷画像中の対応位置に生成するようにでき、最終的に生成された縦書き印刷画像が印刷対象ファイル中のフォント情報の要求にあうようにすることができる。 Further, since the font acquisition unit can acquire the font corresponding to the font information, the font forming unit generates vertical characters based on the font acquired by the font acquisition unit and is included in the vertical print image. It can be generated at the corresponding position, and the finally generated vertical print image can meet the request for font information in the print target file.
また、変換規則が、回転、左右反転、オフセットの内の少なくとも一種を含み、このように、実際の執筆中のすべての文字の縦書き返還の問題を解決でき、変換後の文字が実際の執筆の要求に合うようにすることができる。 Also, the conversion rules include at least one of rotation, left-right reversal, and offset, thus solving the problem of vertical return of all characters during actual writing, and the converted characters are the actual writing. Can be made to meet the demands of.
以上の実施方式は本発明の好ましい例であり、本発明の保護範囲を制限するためのものでは無い。 The above embodiment is a preferred example of the present invention and is not intended to limit the scope of protection of the present invention.
Claims (11)
文字記憶部と、変換規則記憶部と、文字取得部と、判定部と、変換処理部と、縦書き印刷画像出力部と、制御部と、を備え、
前記文字記憶部は、横書きと縦書きの両方に通用する汎用文字、及び、横書きにだけ適用する限定文字を記憶し、
前記変換規則記憶部は、異なる前記限定文字にそれぞれ対応する、前記限定文字を縦書きに変換するための複数の変換規則を記憶し、
制御部は、前記文字取得部が前記印刷対象ファイルから順番に取得する各文字を現在処理中の文字とするのを制御し、前記判定部が前記文字記憶部に基づいて前記現在処理中の文字が前記汎用文字であるか前記限定文字であるかを判定するのを制御し、そして、前記限定文字であると判断された時は、前記変換処理部が前記変換規則記憶部から前記現在処理中の文字に対応する前記変換規則を検索すると共に検索された前記変換規則に基づいて前記現在処理中の文字に対して縦書き変換処理を行った後で該文字を生成するのを制御し、前記汎用文字であると判断された時は、前記変換処理部が前記現在処理中の文字を生成するのを制御し、さらに、前記印刷対象ファイルにある全部の文字をすべて処理した後に、生成された縦書き印刷画像を前記縦書き印刷画像出力部が前記軽量印刷機器に出力するのを制御する、
ことを特徴とする、縦書き印刷画像生成装置。 A vertical print image generator that processes the contents of characters in a file to be printed and generates a vertical print image for a lightweight printing device that does not have a character library to perform vertical print.
It includes a character storage unit, a conversion rule storage unit, a character acquisition unit, a determination unit, a conversion processing unit, a vertical print image output unit, and a control unit.
The character storage unit stores general-purpose characters that are applicable to both horizontal writing and vertical writing, and limited characters that are applicable only to horizontal writing.
The conversion rule storage unit stores a plurality of conversion rules for converting the limited characters into vertical writing, respectively, corresponding to the different limited characters.
The control unit controls the character acquisition unit to set each character acquired in order from the print target file as the character currently being processed, and the determination unit controls the character currently being processed based on the character storage unit. Controls whether the character is the general-purpose character or the limited character, and when it is determined that the character is the limited character, the conversion processing unit is currently processing from the conversion rule storage unit. The conversion rule corresponding to the character is searched, and the character currently being processed is controlled to be generated after the vertical writing conversion process is performed based on the searched conversion rule. When it is determined that the character is a general-purpose character, the conversion processing unit controls the generation of the character currently being processed, and further, after processing all the characters in the print target file, the character is generated. Controls the vertical print image output unit to output the vertical print image to the lightweight printing device.
A vertical printing image generator, characterized in that.
前記変換処理部が、フォント記憶ユニットと、変換規則検索ユニットと、変換規則実行ユニットと、フォント取得ユニットと、文字形成ユニットと、を含み、
前記フォント記憶ユニットは、前記文字の異なるタイプのフォントを記憶し、
前記変換規則検索ユニットは、前記変換規則記憶部から前記現在処理中の文字に対応する前記変換規則を検索し、
前記変換規則実行ユニットは、前記変換規則検索ユニットによって検索された前記変換規則に基づいて、前記現在処理中の文字に対して縦書き変換処理を行って縦書き文字を取得し、
前記フォント取得ユニットは、前記フォント記憶ユニットから前記フォント情報に対応する前記フォントを取得し、
前記文字形成ユニットは、前記フォント取得ユニットによって取得された前記フォントに基づいて、前記縦書き文字を前記縦書き印刷画像中の対応位置に生成する、
ことを特徴とする、請求項1に記載の縦書き印刷画像生成装置。 The print target file also includes font information of the font type of the vertical print image.
The conversion processing unit includes a font storage unit, a conversion rule search unit, a conversion rule execution unit, a font acquisition unit, and a character formation unit.
The font storage unit stores fonts of different types of the characters.
The conversion rule search unit searches the conversion rule storage unit for the conversion rule corresponding to the character currently being processed.
Based on the conversion rule searched by the conversion rule search unit, the conversion rule execution unit performs vertical writing conversion processing on the character currently being processed to acquire the vertical writing character.
The font acquisition unit acquires the font corresponding to the font information from the font storage unit, and obtains the font.
The character forming unit generates the vertical writing character at a corresponding position in the vertical writing image based on the font acquired by the font acquisition unit.
The vertical print image generation device according to claim 1, wherein the vertical writing image generation device is characterized in that.
前記変換処理部が、フォント記憶ユニットと、変換規則検索ユニットと、変換規則実行ユニットと、フォント取得ユニットと、文字形成ユニットと、を含み、
前記フォント記憶ユニットは、前記文字の異なるタイプのフォントを記憶し、
前記変換規則記憶部は、異なるタイプの前記フォント情報及び異なる前記限定文字にそれぞれ対応する複数の変換規則を記憶し、
前記変換規則検索ユニットは、前記変換規則記憶部から前記フォント情報及び前記現在処理中の文字に対応する前記変換規則を検索し、
前記変換規則実行ユニットは、前記変換規則検索ユニットによって検索された前記変換規則に基づいて、前記現在処理中の文字に対して縦書き変換処理を行って縦書き文字を取得し、
前記フォント取得ユニットは、前記フォント記憶ユニットから前記フォント情報に対応する前記フォントを取得し、
前記文字形成ユニットは、前記フォント取得ユニットによって取得された前記フォントに基づいて、前記縦書き文字を前記縦書き印刷画像中の対応位置に生成する、
ことを特徴とする、請求項1に記載の縦書き印刷画像生成装置。 The print target file also includes font information of the font type of the vertical print image.
The conversion processing unit includes a font storage unit, a conversion rule search unit, a conversion rule execution unit, a font acquisition unit, and a character formation unit.
The font storage unit stores fonts of different types of the characters.
The conversion rule storage unit stores a plurality of conversion rules corresponding to different types of the font information and different limited characters.
The conversion rule search unit searches the conversion rule storage unit for the font information and the conversion rule corresponding to the character currently being processed.
Based on the conversion rule searched by the conversion rule search unit, the conversion rule execution unit performs vertical writing conversion processing on the character currently being processed to acquire the vertical writing character.
The font acquisition unit acquires the font corresponding to the font information from the font storage unit, and obtains the font.
The character forming unit generates the vertical writing character at a corresponding position in the vertical writing image based on the font acquired by the font acquisition unit.
The vertical print image generation device according to claim 1, wherein the vertical writing image generation device is characterized in that.
ことを特徴とする、請求項1に記載の縦書き印刷画像生成装置。 The conversion rule includes at least one of rotation, left-right reversal, and offset.
The vertical print image generation device according to claim 1, wherein the vertical writing image generation device is characterized in that.
前記左右反転が、Y軸に沿った左右反転であり、
前記オフセットが、Y軸に沿ったオフセット、又は、X軸に沿ったオフセット且つY軸に沿ったオフセットである、
ことを特徴とする、請求項4に記載の縦書き印刷画像生成装置。 The rotation includes any one of 90 degree rotation, 180 degree rotation, and 270 degree rotation.
The left-right reversal is a left-right reversal along the Y-axis.
The offset is an offset along the Y-axis, or an offset along the X-axis and an offset along the Y-axis.
The vertical print image generation device according to claim 4, wherein the vertical writing image generation device is characterized in that.
ことを特徴とする、請求項1に記載の縦書き印刷画像生成装置。 The conversion rule storage unit stores a plurality of conversion rules corresponding to different types of the limited characters and various types of the limited characters.
The vertical print image generation device according to claim 1, wherein the vertical writing image generation device is characterized in that.
対応する前記変換規則が、X軸に沿ったオフセット且つY軸に沿ったオフセットである、第一類限定文字と、
対応する前記変換規則が、Y軸に沿った左右反転と、X軸に沿ったオフセット且つY軸に沿ったオフセットである第二類限定文字と、
対応する前記変換規則が、90度回転である第三類限定文字と、
対応する前記変換規則が、90度回転且つY軸に沿った左右反転である第四類限定文字と、
対応する前記変換規則が、90度回転且つY軸に沿ったオフセットである第五類限定文字と、
対応する前記変換規則が、180度回転と、X軸に沿ったオフセット且つY軸に沿ったオフセットである第六類限定文字と、
対応する前記変換規則が、270度回転且つY軸に沿った左右反転である第七類限定文字と、
対応する前記変換規則が、90度回転且つY軸に沿った左右反転である第八類限定文字と、
を含む、
ことを特徴とする、請求項6に記載の縦書き印刷画像生成装置。 The limited characters are
The corresponding conversion rule is an offset along the X-axis and an offset along the Y-axis.
The corresponding conversion rules are left-right inversion along the Y-axis, offset along the X-axis and offset along the Y-axis.
The corresponding conversion rule is a third-class limited character that is rotated 90 degrees, and
The corresponding conversion rule is a type 4 limited character that is rotated 90 degrees and flipped horizontally along the Y axis.
The corresponding conversion rule is a Class 5 limited character that is rotated 90 degrees and offset along the Y axis.
The corresponding conversion rules are 180 degree rotation, offset along the X-axis and offset along the Y-axis.
The corresponding conversion rule is a Class 7 limited character that is rotated 270 degrees and flipped horizontally along the Y axis.
The corresponding conversion rule is a class 8 limited character that is rotated 90 degrees and flipped horizontally along the Y axis.
including,
The vertical print image generation device according to claim 6, wherein the vertical writing image generation device is characterized in that.
ことを特徴とする、請求項1に記載の縦書き印刷画像生成装置。 The conversion rule storage unit stores all the limited characters and a plurality of the conversion rules corresponding to each of the limited characters.
The vertical print image generation device according to claim 1, wherein the vertical writing image generation device is characterized in that.
横書きと縦書きの両方に通用する汎用文字、及び、横書きにだけ適用する限定文字を記憶するステップと、
異なる前記限定文字にそれぞれ対応する、前記限定文字を縦書きに変換するための複数の変換規則を記憶するステップと、
前記印刷対象ファイルから順番に取得する各文字を現在処理中の文字とするのを制御し、前記現在処理中の文字が前記汎用文字であるか前記限定文字であるかを判断し、そして、前記限定文字であると判断された時は、前記現在処理中の文字に対応する前記変換規則を検索すると共に、検索された前記変換規則に基づいて前記現在処理中の文字に対して縦書き変換処理を行った後で該文字を生成し、前記汎用文字であると判断された時は、前記現在処理中の文字を生成するステップと、
前記印刷対象ファイルにある全部の文字をすべて処理した後に、前記縦書き印刷画像を前記軽量印刷機器に出力するステップと、
を含む、
ことを特徴とする、縦書き印刷画像生成方法。 A vertical print image generation method that processes the contents of characters in a file to be printed and generates a vertical print image for a lightweight printing device that does not have a character library to perform vertical print.
A step to memorize general-purpose characters that can be used for both horizontal and vertical writing, and limited characters that can be applied only to horizontal writing.
A step of storing a plurality of conversion rules for converting the limited character to vertical writing, each corresponding to the different limited character.
It is controlled to control each character acquired in order from the print target file to be the character currently being processed, it is determined whether the character currently being processed is the general-purpose character or the limited character, and the character is described. When it is determined that the character is a limited character, the conversion rule corresponding to the character currently being processed is searched, and the character currently being processed is subjected to vertical writing conversion processing based on the searched conversion rule. When the character is generated after performing the above and it is determined that the character is the general-purpose character, the step of generating the character currently being processed and
A step of outputting the vertical print image to the lightweight printing device after processing all the characters in the print target file, and
including,
A method for generating a vertical print image, which is characterized by the fact that.
印刷対象ファイルを取得する、印刷対象ファイル取得モジュール装置と、
前記印刷対象ファイル中の文字の内容を処理して縦書き印刷画像を生成すると共に、前記縦書き印刷画像を前記軽量印刷機器へ送信する、縦書き印刷画像生成装置と、
を備え、
前記縦書き印刷画像生成装置が、請求項1から8のいずれか一項に記載の縦書き印刷画像生成装置である、
ことを特徴とする、モバイル機器。 A mobile device that processes the contents of characters in a file to be printed to generate a vertical print image, and also sends the vertical print image to a lightweight printing device that does not have a character library for printing.
A print target file acquisition module device that acquires a print target file, and
A vertical print image generator that processes the contents of characters in the print target file to generate a vertical print image and transmits the vertical print image to the lightweight printing device.
With
The vertical print image generator is the vertical print image generator according to any one of claims 1 to 8.
A mobile device that features that.
印刷対象ファイルを取得するとともに、前記印刷対象ファイル中の文字の内容を処理して縦書き印刷画像を生成した後で出力するモバイル機器と、
前記モバイル機器と通信接続し、前記モバイル機器から前記縦書き印刷画像を受信すると共に前記縦書き印刷画像を印刷する印刷機器と、
を備え、
前記モバイル機器が、請求項10に記載のモバイル機器であり、前記印刷機器が、文字ライブラリを持たない軽量印刷機器である、
ことを特徴とする、縦書き印刷システム。 It is a vertical printing system
A mobile device that acquires a print target file, processes the contents of characters in the print target file to generate a vertical print image, and then outputs the image.
A printing device that communicates with the mobile device, receives the vertical print image from the mobile device, and prints the vertical print image.
With
The mobile device is the mobile device according to claim 10, and the printing device is a lightweight printing device that does not have a character library.
A vertical printing system that features this.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911021915.XA CN112799609B (en) | 2019-10-25 | 2019-10-25 | Vertical printing image generation device, method, mobile device and vertical printing system |
CN201911021915.X | 2019-10-25 |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2021068445A true JP2021068445A (en) | 2021-04-30 |
JP7006753B2 JP7006753B2 (en) | 2022-01-24 |
Family
ID=75637378
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2020177274A Active JP7006753B2 (en) | 2019-10-25 | 2020-10-22 | Vertical printing image generator, method, mobile terminal and vertical writing system |
Country Status (2)
Country | Link |
---|---|
JP (1) | JP7006753B2 (en) |
CN (1) | CN112799609B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US10317142B2 (en) * | 2014-08-25 | 2019-06-11 | Hanon Systems | Heat exchanger having a mechanically assembled header |
CN117707443B (en) * | 2024-02-05 | 2024-04-26 | 珠海芯烨电子科技有限公司 | Local word stock management method and related device for thermal printer |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0477277A (en) * | 1990-07-18 | 1992-03-11 | Hitachi Ltd | Printing device |
JPH08292943A (en) * | 1995-04-20 | 1996-11-05 | Fuji Xerox Co Ltd | Document data processor |
JP2000203106A (en) * | 1999-01-08 | 2000-07-25 | Ricoh Co Ltd | Printer system |
JP2002273943A (en) * | 2001-03-19 | 2002-09-25 | Seiko Epson Corp | Printing program for converting to vertical writing, and printing controller |
JP2005229530A (en) * | 2004-02-16 | 2005-08-25 | Mitsubishi Electric Corp | Portable terminal apparatus |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH07115493B2 (en) * | 1986-08-13 | 1995-12-13 | アルプス電気株式会社 | Aspect conversion printing method |
JP2000076227A (en) * | 1998-08-27 | 2000-03-14 | Ricoh Co Ltd | Character data management device and method and computer readable recording medium recording program to make computer execute the method |
JP2004133163A (en) * | 2002-10-10 | 2004-04-30 | Riso Kagaku Corp | Font making apparatus and font making program |
JP2007128218A (en) * | 2005-11-02 | 2007-05-24 | Seiko Epson Corp | Device and method for creating printed image, program, and tape printer |
JP2011186945A (en) * | 2010-03-10 | 2011-09-22 | Canon Inc | Image processing device, image processing method and program |
-
2019
- 2019-10-25 CN CN201911021915.XA patent/CN112799609B/en active Active
-
2020
- 2020-10-22 JP JP2020177274A patent/JP7006753B2/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0477277A (en) * | 1990-07-18 | 1992-03-11 | Hitachi Ltd | Printing device |
JPH08292943A (en) * | 1995-04-20 | 1996-11-05 | Fuji Xerox Co Ltd | Document data processor |
JP2000203106A (en) * | 1999-01-08 | 2000-07-25 | Ricoh Co Ltd | Printer system |
JP2002273943A (en) * | 2001-03-19 | 2002-09-25 | Seiko Epson Corp | Printing program for converting to vertical writing, and printing controller |
JP2005229530A (en) * | 2004-02-16 | 2005-08-25 | Mitsubishi Electric Corp | Portable terminal apparatus |
Also Published As
Publication number | Publication date |
---|---|
JP7006753B2 (en) | 2022-01-24 |
CN112799609A (en) | 2021-05-14 |
CN112799609B (en) | 2024-03-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP7006753B2 (en) | Vertical printing image generator, method, mobile terminal and vertical writing system | |
JP2000335059A (en) | Print system and printer apparatus | |
CN102574404A (en) | Preview and modification of printable components of a document at a printing device | |
US20150077773A1 (en) | Image forming method, non-transitory computer readable storage medium stored with program for image forming system, and image forming system | |
JP2008186459A (en) | Print driver with processed print data management function | |
US20070153321A1 (en) | High speed printing method and apparatus | |
JP6053491B2 (en) | Information processing apparatus, program, and control method | |
US9628669B2 (en) | Image processing apparatus for detecting confidential drawing commands within print data | |
JPH02224079A (en) | Device and method for generating character pattern | |
JP2000284926A (en) | Print processing system and its method | |
JP2005275545A (en) | Document print controller, document print control method and document print control program | |
JPH08329058A (en) | Network printer system | |
JPH10304180A (en) | Drawing processor and drawing processing method | |
US8390827B2 (en) | Drawing processing apparatus, image outputting apparatus, method for drawing processing and computer readable medium | |
JP2019074884A (en) | Program, data communication method, and information processing apparatus | |
JP2007290191A (en) | Image forming device | |
JP2008187228A (en) | Image processing system, image processing apparatus, print controller, image processing program, and print control program | |
JP2006154912A (en) | Document display, print system, method and storage medium | |
JP4509884B2 (en) | Image forming apparatus and printing system | |
JP2006218819A (en) | Image formation apparatus, image processing apparatus, program, and image processing method | |
JP4325339B2 (en) | Printing system, host computer and printer driver | |
JP3419450B2 (en) | Pixel data processing apparatus and method | |
JP2010079620A (en) | Image forming system, information processing apparatus, print control method and program | |
JP2005173652A (en) | Device and method for document creation, and recording medium and program thereof | |
JPH07125390A (en) | Image recognition processor |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20201022 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20210827 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20210914 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20211110 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20211207 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20211220 |