JP7006753B2 - Vertical printing image generator, method, mobile terminal and vertical writing system - Google Patents

Vertical printing image generator, method, mobile terminal and vertical writing system Download PDF

Info

Publication number
JP7006753B2
JP7006753B2 JP2020177274A JP2020177274A JP7006753B2 JP 7006753 B2 JP7006753 B2 JP 7006753B2 JP 2020177274 A JP2020177274 A JP 2020177274A JP 2020177274 A JP2020177274 A JP 2020177274A JP 7006753 B2 JP7006753 B2 JP 7006753B2
Authority
JP
Japan
Prior art keywords
character
vertical
characters
conversion rule
font
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.)
Active
Application number
JP2020177274A
Other languages
Japanese (ja)
Other versions
JP2021068445A (en
Inventor
ナ リ
チャオ イエ
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ricoh Co Ltd
Original Assignee
Ricoh 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 Ricoh Co Ltd filed Critical Ricoh Co Ltd
Publication of JP2021068445A publication Critical patent/JP2021068445A/en
Application granted granted Critical
Publication of JP7006753B2 publication Critical patent/JP7006753B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1223Dedicated interfaces to print systems specifically adapted to use a particular technique
    • G06F3/1237Print job management
    • G06F3/125Page layout or assigning input pages onto output media, e.g. imposition
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1223Dedicated interfaces to print systems specifically adapted to use a particular technique
    • G06F3/1237Print job management
    • G06F3/1244Job 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)

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. be.

よって、従来技術の軽量プリンターとモバイル機器は、横書き文字を印刷できるだけで、縦書き文字の印刷を実現することはできない。 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 generation device, a method, a mobile terminal, and a vertical writing printing system.

本発明は、印刷対象ファイル中の文字の内容を処理して、文字ライブラリを持たない軽量印刷機器が縦書き印刷を行うための縦書き印刷画像を生成する、縦書き印刷画像生成装置を提供しており、それは、文字記憶部と、変換規則記憶部と、文字取得部と、判定部と、変換処理部と、縦書き印刷画像出力部と、制御部を備え、文字記憶部は、横書きと縦書きの両方に通用する汎用文字、及び、横書きにだけ適用する限定文字を記憶し、変換規則記憶部は、異なる限定文字にそれぞれ対応する、限定文字を縦書きに変換するための複数の変換規則を記憶し、制御部は、文字取得部が印刷対象ファイルから順番に取得する各文字を現在処理中の文字とするのを制御し、判定部が文字記憶部に基づいて現在処理中の文字が汎用文字であるか限定文字であるかを判定するのを制御し、そして、限定文字であると判断された時は、変換処理部が変換規則記憶部から現在処理中の文字に対応する変換規則を検索すると共に検索された変換規則に基づいて現在処理中の文字に対して縦書き変換処理を行った後で該文字を生成するのを制御し、汎用文字であると判断された時は、変換処理部が現在処理中の文字を生成するのを制御し、さらに、印刷対象ファイルにある全部の文字をすべて処理した後に、生成された縦書き印刷画像を縦書き印刷画像出力部が軽量印刷機器に出力するのを制御する、という特徴を備える。 The present invention provides a vertical writing image generation device that processes the contents of characters in a file to be printed and generates a vertical writing image for a lightweight printing device having no character library to perform vertical writing printing. 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 writing 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 has multiple conversions for converting limited characters to vertical writing, each corresponding to different limited characters. The rule is stored, 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 to be a limited character, the conversion processing unit converts from the conversion rule storage unit to the character currently being processed. When a rule is searched and the character currently being processed is controlled to generate the character after performing vertical conversion processing 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 writing image is lightened by the vertical writing image output unit. It has the feature of controlling the output to printing equipment.

本発明が提供する縦書き印刷画像生成装置は、印刷対象ファイルが縦書き印刷画像のフォントタイプのフォント情報も含み、変換処理部が、フォント記憶ユニットと、変換規則検索ユニットと、変換規則実行ユニットと、フォント取得ユニットと、文字形成ユニットと、を含み、フォント記憶ユニットが、文字の異なるタイプのフォントを記憶し、変換規則検索ユニットが、変換規則記憶部から現在処理中の文字に対応する変換規則を検索し、変換規則実行ユニットは、変換規則検索ユニットによって検索された変換規則に基づいて、現在処理中の文字に対して縦書き変換処理を行って縦書き文字を得て、フォント取得ユニットが、フォント記憶ユニットからフォント情報に対応するフォントを取得し、文字形成ユニットが、フォント取得ユニットによって取得されたフォントに基づいて、縦書き文字を縦書き印刷画像中の対応位置に生成する、という特徴をさらに備えても良い。 In the vertical print image generation device provided by the present invention, the print target file also includes the font information of the font type of the vertical print 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 conversion rule execution unit searches for a rule, and based on the conversion rule searched by the conversion rule search unit, performs vertical conversion processing on the character currently being processed to obtain vertical writing characters, 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 more features.

本発明が提供する縦書き印刷画像生成装置は、印刷対象ファイルが縦書き印刷画像のフォントタイプのフォント情報も含み、変換処理部が、フォント記憶ユニットと、変換規則検索ユニットと、変換規則実行ユニットと、フォント取得ユニットと、文字形成ユニットと、を含み、フォント記憶ユニットが、文字の異なるタイプのフォントを記憶し、変換規則記憶部が、異なるタイプのフォント情報及び異なる限定文字にそれぞれ対応する複数の変換規則を記憶し、変換規則検索ユニットが、変換規則記憶部からフォント情報及び現在処理中の文字に対応する変換規則を検索し、変換規則実行ユニットが、変換規則検索ユニットによって検索された変換規則に基づいて、現在処理中の文字に対して縦書き変換処理を行って縦書き文字を得て、フォント取得ユニットが、フォント記憶ユニットからフォント情報に対応するフォントを取得し、文字形成ユニットが、フォント取得ユニットによって取得されたフォントに基づいて、縦書き文字を縦書き印刷画像中の対応位置に生成する、という特徴をさらに備えても良い。 In the vertical print image generation device provided by the present invention, the print target file also includes the font information of the font type of the vertical print image, and the conversion processing unit includes a font storage unit, a conversion rule search unit, and a conversion rule execution unit. A font storage unit stores fonts of different types of characters, and a conversion rule storage unit corresponds to different types of font information and different limited characters, respectively, including a font acquisition unit and a character formation unit. 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 obtains 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 generation device provided by the present invention may further include the feature 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 inversion is left-right inversion along the Y-axis. There may be further 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 is 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. , The corresponding conversion rule is 180 degree rotation and the offset along the X axis and the offset along the Y axis. It may further be characterized in that it includes a Class 7 limited character that is inverted and a corresponding conversion rule includes a Class 8 limited character that is rotated 90 degrees and inverted left and right 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 writing image generation method for processing the contents of characters in a print target file to generate a vertical writing image for a lightweight printing device having no character library to perform vertical writing printing. 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 the limited characters that correspond to different limited characters to vertical writing. Controls the step of storing multiple conversion rules and the fact that each character acquired in order from the print target file is 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. If the character is generated and it is determined to be a general-purpose character after performing 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 also 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 the characters in the print target file to generate a vertical print image, and lightweight prints the vertical print image. A vertical print image generation device for transmitting to an apparatus is provided, and the vertical print image generation device is the vertical print image generation device 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 writing image generation device according to 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 writing 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. Each character that corresponds to each conversion rule and is sequentially acquired from the print target file by the character acquisition unit is regarded 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 vertical writing printing is performed. The image output unit outputs a vertical print image to a lightweight printing device. Therefore, the vertical writing image generation device can generate a vertical writing image for a lightweight printing device that does not have a character library to perform vertical writing printing, and vertical writing 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. It is possible to generate the character after performing the vertical writing conversion processing 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 generate 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 writing 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.

本発明の実施例の縦書き印刷システムの構造ブロック図である。It is a structural block diagram of the vertical writing system of the Example of this invention. 本発明の実施例の縦書き印刷画像生成装置の構造ブロック図である。It is a structural block diagram of the vertical writing image generation apparatus of the Example of this invention. 本発明の実施例における、縦書き印刷生成装置が縦書き印刷画像を生成する動作のフロー図である。It is a flow chart of the operation which the vertical writing printing generation apparatus generates a vertical writing printing image in an Example of this invention.

本発明により達成される技術手段、創造的特徴、目的および効果を理解しやすくするために、以下、実施例と図面を組み合わせて、本発明の縦書き印刷画像生成装置、モバイル機器及び縦書き印刷システムについて具体的に述べる。 In order to make it easier to understand the technical means, creative features, purposes and effects achieved by the present invention, the following examples and drawings are combined to make a vertical print image generator, a mobile device and a vertical print 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 writing printing system 300 includes a mobile device 100 and a printing device 200.

モバイル機器100は、編集モジュール装置10、印刷対象ファイル取得モジュール装置20、及び縦書き印刷画像生成装置30を備える。モバイル機器100は、スマートフォン、ラップトップコンピュータ、PDA(携帯情報端末)などであって良い。 The mobile device 100 includes an editing module device 10, a print target file acquisition module device 20, and a vertical print image generation device 30. The mobile device 100 may be a smartphone, a laptop computer, a PDA (personal digital assistant), or the like.

編集モジュール装置10は、ユーザーが文字を編集することにより、印刷対象ファイルを形成すると共にキャンバスサイズを設定する。編集モジュール装置10は例えば、ドキュメントの入力、編集、レイアウトのソフトウェアである。印刷対象ファイルは、文字の内容及び縦が印刷のフォントタイプを含む。 The editing module device 10 forms a print target file and sets the canvas size by the user editing the characters. The editing module device 10 is, for example, software for inputting, editing, and laying out documents. The file to be printed includes the content of characters and the font type for printing vertically.

印刷対象ファイル取得モジュール装置20は、編集モジュール装置10または外部から印刷対象ファイルを取得する。なお、外部から取得可能とは、外部のモバイル機器、記憶機器などの設備から取得することを指し、取得する具体的な方法は、通信接続の方法によって取得するか、或いは、インターフェース接続の方法、又はその他の方法であっても良い。 The print target file acquisition module device 20 acquires a print target file from the edit module device 10 or the outside. In addition, "acquirable from the outside" means to acquire from equipment such as external mobile devices and storage devices, and the specific method of acquisition is to acquire by a communication connection method or an interface connection method. Alternatively, it may be another method.

図2は、本発明の実施例の縦書き印刷画像生成装置の構造ブロック図である。 FIG. 2 is a structural block diagram of a vertical print image generation device 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 image generation device 30 includes a character storage unit 31, a conversion rule storage unit 32, a character acquisition unit 33, a determination unit 34, a conversion processing unit 35, and a vertical writing image. It includes an output unit 36 and a control unit 37. The vertical print image generation device 30 is for processing the contents of characters in the print target file to generate a vertical print image.

文字記憶部31は、横書きと縦書きの両方に通用する汎用文字、及び、横書きにだけ適用する限定文字を記憶する。 The character storage unit 31 stores general-purpose characters that are applicable to both horizontal writing and vertical writing, and limited characters that are applied only to horizontal writing.

前記変換規則記憶部32は、異なる文字のタイプが異なるフォント、及び異なる限定文字にそれぞれ対応する、限定文字を縦書きに変換するための複数の変換規則を記憶する。変換規則は、回転、左右反転、オフセットの内の少なくとも一種類を含む。回転は、90度回転、180度回転、270度回転の内の任意の一種類を含み、左右反転は、Y軸に沿った左右反転であり、オフセットは、Y軸に沿ったオフセット、又は、X軸に沿ったオフセット且つY軸に沿ったオフセットである。回転、左右反転、オフセットには前後の順序が無い。 The conversion rule storage unit 32 stores a plurality of conversion rules for converting limited characters into vertical writing, corresponding to different fonts of different character types and different limited characters. The conversion rule includes at least one of rotation, left-right inversion, and offset. Rotation includes any one of 90 degree rotation, 180 degree rotation, and 270 degree rotation, left-right inversion is left-right inversion along the Y-axis, and offset is an offset along the Y-axis, or Offset along the X axis and offset along the Y axis. There is no front-back order for rotation, left-right reversal, and offset.

本実施例において、変換規則記憶部32は、異なるタイプの限定文字及び各種タイプの限定文字に対応する複数の変換規則を記憶する。 In this embodiment, the conversion rule storage unit 32 stores a plurality of conversion rules corresponding to different types of limited characters and various types of limited characters.

限定文字のタイプは、具体的な限定文字及びフォントを含み、限定文字のタイプは具体的には以下を含む。 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)

Figure 0007006753000001
(全てのフォント)」がある。 Class 2 limited characters whose corresponding conversion rules are left-right inversion along the Y-axis and offset along the X-axis and offset along the Y-axis. For example, "Class 2 limited characters"
(Outside 1)
Figure 0007006753000001
(All fonts) ".

対応する変換規則が、90度回転である第三類限定文字。第三類限定文字には、例えば「!(全てのフォント)」や、「半角英文文字(全てのフォント)」がある。なお、半角英文文字とは、例えば、a、b、c・・・である。 The corresponding conversion rule is a third-class limited character that is rotated 90 degrees. Class 3 limited characters include, for example, "! (All fonts)" and "half-width English characters (all fonts)". The half-width English characters are, for example, a, b, c ...

対応する変換規則が、90度回転且つY軸に沿った左右反転である第四類限定文字。第四類限定文字には、例えば「
(外2)

Figure 0007006753000002
(全てのフォント)」がある。 The corresponding conversion rule is a fourth-class limited character that rotates 90 degrees and is flipped horizontally along the Y axis. For example, "Class 4 limited characters"
(Outside 2)
Figure 0007006753000002
(All fonts) ".

対応する変換規則が、90度回転且つY軸に沿ったオフセットである第五類限定文字。第五類限定文字には、例えば、「g(全てのフォント)」がある。 Class 5 limited characters whose corresponding conversion rules are 90 degree rotation and offset along the Y axis. Class 5 limited characters include, for example, "g (all fonts)".

対応する変換規則が、180度回転と、X軸に沿ったオフセット且つY軸に沿ったオフセットである第六類限定文字。第六限定文字には、例えば、「‘(全てのフォント)」がある。 Class 6 limited characters whose corresponding conversion rules are 180 degree rotation and offset along the X-axis and offset along the Y-axis. The sixth limited character is, for example, "'(all fonts)".

対応する変換規則が、270度回転且つY軸に沿った左右反転である第七類限定文字。第七類限定文字には、例えば「一(フォントA)」がある。 The corresponding conversion rule is a 7th class limited character that rotates 270 degrees and is flipped horizontally along the Y axis. The seventh-class limited character is, 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 is, for example, "one (font B)".

なお、フォントAとフォントBは異なるタイプのフォントである。 Note that font A and font B are different types of fonts.

文字取得部33は、印刷対象ファイルから順番に取得する各文字を現在処理中の文字とする。 The character acquisition unit 33 sets each character acquired in order from the print target file as the character currently being processed.

判定部34は、文字記憶部31に基づいて前記現在処理中の文字が汎用文字であるか限定文字であるかを判定する。 The determination unit 34 determines whether the character currently being processed is a general-purpose character or a limited character based on the character storage unit 31.

変換処理部35は、フォント記憶ユニット351と、キャンバス形成ユニット352と、変換規則検索ユニット353と、変換規則実行ユニット354と、フォント取得ユニット355と、フォント形成ユニット356と、を備える。 The conversion processing unit 35 includes a font storage unit 351, a canvas forming unit 352, a conversion rule search unit 353, a conversion rule execution unit 354, a font acquisition unit 355, and a font forming unit 356.

フォント記憶ユニット351は、文字の異なるタイプのフォント、即ち文字の異なる描画方法を記憶する。 The font storage unit 351 stores fonts of different types of characters, that is, different drawing methods of characters.

キャンバス形成ユニット352は、編集モジュール装置10が設定したキャンバスサイズに基づいてキャンバスを生成する。フォント取得ユニット355は、フォント記憶ユニット351からフォント情報に対応するフォントを取得する。 The canvas forming unit 352 generates a canvas based on the canvas size set by the editing module device 10. The font acquisition unit 355 acquires a font corresponding to the font information from the font storage unit 351.

判定部34が現在処理中の文字が限定文字であると判断した時、変換規則検索ユニット353は、変換規則記憶部32からフォント情報及び現在処理中の文字に対応する変換規則を検索する。変換規則実行ユニット354は、変換規則検索ユニット353によって検索された変換規則に基づいて、現在処理中の文字に対して縦書き変換処理を実行し、縦書き文字を得る。なお、縦書き変換処理とは、即ち、変換規則に照らして前処理文字を回転させたり、左右反転させたり、オフセットさせたり、などの処理を行うことである。 When the determination unit 34 determines that the character currently being processed is a limited character, the conversion rule search unit 353 searches the conversion rule storage unit 32 for font information and a conversion rule corresponding to the character currently being processed. The conversion rule execution unit 354 executes vertical writing conversion processing on the character currently being processed based on the conversion rule searched by the conversion rule search unit 353, and obtains vertical writing characters. The vertical writing conversion process is, that is, processing such as rotating the preprocessed characters, inverting them horizontally, and offsetting them according to the conversion rules.

判定部34が現在処理中の文字が汎用文字であると判断した時、変換規則実行354は、直接現在処理中の文字を縦書き文字とする。 When the determination unit 34 determines that the character currently being processed is a general-purpose character, the conversion rule execution 354 directly sets the character currently being processed as a vertical writing character.

文字形成ユニット356は、フォント取得ユニット355によって取得されたフォントに基づいて、縦書き文字をキャンバス中の対応位置に描画(生成)する。 The character forming unit 356 draws (generates) vertically written characters at corresponding positions in the canvas based on the font acquired by the font acquisition unit 355.

印刷対象ファイルの全部の文字がすべて処理された後、キャンバス上の全ての文字の縦書き印刷画像が形成され、縦書き印刷画像出力部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 image output unit 36 outputs the vertical print image.

制御部37は、文字記憶部31、変換規則記憶部32、文字取得部33、判定部34、変換処理部35、縦書き印刷画像出力部36の運行を制御する。例えば、開始された後、制御部37は、文字取得部33が印刷対象ファイルから順番に取得する各文字を現在処理中の文字とするのを制御し、判定部34が文字記憶部31に基づいて現在処理中の文字が汎用文字であるか限定文字であるかを判定するのを制御し、そして、限定文字であると判断された時は、変換処理部35が変換規則記憶部32から現在処理中の文字に対応する変換規則を検索すると共に検索された変換規則に基づいて現在処理中の文字に対して縦書き変換処理を行った後で該文字を生成するのを制御し、汎用文字であると判断された時は、変換処理部35が現在処理中の文字を生成するのを制御する。さらに、制御部37は、印刷対象ファイルにある全部の文字をすべて処理した後に、生成された縦書き印刷画像を縦書き印刷画像出力部36が前記軽量印刷機器に出力するのを制御する。 The control unit 37 controls the operation of the character storage unit 31, the conversion rule storage unit 32, the character acquisition unit 33, the determination unit 34, the conversion processing unit 35, and the vertical print image output unit 36. For example, after the start, the control unit 37 controls that the character acquisition unit 33 sequentially acquires each character from the print target file as the character currently being processed, and the determination unit 34 is based on the character storage unit 31. Controls whether the character currently being processed 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 35 is currently transmitted from the conversion rule storage unit 32 to the conversion rule storage unit 32. A general-purpose character that searches for a conversion rule corresponding to the character being processed and controls the generation of that character after performing vertical writing conversion processing on the character currently being processed based on the searched conversion rule. When it is determined that the character is, the conversion processing unit 35 controls to generate the character currently being processed. Further, the control unit 37 controls the vertical writing image output unit 36 to output the generated vertical writing image to the lightweight printing device after processing all the characters in the print target file.

印刷機器200は、文字ライブラリを持たない軽量印刷機器である。印刷機器200とモバイル機器100は通信接続する。通信接続の方式は、wifi、bluetooth、ケーブルなどの方式であって良い。本実施例において、印刷機器200とモバイル機器100はwifiによって通信接続している。印刷機器200は、モバイル機器100の縦書き印刷画像出力部36からデータを受信するとともに、該データから縦書き印刷画像を識別した後、縦書き印刷画像を印刷する。 The printing device 200 is a lightweight printing device that does not have a character library. The printing device 200 and the mobile device 100 are connected by communication. The communication connection method may be a method such as wifi, bluetooth, or cable. In this embodiment, the printing device 200 and the mobile device 100 are communicated and connected by wifi. The printing device 200 receives data from the vertical print image output unit 36 of the mobile device 100, identifies the vertical print image from the data, and then prints the vertical print image.

図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 print image generation device 30 in the present embodiment to generate a vertical print image includes the following.

ステップS1:制御部37が、編集モジュール装置10が設定したキャンバスサイズに基づいてキャンバス生成ユニット352がキャンバスを生成するのを制御する。その後、ステップS2へ移る。 Step S1: The control unit 37 controls the canvas generation unit 352 to generate a canvas based on the canvas size set by the editing module device 10. After that, the process proceeds to step S2.

ステップS2:制御部37が、フォント取得ユニット355がフォント記憶ユニット351からフォント情報に対応するフォントを取得するのを制御する。その後、ステップS3へ移る。 Step S2: The control unit 37 controls the font acquisition unit 355 to acquire the font corresponding to the font information from the font storage unit 351. After that, the process proceeds to step S3.

ステップS3:制御部37が、フォント取得部33が印刷対象ファイルから順番に取得する各文字を現在処理中の文字とするのを制御する。その後、ステップS4へ移る。 Step S3: The control unit 37 controls that each character acquired by the font acquisition unit 33 in order from the print target file is set as the character currently being processed. After that, the process proceeds to step S4.

ステップS4:制御部37が、判定部34がフォント記憶部31に基づいて現在処理中の文字が汎用文字であるか限定文字であるかを判定するのを制御する。判定結果が限定文字である場合はステップS5へ移り、判定結果が汎用文字である場合はステップS7へ移る。 Step S4: The control unit 37 controls the determination unit 34 to determine whether the character currently being processed is a general-purpose character or a limited character based on the font storage unit 31. If the determination result is a limited character, the process proceeds to step S5, and if the determination result is a general-purpose character, the process proceeds to step S7.

ステップS5:制御部37が、変換規則検索ユニット353が変換規則記憶部32から検索したフォント情報及び現在処理中の文字に対応する変換規則を検索するのを制御する。その後、ステップS6へ移る。 Step S5: The control unit 37 controls the conversion rule search unit 353 to search for the font information searched from the conversion rule storage unit 32 and the conversion rule corresponding to the character currently being processed. After that, the process proceeds to step S6.

ステップS6:制御部37が、変換規則実行ユニット354が変換規則検索ユニット353によって検索された変換規則に基づいて現在処理中の文字に対して縦書き変換処理を行って縦書き文字を得るのを制御する。その後、ステップS8へ移る。 Step S6: The control unit 37 performs vertical writing conversion processing on the character currently being processed based on the conversion rule searched by the conversion rule search unit 353 by the conversion rule execution unit 354 to obtain vertical writing characters. Control. After that, the process proceeds to step S8.

ステップS7:制御部37が、変換規則実行ユニット354が直接現在処理中の文字を縦書き文字とするのを制御する。その後、ステップS8へ移る。 Step S7: The control unit 37 controls the conversion rule execution unit 354 to directly set the character currently being processed as a vertical writing character. After that, the process proceeds to step S8.

ステップS8、制御部37が、フォント取得ユニット355によって取得されたフォントに基づいて文字形成ユニット356が縦書き文字をキャンバス中の対応位置に描画(生成)するのを制御する。その後、ステップS9へ移る。 In step S8, the control unit 37 controls the character forming unit 356 to draw (generate) vertically written characters at the corresponding positions in the canvas based on the font acquired by the font acquisition unit 355. After that, the process proceeds to step S9.

ステップS9:制御部37が、印刷対象ファイル中の全部の文字がすべて処理されたかどうか(キャンバスに描画されたかどうか)を判断し、判断がYESである場合、キャンバス上の全ての文字の縦書き印刷画像が形成され、ステップS10へ移る。判断がNOである場合、ステップS3へ移る。 Step S9: The control unit 37 determines whether all the characters in the print target file have been processed (whether they have been drawn on the canvas), and if the determination is YES, the vertical writing of all the characters on the canvas. A printed image is formed, and the process proceeds to step S10. If the determination is NO, the process proceeds to step S3.

ステップS10:制御部37が、縦書き印刷画像出力部36が縦書き印刷画像を出力するのを制御する。 Step S10: The control unit 37 controls the vertical print image output unit 36 to output the vertical print image.

本発明の実施例は、縦書き印刷画像生成装置30によって印刷対象ファイル中の文字の内容を処理して、文字ライブラリを持たない軽量印刷機器が縦書き印刷を行うための縦書き印刷画像を生成する縦書き印刷画像生成方法を提供している。該方法は、
横書きと縦書きの両方に通用する汎用文字、及び、横書きにだけ適用する限定文字を記憶するステップと、
異なる限定文字にそれぞれ対応する、限定文字を縦書きに変換するための複数の変換規則を記憶するステップと、
印刷対象ファイルから順番に取得する各文字を現在処理中の文字とするのを制御し、現在処理中の文字が汎用文字であるか限定文字であるかを判断し、そして、限定文字であると判断された時は、現在処理中の文字に対応する変換規則を検索すると共に、検索された変換規則に基づいて現在処理中の文字に対して縦書き変換処理を行った後で該文字を生成し、汎用文字であると判断された時は、現在処理中の文字を生成するステップと、
印刷対象ファイルにある全部の文字をすべて処理した後に、縦書き印刷画像を軽量印刷機器に出力するステップと、
を含む。
In an embodiment of the present invention, the vertical print image generation device 30 processes the contents of characters in a print target file to generate a vertical print image for a lightweight printing device having no character library to perform vertical print. Provides a method for generating a vertical print image. The method is
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 print target file, the step to output the vertical print image to the lightweight printing device,
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 modification, the conversion rule storage unit 32 specifically stores all the limited characters of all the fonts and a plurality of conversion rules corresponding to each limited character of each font type. That is, all the home-only characters in each font correspond to one corresponding conversion rule.

例えば、「。(フォントA)」が対応する変換規則は「X軸に沿ったオフセット且つY軸に沿ったオフセット」であり、「。(フォントB)」が対応する変換規則は「X軸に沿ったオフセット且つY軸に沿ったオフセット」であり、「。(フォントC)」が対応する変換規則は「X軸に沿ったオフセット且つY軸に沿ったオフセット」であり、・・・・・「
(外3)

Figure 0007006753000003
(フォントA)」が対応する変換規則は「Y軸に沿った左右反転と、X軸に沿ったオフセット且つY軸に沿ったオフセット」であり、・・・・。 For example, the conversion rule corresponding to ". (Font A)" is "offset along the X-axis and the offset along the Y-axis", and the conversion rule corresponding to ". (Font B)" is "on 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)
Figure 0007006753000003
(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は異なるタイプのフォントである。 Note that font A, font B, and font C are different types of fonts.

<実施例の作用と効果>
本発明に記載の縦書き印刷画像生成装置によれば、文字記憶部と、変換規則記憶部と、文字取得部と、判定部と、変換処理部と、縦書き印刷画像出力部と、を備え、字符号記憶部が汎用文字及び限定文字を記憶し、変換規則記憶部が限定文字を縦書きに変換するための複数の変換規則を記憶し、異なる限定文字は複数の変換規則中の一つの変換規則にそれぞれ対応し、文字取得部によって印刷対象ファイルから順番に取得する各文字を現在処理中の文字とし、判定部によって現在処理中の文字が前記汎用文字であるか前記限定文字であるかを判断し、その後、全ての文字が処理されて縦書き印刷画像が生成されるまで、異なる判定結果に対して変換処理部が現在処理中の文字に対してそれぞれ異なる処理を行い、縦書き印刷画像出力部によって縦書き印刷画像を軽量印刷機器へ出力する。よって、該縦書き印刷画像生成装置によって、文字ライブラリを持たない軽量印刷機器が縦書き印刷を行うための縦書き印刷画像を生成することができ、文字ライブラリを持たない軽量印刷機器の縦書き印刷の問題を解決した。
<Action and effect of Examples>
The vertical writing image generation device according to 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 writing 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. Each character that corresponds to each conversion rule and is sequentially acquired from the print target file by the character acquisition unit is regarded 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 vertical writing printing is performed. The image output unit outputs a vertical print image to a lightweight printing device. Therefore, the vertical writing image generation device can generate a vertical writing image for a lightweight printing device that does not have a character library to perform vertical writing printing, and vertical writing 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. It is possible to generate the character after performing the vertical writing conversion processing 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 generate 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 writing 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 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 for font information and conversion rules 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 the vertical writing character based on the font acquired by the font acquisition unit and is in the vertical writing 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 inversion, 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 preferable example of the present invention, and is not intended to limit the protection range of the present invention.

Claims (9)

印刷対象ファイル中の文字の内容を処理して、文字ライブラリを持たない軽量印刷機器が縦書き印刷を行うための縦書き印刷画像を生成する、縦書き印刷画像生成装置であって、
文字記憶部と、変換規則記憶部と、文字取得部と、判定部と、変換処理部と、縦書き印刷画像出力部と、制御部と、を備え、
前記文字記憶部は、横書きと縦書きの両方に通用する汎用文字、及び、横書きにだけ適用する限定文字を記憶し、
前記変換規則記憶部は、異なる前記限定文字にそれぞれ対応する、前記限定文字を縦書きに変換するための複数の変換規則を記憶し、
制御部は、前記文字取得部が前記印刷対象ファイルから順番に取得する各文字を現在処理中の文字とするのを制御し、前記判定部が前記文字記憶部に基づいて前記現在処理中の文字が前記汎用文字であるか前記限定文字であるかを判定するのを制御し、そして、前記限定文字であると判断された時は、前記変換処理部が前記変換規則記憶部から前記現在処理中の文字に対応する前記変換規則を検索すると共に検索された前記変換規則に基づいて前記現在処理中の文字に対して縦書き変換処理を行った後で該文字を生成するのを制御し、前記汎用文字であると判断された時は、前記変換処理部が前記現在処理中の文字を生成するのを制御し、さらに、前記印刷対象ファイルにある全部の文字をすべて処理した後に、生成された縦書き印刷画像を前記縦書き印刷画像出力部が前記軽量印刷機器に出力するのを制御し、
前記変換規則が、回転、左右反転、オフセットの内の少なくとも一種類を含み、
前記回転が、90度回転、180度回転、270度回転の内の任意の一種類を含み、
前記左右反転が、Y軸に沿った左右反転であり、
前記オフセットが、Y軸に沿ったオフセット、又は、X軸に沿ったオフセット且つY軸に沿ったオフセットである、
ことを特徴とする、縦書き印刷画像生成装置。
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 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, corresponding to different limited characters.
The control unit controls that the character acquisition unit sequentially acquires each character 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 of is searched, and the character currently being processed is controlled to be generated after the vertical writing conversion processing is performed based on the searched conversion rule. When it is determined to be a general-purpose character, it is controlled by the conversion processing unit to generate the character currently being processed, and further, it is generated after processing all the characters in the print target file. Controlling the vertical writing image output unit to output the vertical writing image to the lightweight printing device,
The conversion rule includes at least one of rotation, left-right inversion, and offset.
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.
A vertical printing image generator, which is characterized by this.
前記印刷対象ファイルが前記縦書き印刷画像のフォントタイプのフォント情報も含み、
前記変換処理部が、フォント記憶ユニットと、変換規則検索ユニットと、変換規則実行ユニットと、フォント取得ユニットと、文字形成ユニットと、を含み、
前記フォント記憶ユニットは、前記文字の異なるタイプのフォントを記憶し、
前記変換規則検索ユニットは、前記変換規則記憶部から前記現在処理中の文字に対応する前記変換規則を検索し、
前記変換規則実行ユニットは、前記変換規則検索ユニットによって検索された前記変換規則に基づいて、前記現在処理中の文字に対して縦書き変換処理を行って縦書き文字を取得し、
前記フォント取得ユニットは、前記フォント記憶ユニットから前記フォント情報に対応する前記フォントを取得し、
前記文字形成ユニットは、前記フォント取得ユニットによって取得された前記フォントに基づいて、前記縦書き文字を前記縦書き印刷画像中の対応位置に生成する、
ことを特徴とする、請求項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 vertical writing characters.
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 image is generated.
前記印刷対象ファイルが前記縦書き印刷画像のフォントタイプのフォント情報も含み、
前記変換処理部が、フォント記憶ユニットと、変換規則検索ユニットと、変換規則実行ユニットと、フォント取得ユニットと、文字形成ユニットと、を含み、
前記フォント記憶ユニットは、前記文字の異なるタイプのフォントを記憶し、
前記変換規則記憶部は、異なるタイプの前記フォント情報及び異なる前記限定文字にそれぞれ対応する複数の変換規則を記憶し、
前記変換規則検索ユニットは、前記変換規則記憶部から前記フォント情報及び前記現在処理中の文字に対応する前記変換規則を検索し、
前記変換規則実行ユニットは、前記変換規則検索ユニットによって検索された前記変換規則に基づいて、前記現在処理中の文字に対して縦書き変換処理を行って縦書き文字を取得し、
前記フォント取得ユニットは、前記フォント記憶ユニットから前記フォント情報に対応する前記フォントを取得し、
前記文字形成ユニットは、前記フォント取得ユニットによって取得された前記フォントに基づいて、前記縦書き文字を前記縦書き印刷画像中の対応位置に生成する、
ことを特徴とする、請求項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 conversion rule corresponding to the font information and 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 vertical writing characters.
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 image is generated.
前記変換規則記憶部が、異なるタイプの前記限定文字及び各種タイプの前記限定文字に対応する複数の前記変換規則を記憶する、
ことを特徴とする、請求項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 image is generated.
前記限定文字が、
対応する前記変換規則が、X軸に沿ったオフセット且つY軸に沿ったオフセットである、第一類限定文字と、
対応する前記変換規則が、Y軸に沿った左右反転と、X軸に沿ったオフセット且つY軸に沿ったオフセットである第二類限定文字と、
対応する前記変換規則が、90度回転である第三類限定文字と、
対応する前記変換規則が、90度回転且つY軸に沿った左右反転である第四類限定文字と、
対応する前記変換規則が、90度回転且つY軸に沿ったオフセットである第五類限定文字と、
対応する前記変換規則が、180度回転と、X軸に沿ったオフセット且つY軸に沿ったオフセットである第六類限定文字と、
対応する前記変換規則が、270度回転且つY軸に沿った左右反転である第七類限定文字と、
対応する前記変換規則が、90度回転且つY軸に沿った左右反転である第八類限定文字と、
を含む、
ことを特徴とする、請求項に記載の縦書き印刷画像生成装置。
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 and a second-class limited character that is an offset along the X-axis and an 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 and a sixth-class limited character, which is an offset along the X-axis and an offset along the Y-axis.
The corresponding conversion rule is the seventh-class limited character, which is rotated 270 degrees and flipped horizontally along the Y axis.
The corresponding conversion rule is the eighth-class limited character, which is rotated 90 degrees and flipped horizontally along the Y axis.
including,
The vertical print image generation device according to claim 4 , wherein the image is generated.
前記変換規則記憶部が、全部の前記限定文字及び各前記限定文字にそれぞれ対応する複数の前記変換規則を記憶する、
ことを特徴とする、請求項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 image is generated.
印刷対象ファイル中の文字の内容を処理して、文字ライブラリを持たない軽量印刷機器が縦書き印刷を行うための縦書き印刷画像を生成する、縦書き印刷画像生成方法であって、
横書きと縦書きの両方に通用する汎用文字、及び、横書きにだけ適用する限定文字を記憶するステップと、
異なる前記限定文字にそれぞれ対応する、前記限定文字を縦書きに変換するための複数の変換規則を記憶するステップと、
前記印刷対象ファイルから順番に取得する各文字を現在処理中の文字とするのを制御し、前記現在処理中の文字が前記汎用文字であるか前記限定文字であるかを判断し、そして、前記限定文字であると判断された時は、前記現在処理中の文字に対応する前記変換規則を検索すると共に、検索された前記変換規則に基づいて前記現在処理中の文字に対して縦書き変換処理を行った後で該文字を生成し、前記汎用文字であると判断された時は、前記現在処理中の文字を生成するステップと、
前記印刷対象ファイルにある全部の文字をすべて処理した後に、前記縦書き印刷画像を前記軽量印刷機器に出力するステップと、
を含み、
前記変換規則が、回転、左右反転、オフセットの内の少なくとも一種類を含み、
前記回転が、90度回転、180度回転、270度回転の内の任意の一種類を含み、
前記左右反転が、Y軸に沿った左右反転であり、
前記オフセットが、Y軸に沿ったオフセット、又は、X軸に沿ったオフセット且つY軸に沿ったオフセットである、
ことを特徴とする、縦書き印刷画像生成方法。
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 into vertical writing, corresponding to different limited characters, respectively.
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 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
The conversion rule includes at least one of rotation, left-right inversion, and offset.
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.
A method for generating a vertical print image, which is characterized by the fact that.
印刷対象ファイル中の文字の内容を処理して縦書き印刷画像を生成すると共に、文字ライブラリを持たない軽量印刷機器へ該縦書き印刷画像を送信して印刷を行う、モバイル機器であって、
印刷対象ファイルを取得する、印刷対象ファイル取得モジュール装置と、
前記印刷対象ファイル中の文字の内容を処理して縦書き印刷画像を生成すると共に、前記縦書き印刷画像を前記軽量印刷機器へ送信する、縦書き印刷画像生成装置と、
を備え、
前記縦書き印刷画像生成装置が、請求項1からのいずれか一項に記載の縦書き印刷画像生成装置である、
ことを特徴とする、モバイル機器。
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.
The print target file acquisition module device that acquires the print target file, and
A vertical print image generation device 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.
Equipped with
The vertical print image generator is the vertical print image generator according to any one of claims 1 to 6 .
A mobile device that features that.
縦書き印刷システムであって、
印刷対象ファイルを取得するとともに、前記印刷対象ファイル中の文字の内容を処理して縦書き印刷画像を生成した後で出力するモバイル機器と、
前記モバイル機器と通信接続し、前記モバイル機器から前記縦書き印刷画像を受信すると共に前記縦書き印刷画像を印刷する印刷機器と、
を備え、
前記モバイル機器が、請求項に記載のモバイル機器であり、前記印刷機器が、文字ライブラリを持たない軽量印刷機器である、
ことを特徴とする、縦書き印刷システム。
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.
Equipped with
The mobile device is the mobile device according to claim 8 , and the printing device is a lightweight printing device having no character library.
A vertical printing system that features this.
JP2020177274A 2019-10-25 2020-10-22 Vertical printing image generator, method, mobile terminal and vertical writing system Active JP7006753B2 (en)

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 JP2021068445A (en) 2021-04-30
JP7006753B2 true 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)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101682789B1 (en) * 2014-08-25 2016-12-05 한온시스템 주식회사 Heat exchanger

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117707443B (en) * 2024-02-05 2024-04-26 珠海芯烨电子科技有限公司 Local word stock management method and related device for thermal printer

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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 (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07115493B2 (en) * 1986-08-13 1995-12-13 アルプス電気株式会社 Aspect conversion printing method
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
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

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101682789B1 (en) * 2014-08-25 2016-12-05 한온시스템 주식회사 Heat exchanger

Also Published As

Publication number Publication date
CN112799609A (en) 2021-05-14
JP2021068445A (en) 2021-04-30
CN112799609B (en) 2024-03-15

Similar Documents

Publication Publication Date Title
JP7006753B2 (en) Vertical printing image generator, method, mobile terminal and vertical writing system
JP2692081B2 (en) Image memory address control method
US20150077773A1 (en) Image forming method, non-transitory computer readable storage medium stored with program for image forming system, and image forming system
JP4577907B2 (en) Image processing apparatus, image forming apparatus, and printing system
JP3009525B2 (en) Vector image drawing equipment
JP6053491B2 (en) Information processing apparatus, program, and control method
CN1113583A (en) Image recording apparatus and control method thereof
US20160277637A1 (en) Image processing apparatus, image forming apparatus, and non-transitory computer readable medium
JPH02224079A (en) Device and method for generating character pattern
US8390827B2 (en) Drawing processing apparatus, image outputting apparatus, method for drawing processing and computer readable medium
JP4785601B2 (en) Image forming apparatus
JP2001270167A (en) Printer and network print system
JP2005275545A (en) Document print controller, document print control method and document print control program
JP2006218819A (en) Image formation apparatus, image processing apparatus, program, and image processing method
JPH10304180A (en) Drawing processor and drawing processing method
US20040257371A1 (en) Pipelined architecture for high speed raster image processor
JP2009066926A (en) Image processing device and image forming system
JP3419450B2 (en) Pixel data processing apparatus and method
JP2006154912A (en) Document display, print system, method and storage medium
JPS59201870A (en) Printer
JP4325339B2 (en) Printing system, host computer and printer driver
JP2008187228A (en) Image processing system, image processing apparatus, print controller, image processing program, and print control program
JP2827838B2 (en) Print data transmission method
JPH04327966A (en) Image forming device
JP2008065526A (en) Variable printing system, print management device, printer, and variable print program

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