Multi-color printing control method, device and system of thermal transfer printer

By identifying and matching the available ribbons of the thermal transfer printer in the editing and typesetting terminal, analyzing and generating print data pixel by pixel, the problem of color mismatch and positional difference in multicolor printers is solved, and efficient and accurate multicolor printing control is achieved.

CN121300727AActive Publication Date: 2026-01-09SHENZHEN KINGPEK CO LTD

Patent Information

Application Number
CN202511889248.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-12-15
Publication Date
2026-01-09
Estimated Expiration
2045-12-15

AI Technical Summary

Technical Problem

Existing multicolor thermal transfer printers suffer from unsatisfactory printing results when the designed colors do not match the available ribbons. They lack an intelligent color matching mechanism, and misalignment is caused by differences in printhead position. The system is not flexible enough, and complex adjustments are required when changing ribbons or switching printers.

Method used

The system identifies available ribbons for the printing mechanism by editing and typesetting terminals, establishes a correspondence between ribbons and printheads, analyzes and matches the colors of the design page pixel by pixel, generates printing data, takes into account the displacement of the printing media and the position of the printhead, supports multi-color space matching, dynamically adapts to ribbon changes, and saves the configuration information as a printing template.

Benefits of technology

It achieves intelligent matching of design colors with available ribbons, improving print quality and efficiency, ensuring accurate color alignment, simplifying configuration management, and supporting flexible scheduling of multiple printers.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121300727A_ABST
    Figure CN121300727A_ABST
Patent Text Reader

Abstract

The invention provides a multi-color printing control method, device and system of a thermal transfer printer, which are applied to a system comprising an editing and typesetting terminal and a thermal transfer printing mechanism, and the thermal transfer printing mechanism is provided with at least two printing heads which are respectively provided with colored tapes with different colors. The method comprises the following steps: acquiring a design page containing images and texts with various colors at an editing and typesetting terminal; identifying the color of each currently available color tape of the thermal transfer printing mechanism to form an available color set, and establishing a corresponding relationship between each printing head and the color of the color tape of the printing head; analyzing the design page pixel by pixel, matching the color of each pixel with the available color set to determine the target available color of the pixel, and merging the pixels with the same or similar target available colors into a corresponding printing object; distributing the printing objects to printing heads corresponding to the target available colors of the printing objects, and generating printing data of the printing heads based on distribution; and the printing data are sent to a thermal transfer printing mechanism, so that a multi-color printing task is completed.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of printing control, and particularly relates to a multi-color printing control method, device and system of a thermal transfer printer. BACKGROUND

[0002] Thermal transfer printing technology is a printing technology that uses a thermal print head to heat a ribbon, so that the ink on the ribbon is transferred to a printing medium. Compared with traditional single-color thermal transfer printing, multi-color thermal transfer printing can realize the output of multiple colors of graphics and texts in one printing process, and is widely used in fields such as label printing, barcode printing, and card printing.

[0003] Existing multi-color thermal transfer printers usually use multiple print heads to assemble different color ribbons, and realize multi-color printing by controlling the working time sequence of different print heads. However, the existing technology has the following problems: Firstly, during the editing and layout stage, designers usually use general image editing software to design multi-color graphics and text content, and the color range supported by these software far exceeds the actual available ribbon colors of the printer. When the colors in the design page do not match the available ribbon colors of the printer, it often leads to an undesirable printing effect or cannot print normally.

[0004] Secondly, the existing system lacks an intelligent color matching mechanism. For pixels in the design page that do not completely match the available ribbon colors, the closest available color cannot be automatically selected for replacement, and manual adjustment is required, which is low in efficiency.

[0005] Thirdly, in a multi-print head system, the physical positions of each print head on the printing medium are different. If the real-time displacement of the printing medium and the relative positions of each print head are not considered, it will cause the misalignment of graphics and texts of different colors, affecting the printing accuracy.

[0006] In addition, the existing system lacks flexibility. When the ribbon is replaced or needs to be switched between multiple printers during the printing process, complex settings and adjustments need to be performed again, and there is a lack of a convenient configuration management mechanism.

[0007] Therefore, a multi-color printing control method is needed, which can intelligently identify available ribbons, automatically perform color matching, and accurately control the cooperative work of multiple print heads, to improve the printing quality and work efficiency. SUMMARY

[0008] The present application aims to overcome the deficiencies of the prior art, and provides a multi-color printing control method, device and system of a thermal transfer printer, which realizes intelligent matching of design page colors and available ribbons, and improves the automation degree and printing quality of multi-color printing.

[0009] In a first aspect, the present application provides a multi-color printing control method of a thermal transfer printer, applied to a system comprising an editing and layout terminal and a thermal transfer printer, wherein the thermal transfer printer has at least two print heads respectively equipped with color ribbons of different colors, and the method comprises the following steps: S1 obtaining a design page containing multi-color graphics and texts at the editing and layout terminal; S2 identifying the colors of the color ribbons currently available for the thermal transfer printer, forming an available color set, and establishing a correspondence between each print head and the color of its color ribbon; S3 performing a pixel-by-pixel analysis on the design page, matching the color of each pixel with the colors in the available color set to determine the target available color of the pixel, and merging pixels with the same or similar target available colors into corresponding print objects; S4 assigning each print object to the print head corresponding to its target available color, and generating print data for each print head based on the assignment; S5 sending the print data to the thermal transfer printer respectively to complete a multi-color printing task.

[0010] Preferably, in step S2, the available color set is determined by the editing and layout terminal according to user configuration, or determined by color ribbon identification information obtained from the thermal transfer printer through a communication interface.

[0011] Preferably, in step S3, the specific steps of matching the color of each pixel with the colors in the available color set comprise: S31 calculating feature values of the available color set as standard values according to the color value ranges of the available color set; S32 determining the color value tolerance range of each available color set, and merging pixels with a color value difference from the standard value within a preset matching color value tolerance threshold range into the same print object.

[0012] Preferably, in step S3, when matching the color of each pixel with the colors in the available color set, it is determined whether the color value of the current pixel exists in the available color set; if it exists, the pixel is merged into the corresponding print object; if it does not exist, the similarity of the color value of the current pixel with each color in the available color set is calculated respectively, and the available color with the highest similarity is selected; if the highest similarity reaches a preset matching threshold, the pixel is merged into the corresponding print object; if the highest similarity does not reach the matching threshold, an error message is output and the assignment of the pixel or the print object to which it belongs is suspended, or it is directly handed over to manual processing.

[0013] Preferably, in step S3, when matching the color of each pixel with the available color set, the matching operation is based on a selected color space, which is any one of RGB, CMYK, Lab, or HSV.

[0014] Preferably, in the RGB color space, the preset matching threshold is limited by setting the absolute error range of the R, G, and B channels.

[0015] Preferably, when matching is performed in the Lab color space, the preset matching threshold is limited by setting the tolerance threshold of the color difference ΔE.

[0016] Preferably, in step S4, when generating the printing data for each printhead, the timing of the data output of each printhead is adjusted based on the real-time displacement information of the printing medium and the relative physical position between each printhead, so that each printed object is transmitted to the effective printing area of ​​its respective printhead.

[0017] Preferably, if a change in the available color set of the thermal transfer printing mechanism is detected during the printing process, steps S2 to S4 are re-executed to update the mapping relationship between the printing object and the print head and the printing data.

[0018] Preferably, the configuration information, including the available color set, matching rules, and image post-processing parameters, is saved as a print template for use in subsequent print jobs.

[0019] Preferably, the editing and typesetting terminal is communicatively connected to multiple thermal transfer printing institutions; the method further includes: after step S1, receiving a user instruction to select a target printing institution from the multiple thermal transfer printing institutions; the available color set mentioned in step S2 is a set composed of the colors of each ribbon currently available to the target printing institution.

[0020] Secondly, the present invention provides a multicolor printing control device configured to run on an editing and typesetting terminal and cooperate with a thermal transfer printing mechanism, including a processor and a memory, wherein the memory stores program instructions that can run on the processor; when the program instructions are executed, the device performs steps S1 to S4 of the above method and sends the generated print data of each printhead to the thermal transfer printing mechanism to complete step S5.

[0021] Thirdly, the present invention provides a thermal transfer multicolor printing system, comprising: an editing and typesetting terminal and a thermal transfer printing mechanism, the thermal transfer printing mechanism having at least two print heads respectively equipped with different color ribbons; for printing the printed object matching the color of the ribbon; wherein, the editing and typesetting terminal is configured to implement steps S1 to S4 of the above method to generate printing data corresponding to each print head; the thermal transfer printing mechanism is configured to receive the printing data and thereby complete multicolor printing on a printing medium.

[0022] Preferably, the editing and typesetting terminal communicates with multiple thermal transfer printing institutions via a communication connection; the editing and typesetting terminal receives user instructions, selects one or more target printing institutions from the multiple thermal transfer printing institutions, and performs steps S2 to S4 based on the available color set of the target printing institution to generate printing data suitable for the target printing institution.

[0023] The beneficial effects of the present invention include at least the following: 1. Intelligent Color Matching: By automatically identifying the available ribbon colors of the printer and intelligently matching them with the design page, the problem of inconsistency between the designed colors and the actual available colors is solved, greatly reducing the amount of manual adjustment work and improving work efficiency.

[0024] 2. Flexible matching strategy: Supports color matching in multiple color spaces (RGB, CMYK, Lab, HSV), and allows setting matching thresholds according to actual needs, ensuring both accurate color reproduction and sufficient flexibility.

[0025] 3. Precise timing control: Taking into account the effects of printing media displacement and the physical position of multiple printheads, the system automatically adjusts the data output timing of each printhead to ensure accurate alignment of text and images of different colors, thereby improving printing accuracy.

[0026] 4. Dynamic adaptability: It can monitor ribbon changes in real time and automatically redistribute printing tasks, enhancing the robustness and adaptability of the system.

[0027] 5. Convenient configuration management: The configuration information is saved and reused through the print template mechanism, which simplifies the setup process for repetitive printing tasks.

[0028] 6. Excellent scalability: Supports one editing and typesetting terminal to manage multiple printers, facilitating flexible scheduling of printing resources in production environments. Attached Figure Description

[0029] Figure 1 This is a schematic diagram of the overall process of the multi-color printing control method according to an embodiment of the present invention; Figure 2 This is a schematic diagram of a single two-color image according to an embodiment of the present invention; Figure 3 This is a schematic diagram of the pixel RGB parameters of the two colors in a single two-color image according to an embodiment of the present invention; Figure 4 This is a detailed flowchart illustrating the color matching process of the present invention; Figure 5 This is a schematic diagram of the multi-printhead timing control of the present invention. Detailed Implementation

[0030] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the protection scope of the present invention.

[0031] Example 1: Basic Multicolor Printing Control Method like Figure 1 As shown, this embodiment provides a multi-color printing control method for a thermal transfer printer, applied to a system including an editing and typesetting terminal and a thermal transfer printing mechanism. The thermal transfer printing mechanism is equipped with two printheads, each fitted with a red and a black ribbon.

[0032] The method specifically includes the following steps: Step S1: Obtain the design page Users design pages containing multi-colored text and graphics using image editing software (such as Adobe Illustrator, CorelDRAW, or dedicated label design software) on an editing and layout terminal. The design page may include red text, blue icons, black borders, and decorative elements in other colors. After the design is completed, the editing and layout terminal acquires the image data of the design page, typically in bitmap format (such as BMP, PNG, TIFF, etc.) or vector format (such as SVG, PDF, etc.).

[0033] In this embodiment, the page resolution is designed to be 300 DPI, and the size is 50mm × 100mm. The logo contains pixels of two colors: a red circle and a slash (RGB value 232,56,40), and a black cigarette and smoke pattern (RGB value 0,0,0). Figure 2 and Figure 3 As shown.

[0034] Step S2: Identify the available color set The editing and typesetting terminal identifies the currently available ribbon colors for the thermal transfer printing facility using one of the following two methods: Method 1: User Configuration. Users manually select or enter the ribbon color currently installed on the printer in the configuration interface of the editing and typesetting terminal. For example, the user specifies that the printer is currently equipped with red (RGB value 255,0,0) and black (RGB value 0,0,0) ribbons.

[0035] Method 2: Automatic Identification. Each ribbon in the thermal transfer printing unit is equipped with a color identification mark (such as an RFID tag, barcode, or color sensor). The printing unit obtains the color information of the ribbon by reading these marks and sends the ribbon identification information to the editing and typesetting terminal through a communication interface (such as USB, network interface, or wireless communication interface).

[0036] In this embodiment, an automatic identification method is used. The printing mechanism detects that the three printheads are respectively equipped with red, blue, and black ribbons, and sends this information to the editing and typesetting terminal via a USB interface. The editing and typesetting terminal then constructs a set of usable colors based on this information: {red(255,0,0), black(0,0,0)}.

[0037] At the same time, establish the correspondence between the printhead and the ribbon colors: Printhead 1: Red (255,0,0); Printhead 2: Black (0,0,0).

[0038] Step S3: Color matching and merging of printed objects like Figure 4 As shown, the editing and layout terminal performs pixel-by-pixel analysis on the design page, matching the color of each pixel with the available color set.

[0039] The specific process is as follows: (1) Traverse all pixels of the design page. For bitmap images, directly read the RGB value of each pixel; for vector images, rasterize them into bitmaps before processing.

[0040] (2) For the current pixel, read its RGB color value and record it as ( , , ).

[0041] (3) Determine whether the pixel color completely matches a certain color in the available color set (i.e., the values ​​of the three RGB components are exactly the same). In practical applications, considering the rounding error in digital image processing, a tolerance can be set for judgment.

[0042] (4) If there is a perfect match, the pixel is directly assigned to the corresponding print object. For example, if the pixel color is (255,0,0) and it perfectly matches the red color in the available color set, then the pixel is assigned to the red print object.

[0043] (5) If there is no perfect match, calculate the similarity between the pixel color and every color in the available color set. In the RGB color space, similarity can be measured using Euclidean distance: Similarity = ,in,( , , ) represents the RGB value of a color in the available color set.

[0044] (6) Select the available color with the highest similarity as the candidate target color.

[0045] (7) Determine whether the highest similarity reaches the preset matching threshold. In this embodiment, the matching threshold is set to: RGB Euclidean distance ≤ 30. That is, if the RGB Euclidean distance between the candidate target color and the current pixel color is within 30, the match is considered successful.

[0046] (8) If a match is successful, the pixel is merged into the corresponding print object. For example, the Euclidean distance between the orange pixel RGB(232,56,40) and the red pixel (255,0,0) is √(5265) ≈ 72.6, which exceeds the threshold, but the distance to black is greater. Therefore, red is selected as the target color. In practical applications, the threshold needs to be adjusted or the user needs to be reminded to confirm.

[0047] (9) If the highest similarity score still does not reach the matching threshold, it means that the color of the pixel differs significantly from all available color bands. In this case, the system outputs an error message, indicating to the user that the pixel color cannot match any available color band, and provides the following options: Pause processing and wait for the user to manually specify the print object to which the pixel should belong; Automatically select the closest available color (even if the similarity does not reach the threshold). Set the pixel to transparent or the background color, and do not print it.

[0048] In this embodiment, after pixel-by-pixel analysis, the following printing objects are obtained: Red printed objects: circles and slashes containing prohibition symbols; Black printed object: Contains cigarette and smoke patterns.

[0049] Step S4: Generate print data Based on the merging results of step S3, the editing and typesetting terminal assigns each print object to the corresponding print head and generates print data for each print head.

[0050] The specific process is as follows: (1) Create a separate bitmap data layer for each printhead. The size of each bitmap is the same as the design page, and the initial value is all 0 (indicating no printing).

[0051] (2) Traverse the merged print objects in step S3: For the pixels of the red printed object, in the bitmap data layer corresponding to printhead 1, the pixel value at the corresponding position is set to 1 (indicating printing). For pixels of a black printed object, the pixel value at the corresponding position is set to 1 in the bitmap data layer corresponding to printhead 2.

[0052] (3) Considering the physical position differences of multiple printheads. In the thermal transfer printing mechanism of this embodiment, two printheads are arranged sequentially along the direction of movement of the printing medium, and the distance between adjacent printheads is 20mm. The printing medium moves forward at a constant speed of 100mm / s.

[0053] like Figure 5 As shown, to ensure accurate alignment of the text and images of each color on the printing media, it is necessary to adjust the data output timing of each printhead. The specific method is as follows: Assume printhead 1 is positioned at the front, and printhead 2 is 20mm away from printhead 1. When a certain position on the printing medium reaches below printhead 1, printhead 1 immediately outputs the corresponding data for printing. Since this position takes 0.2 seconds (20mm / 100mm / s) to reach below printhead 2, the data output from printhead 2 is delayed by 0.2 seconds.

[0054] When generating print data, the editing and typesetting terminal adds corresponding timing control information to the data of each print head to ensure that each print head outputs data at the correct time.

[0055] (4) Convert the bitmap data of each printhead into a format that the printer can recognize (such as raster data format, PCL format, or printer-specific format) and package it into a complete print data package. Each print data package contains the following information: printhead identifier (indicating which printhead the data belongs to); bitmap data (print content); timing control information (the time point of data output); printing parameters (such as temperature, speed, density, etc.).

[0056] Step S5: Send print data The editing and typesetting terminal sends the generated print data to the thermal transfer printing unit via a communication interface (USB, network, or wireless). After receiving the data, the printing unit drives each print head to print at the appropriate time according to the timing control information, ultimately forming a complete multicolor image on the printing medium.

[0057] In this embodiment, the printing mechanism receives data packets from two printheads sequentially. When the printing medium begins to move, printhead 1 immediately starts printing red content; 0.2 seconds later, printhead 2 starts printing black content; the two colors of text and images are perfectly aligned on the printing medium, forming a high-quality multicolor label.

[0058] Example 2: Color matching based on Lab color space In some applications, the RGB color space does not accurately reflect the human eye's perception of color differences. The Lab color space is a uniform color space where the color difference ΔE value is linearly related to the color difference perceived by the human eye, making it more suitable for color matching.

[0059] The overall process of this embodiment is the same as that of embodiment 1, the main difference being the color matching method in step S3.

[0060] Before performing color matching, convert the RGB values ​​of each pixel in the design page and the RGB values ​​of each color in the available color set to values ​​in the Lab color space.

[0061] After the conversion is complete, for each pixel in the design page, calculate the color difference ΔE between its Lab value and the Lab values ​​of each color in the available color set: Select the available color with the smallest ΔE as the target color. If the ΔE value is less than the preset matching threshold, for example, ΔE < 2, then the pixel is merged into the corresponding print object; otherwise, output an error message or hand it over to manual processing.

[0062] Using the Lab color space for matching allows for a more accurate assessment of color differences, resulting in prints that better match human visual perception.

[0063] Example 3: Adaptation to Dynamic Color Band Changes In practical applications, the printing process may require changing the ribbon, for example, when a ribbon runs out or needs to be replaced with a different color. This embodiment illustrates how the system dynamically adapts to ribbon changes.

[0064] Assuming that, based on Example 1, the red ribbon runs out during printing, and the user replaces it with a green ribbon. The printing mechanism detects the ribbon change and sends a ribbon change notification to the editing and typesetting terminal via the communication interface, including the following: The ribbon color of printhead 1 changes from red (255,0,0) to green (0,255,0).

[0065] Upon receiving the notification, the editing and typesetting terminal immediately performs the following operations: (1) Update the available color set: update the original {red, black} to {green, black}.

[0066] (2) Repeat step S2: Establish a new color correspondence between the printhead and the ribbon: Printhead 1: Green (0,255,0); Printhead 2: Black (0,0,0).

[0067] (3) Re-execute step S3: Perform a pixel-by-pixel analysis of the design page, matching each pixel with the new set of available colors. Pixels that were originally merged into the red print object now need to be re-matched. If there are indeed green elements in the design page, these pixels will be merged into the green print object; the original red pixels may be matched with the closest available color, which could be black or blue, depending on the specific RGB value, or the user may be prompted that no match can be found.

[0068] (4) Re-execute step S4: Based on the new print object merging results, regenerate the print data for each print head.

[0069] (5) Continue with step S5: Send the updated print data to the printing facility to continue the printing task.

[0070] This dynamic adaptation mechanism ensures that the system can automatically adjust when the color band changes, without the need for a complex reconfiguration process requiring manual intervention, which greatly improves the system's flexibility and robustness.

[0071] Example 4: Saving and Retrieving Print Templates In real-world production environments, certain printing tasks, such as product label printing, are repetitive, with relatively fixed page designs and printing parameters. To improve efficiency, this embodiment provides a printing template mechanism.

[0072] After completing a print job, users can choose to save the current configuration information as a print template. This template includes: available color set: {red (255,0,0), black (0,0,0)}; matching rules: color space type (RGB), matching threshold (RGB Euclidean distance ≤ 30); correspondence between printhead and ribbon colors; image post-processing parameters: resolution, brightness adjustment, contrast adjustment, etc.; and printing parameters: print speed, temperature, density, etc.

[0073] Templates are stored in XML or JSON format on the local storage of the editing and typesetting terminal or on a cloud server, and are given a unique template name and identifier.

[0074] When the same or similar printing task needs to be performed, the user only needs to select the corresponding template on the interface of the editing and typesetting terminal. The system will automatically load the configuration information in the template. There is no need to repeat the ribbon identification and configuration in step S2. The user can directly execute steps S3 to S5.

[0075] In addition, the templates support version management and sharing. Enterprises can establish template libraries for multiple editing and layout terminals and operators to share, achieving centralized management and standardization of configurations.

[0076] Example 5: Multi-Printer Management In large production environments, a single editing and typesetting terminal may need to manage multiple thermal transfer printers. This example illustrates how to achieve one-to-many print control.

[0077] The editing and typesetting terminal is connected to three thermal transfer printing units (Printer A, Printer B, and Printer C) via a network. Each printer may be equipped with different ribbons: Printer A: red, blue, black; Printer B: yellow, magenta, cyan, black; Printer C: green, purple, black.

[0078] After obtaining the design page in step S1, the editing and layout terminal displays a printer selection interface, listing all available printers and their currently installed ribbon information. The user selects a target printer, such as printer A, based on the color requirements of the design page and the current status of each printer (idle or busy).

[0079] The system then executes step S2 to obtain the available color set of printer A: {red, blue, black}, and executes steps S3 to S5 based on the available color set to generate printing data suitable for printer A and send it to printer A for printing.

[0080] If a user needs to print the same or different content on multiple printers simultaneously, they can select multiple target printers. The system will execute steps S2 to S4 for each printer separately, generating their own print data, and then send it to the corresponding printers in parallel, achieving multi-task parallel printing.

[0081] This multi-printer management mechanism allows the editing and typesetting terminal to act as a central control node, flexibly scheduling multiple printing resources to meet the high-efficiency requirements of the production line.

[0082] The present invention provides a multi-color printing control device configured to run on an editing and typesetting terminal and cooperate with a thermal transfer printing mechanism. The device includes a processor and a memory, the memory storing program instructions that can run on the processor. When the program instructions are executed, the device performs steps S1 to S4 of the multi-color printing control method of the thermal transfer printer described above, and sends the generated print data of each printhead to the thermal transfer printing mechanism to complete step S5.

[0083] This invention provides a thermal transfer multicolor printing system, comprising: an editing and typesetting terminal and a thermal transfer printing mechanism, the thermal transfer printing mechanism having at least two print heads respectively equipped with different color ribbons; for printing objects matching the color of the ribbons; wherein, the editing and typesetting terminal is configured to implement steps S1 to S4 of the above method to generate printing data corresponding to each print head; the thermal transfer printing mechanism is configured to receive the printing data and thereby complete multicolor printing on a printing medium.

[0084] The editing and typesetting terminal communicates with multiple thermal transfer printing institutions via a communication connection; the editing and typesetting terminal receives user instructions, selects one or more target printing institutions from the multiple thermal transfer printing institutions, and performs steps S2 to S4 based on the available color set of the target printing institution to generate printing data suitable for the target printing institution.

[0085] The technical features of the above embodiments can be combined arbitrarily. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described; only preferred embodiments of the present invention are illustrated. The descriptions are relatively specific and detailed, but they should not be construed as limiting the scope of the present invention. As long as the combination of these technical features does not contradict each other, it should be considered within the scope of this specification.

[0086] It should be noted that those skilled in the art can make various modifications and improvements without departing from the inventive concept, and these all fall within the scope of protection of this invention. Therefore, the scope of protection of this invention should be determined by the appended claims.

Claims

1. A multi-color printing control method for a thermal transfer printer, applied to a system including an editing and typesetting terminal and a thermal transfer printing mechanism, wherein the thermal transfer printing mechanism has at least two printheads respectively equipped with different color ribbons, characterized in that, The method includes the following steps: S1 obtains a design page containing multi-colored graphics and text in the editing and layout terminal; S2 identifies the available ribbon colors of the thermal transfer printing mechanism, forms a set of available colors, and establishes the correspondence between each printhead and its ribbon color; S3 performs pixel-by-pixel analysis on the design page, matches the color of each pixel with the available color set to determine the target available color of the pixel, and merges pixels with the same or similar target available colors into the corresponding print objects; S4 assigns each print object to the print head corresponding to its target available color, and generates print data for each print head based on the assignment; S5 sends the printing data to the thermal transfer printing mechanism to complete the multi-color printing task.

2. The multi-color printing control method for a thermal transfer printer according to claim 1, characterized in that: The available color set mentioned in step S2 is determined by the editing and typesetting terminal based on user configuration, or by obtaining ribbon identification information from the thermal transfer printing unit through the communication interface.

3. The multi-color printing control method for a thermal transfer printer according to claim 1, characterized in that: The specific steps in step S3 of matching the color of each pixel with the colors in the available color set include: S31 Calculate and obtain the characteristic value of the color set as the standard value based on the color value range of the available color set; S32 Determine the color value tolerance range of each available color set, and based on the standard value, traverse other pixels in the design page, and merge pixels whose color value differs from the standard value within the preset matching color value tolerance threshold range into the same printing object.

4. The multi-color printing control method for a thermal transfer printer according to claim 3, characterized in that, In step S3, when matching the color of each pixel with the colors in the available color set, it is determined whether the color value of the current pixel exists in the available color set. If a pixel exists, it is merged into the corresponding print object; if it does not exist, the similarity between the current pixel color value and each color in the available color set is calculated, and the available color with the highest similarity is selected; if the highest similarity reaches the preset matching threshold, the pixel is merged into the corresponding print object; if the highest similarity does not reach the matching threshold, an error message is output and the allocation of the pixel or its corresponding print object is paused, or it is directly handed over to manual processing.

5. The multi-color printing control method for a thermal transfer printer according to claim 4, characterized in that, In step S3, when matching the color of each pixel with the available color set, the matching operation is based on a selected color space, which is any one of RGB, CMYK, Lab, or HSV.

6. The multi-color printing control method for a thermal transfer printer according to claim 5, characterized in that, In the RGB color space, the preset matching threshold is limited by setting the absolute error range of the R, G, and B channels.

7. The multi-color printing control method for a thermal transfer printer according to claim 5, characterized in that, When matching is performed in the Lab color space, the preset matching threshold is limited by setting the tolerance threshold of the color difference ΔE.

8. The multi-color printing control method for a thermal transfer printer according to claim 1, characterized in that, In step S4, when generating the printing data for each printhead, the timing of the data output of each printhead is adjusted based on the real-time displacement information of the printing medium and the relative physical position between each printhead, so that each printing object is transmitted to the effective printing area of ​​its respective printhead.

9. The multi-color printing control method for a thermal transfer printer according to claim 1, characterized in that, If a change in the available color set of the thermal transfer printing mechanism is detected during the printing process, steps S2 to S4 are re-executed to update the mapping relationship between the printing object and the print head and the printing data.

10. The multi-color printing control method for a thermal transfer printer according to claim 1, characterized in that, The configuration information, including the available color set, matching rules, and image post-processing parameters, is saved as a print template for subsequent print jobs.

11. The multi-color printing control method for a thermal transfer printer according to claim 1, characterized in that, The editing and typesetting terminal is communicatively connected to multiple thermal transfer printing institutions; the method further includes: after step S1, receiving a user instruction to select a target printing institution from the multiple thermal transfer printing institutions; the available color set mentioned in step S2 is a set composed of the colors of each ribbon currently available to the target printing institution.

12. A multi-color printing control device, configured to operate on an editing and typesetting terminal and cooperate with a thermal transfer printing mechanism, characterized in that, The device includes a processor and a memory, wherein the memory stores program instructions that can run on the processor; when executed, the program instructions cause the device to perform steps S1 to S4 of the method according to any one of claims 1 to 11, and send the generated print data of each printhead to the thermal transfer printing mechanism to complete step S5.

13. A thermal transfer multicolor printing system, characterized in that, include: An editing and typesetting terminal and a thermal transfer printing mechanism, wherein the thermal transfer printing mechanism has at least two printheads respectively equipped with different color ribbons; The printing object is used to print a color matching the ribbon; wherein the editing and typesetting terminal is configured to implement steps S1 to S4 of the method according to any one of claims 1 to 11 to generate printing data corresponding to each printhead; the thermal transfer printing mechanism is configured to receive the printing data and thereby complete multicolor printing on the printing medium.

14. The thermal transfer multicolor printing system according to claim 13, characterized in that: The editing and typesetting terminal communicates with multiple thermal transfer printing institutions via a communication connection; the editing and typesetting terminal receives user instructions, selects one or more target printing institutions from the multiple thermal transfer printing institutions, and performs steps S2 to S4 based on the available color set of the target printing institution to generate printing data suitable for the target printing institution.

Citation Information

Patent Citations

  • Printer automatic calibration method, device and equipment and storage medium

    CN118860300A

  • Method for controlling multi-color printing by thermal transfer printer

    CN120816810A

  • Printer and method for establishing tone curve in the printer

    JP2007130867A

  • Thermal transfer printer and control method of the same

    JP2020142470A

Cited By

  • Red and black thermo-sensitive paper printing control method, system, equipment and medium

    CN121742780A