CN113741824A - Print data processing apparatus, printing system, and print data processing method - Google Patents

Print data processing apparatus, printing system, and print data processing method Download PDF

Info

Publication number
CN113741824A
CN113741824A CN202010475135.9A CN202010475135A CN113741824A CN 113741824 A CN113741824 A CN 113741824A CN 202010475135 A CN202010475135 A CN 202010475135A CN 113741824 A CN113741824 A CN 113741824A
Authority
CN
China
Prior art keywords
print
printing
character
font size
frame
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010475135.9A
Other languages
Chinese (zh)
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 CN202010475135.9A priority Critical patent/CN113741824A/en
Publication of CN113741824A publication Critical patent/CN113741824A/en
Pending legal-status Critical Current

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)

Abstract

An object of the present invention is to provide a print data processing apparatus capable of allowing each character to be printed at the center position of a frame, in the print data processing apparatus, an input display unit displays a print content input screen for a user to input a plurality of print characters and print fonts, a print font identification unit identifies a print confirmation font number that allows the print characters to be printed in a corresponding print frame and is confirmed by the user based on the print fonts and the size of the print frame, a occupation region identification unit identifies an actual occupation region of each print character in the corresponding print frame based on the print fonts and the print confirmation font number, a character position identification unit identifies character position information based on at least the size and position information of the print frame and the occupation region of the print character, and a bitmap generation unit generates a bitmap based on at least the print character, the print font, the print confirmation font number, the occupation region, and the character position information. The invention also provides a printing system and a printing method comprising the printing data processing device.

Description

Print data processing apparatus, printing system, and print data processing method
Technical Field
The invention belongs to the field of printing service, and relates to a printing data processing device, a printing system and a printing data processing method.
Background
The hand-held printer can freely perform sliding printing at any position of a printing medium (such as a postcard, an envelope, a bank bill and the like), so that a user does not need to manually write contents such as names, addresses and the like. With the wider application of the handheld printer, the handheld printer can also print a postcode on a postcode frame on a postcard or an envelope, or print a certificate number on a certificate code filling frame on a bank document, and when printing numbers or letters in the postcode or the certificate number as printing characters, a user usually needs to select various fonts.
However, some of the common fonts belong to proportional fonts, and when the proportional fonts are used for printing, the width of the area occupied by the printed characters is in a proportional relationship with the image width of the characters, so that the occupied areas of the printed characters are different, and therefore, even if the printing frames are distributed at equal intervals, the different occupied areas of different characters can cause the displacement between the characters and the printing frames, and particularly when the printing frames are not distributed at equal intervals, the displacement is more serious. When the number of print frames is large and the number of different print characters is large, such offset will also accumulate, even resulting in characters being printed out of the frame.
Disclosure of Invention
In order to solve the problems, the printing data processing device which can print each character at the center of the frame when printing in the printing frames of different printing frame groups, the printing system comprising the printing data processing device and the printing method are provided.
In order to achieve the purpose, the invention adopts the following structure and method: :
< Structure 1>
The present invention provides a print data processing apparatus, comprising: a screen storage part, an input display part, a printing character number determination part, a occupation area determination part, a character position determination part and a bitmap generation part, wherein the screen storage part stores a printing content input screen for inputting a plurality of printing characters to be printed in a plurality of printing frames of a printing frame group arranged on a printing medium as printing content by a user, the input display part displays the printing content input screen for inputting the plurality of printing characters and corresponding printing fonts by the user, once the user confirms the input printing content and the printing fonts, the printing character number determination part determines a printing confirmation character number which can allow the printing characters to be printed in the corresponding printing frame and is confirmed by the user according to the printing fonts and the sizes of the printing frames, the occupation area determination part determines an occupation area actually occupied by each printing character in the corresponding printing frame according to the printing fonts and the printing confirmation character numbers, a character position determining section determines character position information of the print characters based on at least the size and position information of each print frame and the occupied area of each print character, and a bit map generating section generates a bit map corresponding to the print content based on at least the print characters, the print font, the print confirmation font number, the occupied area of each print character, and the character position information.
< Structure 2>
The present invention provides a printing system, comprising: a print data processing device; and the handheld printer is in communication connection with the print data processing device, wherein the print data processing device is the print data processing device in the structure 1, and the handheld printer receives the print data corresponding to the bitmap and prints the printed characters in a plurality of print frames of the preset print frame group according to the print data.
< method 1>
The invention provides a printing method, which is characterized by comprising the following steps: displaying a print content input screen for allowing a user to input a plurality of print characters to be printed in a plurality of print frames of a print frame group set on a print medium as print content, allowing the user to input the plurality of print characters and corresponding print fonts, and determining a print confirmation font size which allows the print characters to be printed in the corresponding print frame and confirmed by the user based on at least the print fonts and the sizes of the print frames once the user determines the input print content and print fonts, determining the occupied area actually occupied by each printing character in the corresponding printing frame according to the printing font and the printing confirmation font size, character position information of the print characters is determined based on the size and position information of each print frame and the occupied area of each print character, and generating a bitmap corresponding to the printing content according to the printing font, the printing character, the printing confirmation font size, the occupied area of each printing character and the character position information.
Action and Effect of the invention
According to the print data processing apparatus and the printing system of the present invention, since the print data processing apparatus has the print font number determining portion, the occupied area determining portion, the character position determining portion, and the bitmap generating portion, so that after the user inputs the print content in the print content input screen and selects the print font, the print direction, and the template name, the print confirmation font number of the print character is determined by the print font number determining portion, the occupied area corresponding to each print character is determined by the occupied area determining portion, the character position information enabling each print character to be positioned at the center of each print frame is further determined by the character position determining portion, and the bitmap corresponding to the print content is generated by the bitmap generating portion, it is ensured that the hand-held printer prints each print character at the center position of each print frame at the time of printing regardless of how the font of the print character is changed or the size of the print frame is different from the position information of each print frame, the printing of the printed characters outside the frame due to different fonts is avoided, and the attractiveness and tidiness of printing are guaranteed.
Drawings
FIG. 1 is a block diagram of a printing system according to one embodiment of the present invention;
fig. 2 is a schematic illustration of a postcard according to one embodiment of the present invention;
FIG. 3 is a block diagram showing the configuration of a print data processing apparatus according to a first embodiment of the present invention;
FIG. 4 is a diagram illustrating a template parameter table according to an embodiment of the present invention;
FIG. 5 is a diagram illustrating a print content input screen according to an embodiment of the present invention;
FIG. 6 is a diagram illustrating a print font size confirmation screen according to an embodiment of the present invention;
FIG. 7 is a schematic diagram of a print character within a print frame during lateral printing according to one embodiment of the present invention;
FIG. 8 is a schematic diagram of two adjacent print frames during horizontal printing according to one embodiment of the present invention;
FIG. 9 is a diagram illustrating a hint image according to an embodiment of the present invention;
FIG. 10 is a block diagram of a hand-held printer according to an embodiment of the present invention;
FIG. 11 is a schematic view of a handheld printer printing on media in accordance with one embodiment of the invention;
FIG. 12 is a flow chart of a printing system in accordance with one embodiment of the present invention;
FIG. 13 is a flowchart showing the operation of the print font size determining section in the first embodiment of the present invention;
FIG. 14 is a flowchart illustrating operations of the character position determining section according to the first embodiment of the present invention;
FIG. 15 is a block diagram showing the configuration of a printing system according to a second embodiment of the present invention;
FIG. 16 is a block diagram showing the construction of a print data processing apparatus according to a second embodiment of the present invention;
fig. 17 is a block diagram of a mobile terminal according to a second embodiment of the present invention.
Detailed Description
Hereinafter, the printing system of the present invention will be described in detail with reference to the following embodiments and the accompanying drawings.
As a first aspect, the present invention provides a print data processing apparatus comprising: a screen storage part, an input display part, a printing character number determination part, a occupation area determination part, a character position determination part and a bitmap generation part, wherein the screen storage part stores a printing content input screen for inputting a plurality of printing characters to be printed in a plurality of printing frames of a printing frame group arranged on a printing medium as printing content by a user, the input display part displays the printing content input screen for inputting the plurality of printing characters and corresponding printing fonts by the user, once the user confirms the input printing content and the printing fonts, the printing character number determination part determines a printing confirmation character number which can allow the printing characters to be printed in the corresponding printing frame and is confirmed by the user according to the printing fonts and the sizes of the printing frames, the occupation area determination part determines an occupation area actually occupied by each printing character in the corresponding printing frame according to the printing fonts and the printing confirmation character numbers, a character position determining section determines character position information of the print characters based on at least the size and position information of each print frame and the occupied area of each print character, and a bit map generating section generates a bit map corresponding to the print content based on at least the print characters, the print font, the print confirmation font number, the occupied area of each print character, and the character position information.
In the first aspect, there may be provided a technical feature wherein the print font size determining section has a maximum font size acquiring unit, a preview image generating unit, and a font size setting unit, the screen storage section further stores a print font size confirmation screen, the maximum font size acquiring unit acquires a maximum font size enabling the print character to be printed in the corresponding print frame based on the height and width of the print frame, the print font, and a predetermined font size reduction rule, the preview image generating unit generates a maximum font size preview image formed when the print character is set in the corresponding print frame based on at least one print character, the maximum font size, and the size of the print frame, the input display section displays the print font size confirmation screen and the maximum font size preview image in the screen to allow the user to confirm whether or not the maximum font size is used as the font size for printing, upon the user confirming the printed font size, the font size setting unit sets the maximum font size as the print confirmation font size.
In the first aspect, the print font size confirmation screen may further include a print scale setting area for allowing a user to set a reduction scale for the maximum font size preview image, the font size setting unit may acquire a current font size from the reduction scale and the maximum font size when the user confirms the reduction scale, the preview image generating unit may generate a preview image of the current font size formed when the current font size is set in the corresponding print frame, the input display unit may display the print font size confirmation screen and the preview image of the current font size on the screen to allow the user to confirm whether or not the current font size is used as the font size for printing, and the font size setting unit may set the current font size as the print confirmation font size when the user confirms the print font size.
In the first aspect, the character position determination unit may further include a character start position acquisition unit that acquires a character start position at which a center point of a first print character can be made to coincide with a center point of a print frame, based on a size of the print frame corresponding to the print character and a footprint area of the print character, and a character interval acquisition unit that acquires a distance between footprint areas of adjacent print characters as a character interval, based on at least a distance between the print frames and a footprint area of each print character, the character start position and each character interval constituting character position information.
In the first aspect, the print content input screen may further include a print direction selection area for allowing a user to select a print direction in which each print character is printed, wherein when the print direction is horizontal printing, the character interval calculation unit calculates a horizontal distance between two occupied areas corresponding to adjacent print characters as a character interval based on information on a distance in a horizontal direction of each print frame and a width of the occupied area of each print character, and when the print direction is vertical printing, the character interval calculation unit calculates a vertical distance between two occupied areas corresponding to adjacent print characters as a character interval based on information on a distance in a vertical direction of each print frame and a height of the occupied area of each print character.
In the first aspect, there may be a technical feature that the bitmap has a bitmap starting position and a bitmap height, the bitmap starting position is determined by a left side edge or an upper side edge of a first print frame in the print frame group, and the bitmap height is determined by a width of a print head for printing in the handheld printer, the width being perpendicular to the sliding direction.
In the first aspect, the present invention may further include: a template data storage part, a picture storage part and a template selection picture, wherein the template data storage part stores the template name of each printing frame group and the size and position information of each printing frame corresponding to the template name, the input display part displays the template selection picture and displays the stored template name in the picture for the user to select, the printing character number determination part determines the printing confirmation character number according to the size of the printing frame corresponding to the template name, and the character position determination part determines the character position information according to the size and position of the printing frame corresponding to the template name.
In the first aspect, the print content input screen may further include a print frame parameter input area for allowing the user to input size and position information of each print frame.
In the first aspect, the present invention may further include: and a prompt image generating unit for generating a prompt image indicating a start position and a sliding direction of the bitmap based on the bitmap when the print data corresponding to the bitmap is transmitted to the handheld printer, and for displaying the print prompt image on the input display unit and the prompt image on the screen for the user to confirm the reference when the prompt image is generated.
In addition, according to a second aspect, the present invention provides a printing system including: a print data processing device; and the handheld printer is in communication connection with the print data processing device, wherein the print data processing device is the print data processing device in the first embodiment, and the handheld printer receives the print data corresponding to the bitmap and prints the print characters in a plurality of print frames of a preset print frame group according to the print data.
In the second aspect, the present invention may further include: the mobile terminal is held by a user, is in communication connection with the print data processing device, and is provided with a scanning acquisition part, an analysis acquisition part and an information transmission part, wherein the scanning acquisition part scans the print frame group to acquire scanning data, the analysis acquisition part analyzes the scanning data to acquire the size and the position information of each print frame, and the information transmission part transmits the size and the position information of each print frame to the print data processing device.
In addition, as a third aspect, the present invention provides a printing method including the steps of: displaying a print content input screen for allowing a user to input a plurality of print characters to be printed in a plurality of print frames of a print frame group set on a print medium as print content, allowing the user to input the plurality of print characters and corresponding print fonts, and determining a print confirmation font size which allows the print characters to be printed in the corresponding print frame and confirmed by the user based on at least the print fonts and the sizes of the print frames once the user determines the input print content and print fonts, determining the occupied area actually occupied by each printing character in the corresponding printing frame according to the printing font and the printing confirmation font size, character position information of the print characters is determined based on the size and position information of each print frame and the occupied area of each print character, and generating a bitmap corresponding to the printing content according to the printing font, the printing character, the printing confirmation font size, the occupied area of each printing character and the character position information.
< example one >
Fig. 1 is a block diagram of a printing system according to an embodiment of the present invention.
As shown in fig. 1, the printing system 100 includes a print data processing apparatus 1 and a hand-held printer 2, and the print data processing apparatus 1 is communicatively connected to the hand-held printer 2 via a communication network 3.
In this embodiment, the communication network 3 is a wireless network, and the hand-held printer 2 communicates with the print data processing apparatus 1 via the wireless network.
Fig. 2 is a schematic illustration of a postcard according to one embodiment of the present invention.
As shown in fig. 2, the present embodiment will be described by taking an example of printing a zip code in a zip code frame on a postcard 200. The upper right corner of the postcard 200 has a zip code frame set 201, which zip code frame set 201 has 7 zip code frames 202 of the same size. In the present embodiment, the zip code frame group 201 is set as a print frame group, and the zip code frame is set as a print frame.
Fig. 3 is a block diagram of a print data processing apparatus according to a first embodiment of the present invention.
As shown in fig. 3, the print data processing apparatus 1 includes a template data storage unit 11, a screen storage unit 12, an input display unit 13, a print font identification unit 14, a occupation area identification unit 15, a character position identification unit 16, a bitmap generation unit 17, a data conversion unit 18, a presentation image generation unit 19, a processing-side communication unit 20, and a processing-side control unit 21.
The template data storage unit 11 is used to store template names of a plurality of print frame groups and the size and position information of each print frame in the print frame groups in advance in association with each other, that is, the template data storage unit 11 stores a template parameter table. The printing frame size comprises a printing frame width and a printing frame height, and the printing frame position information is coordinates of each printing frame.
FIG. 4 is a diagram illustrating a template parameter table according to an embodiment of the present invention.
As shown in FIG. 4, the template parameter table stores the template name, the print frame width W, the print frame height H, and the print frame coordinate X1,X2,...XnWherein n is the number of the print frames. In the searching process, the corresponding printing frame width W, printing frame height H and printing frame coordinate X can be searched according to the template name1,X2,...Xn. For example, in the template parameter table, the template name in the first line is "template 1", and the corresponding print frame width W is "W1", the print frame height H is" H1", print frame coordinate X11,X12,...X1n
The screen storage unit 12 stores a print content input screen 121, a print font size confirmation screen 122, a print presentation screen 122, and a template new screen 124.
The input display section 13 displays a print content input screen 121, a print font size confirmation screen 122, a print presentation screen 122, and a template new screen 124 for the user to input data or to make various selections and confirmations.
The print content input screen 121 is used for letting the user input a past character constituting the print content and select a print font. The print font size confirmation screen 122 is used for letting the user confirm the font size used for printing. The print prompt screen 122 is for prompting the user of the operation method of the handheld printer 2. The template new screen 124 is used for letting the user create a template.
Fig. 5 is a schematic diagram of the print content input screen 121 according to the first embodiment of the present invention. Fig. 5(a) is a schematic diagram of the print content input screen 121 when template selection and print content input are not performed in the first embodiment of the present invention. Fig. 5(b) is a schematic diagram of the print content input screen 121 after template selection and print content input are performed in the first embodiment of the present invention.
As shown in fig. 5(a), the print content input screen 121 has a template selection area 121a, a template content display area 121b, a print content input area 121c, a font selection area 121d, a direction selection area 121e, and a confirmation button 121 f.
The template selection area 121a is a pull-down selection menu in which all template names stored in the template data storage unit 11 are displayed for the user to select one of the template names.
For example, "template 1" is the template for the postcard shown in fig. 2, and the user selects the template with the template name "template 1" in the present embodiment; referring to the template parameter table of FIG. 4, the print frame width corresponding to the "template 1" is "W1", the print frame height is" W1", the coordinates of the print frame are" X11,X12,...X1n", the number n of print frames is 7.
As shown in fig. 5(b), when the template is selected by the user, the template content display area 121b displays the template name of the template 1 and the corresponding print frame width W1Print frame height H1Print frame coordinate X11,X12,...X1n. The present embodiment also displays a thumbnail of the template at the template content display area 121b, i.e., a small image on the left side of the template content display area 121b of fig. 5 (b).
The user inputs a plurality of print characters constituting the print content in the print content input area 121c, and selects a print font in the font selection area 121d and a print direction in the direction selection area 121 e. In the present embodiment, as shown in fig. 5(b), the user has input 7 print characters, i.e., the zip code "1234567", as the print content, the selected print font is "bold", and the selected print direction is "lateral print".
In addition, the print input screen also has a template new button 121g for the user to select a new template. If the size and position information of the actual print frame for printing the characters input by the user is not stored in the template data storage section 11, the user can also obtain the size and position information of the print frame by external inquiry or by measuring the information himself/herself, and then create the template by the template creation button 121 g. When the user selects the template new button 121g, the input display section displays a template new screen 124 for allowing the user to input a template name corresponding to a print frame group to be newly created, the number n, height H, width W of print frames in the print frames, and coordinates X of each print frame1,X2,...Xn
When the user presses the confirmation button 121g to confirm the information including the print font, the print direction, and the print content selected and input on the print content input screen, the print font identification unit 14 identifies the print confirmation font that can be confirmed by the user by printing the print character in the corresponding print frame, based on the print font and the size of the print frame.
The print font size determining section 14 includes a maximum font size acquiring unit 141, a preview image generating unit 142, and a font size setting unit 143.
The maximum font size acquiring unit 141 acquires the maximum font size that enables the print character to be printed in the corresponding print frame, based on the print frame height H, the print frame width W, the print font, and the predetermined font size reduction rule.
For example, for "template 1" selected by the user, the maximum font size acquisition unit 141 first acquires the height H of the print frame from the template name "template 1" selected by the user1And width W1(ii) a Then according to the height H of the printing frame1Calculating a font size which can be printed in a corresponding printing frame in the height direction of the printing character as the maximum font size to be determined, and the height H of the printing frame1In mm, the size of the font size in inches is the font size divided by 72, and 1 inch is 25.4mm, so the calculation formula for the maximum font size to be determined is as follows:
Figure BDA0002515593840000081
determining the width of an actually occupied area corresponding to each printed character according to all printed characters, printed fonts and the maximum character size to be determined; further judging whether the widths of the occupied areas of the respective printed characters are smaller than the height H of the print frame1
If the word size is judged to be the maximum word size, the maximum word size to be determined is set as the maximum word size.
If not, reducing the maximum character size to be determined according to a preset character size reduction rule, taking the reduced character size as a new maximum character size to be determined, determining the width of the occupied area of each printed character according to the new maximum character size to be determined, and then judging again until the widths of the occupied areas of the printed characters corresponding to the maximum character size to be determined are smaller than the width W of the printing frame1And setting the undetermined maximum character size as the maximum character size. Wherein the predetermined word size reduction rule is: each time the judging module 141c judges no, 0.5pt is subtracted from the maximum word size to be determined.
The preview image generating unit 142 generates a maximum font size preview image formed when the print characters are set in the corresponding print frame, from all the print characters, the print font, the maximum font size, and the size of the print frame.
FIG. 6 is a diagram illustrating a print font size confirmation screen according to an embodiment of the invention. Fig. 6(a) is a schematic diagram illustrating a maximum font size preview image displayed on a print font size confirmation screen according to a first embodiment of the present invention. Fig. 6(b) is a schematic diagram of the preview image of the current font size when the print font size confirmation screen displays a reduction ratio of 40% in the first embodiment of the present invention.
As shown in fig. 6, the print font size confirmation screen 122 includes a preview image display area 122a, a reduced scale setting area 122b, and a scale confirmation button 122 c.
As shown in fig. 6(a), once the maximum font size preview image 122d is generated, the input display unit 13 displays the print font size confirmation screen 122 and displays the maximum font size preview image 122d on the screen to allow the user to confirm whether or not the maximum font size preview image satisfies the print request, that is, whether or not the maximum font size corresponding to the maximum font size preview image 122d is used as the font size for printing.
When the user confirms the maximum font size preview image 122d (i.e., presses the scale confirmation button 122c), the font size setting unit 143 sets the maximum font size as the print confirmation font size.
If the user is not satisfied with the size of the characters in the displayed maximum font size preview image 122d, for example, feels that the characters are too well supported in the print frame and wants a margin between the characters and the frame to be large, the reduction ratio of the print characters can be set by the reduction ratio setting area 122 b. For example, in the present embodiment, the reduction ratio is set to "40%".
Upon the user confirming the reduction ratio after inputting the reduction ratio (i.e., pressing the ratio confirmation button 122c), the font size setting unit 143 acquires the font size of the maximum font size multiplied by the reduction ratio as the current font size, and the preview image generating unit 142 generates the current font size preview image 122e corresponding to the current font size. As shown in fig. 6(b), the input display unit immediately displays a current font size preview image 122e in the preview image display area 122a of the print font size confirmation screen 122, and allows the user to confirm whether the current font size preview image 122e satisfies the print request.
If the user confirms the current font size preview image 122e, the font size setting unit 143 sets the current font size as the print confirmation font size; if the user is not satisfied with the current font size preview image 122e, a new reduction ratio may be set in the ratio setting area 122b again, and the process of acquiring the current font size preview image 122e may be repeated until the user confirms the displayed current font size preview image 122e and the font size setting unit 143 sets the print confirmation font size.
The occupied area determining section 15 determines the height and width of each print character occupied area from the print font and the print confirmation font size. The characters generally have certain margins on the upper, lower, left and right sides, the margins and the characters form occupied areas actually occupied by the characters, the heights of the occupied areas actually occupied by the characters with different fonts under the same font size are equal, but the widths of the occupied areas may be different, for example, the width of the occupied area with the number 1 is obviously smaller than that of the number 2.
Because the height of each print character occupation area is equal and the width of different print character occupation areas is different, the height of the print character occupation area is h and the width is wi,i∈(1,2,...n)。
The character position determining section 16 determines character position information of a print character composed of a character start position and a character interval from the size of a print frame, position information of each print frame, a print direction, and a occupied area of each print character, and has a character start position acquiring unit 161 and a character interval acquiring unit 162.
FIG. 7 is a schematic diagram of a print character within a print frame during lateral printing according to an embodiment of the present invention.
As shown in FIG. 7, a two-dimensional plane coordinate system is established with the lower left corner of the first print frame in the print frame group as the origin, the lower edge as the X-axis, and the left edge as the y-axis, and then the print frame coordinate X is obtained11,X12,...X1nI.e. the distance of the point in the lower left corner of each print frame from the origin, where X110 (not shown).
The character start position acquisition unit 161 acquires the height H of the print frame corresponding to the first print character in the print content1And width W1And the height h and width w of the footprint area of the printed characteriThe leftmost position of the occupied area of the print character, at which the print character can be made to coincide with the center point of the corresponding print frame, is acquired as a character start position.
This implementationIn the example, the character start position is the coordinate (x) of the point in the coordinate system at the lower left corner of the occupied area of the first printed character1Y), wherein x1And y is the abscissa and ordinate of the point at the lower left corner of the occupied area of the first printed character. x is the number of1The formula for y is as follows:
Figure BDA0002515593840000101
Figure BDA0002515593840000102
since the print frames in the print frame group are arranged in the horizontal direction, the vertical coordinates of the dots at the lower left corner of the occupied areas of all the printed characters are equal and are all y.
FIG. 8 is a schematic diagram of two adjacent print frames during horizontal printing according to an embodiment of the present invention.
As shown in fig. 8, the character interval acquisition unit 162 acquires the character interval according to the print frame width W1Coordinates X of each print frame11,X12,...X1nAnd width w of occupied area of each printed characteriThe distance between the occupied areas of adjacent printed characters is acquired as a character interval. The gray areas in fig. 7 and 8 are occupied areas of the characters.
First, the character interval acquisition unit 162 acquires the width W of the print frame1And calculating the position of the center line in the transverse direction of each print frame by using the position information, and setting the abscissa of the center line as ci,ciThe calculation formula of (a) is as follows:
Figure BDA0002515593840000103
then, the distance between the right edge of the occupied area of the previous printed character and the left edge of the occupied area of the next printed character is calculated as the character interval d according to the position of the center line and the width of the occupied area of the printed charactersiWherein the first print is definedCharacter spacing d between a character and the preceding character10, when i > 1, diThe calculation formula of (a) is as follows:
Figure BDA0002515593840000104
print frame coordinate X when the print direction is selected by the user as portrait print11,X12,...X1nI.e. the distance between the point in the upper left corner of each print frame and the point in the upper left corner of the first print frame. The character start position is the uppermost position of the occupied area of the print character which can make the print character coincide with the center point of the corresponding print frame, and the character interval calculation unit calculates the vertical distance between two occupied areas corresponding to adjacent print characters as the character interval d according to the vertical distance of each print frame and the height of the occupied area of each print characteri' the specific process is similar to that of horizontal printing, and is not described in detail herein.
The bitmap generation section 17 generates a bitmap corresponding to the print content from the print characters, the print font, the print confirmation font size, the print direction, the occupied area of each print character, the character start position, and the character interval.
The height G of the bitmap is equal to the width of the print head for printing in the handheld printer 2 in the direction perpendicular to the sliding direction, which is the maximum allowable ink ejection amplitude when the handheld printer 2 ejects ink for printing.
When the printing direction is horizontal, the initial position of the bitmap is determined by the left edge of the first printing frame in the printing frame group, the position of the first printing character in the bitmap is the initial position of the character, and the distance between the lower left corner of the printing character and the left edge of the bitmap is
Figure BDA0002515593840000111
At a distance from the lower edge of the bitmap of
Figure BDA0002515593840000112
The print characters in the bitmap are arranged transversely, and the occupation areas of two adjacent print charactersInterdomain insertion of character spaces di
When the printing direction is vertical, the initial position of the bitmap is determined by the upper side edge of the first printing frame in the printing frame group, the position of the first printing character in the bitmap is the initial position of the character, and the distance between the upper left corner of the printing character and the upper side edge of the bitmap is
Figure BDA0002515593840000113
Each printed character is separated from the upper left corner by a distance of from the left edge of the bitmap
Figure BDA0002515593840000114
The printed characters are vertically arranged in the bitmap, and a character interval d is inserted between the occupied areas of two adjacent printed charactersi′。
Once the bitmap is generated, the data conversion section 18 converts each pixel point in the bitmap into binary data as print data.
The processing-side communication unit 20 has a data transmission function, and when the data conversion unit 18 generates print data, the processing-side communication unit 20 transmits the print data to the hand-held printer 2.
Fig. 9 is a schematic diagram of a hint image in an embodiment of the present invention.
As shown in fig. 9, once the processing-side communication section 20 transmits the print data to the handheld printer 2, the prompt image generation section 19 generates a prompt image 123c indicating the start position 123a and the slide direction 123b of the bitmap based on the bitmap. The input display unit 13 displays a print presentation screen 123 and displays a presentation image on the screen for reference confirmation by the user.
The print presentation screen 123 has a presentation character of "please present a print operation as follows", and presents the user to operate the hand-held printer 2 to print based on the content displayed on the screen. At the start position 123a of the bitmap, there is an arrow indicating the position where the user should start sliding the hand-held printer 2 over the medium, and the prompt form "please coincide the reference line on the right side of the hand-held printer with the left line position of the first print frame indicated by the arrow". On the left side of the sliding direction 123b, a prompt word "please slide the hand-held printer in the direction of the arrow at a normal speed (05cm/s to 1 cm/s)" is provided to prompt the user of the sliding direction of the hand-held printer.
The processing-side control section 21 stores a computer program for controlling the operations of the respective components of the print data processing apparatus 1.
The hand-held printer 2 is a portable printer carried by a user, and can perform sliding printing at different positions on a printing medium by the user, so that printing contents to be printed can be conveniently printed at any position of the printing medium.
FIG. 10 is a block diagram of a handheld printer according to an embodiment of the invention.
As shown in fig. 10, the hand-held printer 2 includes an ink jet printing unit 26, a sensing unit 27, a printing side communication unit 28, and a printing side control unit 29.
The ink jet printing section 26 includes a print head for performing ink jet printing in the sliding direction with a predetermined ink ejection margin at the time of performing the sliding printing.
FIG. 11 is a schematic diagram of a handheld printer printing on media in accordance with one embodiment of the invention.
As shown in fig. 11, the ink jet printing unit 26 includes an ink jet array 26a formed by arranging a plurality of ink jet heads on the hand-held printer 2, and when the user presses the side of the hand-held printer 2 having the print head against the print medium and slides the side in the sliding direction 26b in the area 26c where the print frame group is located, the ink jet array 26a can perform ink ejection under the control of the printing side control unit 29 to perform printing in the print frame. The length D of the ink jet array 26a is the maximum allowable ink jet width during ink jet printing.
The housing of the hand-held printer 2 is provided with a reference line 2a, which reference line 2a may be a raised line or a printed line, on the side perpendicular to the face with the print head. The reference line is parallel to the ink ejection array 26a and has a length equal to D, which is G, for indicating the position of the printing head and the length of the ink ejection array 26 a. Before printing, the user presses the hand-held printer 2 onto the medium so that the reference line conforms to the left or upper edge of the leading print frame in the print frame group and the center of the reference line is aligned with the center of the left or upper edge of the leading print frame, thereby aligning the inkjet array 26a with the left or upper edge of the leading print frame.
The sensing unit 27 senses whether the side of the handheld printer 2 having the print head is pressed against the print medium by the user and whether the handheld printer 2 is slid by pressing the handheld printer 2 against the print medium by the user. The case of this sliding is whether the handheld printer 2 has slid a certain distance.
The shell of the hand-held printer 2 is provided with a printing button, each time the user presses the printing button, the sensing part 27 senses whether the hand-held printer 2 is pressed by the user to slide on a printing medium, once the sensing part 27 senses that the hand-held printer 2 is pressed by the user to slide on the printing medium, the printing side control part 29 controls the ink-jet printing part 26 to perform sliding printing in the printing frame group according to the printing data received by the printing side communication part, and further controls the ink-jet printing part 26 to stop printing when the sensing part 27 senses that the hand-held printer 2 leaves the printing medium, thereby completing the next sliding printing.
In this embodiment, no matter whether the inkjet printing portion 26 has finished printing the next print data, once the sensing portion 27 senses that the handheld printer 2 is separated from the print medium, the printing side control portion 29 controls the inkjet printing portion 26 to stop printing, and determines that the next slip printing is finished.
Meanwhile, each time the slip printing is completed, the printing-side control section 29 controls the printing-side communication section 28 to transmit a slip printing completion information corresponding to the current print data to the print data processing apparatus 1.
The printing-side control section 29 stores a computer program for controlling the operations of the respective components of the handheld printer 2.
FIG. 12 is a flowchart illustrating operations of the printing system according to an embodiment of the present invention.
As shown in fig. 12, the printing system 100 is configured to print characters to be printed, which are input by a user, in respective print frames of a predetermined print frame group on a medium, respectively, such that each character to be printed is located at the center of the corresponding print frame. When the user uses the printing system 100, taking horizontal printing as an example, the operation flow of inputting the print content and performing the slide printing is as follows:
in step S1, the input display unit 13 displays the print content input screen 121 to allow the user to input print characters as print content, and to select and confirm a template name, a print font, and a print direction, and then the process proceeds to step S2.
For example, the user selects a template having a template name of "template 1" in the template selection area 121a, inputs a print character of "1234567" as print in the print input area 121d, selects a font of "bold" in the font setting area 121d, selects "landscape" in the direction selection area 121e, and finally clicks the confirmation button 121f to confirm the input or selection of the set content.
In step S2, the print font determination section 14 determines a print confirmation font size that enables the print character to be printed within the print frame and confirmed by the user based on the print font, the print frame height H and the print frame width W corresponding to the template name selected in step S1, and then proceeds to step S3.
In the present embodiment, the print font size determining section 14 retrieves the corresponding print frame height H from the template parameter table based on "template 1"1And a print frame width W1Then according to the print frame height H1And a print frame width W1And the "bold" font determines a print confirmation font size that enables the print character to be printed in the print frame corresponding to the "template 1" and confirmed by the user.
In step S3, the occupied area determination section 15 determines the height h and width w of the occupied area of each print character based on the print font and the print confirmation character number determined in step S2iThen, the process proceeds to step S4.
In the present embodiment, the occupied area determination unit 15 determines the height h and width of the occupied area of each print character in "1234567" input by the user based on "bold face" and the print confirmation character number determined in step S2wi
In step S4, the character position determination section 16 determines the print frame height H, print frame width W, and print frame coordinates X for each template name selected in step S1 based on the print direction1,X2,...XnAnd the height h and width w of the footprint area of each printed characteriDetermining coordinates (x) of a character start position1Y) and the character spacing d between individual printed charactersiThen, the process proceeds to step S5.
In step S5, the bitmap generation section 17 calculates the height h and width w of the occupied area of each print character based on the print character, the print direction, the print font, and the print confirmation font sizeiCoordinates of character start position (x)1Y) and the character spacing d between individual printed charactersiA bitmap corresponding to the print content is generated, and then the flow advances to step S6.
In step S6, the data conversion section 18 converts each pixel point in the bitmap generated in step S5 into binary data as print data, and then proceeds to step S7.
In step S7, the processing-side communication section 20 transmits the print data obtained by conversion in step S6 to the handheld printer 2, and then proceeds to step S8.
In step S8, the presentation image generating section 19 generates the presentation image 123c from the bitmap generated in step S5, the input display section 13 displays the print presentation screen 123 and the presentation image 123c on the screen for reference by the user, and the process proceeds to step S9.
In step S9, the user operates the hand-held printer 2 according to the content of the prompt image 123c, and when the user aligns the reference line 2a of the hand-held printer 2 with the left edge of the first zip code frame 202 of the zip code frame group 201 on the postcard shown in fig. 2 and presses the print button while the sensing section 27 senses that the hand-held printer 2 is pressed by the user on the postcard to slide, the process proceeds to step S10.
In step S10, the print-side control section 29 controls the inkjet printing section 26 to perform slide printing within the zip code frame group 201 based on the received print data, and then enters an end state.
FIG. 13 is a flowchart showing the operation of the print font size determining section according to the first embodiment of the present invention.
As shown in fig. 13, the specific flow of the operation of the print font determining part 14 in step S2 to determine the print confirmation font is as follows:
step S2.1, the maximum font size acquiring unit 141 acquires the height H and width W of the print frame, and then proceeds to step S2.2;
in step S2.2, the maximum font size acquisition unit 141 acquires the height H of the print frame1Calculating the maximum word size to be determined, wherein the calculation formula of the maximum word size to be determined is as follows:
Figure BDA0002515593840000141
then step S2.3 is carried out;
step S2.3, the maximum font size obtaining unit 141 determines the actual occupied width w corresponding to each print character according to all print characters, print fonts and the undetermined maximum font size calculated in step S2.2iAnd determining the width w of the occupied area of each printed characteriIf the width W of the print frame is smaller than the width W of the print frame, if the width W of the print frame is not smaller than the width W of the print frame, the step S2.4 is carried out, and if the width W of the print frame is smaller than the width W of the print frame, the step S2.5 is carried out;
step S2.4, the maximum font size obtaining unit 141 takes the font size obtained by subtracting 0.5pt from the undetermined maximum font size calculated in step S2.2 as a new undetermined maximum font size, and then step S2.3 is performed;
step S2.5, the maximum font size obtaining unit 141 sets the pending maximum font size as the maximum font size, and then step S2.6 is performed;
step S2.6, preview image generating section 142 generates maximum font size preview image 122d based on the maximum font size, and input display section 13 displays print font size confirmation screen 123 and maximum font size preview image 122d in the screen to confirm for the user, if the user confirms, the process proceeds to step S2.7, and if the user inputs a reduction ratio, the process proceeds to step S2.8;
step S2.7, the font size setting unit 143 sets the maximum font size as the print confirmation font size, and then enters the end state;
step S2.8, the font size setting unit 143 obtains the font size obtained by multiplying the maximum font size by the reduction ratio as the current font size, and the preview image generating unit 142 generates the preview image 122e of the current font size according to the current font size, the input display portion displays the print font size confirmation screen 123 and displays the preview image 122e of the current font size in the screen for the user to confirm, if the user confirms, the step S2.9 is entered, if the user inputs the reduction ratio again, the step S2.8 is repeated;
in step S2.9, the font size setting unit 143 sets the current font size as the print confirmation font size, and then proceeds to step S3.
Fig. 14 is a flowchart illustrating the operation of the character position determination unit according to the first embodiment of the present invention.
As shown in fig. 14, the specific flow of the action of the character position determination section 16 in step S4 to acquire character position information is as follows:
in step S4.1, the character start position obtaining unit 161 obtains the height H and width W of the occupied area of the first print character in the print content according to the print frame height H, print frame width WiCalculating the coordinates (x) of the character start position1,y),x1The formula for y is:
Figure BDA0002515593840000151
then step S4.2 is carried out;
in step S4.2, the character interval acquisition unit 162 obtains the coordinates X of each print frame according to the width W of the print frame1,X2,...XnCalculating the abscissa c of the center line in the lateral direction of each print framei,ciThe calculation formula of (2) is as follows:
Figure BDA0002515593840000152
then step S4.3 is carried out;
in step S4.3, the character interval acquisition unit 162 acquires the abscissa c of the center line from the center line acquired in step S4.2iWidth w of occupied area of each printed characteriCalculating the distance between occupied areas of adjacent printed characters as the character spacing diDefining the character spacing d between the first printed character and the preceding one10, when i > 1, diThe calculation formula of (2) is as follows:
Figure BDA0002515593840000153
then, the process proceeds to step S5.
Examples effects and effects
According to the print data processing apparatus and the print system provided by the present embodiment, since the print data processing apparatus has the print font size determining portion, the occupied area determining portion, the character position determining portion, and the bitmap generating portion, so that after the user inputs the print content in the print content input screen and selects the print font, the print direction, and the template name, the print confirmation font size of the print character is determined by the print font size determining portion, the occupied area corresponding to each print character is determined by the occupied area determining portion, the character position information enabling each print character to be positioned at the center of each print frame is further determined by the character position determining portion, the bitmap corresponding to the print content is generated by the bitmap generating portion, and the print data corresponding to the bitmap is transmitted to the handheld printer, regardless of the change of the font of the print character or the difference of the size of the print frame and the position information of each print frame, all guarantee handheld printer when printing with each print the character print in each print the central point of frame put, avoid printing the character because the difference of typeface will print the character outside the frame, guaranteed pleasing to the eye and clean and tidy of printing.
In addition, because the printing data processing device is provided with the template data storage part for storing some commonly used printing frame parameters, the user can select the template name to enable each component of the printing data processing device to call the printing frame parameters corresponding to the template name, and the printing frame parameters do not need to be obtained through measurement before each printing, so that the workload of the user is reduced.
In addition, for some print frames with special sizes and positions, a user can newly create a template through a template new button and a template new screen, input the size and position information of the corresponding print frame, set a template name and store the template name in a template data storage part, and when the print frame parameters in the template need to be reused, the user can select and call again.
In addition, since the prompt image generating section generates the prompt image indicating the start position and the slide direction of the bitmap based on the bitmap after the bitmap is generated, the user is reminded of the slide direction of the mobile hand-held printer which needs to be controlled when printing is performed, and the user who uses the hand-held printer for the first time can be allowed to quickly learn the use method of the hand-held printer.
< example two >
In the second embodiment, the same reference numerals are given to the components having the same configurations as those in the first embodiment, and the description thereof will be omitted.
Fig. 15 is a block diagram showing the configuration of a printing system according to a second embodiment of the present invention.
As shown in fig. 15, the printing system 300 of the second embodiment includes a hand-held printer 2, a communication network 3, a communication network 5, and a print data processing apparatus 6. Compared with the first embodiment, the printing system 300 of the second embodiment further has a mobile terminal 4. The mobile terminal 4 is held by a user and is connected to the print data processing apparatus 6 through a communication network 5. In this embodiment, the communication network 3 and the communication network 5 are both wireless networks.
Fig. 16 is a block diagram showing the configuration of a print data processing apparatus according to a second embodiment of the present invention.
As shown in fig. 16, the print data processing apparatus 6 includes a template data storage unit 11, a screen storage unit 12, an input display unit 13, a print font identification unit 14, a occupation area identification unit 15, a character position identification unit 16, a bitmap generation unit 17, a data conversion unit 18, a presentation image generation unit 19, a processing-side communication unit 20, and a processing-side control unit 21. The difference from the first embodiment is that the print data processing apparatus 6 of the second embodiment further includes a parameter storage control section 61.
Fig. 17 is a block diagram of a mobile terminal according to a second embodiment of the present invention.
As shown in fig. 17, the mobile terminal 4 includes a scan acquisition unit 41, an analysis acquisition unit 42, a terminal-side communication unit 43, and a terminal-side control unit 44. In this embodiment, the mobile terminal 4 is a mobile phone having a camera.
Among them, the terminal-side communication section 43 performs data communication between the respective components of the mobile terminal 4 and between the mobile terminal 4 and the print data processing apparatus 6, and the terminal-side control section 44 stores a computer program for controlling the operation of the respective components of the mobile terminal 4.
The scan acquisition unit 41 is configured to acquire a scanned image including a print frame group on a medium by scanning the print frame group. In this embodiment, the scan acquiring unit 41 is a camera of a mobile phone, and a user takes a picture of a medium having a print frame group using the mobile phone to acquire a photo image, which is a scanned image including the print frame group.
The analysis acquisition unit 42 analyzes the scanned image to acquire the size and position information of each print frame. The analysis acquisition section 42 first identifies print frames in the scanned image, and then analyzes the identified print frames to acquire size and position information corresponding to the respective print frames.
The information transmitting section 43 transmits the size and position information of each print frame as parameter information to the print data processing apparatus 6, and when the processing-side communication section 20 receives the parameter information, the processing-side control section 21 controls the input display section 13 to display the template new screen 124, displays the received parameter information on the template new screen 124, and allows the user to input the corresponding template name while confirming the parameter information.
When the user confirms the input template name, the parameter storage control section 61 stores the template name in association with the size and position information of each print frame in the parameter information in the template data storage section 11.
In this case, the user does not need to manually input the size and position information of each print frame in the print frame group by selecting a new template in the print content input screen 121.
In this embodiment, since the printing system further includes a mobile terminal, the scanning acquisition unit of the mobile terminal scans the print frame group on the medium to acquire the scanned image, the analysis acquisition unit analyzes the scanned image to acquire the size and position information of each print frame, and further transmits the size and position information of each print frame to the print data processing apparatus. The method for acquiring the parameters of the printing frames does not need a user to acquire the height and the width of the printing frames and the position of each printing frame in a manual measurement mode, so that the workload of the user is reduced, and the printing efficiency is improved.
The above-described embodiments are merely illustrative of specific embodiments of the present invention, and the present invention is not limited to the description of the above-described embodiments.
For example, in the above-described embodiment, the preview image generating means may generate a maximum font size preview image including only the character and one print frame only from the print character having the largest width of the occupied area, and allow the user to confirm whether or not the widest print character meets the requirement, or may generate a corresponding maximum font size preview image from any one print character and allow the user to confirm the maximum font size preview image.
For another example, in the above embodiment, the print content input screen may further have a scale setting area, and the user sets the print scale to be scaled in advance before seeing the maximum font size preview image, so that the first preview image substantially meets the user's requirement.
For another example, in the above embodiment, the print font size determining portion may not have a font size setting unit, and the bitmap is generated directly according to the maximum font size each time the bitmap is generated, and at this time, the preview image may not be generated any more, and the user does not set the print ratio any more, and the character occupied area determining portion directly obtains the occupied area of the print character according to the maximum font size, thereby simplifying the operation process of the user.
For another example, in the above-described embodiment, the selection of the printing direction is included, but in a daily use scenario, most of the printing frames are arranged in the lateral direction. Therefore, in other embodiments, the user may not select the printing direction, and the character position determining section determines the character position information based only on the size and the position information of the horizontally arranged print frame.
For another example, in the above-described embodiment, the sizes of the respective print frames in the print frame group are equal, and for the print frame group having print frames of different sizes, it is necessary to determine the print confirmation word size and the character position information according to the sizes of the respective print frames.
For another example, in the above embodiment, the print data processing apparatus and the hand-held printer are connected by communication via a communication network, but in another embodiment, the print data processing apparatus may be built in the hand-held printer and transmit the print data by internal transmission.
As another example, in the above embodiments, the communication network may also be a Bluetooth or USB data connection.

Claims (12)

1. A print data processing apparatus communicatively coupled to a hand-held printer, comprising:
a screen storage section, an input display section, a print font size determination section, a occupied area determination section, a character position determination section, and a bitmap generation section,
the screen storage section stores a print content input screen for allowing a user to input, as print content, a plurality of print characters to be printed in a plurality of print frames of a print frame group set on a print medium,
the input display unit displays the print content input screen to allow the user to input the plurality of print characters and the corresponding print fonts,
the print font determining section determines, upon confirmation by the user of the print content and the print font that are input, a print confirmation font that enables the print character to be printed in the corresponding print frame and confirmed by the user based on the print font and the size of the print frame,
the occupied area determining part determines the occupied area actually occupied by each print character in the corresponding print frame according to the print font and the print confirmation font size,
the character position determining section determines character position information of the print characters based on at least size and position information of the respective print frames and the occupied areas of the respective print characters,
the bitmap generation unit generates a bitmap corresponding to the print content based on at least the print character, the print font, the print confirmation font size, the occupied area of each of the print characters, and the character position information.
2. The print data processing apparatus according to claim 1, wherein:
wherein the print font size determining section includes a maximum font size acquiring unit, a preview image generating unit, and a font size setting unit,
the picture storage part also stores a printing font size confirmation picture,
the maximum font size acquiring unit acquires a maximum font size that enables the printed character to be printed in the corresponding print frame based on the height and width of the print frame, the print font, and a predetermined font size reduction rule,
the preview image generating unit generates a maximum font size preview image formed when the print characters are set in the corresponding print frame, based on at least one of the print characters, the maximum font size, and the size of the print frame,
when the maximum font size preview image is generated, the input display unit displays the print font size confirmation screen and displays the maximum font size preview image on the screen to allow the user to confirm whether or not the maximum font size is used as a font size for printing,
the font size setting unit sets the maximum font size as the print confirmation font size once the user confirms the printed font size.
3. The print data processing apparatus according to claim 2, wherein:
wherein the print font size confirmation screen further has a print scale setting area for the user to set a reduction scale for the maximum font size preview image,
the font size setting unit acquires a current font size based on the reduced scale and the maximum font size upon confirmation of the reduced scale by the user,
the preview image generating unit generates a preview image of a current font size formed when the current font size is set in the corresponding print frame,
the input display unit displays the print font size confirmation screen and displays the preview image of the current font size on the screen to allow the user to confirm whether or not the current font size is used as a font size for printing,
the font size setting unit sets the current font size as the print confirmation font size once the user confirms the printed font size.
4. The print data processing apparatus according to claim 1, wherein:
wherein the character position determination section has a character start position acquisition unit and a character interval acquisition unit,
the character initial position obtaining unit obtains a character initial position which can enable the center point of the printing character to coincide with the center point of the printing frame according to the size of the printing frame corresponding to the first printing character and the occupied area of the printing character,
the character interval acquisition unit acquires a distance between the occupied areas of the adjacent printed characters as a character interval based on at least a distance between the respective print frames and the occupied area of the respective printed characters,
the character start position and each of the character intervals constitute the character position information.
5. The print data processing apparatus according to claim 4, wherein:
wherein the print content input screen further has a print direction selection area for the user to select a print direction,
when the printing direction is selected by the user as lateral printing, the character interval calculation unit calculates a lateral distance between two occupied areas corresponding to adjacent print characters as the character interval according to a distance in a lateral direction of each print frame and a width of the occupied area of each print character,
when the printing direction is selected as vertical printing by the user, the character interval calculation unit calculates a vertical distance between two occupied areas corresponding to adjacent printing characters as the character interval according to the vertical distance of each printing frame and the height of the occupied area of each printing character.
6. The print data processing apparatus according to claim 1, wherein:
wherein the bitmap has a bitmap start position and a bitmap height,
the bitmap starting position is determined by the left side edge or the upper side edge of the first printing frame in the printing frame group,
the bitmap height corresponds to a width of a print head in the handheld printer used to print perpendicular to the sliding direction.
7. The print data processing apparatus according to claim 1, further comprising:
a template data storage part for storing the template data,
the screen storage section further stores a template selection screen,
the template data storage section stores a template name for each of the print frame groups and size and position information of each of the print frames corresponding to the template name,
the input display unit displays the template selection screen and displays the stored template name on the screen for selection by the user,
the print font size determination section determines the print confirmation font size based on the size of the print frame corresponding to the template name selected by the user,
the character position determining section determines the character position information based on a size and a position of the print frame corresponding to the template name selected by the user.
8. The print data processing apparatus according to claim 1, wherein:
the printing content input picture also has a printing frame parameter input area which is used for enabling the user to input the size and the position information of each printing frame needing to be printed.
9. The print data processing apparatus according to claim 1, further comprising:
a presentation image generating unit for generating a presentation image,
the screen storage part also stores a print prompt screen,
the hint image generation section generates a hint image based on the bitmap that indicates a starting position of the bitmap and the slide direction upon sending print data corresponding to the bitmap to the handheld printer,
when the prompt image is generated, the input display unit displays the print prompt screen and displays the prompt image on the screen for reference confirmation by the user.
10. A printing system, comprising:
a print data processing device; and
a hand-held printer communicatively coupled to the print data processing device,
wherein the print data processing apparatus is the print data processing apparatus according to any one of claims 1 to 9,
and the handheld printer receives the printing data corresponding to the bitmap and prints the printing characters in a plurality of printing frames of a preset printing frame group according to the printing data.
11. The printing system of claim 10, further comprising:
a mobile terminal held by the user and connected to the print data processing device in a communication manner, the mobile terminal having a scan acquisition unit, an analysis acquisition unit, and an information transmission unit,
the scanning acquisition part is used for scanning the printing frame group printed on the printing medium and required to be printed by the user to acquire a scanning image,
the analysis acquisition part analyzes the scanned image to acquire the size and position information of each printing frame in the printing frame group,
the information transmitting portion transmits the size and position information of each of the print frames to the print data processing apparatus.
12. A print data processing method, characterized by comprising the steps of:
displaying a print content input screen for allowing a user to input a plurality of print characters to be printed in a plurality of print frames of a print frame group set on a print medium as print content, allowing the user to input the plurality of print characters and corresponding print fonts,
determining a print confirmation font size that enables the print character to be printed in the corresponding print frame and confirmed by the user based on at least the print font and the size of the print frame once the user determines the print content and the print font that are input,
determining the occupied area actually occupied by each printing character in the corresponding printing frame according to the printing font and the printing confirmation font size,
determining character position information of the print characters based on the size and position information of each of the print frames and the occupied area of each of the print characters,
and generating a bitmap corresponding to the printing content according to the printing font, the printing character, the printing confirmation font size, the occupied area of each printing character and the character position information.
CN202010475135.9A 2020-05-29 2020-05-29 Print data processing apparatus, printing system, and print data processing method Pending CN113741824A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010475135.9A CN113741824A (en) 2020-05-29 2020-05-29 Print data processing apparatus, printing system, and print data processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010475135.9A CN113741824A (en) 2020-05-29 2020-05-29 Print data processing apparatus, printing system, and print data processing method

Publications (1)

Publication Number Publication Date
CN113741824A true CN113741824A (en) 2021-12-03

Family

ID=78724706

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010475135.9A Pending CN113741824A (en) 2020-05-29 2020-05-29 Print data processing apparatus, printing system, and print data processing method

Country Status (1)

Country Link
CN (1) CN113741824A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005335316A (en) * 2004-05-28 2005-12-08 Sato Corp Portable printer
US20080235276A1 (en) * 2007-03-21 2008-09-25 Ricoh Co., Ltd. Methods for scanning, printing, and copying multimedia thumbnails
US20100275152A1 (en) * 2009-04-23 2010-10-28 Atkins C Brian Arranging graphic objects on a page with text
JP2015160414A (en) * 2014-02-28 2015-09-07 株式会社リコー Image formation system
CN107867090A (en) * 2016-09-27 2018-04-03 卡西欧计算机株式会社 The control method and recording medium of printing equipment, printing equipment
JP2019130734A (en) * 2018-01-30 2019-08-08 カシオ計算機株式会社 Printing system, terminal device, printer, printing method and program

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005335316A (en) * 2004-05-28 2005-12-08 Sato Corp Portable printer
US20080235276A1 (en) * 2007-03-21 2008-09-25 Ricoh Co., Ltd. Methods for scanning, printing, and copying multimedia thumbnails
US20100275152A1 (en) * 2009-04-23 2010-10-28 Atkins C Brian Arranging graphic objects on a page with text
JP2015160414A (en) * 2014-02-28 2015-09-07 株式会社リコー Image formation system
CN107867090A (en) * 2016-09-27 2018-04-03 卡西欧计算机株式会社 The control method and recording medium of printing equipment, printing equipment
JP2019130734A (en) * 2018-01-30 2019-08-08 カシオ計算機株式会社 Printing system, terminal device, printer, printing method and program

Similar Documents

Publication Publication Date Title
JP7163993B2 (en) Handy printer, control method and program
US8259363B2 (en) Image processing apparatus and printing apparatus
JP7103495B2 (en) Print data processing equipment, printing system and printing data processing method
JP4562740B2 (en) On-demand printing of coding patterns
CN105827893A (en) Image processing device, image processing method, and image forming system
US20040047001A1 (en) Image selection using proof sheet
JP2019159633A (en) Image processing apparatus, image processing method, and image processing program
CN113741824A (en) Print data processing apparatus, printing system, and print data processing method
JP4904987B2 (en) Printing method, printing apparatus, and printing program
JP4420252B2 (en) Print data generator
JP2006309354A (en) Digital pen input system
US5978552A (en) Ruled line generating apparatus and sheet for use therein
CN113407127B (en) Printing system and printing method
CN114265566A (en) Printing method, printing device, electronic equipment and readable storage medium
JP7059734B2 (en) Document reader and program
JP4020061B2 (en) Mobile phone, server, printing system, and image processing method
JP3002594B2 (en) Report processing system
CN117950601A (en) Print production system, print production method, signature image production method, and recording medium
JP2004171296A (en) Selected information processing system for electronic pen and program
JP5194659B2 (en) Server apparatus and program
US8441681B2 (en) Printing apparatus for printing composite image, print data generating apparatus for generating print data of composite image, and print data generating program for generating print data of composite image
CN114691053A (en) Print data processing apparatus and printing system
JP2004302608A (en) Information processor for electronic pen
JPH0581266A (en) Information processor
CN117612148A (en) Correction method, correction device, printer, electronic device and storage 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