Inkjet recording device
The inkjet recording apparatus addresses input errors and layout inflexibility by using a code reading and control unit to dynamically generate printing data, facilitating easy and flexible printing adaptations.
Patent Information
- Application Number
- JP2024560969
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2022-11-28
- Publication Date
- 2025-12-04
- Estimated Expiration
- 2042-11-28
AI Technical Summary
Conventional inkjet recording devices require meticulous manual entry of printing data corresponding to manufacturer and product type codes, leading to input errors and lack flexibility in changing print layouts, necessitating time-consuming program modifications.
An inkjet recording apparatus equipped with a code reading unit, memory unit, and control unit that analyzes code data to dynamically create printing data, allowing easy accommodation of various print contents and layouts.
Enables flexible and error-free printing with diverse content and layouts without requiring extensive program modifications.
Smart Images

Figure 0007780669000001 
Figure 0007780669000002 
Figure 0007780669000003
Abstract
Description
[Technical Field]
[0001] The present invention relates to an inkjet recording apparatus. [Background technology]
[0002] Patent Document 1 discloses an inkjet recording device (hereinafter referred to as the "conventional device") that uses ink droplets ejected from a nozzle to print characters, figures, etc. on the surface of a product or wrapper, which is a target object. The conventional device is equipped with a barcode reader that reads the barcode attached to the product and multiple print data that are stored. By reading the barcode with this barcode reader, the conventional device identifies the manufacturer and product type codes indicated by the barcode, and selects print data associated with the identified code from the multiple print data. This allows the conventional device to easily and error-free print content appropriate for the target object, the product. [Prior art documents] [Patent documents]
[0003] [Patent Document 1] Japanese Patent Application Laid-Open No. 2000-343782 Summary of the Invention [Problem to be solved by the invention]
[0004] However, with conventional devices, printing data corresponding to the manufacturer and product type code indicated by the barcode must be meticulously entered into the device for each product, which can lead to input errors during the registration stage. Conventional devices do not allow for flexible changes to the layout of multiple printing elements in the printing area. Any attempt to change this requires modifying the program used to set the layout of the printing elements, which is extremely time-consuming.
[0005] SUMMARY OF THE INVENTION The present invention has been made to solve the above-mentioned problems, and it is an object of the present invention to provide an inkjet recording apparatus that can easily accommodate printing of various print contents and layouts. [Means for solving the problem]
[0006] In order to solve the above problems, the inkjet recording device of the present invention comprises a code reading unit that reads code data from an information code, a memory unit that stores a code template that is used to analyze the code data and that defines the position of information indicating a printing target in the code data and the printing position of the printing target relative to a printing surface, and a control unit that creates printing data for printing the printing target at the printing position based on the code data and the code template that corresponds to the code data. [Effects of the Invention]
[0007] According to the present invention, printing with various print contents and layouts can be easily accommodated. [Brief explanation of the drawings]
[0008] [Figure 1] FIG. 1 is a schematic diagram showing an example of the configuration of an inkjet recording apparatus according to an embodiment of the present invention. [Figure 2] FIG. 2 is a functional block diagram showing an example of the configuration of an inkjet recording apparatus. [Figure 3A] FIG. 3A is a diagram showing an example of a CSV file used for registering a code template. [Figure 3B] FIG. 3B is a diagram for explaining an example of a code template. [Figure 4A] FIG. 4A is a diagram illustrating an example of code data. [Figure 4B] FIG. 4B is a diagram for explaining an example of an information-stored code template. [Figure 4C] FIG. 4C is a diagram for explaining a print example. [Figure 5A]FIG. 5A is a diagram showing another example of a CSV file used for registering a code template. [Figure 5B] FIG. 5B is a diagram for explaining another example of the code template. [Figure 6A] FIG. 6A is a diagram for explaining another example of code data. [Figure 6B] FIG. 6B is a diagram for explaining another example of the information-stored code template. [Figure 6C] FIG. 6C is a diagram for explaining the print setting data table. [Figure 6D] FIG. 6D is a diagram for explaining a print example. [Figure 7] FIG. 7 is a flowchart showing the processing flow of the code template registration process executed by the code template creation unit. [Figure 8] FIG. 8 is a flowchart showing the processing flow of the printing operation executed by the calculation unit. DETAILED DESCRIPTION OF THE INVENTION
[0009] Hereinafter, embodiments of the present invention will be described with reference to the drawings. Note that in all drawings of the embodiments, the same or corresponding parts may be assigned the same reference numerals. In the following description, various information may be described using expressions such as tables, rows, and columns, but the various information may be expressed using data structures other than these. When describing identification information, expressions such as "ID," "name," and "number" are used, but these are interchangeable. In the following description, processing may be described using a functional block as the subject, but the subject of the processing may be an MPU, processor, or device instead of a functional block. <<Embodiment>> An inkjet recording apparatus according to an embodiment of the present invention will now be described. Fig. 1 is a schematic diagram showing an example of the configuration of an inkjet recording apparatus according to an embodiment of the present invention. As shown in Fig. 1, the inkjet recording apparatus includes a nozzle head 10, a main body 20, and a code reader 50.
[0010] The nozzle head 10 includes a nozzle 11 that ejects ink droplets, a charging electrode 12 that charges the ejected ink droplets, a deflection electrode 13 that deflects the charged ink droplets in the direction of flight, and a gutter 14 that collects ink droplets not used in printing. Ink is pressurized and supplied to the nozzle 11 by a pump 15. The ink collected by the gutter 14 is also supplied again to the nozzle 11 by the pump 15.
[0011] Printing is performed on a print target 16, which is a product conveyed in the direction of the arrow on a conveying line 17, with ink droplets ejected from the nozzle head .
[0012] The main body 20 includes a MainMPU 21, a SubMPU 22, a serial communication interface circuit (A) 23, a serial communication interface circuit (B) 24, a serial communication interface circuit (C) 25, a serial communication interface circuit (D) 26, a panel interface circuit 27, a panel 28, a RAM 29, an HDD interface circuit 30, an HDD 31 which is a non-volatile storage device (storage medium) from and to which information can be read and written, a data input / output interface 32, a ROM 33, a RAM 34, a video RAM 35, a print substrate detection circuit 36, and a character signal generation circuit 37. For convenience, the HDD 31 may also be referred to as the "storage unit."
[0013] The inkjet recording device is controlled mainly by the MainMPU 21 (main microprocessing unit) and the SubMPU 22 (sub microprocessing unit). The MainMPU 21 controls the entire inkjet recording device. The SubMPU 22 mainly controls printing. For convenience, the MainMPU 21 is sometimes referred to as the "control unit."
[0014] The MainMPU 21 and SubMPU 22 communicate serially via a serial communication interface circuit (A) 23 and a serial communication interface circuit (B) 24. The MainMPU 21 and code reader 50 communicate serially via a serial communication interface circuit (C) 25 and a serial communication interface circuit (D) 26. The MainMPU 21 communicates with a panel 28, which inputs information necessary for printing and related data, via a panel interface circuit 27. The printer is equipped with a RAM 29 (random access memory) for temporarily storing data and an HDD 31 (hard disk drive) for storing control programs and the like. The HDD 31 communicates with the MainMPU 21 via an HDD interface circuit 30. Communication data and the like are sent to the MainMPU 21 via a bus line 39, and are delivered from the MainMPU 21 to each circuit and the like. The data input / output interface 32 is an interface for inputting and outputting data to and from the outside (external devices, etc.).
[0015] Connected to the SubMPU 22 are a ROM 33 (read-only memory) that stores the print control program, a RAM 34 (random access memory) that temporarily stores print control data, a video RAM 35 that stores data actually used for printing, a print substrate detection circuit 36 that detects the arrival of the print substrate 16, a print substrate detection sensor 38, a character signal generation circuit 37 that converts the print content into a character signal, etc. Communication data etc. is sent to the SubMPU 22 via a bus line 40, and is delivered from the SubMPU 22 to each circuit etc.
[0016] Here, we will outline the basic operation of an inkjet recording device, from input of print data to completion of printing. Print data created based on code data, etc., is stored in RAM 29. Main MPU 21 converts the print data stored in RAM 29 into a format that can be transmitted to Sub MPU 22 via serial communication using a program stored in HDD 31, and transmits the data to Sub MPU 22 via bus line 39, serial communication interface circuit (A) 23, and serial communication interface circuit (B) 24.
[0017] The SubMPU 22 stores the transmitted print data in RAM 34 via bus line 40. After storing the data, the SubMPU 22 converts the transmitted print data into staircase-shaped data in accordance with a program stored in ROM 33 and stores the data in video RAM 35 via bus line 40. When the print substrate detection sensor 38 detects the print substrate 16, a command to start printing is sent to the SubMPU 22 via the print substrate detection circuit 36 and bus line 40. The SubMPU 22 retrieves the previously prepared staircase-shaped data from the video RAM 35 and sends it via bus line 40 to the character signal generation circuit 37. The character signal generation circuit 37 converts the transmitted staircase-shaped data into character signals and sends them to the charging electrode 12. Ink particles ejected from the nozzles 11 receive an electric charge in the charging electrode 12, are deflected by the deflection electrode 13, and fly toward the print substrate 16, where they adhere to the print substrate 16 and form a print. Uncharged ink particles that have not been used for printing are collected through a gutter 14 and supplied again to the nozzles 11 by a pump 15. <Overview of the operation of the present invention> 2 is a functional block diagram showing an example of the configuration of an inkjet recording device. The main body 20 of the inkjet recording device includes, as functional blocks, a file reading unit 201, a code template creation unit 202, a recording unit 203, a print control unit 204, a printing unit 205, a calculation unit 206, a display panel unit 207, and a communication unit 208.
[0018] The file reading unit 201 corresponds to the program stored in the HDD 31 and the data input / output interface 32. The code template creation unit 202 corresponds to the program stored in the HDD 31. The recording unit 203 corresponds to the RAM 29, HDD 31, and video RAM 35. The print control unit 204 corresponds to the program stored in the ROM 33. The print unit 205 corresponds to the character signal generation circuit 37. The calculation unit 206 corresponds to the program stored in the HDD 31. The communication unit 208 corresponds to the serial communication interface circuit (C) 25 and the serial communication interface circuit (D) 26. The display panel unit 207 corresponds to the panel 28. (Code template registration behavior) The file reading unit 201 outputs an externally input CSV file FL to the code template creation unit 202. The code template creation unit 202 creates a code template based on the CSV file FL. The code template creation unit 202 registers (memorizes or stores) the code template in the recording unit 203 (HDD 31). Note that information for creating a code template such as the CSV file FL may be referred to as "code template information." The recording unit 203 may store multiple code templates. (Printing operation) The code reader 50 reads code data from an information code such as a barcode or a two-dimensional code, and outputs the read code data to the calculation unit 206 via the communication unit 208. The information code is attached to an object (for example, the printing object 16). For convenience, the code reader 50 may also be referred to as a "code reading unit."
[0019] The calculation unit 206 acquires the code data read by the code reader 50 via the communication unit 208. The display panel unit 207 registers the print setting data input via the operation screen displayed on the display panel unit 207 in the recording unit 203. The print setting data is data for setting the character size (character height and character width), character posture, writing start position, number of printing columns, character spacing, print character type (font type, two-dimensional barcode, barcode, etc.), etc.
[0020] The calculation unit 206 creates print data based on the code data, the code template, and the print setting data, and records the print data in the recording unit 203. The calculation unit 206 converts the recorded print data into staircase waveform data, and records the staircase waveform data (converted print data) in the recording unit 203.
[0021] The calculation unit 206 creates display data necessary to display an image representing the content to be printed based on the print data, and outputs the data to the display panel unit 203 .
[0022] The display panel unit 207 uses the display data input from the recording unit 203 to display an image representing the content to be printed on the display panel unit 207 according to the print data.
[0023] The printing control unit 204 extracts the staircase waveform data (converted print data) from the recording unit 203 and outputs it to the printing unit 205. The printing unit 205 executes a process for printing on the printing target 16 using the staircase waveform data. <Example of operation> To facilitate understanding of the present invention, specific examples (first and second examples) of the operation of the inkjet recording apparatus will be described below. (First example of operation) A first example of the operation of the inkjet recording device will now be described. Fig. 3A shows a CSV file 301, which is an example of the CSV file FL used in the code template registration operation. Fig. 3B shows a code template 302 created based on the CSV file 301 of Fig. 3A. As described above, the code template 302 is created based on the CSV file 301 and registered (memorized, stored) in the recording unit 203 (HDD 31).
[0024] The code template 302 includes rows containing columns storing information necessary for analyzing the code data, such as an identification number 302a, a product type number 302b, a start symbol 302c, an end symbol 302d, a switching symbol 302e, and an input format 302f.
[0025] The identification number 302a includes a row name storage column 302a1 and a template number storage column 302a2 as columns for storing information (values).
[0026] The line name storage column 302a1 stores the name of the line (identification information). The template number storage column 302a2 stores the identification number of the code template 302. In the example shown in FIG. 3B, the line name storage column 302a1 stores "identification number," which is the name of this line. The template number storage column 302a2 stores "1," which is the identification number of this code template 302.
[0027] Product type number 302b includes a row name storage column 302b1 and a product type number storage column 302b2 as columns for storing information (values). Row name storage column 302b1 stores the name of the row (identification information). Product type number storage column 302b2 stores the product type number (identification number for identifying the product) to which code template 302 is applied. In the example shown in FIG. 3B, row name storage column 302b1 stores "product type number," which is the name of this row. Note that in this example, the product type number is not used, so no information is stored in product type number storage column 302b2.
[0028] The start symbol 302c includes a row name storage column 302c1 and a start symbol storage column 302c2 as columns for storing information (values). The row name storage column 302c1 stores the name of the row (identification information). The start symbol storage column 302c2 stores the start symbol. In the example shown in FIG. 3B, the row name storage column 302c1 stores the name of this row, "start symbol." Note that in this example, a start symbol is not used, so no information is stored in the start symbol storage column 302c2.
[0029] The end symbol 302d includes a row name storage column 302d1 and an end symbol storage column 302d2 as columns for storing information (values). The row name storage column 302d1 stores the name of the row (identification information). The end symbol storage column 302d2 stores the end symbol. In the example shown in FIG. 3B, the row name storage column 302d1 stores the name of this row, "end symbol." Note that in this example, the end symbol is not used, so no information is stored in the end symbol storage column 302d2.
[0030] The switching symbol 302e includes a row name storage column 302e1 and a switching symbol storage column 302e2 as columns for storing information (values). The row name storage column 302e1 stores the name of the row (identification number). The switching symbol storage column 302e2 stores the switching symbol. In the example shown in FIG. 3B, the row name storage column 302e1 stores the name of this row, "switching symbol." The switching symbol storage column 302e2 stores the switching symbol "#."
[0031] The input format 302f includes columns for storing information (values), such as a row name storage column 302f1, a block number storage column 302f2, a print item storage column 302f3, a registered character storage column 302f4, and a print content storage column 302f5.
[0032] The row name storage column 302f1 stores row names (identification numbers). The block number storage column 302f2 stores block numbers. Note that block numbers are block numbers. A "block" is a space between delimiters or between a delimiter and an end symbol in code data (i.e., a location (character position range) in code data where the printed content or the identification number of a registered character (registered character identification number) exists). Information used to identify a block, such as delimiters and end symbols, is also referred to as "delimiter information." Each block contains (is written with) the printed content, registered character identification number, etc. Block numbers are assigned to each block, starting from 1, from the start position to the end position of the code data.
[0033] The print item storage column 302f3 stores print item numbers (see the dotted line frame FM1 in FIG. 4C) corresponding to each of the multiple print positions.
[0034] In the registered character storage column 302f4, when a registered character is used, a registered character identification number corresponding to the registered character is stored, and when a registered character is not used, information indicating that the registered character is not used (for example, a character string) is stored. The registered characters are characters (symbols) such as ● and ◯ that are stored in advance in the recording unit 203, and the characters (symbols) associated with the registered character identification numbers are stored as registered characters in the recording unit 203 (HDD 31).
[0035] The print content storage column 302f5 stores the print content written in the block in the code data corresponding to the block number stored in the block number storage column 302f2 on the same line, based on the result of analyzing the code data.
[0036] In the example shown in FIG. 3B, the row name storage column 302f1 stores the name of this row, "Input Format." The block number storage column 302f2 stores the block number, "1." The print item storage column 302f3 stores the print item number, "1." The registered character storage column 302f4 stores "0xff," which is information (character string) indicating that registered characters will not be used. The print content storage column 302f5 does not store print content because it is in a state before the code data has been analyzed.
[0037] 4A is obtained by reading the information code with the code reader 50, the calculation unit 206 then obtains the code template 302 corresponding to the identification number "1" at the beginning of the code data 401 (the position after the transmission symbol (STX) and immediately before the switching symbol "#") from the recording unit 203. The calculation unit 206 analyzes the code data 401 using the code template 302.
[0038] The calculation unit 206 analyzes the code data 401 to obtain the print content "UBRW T" of the block with block number 1 (the block between the switching symbol "#" and the transmission symbol (ETX)) from the code data 401, and stores the obtained print content "UBRW T" in the print content storage column 302f5 of the input format 302f in the row whose block number stored in the block number storage column 302f2 is "1." Note that the transmission symbol (ETX) is defined as (is considered to be) the end symbol.
[0039] As a result, the calculation unit 206 creates a code template (FIG. 4B) in which information such as print content is stored in the print content storage column 302f5 of the input format 302f. Note that, hereinafter, a code template in which information such as print content is stored in the print content storage column of the input format based on the analysis result of the code data 401 is referred to as a "code template with information stored."
[0040] The calculation unit 206 creates print data based on the information-stored code template 302 and other separately set print setting data, and records (stores) the data in the recording unit 203 .
[0041] In the examples of Figures 4A and 4B, the print data is data for printing the print content "UBRW T" at the position of print item number 1 in the print area 402 of the print target 16 shown in the dotted frame FM1, as shown in Figure 4C, in accordance with the print setting data (character type, character size, etc.) specified for print item number 1 (separately set).
[0042] Printing control unit 204 reads the staircase waveform data (converted print data) from recording unit 203 and outputs it to printing unit 205. Based on the staircase waveform data (converted print data), printing unit 205 executes processing for printing on print target 16. As a result, as shown in Fig. 4C, the print content according to the print data is printed on print target 16. (Second example of operation) A second example of the operation of the inkjet recording apparatus will now be described. Fig. 5A shows a CSV file 501, which is another example of the CSV file FL. Fig. 5B shows a code template 502 created based on the CSV file 501 of Fig. 5A. As described above, the code template 502 is created based on the CSV file 501 and registered (memorized, stored) in the recording unit 203 (HDD 31).
[0043] The code template 502 includes rows containing columns storing information necessary for analyzing code data, such as an identification number 502a, a product type number 502b, a start symbol 502c, an end symbol 502d, a switching symbol 502e, an input format 1 502fa, an input format 2 502fb, an input format 3 502fc, an input format 4 502fd, and an input format 5 502fe.
[0044] The identification number 502a includes a row name storage column 502a1 and a template number storage column 502a2 as columns for storing information (values).
[0045] The line name storage column 502a1 stores the line name (identification information). The template number storage column 502a2 stores the identification number of the code template 502. In the example shown in FIG. 5B, the line name storage column 502a1 stores "identification number," which is the name of this line. The template number storage column 502a2 stores "3," which is the identification number of this code template 502.
[0046] Product type number 502b includes a row name storage column 502b1 and a product type number storage column 502b2 as columns for storing information (values). Row name storage column 502b1 stores the name of the row (identification information). Product type number storage column 502b2 stores the product type number (identification number for identifying the product) to which code template 502 is applied. In the example shown in FIG. 5B, row name storage column 502b1 stores "product type number," which is the name of this row. Product type number storage column 502b2 stores "1," which is the product type number.
[0047] The start symbol 502c includes a row name storage column 502c1 and a start symbol storage column 502c2 as columns for storing information (values). The row name storage column 502c1 stores the name of the row (identification information). The start symbol storage column 502c2 stores the start symbol. In the example shown in FIG. 5B, the row name storage column 502c1 stores the name of this row, "start symbol." The start symbol storage column 502c2 stores the start symbol "$$."
[0048] The end symbol 502d includes a row name storage column 502d1 and an end symbol storage column 502d2 as columns for storing information (values). The row name storage column 502d1 stores the name of the row (identification information). The end symbol storage column 502d2 stores the end symbol. In the example shown in FIG. 5B, the row name storage column 502d1 stores the name of this row, "end symbol." The end symbol storage column 502d2 stores the end symbol "$$."
[0049] The switching symbol 502e includes a row name storage column 502e1 and a switching symbol storage column 502e2 as columns for storing information (values). The row name storage column 502e1 stores the name of the row (identification number). The switching symbol storage column 502e2 stores the switching symbol. In the example shown in FIG. 5B, the row name storage column 502e1 stores the name of this row, "switching symbol." The switching symbol storage column 502e2 stores the switching symbol "&&."
[0050] Input format 1 502fa includes the following columns for storing information (values): row name storage column 502fa1, block number storage column 502fa2, print item storage column 502fa3, registered character storage column 502fa4, and print content storage column 502fa5. In the example shown in FIG. 5B, row name storage column 502fa1 stores the name of this row, "input format 1." Block number storage column 502fa2 stores the block number, "1." Print item storage column 502fa3 stores the print item number, "2." Registered character storage column 502fa4 stores "0xff," which is information (character string) indicating that registered characters are not used. Print content storage column 502fa5 does not store print content because it is in a state before the code data has been analyzed.
[0051] Input format 2 502fb includes, as columns for storing information (values), a row name storage column 502fb1, a block number storage column 502fb2, a print item storage column 502fb3, a registered character storage column 502fb4, and a print content storage column 502fb5.
[0052] In the example shown in FIG. 5B, the row name storage column 502fb1 stores the name of this row, "Input format 2." The block number storage column 502fb2 stores the block number, "2." The print item storage column 502fb3 stores the print item number, "10." The registered character storage column 502fb4 stores "0xff," which is information (character string) indicating that registered characters will not be used. The print content storage column 502fb5 does not store print content because it is in a state before the code data has been analyzed.
[0053] Input format 3 502fc includes the following columns for storing information (values): row name storage column 502fc1, block number storage column 502fc2, print item storage column 502fc3, registered character storage column 502fc4, and print content storage column 502fc5. In the example shown in FIG. 5B, row name storage column 502fc1 stores the name of this row, "input format 3." Block number storage column 502fc2 stores the block number, "3." Print item storage column 502fc3 stores the print item number, "11." Registered character storage column 502fc4 stores "0xff," which is information (character string) indicating that a registered character is not used. Print content storage column 502fc5 does not store print content because it is in a state before the code data has been analyzed.
[0054] Input format 4 502fd includes the following columns for storing information (values): row name storage column 502fd1, block number storage column 502fd2, print item storage column 502fd3, registered character storage column 502fd4, and print content storage column 502fd5. In the example shown in FIG. 5B, the row name storage column 502fd1 stores the name of this row, "input format 4." The block number storage column 502fd2 stores the block number, "4." The print item storage column 502fd3 stores the print item number, "12." The registered character storage column 502fd4 stores "0xff," which is information (character string) indicating that a registered character is not used. The print content storage column 502fd5 does not store any print content because it is in a state before the code data has been analyzed.
[0055] Input format 5 502fe includes the following columns for storing information (values): row name storage column 502fe1, block number storage column 502fe2, print item storage column 502fe3, registered character storage column 502fe4, and print content storage column 502fe5. In the example shown in FIG. 5B, row name storage column 502fe1 stores the name of this row, "input format 5." Block number storage column 502fe2 stores the block number, "5." Print item storage column 502fe3 stores the print item number, "3." Registered character storage column 502fe4 stores "0xff," which is information (character string) indicating that a registered character is not used. Print content storage column 502fe5 does not store print content because it is in a state before the code data has been analyzed.
[0056] 6A is obtained by reading the information code with the code reader 50, the calculation unit 206 then obtains the code template 502 corresponding to the identification number "3" at the beginning of the code data 601 (the position after the transmission symbol (STX) and immediately before the switching symbol "&&") from the recording unit 203. The calculation unit 206 analyzes the code data 601 using the code template 502.
[0057] The calculation unit 206 analyzes the code data 601 to obtain the print content "MF-37" of the block with block number 1 from the code data 601, and stores the obtained print content "MF-37" in the print content storage column 502fa5 of the input format 1 502fa in the row whose block number stored in the block number storage column 502fa2 is "1."
[0058] Furthermore, the calculation unit 206 analyzes the code data 601 to obtain the print content "2022-01-27" of the block with block number 2 from the code data 601, and stores the obtained print content "2022-01-27" in the print content storage column 502fb5 of the input format 2 502fb in the row with the block number "2" stored in the block number storage column 502fb2.
[0059] Furthermore, the calculation unit 206 analyzes the code data 601 to obtain the print content "24" of the block with block number 3 from the code data 601, and stores the obtained print content "24" in the print content storage column 502fc5 of the input format 3 502fc in the row whose block number stored in the block number storage column 502fc2 is "3."
[0060] Furthermore, the calculation unit 206 analyzes the code data 601 to obtain the print content "12" of the block with block number 4 from the code data 601, and stores the obtained print content "12" in the print content storage column 502fd5 of the input format 4 502fd in the row whose block number stored in the block number storage column 502fd2 is "4."
[0061] Furthermore, by analyzing the code data 601, the calculation unit 206 obtains the registration number "3" of the block with block number 5 from the code data 601, and stores the registered character "●" corresponding to the obtained registration number "3" in the print content storage column 502fe5 of the input format 5 502fe in the row whose block number stored in the block number storage column 502fe2 is "5".
[0062] As a result, the calculation unit 206 creates an information-stored code template 502 (FIG. 6B) in which the print content and the like are stored in the print content storage columns 502fa5 to 502fe5 of the input format 1 502fa to input format 5 502fe, respectively.
[0063] The calculation unit 206 records (memorizes, stores) the print data in the recording unit 203 based on the information-stored code template 502 and other print setting data that indicates the character type, character size, etc. for each separately set print item number. The calculation unit 206 acquires, from the print setting data table 602 shown in Fig. 6C, the print setting data (for example, print setting data 1) that is associated with the variety number "1" stored in the variety number storage column 502b2 as the print setting data.
[0064] In the example of FIGS. 6A and 6B, the print data is as follows:
[0065] That is, the print data is data for printing the print content "MF-37" from the input format 1 502fa at a position corresponding to print item number 2 in the print area 603 of the print target 16 (see the dotted frame FM2 in FIG. 6D) in accordance with the print setting data (character type, character size, etc.) specified (separately set) for print item number 2.
[0066] The print data is data indicating that the print content "2022-01-27" is to be printed from input format 2 502fb at a position corresponding to print item number 10 in the print area 603 of the print target 16 (see dotted frame FM2 in FIG. 6D), in accordance with the print setting data (character type, character size, etc.) specified (separately set) for print item number 10. Note that "LOT" in the figure is a character that is separately set by the print setting data.
[0067] The print data is data indicating that the print content "24" is to be printed from input format 3 502fc at a position corresponding to print item number 11 in print area 603 of print target 16 (see dotted frame FM2 in FIG. 6D), in accordance with the print setting data (character type, character size, etc.) specified (separately set) for print item number 11. Note that "Expiration date year" in the figure is a character that is separately set by the print setting data.
[0068] The print data is data indicating that the print content "12" is to be printed from the input format 4 502fd at a position corresponding to print item number 12 in the print area 603 of the print target 16 (see the dotted frame FM2 in FIG. 6D), in accordance with the print setting data (character type, character size, etc.) that is specified (separately set) for print item number 12. Note that "month" in the figure is a character that is separately set by the print setting data.
[0069] The print data is data indicating that the registered character "●" is to be printed in accordance with the separately set print setting data (character type, character size, etc.) specified for print item number 3 at the position corresponding to print item number 3 in the print area 603 of the print target object 16 (see the dotted frame FM2 in FIG. 6D) from input format 5 502fe.
[0070] Printing control unit 204 reads the staircase waveform data (converted print data) from recording unit 203 and outputs it to printing unit 205. Based on the staircase waveform data (converted print data), printing unit 205 executes processing for printing on print target 16. As a result, as shown in Fig. 6D, the print content according to the print data is printed on print target 16. <Specific operation> (Registration process) The details of the code template registration operation (processing) described above will now be explained. Fig. 7 is a flowchart showing the processing flow of the code template registration process executed by the code template creation unit 202. The code template creation unit 202 starts processing from step 700, and after sequentially executing the processes of steps 705 to 715 described below, proceeds to step 795 and temporarily ends this processing flow.
[0071] Step 705: The code template creating unit 202 acquires the CSV file FL that has been read in from the outside by the file reading unit 201.
[0072] Step 710: The code template creating unit 202 creates a code template based on the CSV file FL.
[0073] Step 715: The code template creating unit 202 registers (memorizes, stores) the created code template in the recording unit 203.
[0074] Note that this registration process may be performed multiple times, so that multiple code templates are stored in the recording unit 203 (HDD 31). (Printing operation (printing process)) The printing operation (printing process) described above will now be described in detail. Fig. 8 is a flowchart showing the processing flow of the printing operation executed by the calculation unit 206. The calculation unit 206 starts processing from step 800, and after sequentially executing the processes of steps 805 to 820 described below, proceeds to step 825.
[0075] Step 805: The calculation unit 206 acquires, via the communication unit 208, the code data read from the information code by the code reader 50.
[0076] Step 810: Based on the identification number of the code data, the calculation unit 206 sets the code template corresponding to the identification number stored in the recording unit 203 as the code template to be used, and starts analyzing the code data using the code template.
[0077] Step 815: The calculation unit 206 identifies the first block based on the code template. As mentioned above, a "block" refers to the space between two delimiters or between a delimiter and an end symbol in the code data. Each block contains (is written with) print content, a registered character identification number, and so on. Block numbers are assigned to each block in order, starting from 1, from the start position to the end position of the code data.
[0078] Step 820 : The calculation unit 206 reads the first character of the identified block and stores it in the RAM 29 .
[0079] When the calculation unit 206 proceeds to step 825, it determines whether the read character is a switching symbol or an end symbol.
[0080] If the read character is neither a switching symbol nor an end symbol, the calculation unit 206 proceeds to step 830 to read the next character, and then proceeds again to step 825 to execute the above-described processing.
[0081] If the read character is a switching symbol, the calculation unit 206 proceeds to step 835, where it stores the print content of the read block (the characters stored in RAM 29) in the print content storage column of the row of the input format for the corresponding block number of the code template, and then erases the print content (the characters stored in RAM 29) stored in RAM 29. If the character of the read block is a registered character identification number, it stores the registered character identification number of the read block in the registered character storage column of the input format for the corresponding block number of the code template, and further stores the registered character corresponding to the registered character identification number in the print content storage column of the same row, and then erases the registered character identification number (the character stored in RAM 29) stored in RAM 29. The calculation unit 206 identifies the next block, returns to step 820, and executes the above-mentioned processing.
[0082] If the character read in step 825 is an end symbol, the calculation unit 206 proceeds to step 840, where it stores the print content of the read block (the characters stored in RAM) in the print content storage column of the input format row of the corresponding block number of the code template, then erases the print content (the characters stored in RAM 29) stored in RAM 29, and ends the code data analysis process. Note that if the character of the read block is a registered character identification number, it performs the same process as above, and ends the code data analysis process. This creates the above-mentioned code template with stored information.
[0083] Thereafter, the calculation unit 206 proceeds to step 845 to determine whether or not the product type number is registered in the information-stored code template.
[0084] If the variety number is registered in the information-stored code template, the calculation unit 206 judges "YES" in step 845 and proceeds to step 850, reads the print setting data associated with the variety number in the print setting data table 602, and proceeds to step 855.
[0085] When the calculation unit 206 proceeds to step 855, it creates print data by reflecting the print items (print item numbers) of the input format in which the print content (registered characters) is stored, and the print content and / or registered characters, in the read print setting data, and records (stores, memorizes) the print data in the recording unit 203.
[0086] If the product type number is not registered in the code template, the calculation unit 206 determines "NO" in step 845 and proceeds directly to step 855. When proceeding to step 855, the calculation unit 206 creates print data by reflecting the print items (print item numbers) of the input format in which the print content (registered characters) is stored, and the print content and / or registered characters, in the print setting data set by panel operation or the like, and records the print data in the recording unit 203.
[0087] As described above, the print data (converted print data (stepwise waveform data)) recorded in recording unit 203 is read by print control unit 204 and output to print unit 205. Based on the stepwise waveform data (converted print data), print content in accordance with the print data is printed on the print target by print unit 205. <Effects> As described above, the inkjet recording apparatus according to the embodiment of the present invention can print desired print content and layout based on the code data and code template read from the information code, simply by preparing and registering in advance information codes and code templates corresponding to the desired print content and layout of the print content. Therefore, the inkjet recording apparatus can easily handle printing of various print content and layouts. <<Modifications>> The present invention is not limited to the above-described embodiment, and various modifications can be adopted within the scope of the present invention. In the above-described embodiment, the object to which the information code to be read is attached is not limited to the printed material. For example, the object to which the information code to be read is attached may be a paper medium such as a specification sheet.
[0088] In the above embodiment, a code template 502 may be created from a CSV file in which no variety number is stored in the variety number storage column 502b2 of the variety number specification 502b. In this case, the variety number may be embedded in an information code, and the code data read from the information code may be analyzed, thereby storing the variety number in the variety number storage column 502b2 of the variety number specification 502b of the code template 502.
[0089] In the above embodiment, the code template 502 may be created from the CSV file, with the registration number stored in the registered character storage string 502fe4 of the input format 502fe. [Explanation of symbols]
[0090] 21... MainMPU, 22... SubMPU, 28... Panel, 29... RAM, 30... HDD interface circuit, 31... HDD, 32... Data input / output interface, 33... ROM, 34... RAM, 35... Video RAM, 36... Printed object detection circuit, 37... Character signal generation circuit, 38... Printed object detection sensor, 50... Code reader
Claims
1. a code reading unit that reads code data from the information code; a storage unit in which a code template is stored, the code template being used for analyzing the code data and defining the position of information indicating a printing target in the code data and the printing position of the printing target relative to a printing substrate; a control unit that creates print data for printing the print object at the print position based on the code data and the code template corresponding to the code data; Equipped with The code template: delimiter information for identifying a block that is a character position range in which the print content or registered character identification information of the registered character exists, which is information indicating the print target in the code data; an input format in which input format identification information, identification information of the block in the code data, a print item indicating the print position of the print content existing in the block or a registered character corresponding to the registered character identification information, a registered character identification information storage area in which the registered character identification information is stored, and an information storage area in which the print content existing in the block or a registered character corresponding to the registered character identification information is stored, are associated; Including, Inkjet recording device.
2. 2. The inkjet recording apparatus according to claim 1, The control unit creating an information-stored code template by storing the print content present in the block, or the registered character identification information present in the block and the registered character corresponding to the registered character identification information, in the code template based on the result of analyzing the code data using the delimiter information; creating the print data based on the code template with the stored information; It was configured as follows: Inkjet recording device.
3. A code reading unit that reads code data from an information code; a storage unit in which a code template is stored, the code template being used for analyzing the code data and defining the position of information indicating a printing target in the code data and the printing position of the printing target relative to a printing substrate; a control unit that creates print data for printing the print object at the print position based on the code data and the code template corresponding to the code data; In an inkjet recording apparatus comprising: the code template further includes code template identification information for identifying the code template; The control unit obtaining the code template corresponding to the code template identification information from the storage unit based on the code template identification information included in the code data, and creating the print data using the obtained code template. It was configured as follows: Inkjet recording device.
4. 2. The inkjet recording apparatus according to claim 1, The control unit creating the code template from code template information for creating the code template, and registering the code template in the storage unit; It was configured as follows: Inkjet recording device.
5. 5. The inkjet recording apparatus according to claim 4, The control unit reading the code template information from an external device, and creating the code template using the code template information read from an external device; It was configured as follows: Inkjet recording device.
6. 3. The inkjet recording apparatus according to claim 2, The control unit The block of the code data is identified based on the code template, and information from the start position of the identified block to a position immediately before the delimiter information is stored in the code template as the print content or the registered character identification information. It was configured as follows: Inkjet recording device.
7. 3. The inkjet recording apparatus according to claim 2, the delimiter information includes a delimiter symbol and an end symbol; The control unit The block of the code data is identified based on the code template, and information from the start position of the identified block to the position immediately before the delimiter or the position immediately before the end symbol is stored in the code template as the print content or the registered character identification information. If the delimiter is located immediately after the end of the identified block, the next block is identified, and information from the start position of the identified block to the position immediately before the delimiter or the position immediately before the end symbol is stored in the code template as the print content or the registered character identification information. If the end symbol is located immediately after the last character position of the identified block, the analysis of the code data is terminated, and the code template in a state in which information is stored at the time of termination is used as the information-stored code template. It was configured as follows: Inkjet recording device.
8. 3. The inkjet recording apparatus according to claim 2, The control unit After the analysis of the code data is completed, if a product type number is registered in the stored code template, the print setting data associated with the product type number is called up; creating the print data based on the stored code template and the print setting data; It was configured as follows: Inkjet recording device.
9. A code reading unit that reads code data from an information code; a storage unit in which a code template is stored, the code template being used for analyzing the code data and defining the position of information indicating a printing target in the code data and the printing position of the printing target relative to a printing substrate; a control unit that creates print data for printing the print object at the print position based on the code data and the code template corresponding to the code data; In an inkjet recording apparatus comprising: The information code is attached to a printing object. Inkjet recording device.
Citation Information
Patent Citations
Ink jet recording apparatus
JP2000343782A
Circulation code printer, circulation code printing system and circulation code printing method
JP2006167921A
Name card print system
JP2007108875A
Print controller and print control method
JP2007293758A
Print support device, print support program and print support method
JP2012190259A