program
The liner-less label printer adjusts printing positions and ranges to maintain label alignment and appearance consistency, addressing the need for multiple format settings in conventional printers.
Patent Information
- Application Number
- JP2023205687
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2023-12-05
- Publication Date
- 2024-12-06
- Estimated Expiration
- 2030-10-27
AI Technical Summary
Conventional liner-less label printers require numerous format settings and adjustments, affecting the appearance of labels when dealing with varying amounts of print data, necessitating manual checks for dimensional alignment.
A liner-less label printer that automatically adjusts printing positions and ranges based on format data, ensuring that printing items align correctly even with varying data amounts by shifting positions when necessary.
Reduces the number of required print formats and maintains label appearance consistency across different print data volumes without manual adjustments.
Smart Images

Figure 0007595377000001 
Figure 0007595377000002 
Figure 0007595377000003
Abstract
Description
[Technical field]
[0001] The present invention relates to program Regarding. [Background technology]
[0002] Conventionally, a technology has been proposed for use with linerless label printers that allows for the selection of print format data for printing and cutting when a long label with a large amount of print is required to suit the product, or when a short label is required (see, for example, Patent Document 1), thereby saving paper and reducing the number of paper changes compared to conventional methods that use paper that is pre-cut to a fixed length. [Prior art documents] [Patent documents]
[0003] [Patent Document 1] JP 2007-8509 A Summary of the Invention [Problem to be solved by the invention]
[0004] However, this conventional technology requires the setting of many different print formats, which requires the setting and input of all of the print position, print range, etc. for each print item. Furthermore, when used in retail stores to display products, the dimensions between the print items affect the appearance, so the format must be checked after setting, posing a major problem.
[0005] The present invention has been made in consideration of these circumstances, and its object is to provide a linerless label printer that can reduce the number of print format types and minimize the impact on the appearance of the label, even when printing labels with different amounts of print data. [Means for solving the problem]
[0006] In order to solve the above problems, a linerless label printer according to one embodiment of the present invention is a linerless label printer that is equipped with a control means for controlling printing on linerless label paper based on print format data in which at least a print position in the paper transport direction and a print range in the paper transport direction are set for each print item, and when there is a print item for which the print height in the paper transport direction of the print data corresponding to the print range is less than the print range in the paper transport direction, and there is no other print item whose print position in the paper transport direction overlaps with the part of the print range of the print item whose print height is less than the print range in the paper transport direction that is less than the print height, the control means changes the print position in the paper transport direction of the other print item downstream in the paper transport direction of the print item whose print height is less than the print range in the paper transport direction to move it upstream in the paper transport direction by the amount that the print height is less than the print range in the paper transport direction. Effect of the Invention
[0007] According to the present invention, even when labels with different amounts of print data are printed, the number of types of print formats can be reduced, and the impact on the appearance of the labels can be suppressed. [Brief description of the drawings]
[0008] [Figure 1] 1 is a schematic diagram showing the mechanism of a linerless label printer according to an embodiment of the present invention. [Diagram 2] 1 is a block diagram showing a configuration of a linerless label printer according to an embodiment of the present invention. [Diagram 3] 4 is a conceptual diagram showing the data structure of a format file managed by the linerless label printer according to the embodiment. FIG. [Figure 4] 4 is a conceptual diagram showing the data structure of a product file managed by the linerless label printer according to the embodiment. FIG. [Diagram 5] 4 is a main flowchart for explaining the operation of the linerless label printer according to the present embodiment. [Figure 6]10 is a flowchart for explaining the operation of a dot data expansion routine according to the present embodiment. [Figure 7] FIG. 2 is a schematic diagram showing an example of a cut label according to the present embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0009] Hereinafter, an embodiment of the present invention will be described with reference to the drawings.
[0010] Fig. 1 is a schematic diagram showing the mechanism of a linerless label printer according to an embodiment of the present invention. In Fig. 1, linerless label paper 1, which has a thermosensitive coloring surface on one side and an adhesive surface on the other side, is pulled out from a label roll 2, which is wound into a roll, and is sandwiched between a thermal head 3 and a platen roller 4 driven by a stepping motor, and is heated and printed while being transported. After printing, the paper is cut by a cutter 5, and is issued as a label 6.
[0011] Fig. 2 is a block diagram showing the configuration of the linerless label printer according to this embodiment. As shown in Fig. 2, the linerless label printer according to this embodiment includes a CPU 10, a flash memory 11, a RAM 12, an operation unit 13, a display unit 14, a communication unit 15, an interface 16, a thermal head 17 (corresponding to the thermal head 3 in Fig. 1), a stepping motor 18, and a cutter 19 (corresponding to the cutter 5 in Fig. 1).
[0012] The CPU 10 is a central processing unit that controls the operation of the label printer by executing programs on the flash memory 11. The flash memory 11 is a read-only memory that stores the control program, control data, and the like for the label printer.
[0013] RAM 12 has a work area for temporarily retrieving (reading) data and processing it, including a dot expansion area for converting print data into dot data, a recall format area for retrieving and storing a single piece of format data from a format file, and a recall product data area for retrieving and storing product data.
[0014] The RAM 12 also stores a format file (see FIG. 3) that defines the label printing format, a product file (see FIG. 4) that defines various product data for label printing, a font file (character generator), etc., and is backed up by a battery so that the product file and format file are retained even when the power is turned off. The current mode of the linerless label printer (for example, pricing mode, setting mode, report mode, maintenance mode) is also stored in the RAM 12.
[0015] The operation unit 13 is an input device for operating the label printer, and is a touch panel integrated with the display unit 14. The display unit 14 is a liquid crystal display that displays various menu screens and data. The communication unit 15 communicates with the host computer.
[0016] The interface 16 inputs and outputs data between the CPU 10 and each of the drive units and motors described below. The thermal head 17 heats the paper 1 based on commands from the CPU 10. The stepping motor 18 rotates the label roll 2 and the platen roller 4 based on commands from the CPU 10 so that the label paper 1 is transported to a specified printing position or heating position. The cutter 19 cuts the paper 1 after printing based on commands from the CPU 10.
[0017] 3 is a conceptual diagram showing the data structure of a format file managed by the linerless label printer according to this embodiment. In the format file, various print formats can be set, including a format number that identifies the type of format, a label length that determines the cut length of the paper, and print items such as product name, additives, message, ingredients, price, barcode, unit, best before date, processing date and time, and store name. For each of these print items, the print position (the top left corner of the label is set to 0,0, and refers to the top left corner of the print range), height which is the print range in the paper transport direction, length which is the print range in the direction perpendicular to the height, and font which identifies the character font type are set.
[0018] 4 is a conceptual diagram showing the data structure of a product file managed by the linerless label printer according to this embodiment. Items such as product number, product name, price, barcode, additives, message, ingredients, etc. are set in the product file. When setting multiple lines of print data for each item, a line feed code is inserted at the end of each line.
[0019] The operation of the linerless label printer according to this embodiment will be described below using flowcharts. Fig. 5 is a main flowchart for explaining the operation of the linerless label printer according to this embodiment. Fig. 6 is a flowchart for explaining the operation of the dot data development routine according to this embodiment. Fig. 7 is a schematic diagram showing an example of a cut label according to this embodiment. Each step shown in Figs. 5 and 6 is controlled by the CPU 10.
[0020] 5, first, the RAM 12 is referenced to determine whether or not the mode is a pricing mode in which labels are issued (step S1). If it is determined that the mode is not a pricing mode (step S1: NO), file data setting in the setting mode, output of a performance report in the report mode, maintenance in the maintenance mode, etc. are performed (step S2), and the process returns to step S1.
[0021] On the other hand, if it is determined that the mode is the value-added mode (step S1: YES), the desired format data is called from the format file to the called format area in the RAM 12 (step S3). The desired format data is format data of a format specified by a format number specified by the operator via the operation unit 13. For example, when the format file shown in FIG. 3 is stored in the RAM 12, if the format number #1 is specified, the format data of the format specified by the format number #1 will be called. In addition, in the format data of the format specified by the format number #1, the product name has a printing range of three lines and the additives have a printing range of four lines (see the left side of the arrow in FIG. 7).
[0022] Next, in RAM 12, the product data of the product to be priced is called up from the product to the called product data area (step S4). The product to be priced is specified by the operator specifying the product number via the operation unit 13. For example, when the product file shown in Fig. 4 is stored in RAM 12, if product number 0001 is specified, the product data of the product specified by product number 0001 will be called up as the product data of the product to be priced. The name and additives of the product specified by product number 0001 each take up one line of print data (see Fig. 4).
[0023] Next, in accordance with the format called up in step S3, the print data of the product data called up in step S4 is expanded into dot data (step S5), the details of which will be described with reference to FIG.
[0024] Next, based on the dot data developed in step S5, the thermal head 17 and platen roller 4 are controlled to print on the paper 1 (step S6). Then, based on the label length data in the called format area, the cutter 19 is controlled to cut the paper 1 (step S7). In other words, if the format with format number #1 was called in step S3 and product data for product number 0001 was called in step S4, a label like the one shown to the right of the arrow in Fig. 7 will be printed. Then, the process returns to step S1.
[0025] In Fig. 6, first, the format data called in step S3 in Fig. 5 is searched for a print item on the most upstream side in the paper transport direction that has not been subjected to a judgment process (at least the judgment process of step S12 among the judgment processes of steps S12 to S15) (step S11). For example, if this is the first time the judgment process is performed, the print item on the most upstream side is "product name".
[0026] Next, it is determined whether the printed item searched for in step S11 is a "product name" (step S12), and if it is not a "product name", it is determined whether it is an "additive" (step S13), and if it is not an "additive", it is determined whether it is a "raw material" (step S14), and if it is not a "raw material", it is determined whether it is a "message" (step S15).
[0027] The printing items "Product Name", "Additives", "Ingredients", and "Message" determined in steps S12 to S15 are predefined as printing items whose printing range (height) in the paper transport direction is changed according to the amount of printing data for each item. More specifically, each of the above printing items is predefined as a printing item whose printing range is made smaller (shorter) when the amount of printing data in the paper transport direction (e.g., the number of lines) is smaller than the printing range in the paper transport direction (e.g., the number of lines).
[0028] If the print item searched in step S11 corresponds to any of the above "Product Name", "Additives", "Ingredients", and "Message" (step S12: YES, step S13: YES, step S14: YES, step S15: YES), it is determined whether the print data for the print item satisfies the height (print range in the paper transport direction) of the print item in the format data (step S16). That is, for each print item for which the result is YES in steps S12 to S15, the height (print range in the paper transport direction) of the format data called up in step S3 is compared with the amount of print data in the paper transport direction in the product data called up in step S4, and if the amount of print data is small relative to the height, it is determined that the height is not satisfied, and if it is not small, it is determined that the height is satisfied. For example, in the case of the print item "Product Name", the print range (height) in the paper transport direction is three lines, while the print data is only one line, so it is determined that the height is not satisfied.
[0029] Then, if it is determined that the print data does not satisfy the height of the corresponding print item of the format data (step S16: NO), it is determined whether there is print data of other print items (other print items of the format data called up in step S3) whose position in the paper conveying direction overlaps with the unsatisfied part (marginal height part) (step S17). In other words, it is determined whether there is other print items of the print data whose height position overlaps with the unsatisfied part (marginal height part). That is, it is determined whether there is print data of other print items of the called format data that is to be printed in the marginal height part. For example, in the case of the print item "name of product", the print range (height) in the paper conveying direction is three lines, and the print data is one line, so the unsatisfied part (marginal height part) is two lines, so it is determined whether there is print data of each print item of "barcode", "price", "unit", "additive", and "store name" that is to be printed in the two lines. In other words, in step S17, when format data in which print items are arranged in parallel in the paper transport direction is called in step S3, if there is an unfilled portion (excess height portion) for one of the parallelly arranged print items, it is determined whether or not the format data specifies that print data for other parallelly arranged print items is to be printed in the unfilled portion.
[0030] Then, if it is determined that there are no other print items of the print data that overlap in height (step S17: NO), the position data in the paper transport direction of all subsequent items in the print position order in the recall format data is subtracted to move upward by the amount that does not meet the height range (margin) and the positions are changed (step S18). For example, if the determination is made regarding the print item "product name" in step S16, the position data in the paper transport direction of each print item of barcode, price, unit, additives, and store name is reduced by two lines of "product name". In other words, each print item is printed two lines upstream of "product name" in the paper transport direction. The label length data is also shortened by two lines of "product name".
[0031] Next, it is determined whether or not all items of the call format data have been processed (step S19), and if all items have not been processed (step S19: NO), the process returns to step S11.
[0032] On the other hand, if all items of the called format data have been processed (step S19: YES), for the print item searched in step S11, the product data of the same item in the called product data area is converted to dot data and written in the dot development area, top left justified in the print range (step S20). This is done based on the position and font data of the format data in the called format area. Then, the process returns to the main routine of FIG. 5.
[0033] When returning to the main routine, if format number #1 and product number 0001 have been entered, the dot data is expanded as shown in the right diagram of Figure 7. In other words, the print items after the product name are moved up two lines by "product name", and further, the "store name" after "additives" is moved up three lines by "additives". And the label length data of the recall format data is shortened by two lines by "product name" and three lines by "additives".
[0034] On the other hand, if the print item searched in step S11 does not correspond to any of "Product Name", "Additives", "Ingredients", or "Message" (step S12: NO, step S13: NO, step S14: NO, step S15: NO), steps S16, S17, and S18 are skipped and the process proceeds to step S19. Also, if it is determined that the print data satisfies the height of the corresponding print item in the format data (step S16: YES), steps S17 and S18 are skipped and the process proceeds to step S19. Also, if it is determined that there is another print item in the print data that overlaps in height position (step S17: YES), step S18 is skipped and the process proceeds to step S19.
[0035] The present invention may be applied to labels affixed to packaged fresh food products, in which a price label with the product name and price printed on it is affixed to the front of the product, and a back label with additives and ingredients mainly printed on it is affixed to the back of the product, and the present invention may be applied to a label printer that can print these two labels at the same time.
[0036] Also, the format data may be configured to set the rotation angle of the print item. Also, the items for which the print range can be shortened are not limited to product name, additives, ingredients, and messages, but may be any items whose print range in the paper transport direction changes depending on the amount of print data for that item. Also, the timing for changing the print position is not limited to when printing or when expanding dots, but may be when the print data is determined or thereafter.
[0037] Also, the print position change is not limited to cases where the amount of print data does not fill the print range, but may also be the case where the amount of print data exceeds the print range. In this case, the positions of the following items are changed in the direction away from the print range by the amount of data that exceeds the print range. In this way, it is possible to omit the operation of setting the print range in the paper transport direction from the format data.
[0038] Furthermore, the linerless label printer may be one that activates the adhesive surface of the paper when printing the label. Also, the paper may be cut manually. Furthermore, it is not limited to a single label printer, and may be one that includes a scale, an automatic labeling device, a packaging machine, or a POS.
[0039] In this embodiment, the print data for each item is aligned to the top of the print range of the format, but this is not limiting and the print data may be aligned to the bottom. In the case of alignment to the bottom, in the item position change process in step S18, not only the items following the item determined not to satisfy the height are changed, but also the item determined not to satisfy the height.
[0040] In this embodiment, the position data of the format points to the upper left corner of the print range, but it is not limited to this and may point to the upper right corner, lower left corner, or lower right corner. The linerless label printer of this embodiment judges whether the print data corresponding to the print item fills the print range in the paper transport direction, and if it does not, it changes the positions of at least other print items that follow it so as to move closer. The linerless label printer of this embodiment also performs different change processing depending on whether or not there is print data for other print items whose positions in the paper transport direction overlap with the part that does not fill the range.
[0041] The following supplementary notes are disclosed below. (Supplementary Note 1) The linerless label printer according to Supplementary Note 1 prints on linerless label paper based on print format data in which at least the print position in the paper transport direction and the print range in the paper transport direction are set for each print item, and then cuts and issues a label, and is characterized in that, if there is a print item for which the print height in the paper transport direction of the print data corresponding to the print range in the paper transport direction is less than the print range in the paper transport direction, the print position in the paper transport direction of either the print item or one or both of the other print items is changed to be shifted in the paper transport direction by the amount that the print height does not meet the print range in the paper transport direction (changed to be shifted to the upstream side of the paper, or changed to be shifted to the downstream side of the paper). That is, the print position may be shifted upward relative to the print range, or may be shifted downward relative to the print range (same below). The above-mentioned linerless label printer may also compare the printing range in the paper transport direction with the printing height in the paper transport direction of the printing data corresponding to that printing range, and for a printing item whose printing height is less than the printing range in the paper transport direction, change the printing position in the paper transport direction of either that printing item or one or both of the other printing items by moving them closer in the paper transport direction by the amount that the printing height is less than the printing range in the paper transport direction.
[0042] With the above-mentioned linerless label printer, even when printing labels with different amounts of print data for the same print item, there is no need to change the print format, so the number of print format types can be reduced. Moreover, because the spacing between print items can be maintained, the impact on the appearance of the label can be reduced.
[0043] The linerless label printer may compare a print range in the paper transport direction for a predetermined print item with a print height in the paper transport direction of the print data corresponding to the print range. The predetermined print item may be any one of the product name, additives, a message, or raw materials.
[0044] The above-mentioned linerless label printer is effective in determining whether the printing data for the printing items of product name, additives, message, or ingredients fills the printing range, since the amount of printing data for these items often differs depending on the product.
[0045] The above-mentioned linerless label printer may be configured such that, when there is no print data for a print item whose print height does not fill the print range in the paper transport direction and another print item whose print position in the paper transport direction overlaps with the print item, the print position in the paper transport direction of either the print item or the other print item, or both, is changed so as to move closer in the paper transport direction by the amount that the print height does not fill the print range in the paper transport direction.
[0046] With the above-mentioned mountless label printer, by changing processing depending on whether there is print data for other print items that overlap in the paper transport direction, paper can be saved without any problems even when the print items are arranged in parallel in the paper transport direction. [Explanation of symbols]
[0047] 1. Linerless label paper 2 Label rolls 3, 17 Thermal head 4 Platen roller 5, 19 Cutter 6. Labels 10 CPU 11. Flash Memory 12 RAM 13 Control section 14 Display section 15 Communications Department 16 Interface 18 Stepping motor
Claims
[Claim 1] A program that causes a computer to function as a linerless label printer that prints each print item on linerless label paper so that the top-to-bottom directions of the print items are reversed between the paper transport direction and the print items and is top-justified within each print range, based on print format data in which at least a print position in the paper transport direction and a print range in the paper transport direction are set for each print item in addition to a format number that identifies the type of print format and a label length that determines the length to which the linerless label paper is cut, The computer, a determination means for determining, in order from the upstream side in the paper transport direction, for a predetermined print item, whether there is a portion of the print range of the print item that is not filled by the print height of the print data of the print item in the paper transport direction, and whether there is another print item whose print position in the paper transport direction overlaps with the portion of the print data of the print item that is not filled by the print height in the paper transport direction; a modification means for modifying the print positions in the paper transport direction of all other print items downstream of the print item in the paper transport direction by the amount that the print height in the paper transport direction of the print data of the print item does not meet the print range of the print item when the determination means determines that there is a portion of the print range of the print item that is not met by the print height in the paper transport direction of the print data of the print item and that there is no other print item whose print position in the paper transport direction overlaps with the portion where the print height in the paper transport direction of the print data of the print item does not meet the print range of the print item, by shifting the print positions in the paper transport direction of all other print items downstream of the print item in the paper transport direction to the upstream side in the paper transport direction by the amount that the print height in the paper transport direction of the print data of the print item does not meet the print range of the print item, and by shortening the label length by the amount that the print height does not meet the print range of the print item A program that functions as a
Citation Information
Patent Citations
Controlling system of printing of card information
JP1985239261A
Label printer
JP1995068853A
Printing apparatus
JP2000318230A
Label creation device, program and recording medium
JP2006099261A
Mountless label printer, and method of cutting mountless label sheet
JP2007008509A
