CN112799609B - Vertical printing image generation device, method, mobile device and vertical printing system - Google Patents

Vertical printing image generation device, method, mobile device and vertical printing system Download PDF

Info

Publication number
CN112799609B
CN112799609B CN201911021915.XA CN201911021915A CN112799609B CN 112799609 B CN112799609 B CN 112799609B CN 201911021915 A CN201911021915 A CN 201911021915A CN 112799609 B CN112799609 B CN 112799609B
Authority
CN
China
Prior art keywords
character
vertical
characters
conversion
conversion rule
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
CN201911021915.XA
Other languages
Chinese (zh)
Other versions
CN112799609A (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
Priority to CN201911021915.XA priority Critical patent/CN112799609B/en
Priority to JP2020177274A priority patent/JP7006753B2/en
Publication of CN112799609A publication Critical patent/CN112799609A/en
Application granted granted Critical
Publication of CN112799609B publication Critical patent/CN112799609B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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)

Abstract

The invention provides a vertical printing image generating device, which processes character content in a file to be printed to generate a vertical printing image for vertical printing by a lightweight printing device without a character library, and has the characteristics that: the device comprises a character storage part, a conversion rule storage part, a character acquisition part, a judging part, a conversion processing part, a vertical-row printed image output part and a control part, wherein the character storage part stores universal characters and limiting characters, the conversion rule storage part stores a plurality of conversion rules which are respectively corresponding to different limiting characters and are used for carrying out vertical typesetting conversion on the limiting characters, and the control part controls the parts to process all characters of a file to be printed to generate a vertical-row printed image and output the vertical-row printed image to lightweight printing equipment. The invention also provides a vertical printing image generation method, mobile equipment comprising the vertical printing image generation device and a vertical printing system.

Description

Vertical printing image generation device, method, mobile device and vertical printing system
Technical Field
The invention relates to the field of printers, in particular to a device and a method for generating a vertical printing image, mobile equipment and a vertical printing system.
Background
With the development of printing technology, lightweight printers are becoming more and more widely used. However, the word processing capability of the lightweight printer is limited, and the generation of vertical writing (vertical line) words cannot be realized inside the printer, and the vertical writing words need to be generated on the mobile device and then sent to the lightweight printer for execution.
The existing mobile equipment cannot generate vertical writing characters and can only output horizontal writing characters as vertical writing characters. Since some characters have different forms of horizontal writing characters and vertical writing characters, some characters are not in practice in so-called vertical-line characters printed by a lightweight printer in such cases.
Therefore, in the prior art, only the horizontal writing character printing can be realized through the lightweight printer and the mobile device, but the vertical writing character printing cannot be realized.
Disclosure of Invention
The present invention has been made to solve the above-described problems, and an object of the present invention is to provide a vertical printing image generating apparatus, a method, a mobile device, and a vertical printing system.
The invention provides a vertical printing image generating device, which processes character content in a file to be printed to generate a vertical printing image for vertical printing by a lightweight printing device without a character library, and has the characteristics that: the character storage part stores general characters which can be used for general typesetting and limited characters which are only applicable to the general typesetting, the conversion rule storage part stores a plurality of conversion rules which are respectively corresponding to different limited characters and are used for carrying out vertical typesetting conversion on the limited characters, the control part controls the character acquisition part to sequentially acquire each character from a file to be printed as a current processing character, the control judgment part judges whether the current processing character is the general character or the limited character according to the character storage part, controls the conversion processing part when the limited characters are judged, retrieves the conversion rule corresponding to the current processing character from the conversion rule storage part, generates the current processing character after carrying out vertical typesetting conversion processing on the current processing character according to the retrieved conversion rule, and controls the conversion processing part to generate the current processing character when the limited characters are judged to be the general characters, and further controls the vertical printing image output part to output the generated vertical printing image to the light-weight printing equipment after all the characters in the file to be printed are processed.
In the vertical-line print image generating apparatus provided by the present invention, it may further have the feature that: the print file further comprises font information of the font type of the vertically-arranged print image, the conversion processing part comprises a font storage unit, a conversion rule retrieval unit, a conversion rule running unit, a font acquisition unit and a character forming unit, the font storage unit stores fonts of different types of characters, the conversion rule retrieval unit retrieves conversion rules corresponding to the currently-processed characters from the conversion rule storage part, the conversion rule running unit performs vertical typesetting conversion processing on the currently-processed characters according to the conversion rules retrieved by the conversion rule retrieval unit to obtain vertically-arranged characters, the font acquisition unit acquires fonts corresponding to the font information from the font storage unit, and the character forming unit generates the vertically-arranged characters at corresponding positions in the vertically-arranged print image according to the fonts acquired by the font acquisition unit.
In the vertical-line print image generating apparatus provided by the present invention, it may further have the feature that: the conversion processing part comprises a font storage unit, a conversion rule retrieval unit, a conversion rule running unit, a font acquisition unit and a character forming unit, wherein the font storage unit stores fonts of different types of characters, the conversion rule storage unit stores a plurality of conversion rules corresponding to the fonts of different types and different limiting characters respectively, the conversion rule retrieval unit retrieves conversion rules corresponding to the font information and the current processing characters from the conversion rule storage unit, the conversion rule running unit performs vertical typesetting conversion processing on the current processing characters according to the conversion rules retrieved by the conversion rule retrieval unit to obtain vertical typesetting characters, the font acquisition unit acquires fonts corresponding to the font information from the font storage unit, and the character forming unit generates the vertical typesetting characters at corresponding positions in the vertical typesetting printing images according to the fonts acquired by the font acquisition unit.
In the vertical-line print image generating apparatus provided by the present invention, it may further have the feature that: wherein the conversion rule includes at least one of rotation, mirroring, and offset.
In the vertical-line print image generating apparatus provided by the present invention, it may further have the feature that: wherein the rotation includes any one of rotation 90 °, rotation 180 °, and rotation 270 °, the mirror image being a mirror image along the Y-axis, the offset being offset along the Y-axis or along the X-axis and offset along the Y-axis.
In the vertical-line print image generating apparatus provided by the present invention, it may further have the feature that: wherein the conversion rule storage section stores different types of defined characters and a plurality of conversion rules corresponding to each type of defined characters.
In the vertical-line print image generating apparatus provided by the present invention, it may further have the feature that: wherein defining the character comprises: a first class of defined characters whose corresponding conversion rules are offset along the X-axis and offset along the Y-axis, a second class of defined characters whose corresponding conversion rules are mirror images along the Y-axis, offset along the X-axis and offset along the Y-axis, a third class of defined characters whose corresponding conversion rules are rotated 90 °, a fourth class of defined characters whose corresponding conversion rules are rotated 90 ° and mirror images along the Y-axis, a fifth class of defined characters whose corresponding conversion rules are rotated 90 ° and offset along the Y-axis, a sixth class of defined characters whose corresponding conversion rules are rotated 180 °, offset along the X-axis and offset along the Y-axis, a seventh class of defined characters whose corresponding conversion rules are rotated 270 ° and mirror images along the Y-axis, and an eighth class of defined characters whose corresponding conversion rules are rotated 90 ° and mirror images along the Y-axis.
In the vertical-line print image generating apparatus provided by the present invention, it may further have the feature that: the conversion rule storage unit stores all the defined characters and a plurality of conversion rules corresponding to each defined character.
The invention provides a vertical printing image generation method, which processes character content in a file to be printed to generate a vertical printing image for vertical printing by a lightweight printing device without a character library, and is characterized by comprising the following steps: storing general characters which can be used in common in both the horizontal typesetting and the vertical typesetting and limited characters which are only suitable for the horizontal typesetting, storing a plurality of conversion rules which respectively correspond to different limited characters and are used for carrying out vertical typesetting conversion on the limited characters, controlling to sequentially acquire each character from a file to be printed as a current processing character, judging whether the current processing character is the general character or the limited character, retrieving the conversion rule corresponding to the current processing character when the current processing character is judged to be the limited character, generating the character after carrying out vertical typesetting conversion on the current processing character according to the retrieved conversion rule, generating the current processing character when the current processing character is judged to be the general character, and outputting a generated vertical typesetting printing image to lightweight printing equipment after all characters in the file to be printed are processed.
The invention provides a mobile device, which processes character content in a file to be printed to generate a vertical-row printing image, and sends the vertical-row printing image to a lightweight printing device without a character library for printing, and has the characteristics that: the file to be printed obtaining module device obtains a file to be printed; and the vertical-row printing image generating device is used for processing character content in the file to be printed to generate a vertical-row printing image and sending the vertical-row printing image to the lightweight printing equipment, wherein the vertical-row printing image generating device is any one of the vertical-row printing image generating devices.
The present invention provides a vertical printing system having the features of: the mobile equipment acquires a file to be printed, processes character content in the file to be printed to generate a vertical-row printed image and outputs the vertical-row printed image; and the printing equipment is in communication connection with the mobile equipment, receives the vertical-row printing image from the mobile equipment and prints the vertical-row printing image, wherein the mobile equipment is the mobile equipment, and the printing equipment is a lightweight printing equipment without a character library.
Effects and effects of the invention
According to the vertical printing image generating device, the character storage part, the conversion rule storage part, the character acquisition part, the judging part, the conversion processing part and the vertical printing image output part are included, the character storage part stores universal characters and limiting characters, the conversion rule storage part stores a plurality of conversion rules for carrying out vertical typesetting conversion on the limiting characters, different limiting characters respectively correspond to one conversion rule in the plurality of conversion rules, each character can be sequentially acquired from a file to be printed as a current processing character through the character acquisition part, the judging part can judge whether the current processing character is the universal characters or the limiting characters, then different processing is carried out on the current processing character according to different judging results, until all the characters are processed to generate a vertical printing image, and the vertical printing image is output to a light-weight printing device through the vertical printing image output part, so that the vertical printing image for the light-weight printing device without a character library can be generated, and the vertical printing problem of the light-weight printing device without the character library is solved.
Further, when the determination section determines that the currently processed character is a limited character, the conversion processing section is capable of retrieving a conversion rule corresponding to the currently processed character from the conversion rule storage section, performing vertical typesetting conversion processing on the currently processed character according to the conversion rule, and generating the character; when the judging part judges that the current processing character is the universal character, the conversion processing part can generate the current processing character, so that all limited characters which are only suitable for horizontal typesetting in the file to be printed can be processed into vertical typesetting characters, and all the universal characters in the file to be printed are directly used as the vertical typesetting characters, thereby realizing the generation of the vertical typesetting printed image.
According to the vertical printing system, the mobile equipment and the printing equipment are in communication connection, and the mobile equipment comprises the vertical printing image generating device, and the printing equipment is a lightweight printing equipment without a character library, so that a file to be printed can be acquired through the mobile equipment, a vertical printing image is generated and then output, and then the vertical printing image is directly printed through the printing equipment, and the mobile equipment and the printing equipment are mutually matched, so that on one hand, the vertical printing of the lightweight printing equipment can be realized; on the other hand, such a printing apparatus itself has no character library, and thus can be made more lightweight and compact, which is advantageous as a lightweight printing apparatus.
Drawings
FIG. 1 is a block diagram of a vertical printing system in an embodiment of the invention;
fig. 2 is a block diagram of a configuration of a vertical-line print image generating apparatus in an embodiment of the present invention; and
fig. 3 is a flowchart of the operation of the vertical-print-image generating apparatus to generate a vertical-print image in the embodiment of the present invention.
Detailed Description
In order to make the technical means, creation features, achievement of objects and effects achieved by the present invention easy to understand, the following embodiments specifically describe the vertical printing image generating device, the mobile device and the vertical printing system of the present invention with reference to the accompanying drawings.
< example >
Fig. 1 is a block diagram of a vertical printing system in an embodiment of the present invention.
As shown in fig. 1, the vertical printing system 300 includes a mobile device 100 and a printing device 200.
The mobile device 100 includes an editing module apparatus 10, a file to be printed acquisition module apparatus 20, and a vertical print image generation apparatus 30. The mobile device 100 may be a smart phone, a laptop computer, a PDA (personal digital assistant), etc.
The editing module apparatus 10 allows a user to edit text to form a document to be printed and to set the size of a canvas. The editing module means 10 is, for example, software for inputting, editing, and typesetting a document. The print file includes character content and font types for vertical printing.
The to-be-printed file acquisition module device 20 acquires a to-be-printed file from the editing module device 10 or from the outside. The external acquisition may be acquired from an external mobile device, a storage device or other devices, and the specific mode of acquisition may be acquired by a communication connection mode or an interface connection mode or other modes.
Fig. 2 is a block diagram of a configuration of a vertical printing image generating apparatus in the embodiment of the present invention.
As shown in fig. 2, the vertical print image generating apparatus 30 includes a character storage section 31, a conversion rule storage section 32, a character acquisition section 33, a determination section 34, a conversion processing section 35, a vertical print image output section 36, and a control section 37. The vertical-line print image generating means 30 is for processing the character content in the document to be printed to generate a vertical-line print image.
The character storage section 31 stores common characters that can be used in both the horizontal layout and the vertical layout, and limited characters that are applicable only to the horizontal layout.
The conversion rule storage section 32 stores a plurality of conversion rules for vertically typesetting conversion of the defined characters, corresponding to different types of fonts of the characters and different defined characters, respectively. The conversion rule includes at least one of rotation, mirroring, and offset. Rotation includes any one of rotation 90 °, rotation 180 °, and rotation 270 °, mirroring being mirroring along the Y-axis, offset along the Y-axis or offset along the X-axis and offset along the Y-axis. There is no order between rotation, mirroring and offset.
In the present embodiment, the conversion rule storage section 32 specifically stores different types of defined characters and a plurality of conversion rules corresponding to each type of defined characters.
The types of the limiting characters comprise specific limiting characters and fonts, and the types of the limiting characters comprise:
the first class defines characters whose corresponding conversion rules are offset along the X-axis and offset along the Y-axis. The first class of defined characters includes, for example. (all fonts) ".
The second class defines characters whose corresponding conversion rules are mirrored along the Y-axis, offset along the X-axis, and offset along the Y-axis. The second class of defined characters includes, for example, "(all fonts)",
the third class defines characters whose corresponding conversion rules are rotated 90 °. The third class of defined characters includes, for example "+|! (all fonts) "," half angle english characters (all fonts) ". The half-angle english characters are, for example, a, b, c.
The fourth class defines characters whose corresponding conversion rules are rotated 90 ° and mirrored along the Y-axis. The fourth class of defined characters includes, for example, "(all fonts) ".
The fifth class defines characters whose corresponding conversion rules are rotated 90 ° and offset along the Y-axis. The fifth class of defined characters includes, for example, "g (all fonts)".
The sixth class defines characters whose corresponding conversion rules are rotated 180 °, offset along the X-axis, and offset along the Y-axis. The sixth class of defined characters includes, for example, "' (all fonts)".
The seventh class defines characters whose corresponding conversion rules are rotated 270 ° and mirrored along the Y-axis. The seventh class of defined characters includes, for example, "one (font a)".
The eighth class defines characters whose corresponding conversion rules are rotated 90 ° and mirrored along the Y-axis. The eighth class of defined characters includes, for example, "one (font B)".
Wherein, the fonts A and B are different types of fonts.
The character acquiring section 33 sequentially acquires each character from the document to be printed as a currently processed character.
The determination section 34 determines whether the currently processed character is a general character or a limited character based on the character storage section 31.
The conversion processing section 35 includes a font storage unit 351, a canvas forming unit 352, a conversion rule retrieving unit 353, a conversion rule running unit 354, a font acquiring unit 355, and a character forming unit 356.
The font storage unit 351 stores different types of fonts of characters, that is, different drawing manners of the characters.
The canvas forming unit 352 generates a canvas according to the size of the canvas set by the editing module apparatus 10. The font acquisition unit 355 acquires a font corresponding to the font information from the font storage unit 351.
When the determination section 34 determines that the currently processed character is a limiting character, the conversion rule retrieving unit 353 retrieves a conversion rule corresponding to the font information and the currently processed character from the conversion rule storage section 32. The conversion rule running unit 354 performs vertical layout conversion processing on the currently processed character according to the conversion rule retrieved by the conversion rule retrieving unit 353, to obtain a vertical layout character. The vertical typesetting conversion processing is to perform rotation, mirroring, offset and other processing on the pre-processed characters according to the conversion rule.
When the determination section 34 determines that the currently processed character is a common character, the conversion rule running unit 354 directly regards the currently processed character as a vertical layout character.
The character forming unit 356 depicts (generates) the vertically-typeset character in a corresponding position in the canvas according to the font acquired by the font acquiring unit 355.
When all characters in the document to be printed are processed, all characters on the canvas form a vertical print image, and the vertical print image output section 36 outputs the vertical print image.
The control section 37 is for controlling operations of the character storage section 31, the conversion rule storage section 32, the character acquisition section 33, the determination section 34, the conversion processing section 35, and the vertical print image output section 36. For example, after the start, the control section 37 controls the character acquisition section 33 to acquire each character in turn as the current processing character from the document to be printed, the control determination section 34 determines whether the current processing character is a common character or a limited character based on the character storage section 31, and when the limited character is determined, controls the conversion processing section 35 to retrieve a conversion rule corresponding to the current processing character from the conversion rule storage section 32, and after the current processing character is subjected to vertical layout conversion processing based on the retrieved conversion rule, generates the character, when the general character is determined, controls the conversion processing section 35 to generate the current processing character, and further controls the vertical layout print image output section 36 to output the generated vertical layout print image after the control section 37 determines that all the characters in the document to be printed are processed.
The printing apparatus 200 is a lightweight printing apparatus without character library. The printing device 200 is communicatively connected to the mobile device 100. The communication connection mode can be wifi, bluetooth, cable and other modes. In this implementation, the printing device 200 is connected to the mobile device 100 through wifi communication. The printing apparatus 200 receives data from the vertical print image output section 36 of the mobile apparatus 100 and prints the vertical print image after recognizing the vertical print image from the data.
Fig. 3 is a flowchart of the operation of the vertical-print-image generating apparatus to generate a vertical-print image in the embodiment of the present invention.
As shown in fig. 3, the flow of the actions of the vertical-print-image generating apparatus 30 in this embodiment for generating a vertical-print image includes:
in step S1, the control section 37 controls the canvas forming unit 352 to generate a canvas according to the size of the canvas set by the editing module device 10, and then proceeds to step S2.
In step S2, the control section 37 controls the font acquiring unit 355 to acquire a font corresponding to the font information from the font storing unit 351, and then proceeds to step S3.
In step S3, the control section 37 controls the character acquisition section 33 to sequentially acquire each character from the document to be printed as the currently processed character, and then proceeds to step S4.
Step S4, the control unit 37 controls the determination unit 34 to determine whether the currently processed character is a general character or a limited character based on the character storage unit 31, and when the determination result is a limited character, then proceeds to step S5; when the determination result is a general character, then step S7 is entered.
In step S5, the control unit 37 controls the conversion rule retrieving unit 353 to retrieve the conversion rule corresponding to the font information and the current processing character from the conversion rule storing unit 32, and then proceeds to step S6.
In step S6, the control section 37 controls the conversion rule running unit 354 to perform vertical layout conversion processing on the currently processed character according to the conversion rule retrieved by the conversion rule retrieving unit 353 to obtain a vertical layout character, and then proceeds to step S8.
In step S7, the control section 37 controls the conversion rule running unit 354 to directly take the current processed character as a vertical layout character, and then proceeds to step S8.
In step S8, the control section 37 controls the character forming unit 356 to draw (generate) the vertically-typeset character at a corresponding position in the canvas according to the font acquired by the font acquiring unit 355, and then proceeds to step S9.
Step S9, the control section 37 judges whether all characters in the document to be printed are processed (drawn in the canvas), and when judged yes, all characters on the canvas form a vertical print image, and then proceeds to step S10; when the judgment is no, then step S3 is entered.
In step S10, the control section 37 controls the vertical-line printed image output section 36 to output a vertical-line printed image.
The present embodiment also provides a vertical-line print image generation method that processes character content in a file to be printed by a vertical-line print image generation device 30 to generate a vertical-line print image for vertical-line printing by a lightweight printing apparatus without a character library. The method comprises the following steps:
storing universal characters which can be used in both horizontal typesetting and vertical typesetting and limiting characters which are only applicable to the horizontal typesetting;
storing a plurality of conversion rules for vertically typesetting and converting the defined characters, which correspond to different defined characters respectively;
controlling to sequentially acquire each character from a file to be printed as a current processing character, judging whether the current processing character is a general character or a limited character, retrieving a conversion rule corresponding to the current processing character when the limited character is judged, generating the character after performing vertical typesetting conversion on the current processing character according to the retrieved conversion rule, and generating the current processing character when the general character is judged;
after all characters in the file to be printed are processed, outputting the generated vertical-row printed image to a lightweight printing device.
< modification >
The present modification is a modification of the above-described embodiment, and description of the same portions as those of the embodiment will be omitted. The present modification differs from the above embodiment in that:
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. That is, each defined character of each font corresponds to a respective conversion rule.
For example, ". The corresponding conversion rule of (font a) "is" offset along the X-axis and offset along the Y-axis ",". The corresponding conversion rule of (font B) "is" offset along the X-axis and offset along the Y-axis ",". (font C) "the corresponding conversion rule is" offset along the X-axis and along the Y-axis "," the corresponding conversion rule of "(font a)" is "mirror along the Y-axis, offset along the X-axis and along the Y-axis", "the corresponding conversion rule is" offset along the Y-axis.
The fonts A, B and C are different types of fonts.
Effects and effects of the examples
According to the vertical printing image generating device, the character storage part, the conversion rule storage part, the character acquisition part, the judging part, the conversion processing part and the vertical printing image output part are included, the character storage part stores universal characters and limiting characters, the conversion rule storage part stores a plurality of conversion rules for carrying out vertical typesetting conversion on the limiting characters, different limiting characters respectively correspond to one conversion rule in the plurality of conversion rules, each character can be sequentially acquired from a file to be printed as a current processing character through the character acquisition part, the judging part can judge whether the current processing character is the universal characters or the limiting characters, then different processing is carried out on the current processing character according to different judging results, until all the characters are processed to generate a vertical printing image, and the vertical printing image is output to a light-weight printing device through the vertical printing image output part, so that the vertical printing image for the light-weight printing device without a character library can be generated, and the vertical printing problem of the light-weight printing device without the character library is solved.
Further, when the determination section determines that the currently processed character is a limited character, the conversion processing section can retrieve a conversion rule corresponding to the currently processed character from the conversion rule storage section, and perform vertical typesetting conversion processing on the currently processed character according to the conversion rule, and then generate the character; when the judging part judges that the current processing character is the universal character, the conversion processing part can generate the current processing character, so that all limited characters which are only suitable for horizontal typesetting in the file to be printed can be processed into vertical typesetting characters, and all the universal characters in the file to be printed are directly used as the vertical typesetting characters, thereby realizing the generation of the vertical typesetting printed image.
According to the vertical printing system, the mobile equipment and the printing equipment are in communication connection, and the mobile equipment comprises the vertical printing image generating device, and the printing equipment is a lightweight printing equipment without a character library, so that a file to be printed can be acquired through the mobile equipment, a vertical printing image is generated and then output, and then the vertical printing image is directly printed through the printing equipment, and the mobile equipment and the printing equipment are mutually matched, so that on one hand, the vertical printing of the lightweight printing equipment can be realized; on the other hand, such a printing apparatus itself has no character library, and thus can be made more lightweight and compact, which is advantageous as a lightweight printing apparatus.
In addition, the conversion rule storage part stores a plurality of conversion rules corresponding to different types of fonts and different limiting characters respectively, the conversion rule searching unit can search the conversion rules corresponding to the font information and the current processing characters, and the conversion rule running unit performs vertical typesetting conversion processing on the current processing characters according to the searched conversion rules, so that the problem of vertical typesetting conversion of the limiting characters with different conversion rules of the fonts can be solved.
In addition, the font obtaining unit can obtain the fonts corresponding to the font information, so that the character forming unit can generate the vertical typesetting characters at the corresponding positions in the vertical typesetting print image according to the fonts obtained by the font obtaining unit, and the finally generated vertical typesetting print image meets the requirements of the font information in the file to be printed.
In addition, the conversion rule comprises at least one of rotation, mirror image and offset, so that the problem of vertical typesetting conversion of all characters in actual writing can be solved, and the converted characters meet the requirements of actual writing.
The above embodiments are preferred examples of the present invention, and are not intended to limit the scope of the present invention.

Claims (6)

1. A vertical-line print image generating apparatus that processes character contents in a document to be printed to generate a vertical-line print image for vertical-line printing by a lightweight printing device having no character library, comprising:
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,
wherein the character storage part stores universal characters which can be used in both horizontal typesetting and vertical typesetting and limited characters which are only applicable to the horizontal typesetting,
the conversion rule storage section stores a plurality of conversion rules for vertically typesetting conversion of the defined characters respectively corresponding to the different defined characters,
the control section controls the character acquisition section to sequentially acquire each character from the document to be printed as a currently processed character, controls the determination section to determine whether the currently processed character is the common character or the limited character according to the character storage section, and controls the conversion processing section to retrieve the conversion rule corresponding to the currently processed character from the conversion rule storage section and to perform vertical layout conversion processing on the currently processed character according to the retrieved conversion rule when the limited character is determined, and to generate the character when the common character is determined, controls the conversion processing section to generate the currently processed character, and further controls the vertical-printed image output section to output the generated vertical-printed image to the lightweight printing apparatus after all the characters in the document to be printed are processed,
the conversion rule storage section stores different types of the defined characters and a plurality of the conversion rules corresponding to each type of the defined characters,
the defining character includes:
a first class of defined characters, corresponding to the conversion rules being offset along the X-axis and offset along the Y-axis,
a second class of qualifiers whose corresponding said conversion rules are mirrored along the Y-axis, offset along the X-axis and offset along the Y-axis,
a third class of defined characters, corresponding to the conversion rule rotated by 90,
a fourth class of defined characters, the corresponding conversion rules of which are rotated 90 deg. and mirrored along the Y-axis,
a fifth class of defined characters, corresponding to the conversion rule rotated 90 deg. and offset along the Y-axis,
a sixth class of defined characters, which correspond to the conversion rule being rotated 180, offset along the X-axis and offset along the Y-axis,
a seventh class defines characters, which correspond to the conversion rules rotated 270 deg. and mirrored along the Y-axis,
the eighth class defines characters whose corresponding conversion rules are rotated 90 ° and mirrored along the Y-axis.
2. The vertical-line print image generating apparatus according to claim 1, wherein:
wherein the print file further includes font information of font type of the vertically printed image,
the conversion processing section includes a font storage unit, a conversion rule retrieval unit, a conversion rule operation unit, a font acquisition unit, and a character formation unit,
the font memory unit stores different types of fonts of the characters,
the conversion rule retrieving unit retrieves the conversion rule corresponding to the currently processed character from the conversion rule storage section,
the conversion rule operation unit performs vertical typesetting conversion processing on the current processing character according to the conversion rule retrieved by the conversion rule retrieval unit to obtain a vertical typesetting character,
the font acquiring unit acquires the font corresponding to the font information from the font storing unit,
the character forming unit generates the vertical typesetting characters at corresponding positions in the vertical typesetting print image according to the fonts acquired by the font acquiring unit.
3. The vertical-line print image generating apparatus according to claim 1, wherein:
wherein the print file further includes font information of font type of the vertically printed image,
the conversion processing section includes a font storage unit, a conversion rule retrieval unit, a conversion rule operation unit, a font acquisition unit, and a character formation unit,
the font memory unit stores different types of fonts of the characters,
the conversion rule storage section stores a plurality of the conversion rules corresponding to the fonts of different types and the defined characters of different types respectively,
the conversion rule retrieving unit retrieves the conversion rule corresponding to the font information and the currently processed character from the conversion rule storage section,
the conversion rule operation unit performs vertical typesetting conversion processing on the current processing character according to the conversion rule retrieved by the conversion rule retrieval unit to obtain a vertical typesetting character,
the font acquiring unit acquires the font corresponding to the font information from the font storing unit,
the character forming unit generates the vertical typesetting characters at corresponding positions in the vertical typesetting print image according to the fonts acquired by the font acquiring unit.
4. A vertical printing image generation method processes character content in a file to be printed to generate a vertical printing image for vertical printing by a lightweight printing device without a character library, and is characterized by comprising the following steps:
the universal characters which can be used in both the horizontal typesetting and the vertical typesetting are stored, and the method is only applicable to the limited characters of the horizontal typesetting,
storing a plurality of conversion rules for vertically typesetting and converting the defined characters respectively corresponding to different defined characters,
storing different types of the defined characters and a plurality of the conversion rules corresponding to each type of the defined characters,
the defining character includes:
a first class of defined characters, corresponding to the conversion rules being offset along the X-axis and offset along the Y-axis,
a second class of qualifiers whose corresponding said conversion rules are mirrored along the Y-axis, offset along the X-axis and offset along the Y-axis,
a third class of defined characters, corresponding to the conversion rule rotated by 90,
a fourth class of defined characters, the corresponding conversion rules of which are rotated 90 deg. and mirrored along the Y-axis,
a fifth class of defined characters, corresponding to the conversion rule rotated 90 deg. and offset along the Y-axis,
a sixth class of defined characters, which correspond to the conversion rule being rotated 180, offset along the X-axis and offset along the Y-axis,
a seventh class defines characters, which correspond to the conversion rules rotated 270 deg. and mirrored along the Y-axis,
the eighth class defines characters, whose corresponding conversion rules are rotated 90 deg. and mirrored along the Y-axis,
controlling to sequentially acquire each character from the file to be printed as a current processing character, judging whether the current processing character is the universal character or the limiting character, retrieving the conversion rule corresponding to the current processing character when the limiting character is judged, generating the character after performing vertical typesetting conversion on the current processing character according to the retrieved conversion rule, generating the current processing character when the universal character is judged,
and after all the characters in the file to be printed are processed, outputting the generated vertical-row printed image to the lightweight printing equipment.
5. A mobile device for processing character content in a document to be printed to generate a vertical print image, and for transmitting the vertical print image to a lightweight printing device having no character library for printing, comprising:
the file to be printed obtaining module device obtains a file to be printed;
a vertical-line print image generating device for processing the character content in the file to be printed to generate a vertical-line print image and transmitting the vertical-line print image to the lightweight printing equipment,
wherein the vertical-line printed image generating apparatus is the vertical-line printed image generating apparatus according to any one of claims 1 to 3.
6. A vertical printing system, comprising:
the mobile equipment acquires a file to be printed, processes character content in the file to be printed to generate a vertical-row printed image, and outputs the vertical-row printed image; and
a printing device communicatively connected to the mobile device, receiving the vertical-line print image from the mobile device and printing the vertical-line print image,
wherein the mobile device is the mobile device of claim 5, and the printing device is a lightweight printing device without a character library.
CN201911021915.XA 2019-10-25 2019-10-25 Vertical printing image generation device, method, mobile device and vertical printing system Active CN112799609B (en)

Priority Applications (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
JP2020177274A JP7006753B2 (en) 2019-10-25 2020-10-22 Vertical printing image generator, method, mobile terminal and vertical writing system

Applications Claiming Priority (1)

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

Publications (2)

Publication Number Publication Date
CN112799609A CN112799609A (en) 2021-05-14
CN112799609B true CN112799609B (en) 2024-03-15

Family

ID=75637378

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911021915.XA Active CN112799609B (en) 2019-10-25 2019-10-25 Vertical printing image generation device, method, mobile device and vertical printing system

Country Status (2)

Country Link
JP (1) JP7006753B2 (en)
CN (1) CN112799609B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
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 (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6347148A (en) * 1986-08-13 1988-02-27 Alps Electric Co Ltd Vertical-horizontal direction 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
JP2002273943A (en) * 2001-03-19 2002-09-25 Seiko Epson Corp Printing program for converting to vertical writing, and printing controller
JP2004133163A (en) * 2002-10-10 2004-04-30 Riso Kagaku Corp Font making apparatus and font making program
JP2005229530A (en) * 2004-02-16 2005-08-25 Mitsubishi Electric Corp Portable terminal apparatus
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

Family Cites Families (1)

* 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

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6347148A (en) * 1986-08-13 1988-02-27 Alps Electric Co Ltd Vertical-horizontal direction 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
JP2002273943A (en) * 2001-03-19 2002-09-25 Seiko Epson Corp Printing program for converting to vertical writing, and printing controller
JP2004133163A (en) * 2002-10-10 2004-04-30 Riso Kagaku Corp Font making apparatus and font making program
JP2005229530A (en) * 2004-02-16 2005-08-25 Mitsubishi Electric Corp Portable terminal apparatus
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

Also Published As

Publication number Publication date
JP2021068445A (en) 2021-04-30
CN112799609A (en) 2021-05-14
JP7006753B2 (en) 2022-01-24

Similar Documents

Publication Publication Date Title
EP2927843B1 (en) An image forming apparatus and system, and an image forming method
JP5042562B2 (en) Image processing apparatus, handwritten information recognition method, handwritten information recognition program
US10528679B2 (en) System and method for real time translation
US8225200B2 (en) Extracting a character string from a document and partitioning the character string into words by inserting space characters where appropriate
KR100661173B1 (en) Print having a direct printing function and printing method thereof
CN112799609B (en) Vertical printing image generation device, method, mobile device and vertical printing system
US20070223068A1 (en) Image forming apparatus, image display apparatus, image forming method, image display method, image display system, and storage medium
US9760786B2 (en) Method and device for revising OCR data by indexing and displaying potential error locations
US9639787B2 (en) Print orientation of documents based on device sensor output
JP2010009509A (en) Image processor, image processing method, program thereof, and storage medium
JP2020173808A (en) Creation of optical character recognition training data for neural network by analyzing page description language job
JP2007025980A (en) Information system, information method, server device, information device, and information designation program
CN103634497A (en) Image processing system, image processing method, and image processing apparatus
KR101794169B1 (en) Personal data detecting and masking system and method based on printed position of hwp file
US8743383B2 (en) Image processing apparatus storing destination information and information indicating whether a user is allowed to print image data and control method therefor
US11474782B2 (en) Information processing apparatus, information processing method and non-transitory computer-readable medium
JP2019133370A (en) Apparatus and program for image processing
JP7317612B2 (en) Information processing device, information processing method and program
JP7302175B2 (en) Information processing device and information processing program
US20160277637A1 (en) Image processing apparatus, image forming apparatus, and non-transitory computer readable medium
JP4785601B2 (en) Image forming apparatus
KR102477177B1 (en) Electronic device for providing editable document template corresponding to captured document and method for operating thereof
JP7497620B2 (en) Document data generation device, image forming device, and document data generation program
US10685268B1 (en) Methods and systems for logical cell based orientation in N-up copying or printing
US20230325126A1 (en) Information processing apparatus and method and non-transitory computer readable medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant