Printing control method and device based on vehicle plate buffer, equipment and storage medium

By setting a buffer module in the printhead plate to buffer print data and control data transmission, the printing abnormality problem caused by unstable connection between the printhead plate and the mainboard is solved, ensuring the stability and quality of the printing process.

CN120003175BActive Publication Date: 2026-01-06SHENZHEN HOSONSOFT CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202311527729.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-11-15
Publication Date
2026-01-06
Estimated Expiration
2043-11-15

AI Technical Summary

Technical Problem

During inkjet printing, the movement of the printing carriage causes cable jitter, resulting in unstable connection between the printing carriage board and the main board, which leads to abnormal data transmission and causes printing pauses or garbled characters.

Method used

A buffer module is set in the print head to buffer print data and control data transmission based on the amount of data passed and storage capacity, ensuring that enough data is stored in the buffer module before being sent to the print head for printing.

Benefits of technology

Ensure the printhead has enough print data to send during the printing process to avoid jams or garbled text and improve image print quality.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120003175B_ABST
    Figure CN120003175B_ABST
Patent Text Reader

Abstract

The application discloses a printing control method and device based on a buffer of a printing carriage plate, equipment and a storage medium, and relates to the field of inkjet printing technology. The method sets a buffer module in the printing carriage plate, controls a host computer of the inkjet printing equipment to send printing data to the buffer module and reads the data amount in the buffer module, determines a printing starting condition according to the data amount of one PASS printing data and the storage capacity, and sends data to the printing head to start printing when enough one PASS printing data or nearly full data is stored in the buffer module. Even if the connection between the mainboard and the printing carriage plate is abnormal due to the movement of the printing carriage during the printing process, enough printing data in the printing carriage plate can be sent to the printing head for printing, so that the printing head can not be blocked or have garbled codes during printing, and the image printing quality is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of inkjet printing technology, and in particular to a printing control method, apparatus, device, and storage medium based on printhead buffer. Background Technology

[0002] In the inkjet printing industry, to ensure sufficient data transmission, flatbed inkjet printers, high-speed inkjet printers, and other similar devices often use cables to connect the printer's mainboard and printhead board for communication. For example... Figure 1 The diagram shows a schematic of an inkjet printer. An inkjet printer includes a host computer and a slave computer. The slave computer includes a motherboard and a printhead board, while the host computer is typically a PC. During printing, the print control module in the host computer sends print information and data to the motherboard. The motherboard then transmits the print information and data to the printhead board via cables. The printhead board usually does not have a buffer module for printing data; instead, it directly distributes the print data to the printhead for printing. During printing, the print carriage moves frequently back and forth along the scanning direction. Because the printhead board is mounted on the print carriage, the movement of the print carriage causes the cables connecting the motherboard and the printhead board to vibrate, leading to interruptions or abnormalities in the connection between the motherboard and the printhead board. This affects the transmission of print data. Since the print carriage moves from the starting point to the ending point after starting a print pass, insufficient print data in between can cause inkjet failure, resulting in printing pauses, garbled data, and severely impacting print quality. Summary of the Invention

[0003] In view of this, embodiments of the present invention provide a printing control method, apparatus, device and storage medium based on the print carriage buffer, in order to solve the problem in the prior art of printing pauses or garbled characters caused by unstable data transmission due to cable jitter caused by the movement of the printing carriage, resulting in unstable connection between the print carriage and the main board.

[0004] In a first aspect, embodiments of the present invention provide a printing control method based on a spray plate buffer, the method comprising:

[0005] A buffer module is installed in the printhead of an inkjet printer, wherein the buffer module is used to buffer print data;

[0006] Compare the amount of data in a PASS session with the storage capacity of the cache module, wherein the amount of data in a PASS session refers to the amount of data in the PASS printout.

[0007] If the amount of PASS data is less than the storage capacity of the cache module, then: send print data to the cache module and read the amount of data in the cache module; when the amount of print data in the cache module is greater than or equal to the amount of PASS data, send the print data to the printhead for printing.

[0008] If the amount of PASS data is greater than the storage capacity of the cache module, then: send print data to the cache module and read the amount of data in the cache module; when the amount of print data in the cache module is close to the storage capacity, send the print data to the print head for printing; wherein when the amount of print data is greater than or equal to a preset threshold and less than the storage capacity, it is considered that the amount of print data is close to the storage capacity.

[0009] Preferably, the step of sending print data to the cache module and reading the amount of data in the cache module, wherein if the amount of PASS data is less than the storage capacity of the cache module, then when the amount of print data in the cache module is greater than or equal to the amount of PASS data, sending the print data to the printhead for printing includes:

[0010] Determine the connection status between the motherboard and the paint spraying board, wherein the connection status includes successful connection and failed connection.

[0011] When the connection status is successful, the motherboard controlling the inkjet printer receives the printing data from the host computer's printing control module and sends it to the printhead's buffer module.

[0012] Obtain the completion status of the last ignition, wherein the completion status includes a normal status and an abnormal status;

[0013] If the previous ignition completion status was normal, then set the new ignition parameters;

[0014] Determine whether the ignition parameters have been set successfully;

[0015] If so, determine whether the amount of data in the cache module is greater than or equal to the amount of data printed by a PASS;

[0016] If so, read a PASS print data from the buffer module of the spray plate and send it to the printhead for printing.

[0017] Preferably, the step of sending the print data to the printhead for printing when the amount of print data in the cache module approaches the storage capacity if the amount of PASS data in the cache module is greater than the storage capacity includes:

[0018] Determine the connection status between the motherboard and the paint spraying board, wherein the connection status includes successful connection and failed connection.

[0019] When the connection status is successful, the motherboard controlling the inkjet printer receives the printing data from the host computer's printing control module and sends it to the printhead's buffer module.

[0020] Obtain the completion status of the last ignition, wherein the completion status includes a normal status and an abnormal status;

[0021] If the previous ignition completion status was normal, then set the new ignition parameters;

[0022] Determine whether the ignition parameters have been set successfully;

[0023] If so, determine whether the amount of data in the cache module is close to the storage capacity;

[0024] If so, the printing data is read from the buffer module of the spray plate and sent to the printhead for printing.

[0025] Preferably, the method further includes:

[0026] During the printing process, the control printhead obtains the cache status of the cache module and sends the cache status to the mainboard. The cache status includes the storage capacity of the cache module and the amount of data currently cached.

[0027] The control motherboard acquires the connection status with the printing plate during the printing process and sends the cache status and / or the connection status to the host computer printing control module.

[0028] Preferably, the method further includes:

[0029] When the ignition parameter setting fails, the system blocks and waits for a first preset time before resetting the ignition parameters. If the ignition parameter setting still fails, the ignition is turned off, and the system sends an abnormal status message to the host computer's printing control module.

[0030] Preferably, when the connection status is successful, after determining whether the amount of data in the cache module is greater than or equal to the amount of data printed by a PASS, the method further includes:

[0031] If the amount of data in the cache module is less than the amount of data printed by a PASS, then the system will block and wait for a second preset time before re-evaluating whether the amount of data in the cache module meets the amount of data printed by a PASS.

[0032] If not, turn off the ignition and exit printing.

[0033] Preferably, the method further includes:

[0034] A preset state register unit is set in the register module of the motherboard;

[0035] The cache state and the connection state are written into the preset register unit in real time.

[0036] Secondly, embodiments of the present invention provide a printing control device based on a spray plate buffer, the device comprising:

[0037] A cache setting module is used to set a cache module in the print head of an inkjet printer, wherein the cache module is used to cache print data;

[0038] The comparison module is used to compare the amount of PASS data with the storage capacity of the cache module, wherein the amount of PASS data is the amount of PASS print data;

[0039] The first printing module is configured to: send printing data to the cache module and read the data in the cache module if the amount of PASS data is less than the storage capacity of the cache module; and send the printing data to the printhead for printing when the amount of printing data in the cache module is greater than or equal to the amount of PASS data.

[0040] The second printing module is configured to: send printing data to the cache module and read the data in the cache module if the amount of PASS data is greater than the storage capacity of the cache module; and send the printing data to the printhead for printing when the amount of printing data in the cache module is close to the storage capacity. The printing data is considered to be close to the storage capacity when the amount of printing data is greater than or equal to a preset threshold and less than the storage capacity.

[0041] Thirdly, embodiments of the present invention provide a printing control device based on a spray plate buffer, comprising: at least one processor, at least one memory, and computer program instructions stored in the memory, wherein when the computer program instructions are executed by the processor, the method of the first aspect described above is implemented.

[0042] Fourthly, embodiments of the present invention provide a storage medium storing computer program instructions, which, when executed by a processor, implement the method of the first aspect described above.

[0043] In summary, the beneficial effects of the present invention are as follows:

[0044] The printing control method, apparatus, device, and storage medium based on printhead plate buffer provided in this invention embodiment, by setting a buffer module in the printhead plate, controls the host computer of the inkjet printing device to send printing data to the buffer module and read the amount of data in the buffer module, determines the printing start condition based on the amount of one pass printing data and the storage capacity, and sends data to the printhead to start printing only when the buffer module stores enough one pass printing data or is close to full. Even if the movement of the printing carriage causes abnormality in the connection between the motherboard and the printhead plate during the printing process, it can still ensure that there is enough printing data in the printhead plate to be sent to the printhead for printing, thereby ensuring that the printhead will not jam or garbled during printing, and improving the image printing quality. Attached Figure Description

[0045] To more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings used in the embodiments of the present invention will be briefly introduced below. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort, and these are all within the protection scope of the present invention.

[0046] Figure 1 This is a schematic diagram of an inkjet printing system in the background art.

[0047] Figure 2 This is a schematic flowchart of the printing control method based on spray plate buffer according to an embodiment of the present invention.

[0048] Figure 3 This is a flowchart illustrating the printing control process according to an embodiment of the present invention.

[0049] Figure 4 This is a schematic diagram of the printing control device based on the spray plate buffer according to an embodiment of the present invention.

[0050] Figure 5 This is a schematic diagram of the printing control device based on the spray plate buffer according to an embodiment of the present invention. Detailed Implementation

[0051] The features and exemplary embodiments of various aspects of the present invention will now be described in detail. To make the objectives, technical solutions, and advantages of the present invention clearer, the present invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only configured to explain the present invention and are not configured to limit the present invention. For those skilled in the art, the present invention can be practiced without some of these specific details. The following description of the embodiments is merely intended to provide a better understanding of the present invention by illustrating examples of the invention.

[0052] It should be noted that, in this document, relational terms such as "first" and "second" are used merely to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising..." does not exclude the presence of additional identical elements in the process, method, article, or apparatus that includes said element.

[0053] Example 1

[0054] This invention provides a printing control method based on a printhead buffer, applicable to inkjet printing systems, such as... Figure 1 As shown, an inkjet printing device includes a host computer and a slave computer. The host computer contains printing control software and other printing control modules, while the slave computer includes a motherboard, a printhead board, and printheads. The motherboard communicates with both the host computer and the printhead board. The host computer distributes printing data to the motherboard, which then sends the printing data to the printhead board. The printhead board distributes the printing data to each printhead, and each printhead ejects ink droplets to print the image based on the printing data. Because existing inkjet printing devices are prone to data transmission problems or lack of data when the connection between the motherboard and the printhead board is interrupted or malfunctions (collectively referred to as connection failure) during printing data transmission and printing, resulting in printing pauses or garbled data, this invention incorporates a cache module in the printhead board to avoid such problems. Preferably, the cache module is SRAM; in other embodiments, it can be DRAM, FLASH, or other memory.

[0055] Please see Figure 2 The printing control method based on the spray plate buffer specifically includes the following steps:

[0056] S1: A buffer module is installed in the printhead of the inkjet printer, wherein the buffer module is used to buffer print data;

[0057] S2: Compare the amount of PASS data with the storage capacity of the cache module, wherein the amount of PASS data is the amount of PASS print data;

[0058] S3: If the amount of PASS data is less than the storage capacity of the cache module, then: send print data to the cache module and read the amount of data in the cache module. When the amount of print data in the cache module is greater than or equal to the amount of PASS data, send the print data to the print head for printing.

[0059] S4: If the amount of PASS data is greater than the storage capacity of the cache module, then: send print data to the cache module and read the amount of data in the cache module. When the amount of print data in the cache module is close to the storage capacity, send the print data to the print head for printing. When the amount of print data is greater than or equal to a preset threshold and less than the storage capacity, it is considered that the amount of print data is close to the storage capacity.

[0060] Specifically, after setting a buffer module in the printhead, the buffer module can be used to buffer print data. The host computer of the inkjet printing system sends print data to the motherboard, and the motherboard transmits the print data to the buffer module of the printhead. The system can obtain the amount of print data already buffered in the buffer module in real time. When the amount of print data in a pass (denoted as the amount of print data in a pass) is less than the storage capacity of the buffer module, the buffer module receives at least the amount of print data in a pass before sending it to the printhead for printing. When the amount of print data in a pass is greater than the storage capacity of the buffer module, the buffer module receives print data that is close to its storage capacity before sending the print data to the printhead for printing. Specifically, when the amount of print data is greater than or equal to a preset threshold and less than the storage capacity, it is considered that the amount of print data is close to the storage capacity. The preset threshold is less than the storage capacity, and the specific value can be determined according to the actual situation. For example, the preset threshold is 9 / 10 of the storage capacity. That is, only when the amount of data already buffered in the buffer module reaches 9 / 10 of the storage capacity is it considered close to the storage capacity, and at this time, print data is sent to the printhead to start printing.

[0061] By setting a buffer module in the printhead, data is sent to the printhead to start printing only when the buffer module stores enough PASS printing data or is close to full. Even if the movement of the print carriage causes an abnormality in the connection between the motherboard and the printhead during printing, it can be ensured that there is enough printing data in the printhead to be sent to the printhead for printing. This ensures that the printhead will not jam or produce garbled characters during printing, thus improving the image printing quality.

[0062] like Figure 3As shown, in one embodiment, if the amount of PASS data is less than the storage capacity of the cache module, then: sending print data to the cache module and reading the amount of data in the cache module; when the amount of print data in the cache module is greater than or equal to the amount of PASS data, sending the print data to the printhead for printing includes:

[0063] S31: When the connection status is successful, the mainboard controlling the inkjet printer receives the printing data from the host computer printing control module and sends it to the buffer module of the inkjet board;

[0064] S32: Obtain the completion status of the last ignition, wherein the completion status includes a normal status and an abnormal status;

[0065] S33: If the completion status of the previous ignition was normal, then set the ignition parameters for the new ignition.

[0066] S34: Determine whether the ignition parameters have been set successfully;

[0067] S35: If so, determine whether the amount of data in the cache module is greater than or equal to the amount of data printed by a PASS;

[0068] S36: If so, read a PASS printing data from the buffer module of the spray plate and send it to the printhead for printing.

[0069] Specifically, during the image printing process, the raster image processing module (such as RIP software) in the host computer of the inkjet printing system first rasterizes the bitmap image to be printed to obtain a print data format (PRN format) that the lower-level machine can recognize. The print control module (such as print control software) in the host computer splits the print data into multiple one-pass print data according to print parameters such as the number of print passes (e.g., if a unit area image needs four scans to complete printing, then the number of print passes is 4, i.e., 4-pass printing). Each one-pass print data corresponds to one-pass printing. The host computer sends the multiple one-pass print data to the main board in the lower-level machine sequentially according to the printing order. After receiving the one-pass print data from the host computer, the main board sends it to the printhead. Before sending to the printhead, the main board checks the connection status between the main board and the printhead. This connection status includes successful connection and connection failure. For example, the main board sends a preset command or request to the printhead and then checks whether the printhead responds. If there is a response, it indicates a successful connection; if there is no response, it indicates a connection failure. In other embodiments, the connection status between the mainboard and the printing plate can be continuously monitored by controlling the mainboard to send preset commands or requests to the printing plate at a certain frequency and detecting the response of the printing plate. If the connection is successful, the mainboard sends the print data to the printing plate, and the printing plate stores the PASS print data in its buffer module.

[0070] When the motherboard sends the PASS print data to the spray plate, new ignition parameters need to be set. Before setting the new ignition parameters, the completion status of the previous ignition must be confirmed. The completion status of the previous ignition refers to the ignition status of the printhead during the entire printing process from the start of printing to the completion of printing in the previous PASS print. This completion status includes normal and abnormal states. If the completion status of the previous ignition is normal, it means that the previous ignition was completed normally, and the new ignition parameters can be set. If the completion status of the previous ignition is abnormal, an error will be reported indicating that the ignition failed. After the ignition parameters are successfully set, in order to ensure the integrity of the data during the PASS print process, it will first be determined whether the buffer module of the spray plate has stored enough data for the PASS print. For example, the size of the PASS print data in the current print job is determined, the size of the data in the buffer module of the spray plate is read, and the two are compared. When the data in the buffer module of the spray plate is greater than or equal to the PASS print data, it is considered that the buffer module has stored enough data for the PASS print. Because during the process of receiving data from the motherboard and storing it in the spray plate's buffer module, if the connection between the motherboard and the spray plate malfunctions or is interrupted, the amount of data stored in the buffer module will be less than the amount of data for one pass print. In this case, ignition and printing will result in incomplete data printing after one pass print. To avoid incomplete data printing, in this embodiment of the invention, data is only read from the buffer module and sent to the printhead for printing when it is determined that the amount of data in the spray plate's buffer module is greater than or equal to the amount of data for one pass print. After one pass print is completed, the entire ignition process is finished, and the ignition completion status is normal. Therefore, for the next print, the ignition completion status of the previous print will be retrieved first. Only if it is in a normal state will the new ignition parameters for the next print be set.

[0071] In one embodiment, if the amount of PASS data is greater than the storage capacity of the cache module, then: sending print data to the cache module and reading the amount of data in the cache module, and sending the print data to the printhead for printing when the amount of print data in the cache module is close to the storage capacity includes:

[0072] Determine the connection status between the motherboard and the paint spraying board, wherein the connection status includes successful connection and failed connection.

[0073] When the connection status is successful, the motherboard controlling the inkjet printer receives the printing data from the host computer's printing control module and sends it to the printhead's buffer module.

[0074] Obtain the completion status of the last ignition, wherein the completion status includes a normal status and an abnormal status;

[0075] If the previous ignition completion status was normal, then set the new ignition parameters;

[0076] Determine whether the ignition parameters have been set successfully;

[0077] If so, determine whether the amount of data in the cache module is close to the storage capacity;

[0078] If so, the printing data is read from the buffer module of the spray plate and sent to the printhead for printing.

[0079] Similarly, if the amount of data for a single pass exceeds the storage capacity of the cache module, and the cache module's storage capacity is insufficient to store the print data for that pass, printing will only begin when the cache module is nearly full. The host computer sends the print data sequentially to the motherboard in the slave computer according to the printing order. The motherboard receives the print data from the host computer and then sends it to the spray plate. Before sending the print data to the spray plate, the motherboard checks the connection status between the motherboard and the spray plate. If the connection is successful, the spray plate stores the print data in its buffer module. Simultaneously with sending the print data to the spray plate, the motherboard also sets new ignition parameters. Before setting the new ignition parameters, it checks the completion status of the previous ignition, which includes normal and abnormal states. If the previous ignition completion status was normal, it means the previous ignition was completed successfully, and the new ignition parameters can be set. If the previous completion status was abnormal, an error message will be displayed indicating ignition failure. Once the ignition parameters are successfully set, in order to ensure sufficient printing data, the amount of data in the buffer module of the spray plate is read. When the amount of data in the buffer module of the spray plate is close to the storage capacity, the data is read from the buffer module and sent to the printhead for printing.

[0080] Preferably, during the printing process, the control printhead obtains the cache status of the cache module and sends the cache status to the motherboard, wherein the cache status includes the storage capacity of the cache module and the amount of data currently cached;

[0081] The control motherboard acquires the connection status with the printing plate during the printing process and sends the cache status and / or the connection status to the host computer printing control module.

[0082] Specifically, during the printing process, the storage capacity of the buffer module in the printhead and the amount of data currently stored in the buffer module are acquired in real time. The printhead reports the buffer status to the mainboard in real time. On the other hand, the mainboard acquires the connection status between itself and the printhead in real time and reports the buffer status and / or connection status to the printing control module of the host computer in real time. Preferably, the printing control module of the host computer can determine whether to send data to the mainboard or how much data to send based on the connection status, buffer status, etc. For example, it can calculate the amount of free space in the buffer module of the printhead based on the buffer status. When the free space in the buffer module reaches a preset value, it sends the printing data for the next pass to the mainboard. The preset value can be set according to the actual situation, for example, it can be set to a data amount greater than or equal to one pass of printing data.

[0083] Preferably, when the ignition parameter setting fails, the system blocks and waits for a first preset time before resetting the ignition parameters. If the ignition parameter setting still fails, the ignition is shut off, and the ignition completion status is sent to the host computer printing control module as an abnormal status. The first preset time for blocking and waiting can be determined based on actual conditions; for example, the first preset time for blocking and waiting is 5 seconds. If the ignition parameter setting still fails, the ignition is shut off, the printhead ignition device stops igniting the printhead, and simultaneously, the ignition completion status is set to an abnormal status. An ignition abnormal status is reported to the host computer printing control module. After receiving the ignition abnormal status information, the host computer printing control module can inform the user of the ignition failure information through the human-machine interface, so that the user can subsequently judge and detect the cause of the ignition failure.

[0084] Preferably, if the connection status is "connection failure," that is, if the connection between the motherboard and the printhead board fails, the motherboard will shut off the ignition and control the printhead ignition device to stop igniting the printhead, thus preventing printing.

[0085] Preferably, when the motherboard and the printing plate are successfully connected, it is then determined whether the amount of data in the buffer module is sufficient for one pass printing. If the amount of data in the buffer module is insufficient for one pass printing, the system blocks and waits for a second preset time. If, during the blocking and waiting process, the amount of data in the buffer module is still insufficient for one pass printing, then the printing exit operation is executed. The second preset time for blocking and waiting can be set according to actual conditions; for example, the second preset time is 5 seconds.

[0086] Preferably, to obtain the buffer status in the printing plate and the connection status between the printing plate and the mainboard in real time, a reserved area is provided in the mainboard's register module or register to store the buffer status and connection status, denoted as the preset status register unit. When the printing plate reports its buffer status to the mainboard, the mainboard stores the reported buffer status in the preset status register unit. Similarly, the mainboard also stores the connection status with the printing plate it obtains in the preset status register unit. The mainboard can read the buffer status and connection status from the preset status register unit at any time and report them to the host computer. When the buffer status is abnormal, such as abnormal data volume, or the connection status is abnormal, such as connection failure, the printing process is stopped and the host computer is notified to inform the user.

[0087] In summary, the printing control method based on printhead plate buffer provided by this invention sets a buffer module in the printhead plate, controls the host computer of the inkjet printing device to send printing data to the buffer module and read the amount of data in the buffer module, determines the printing start condition based on the amount of one pass printing data and the storage capacity, and sends data to the printhead to start printing only when the buffer module stores enough one pass printing data or is close to full. Even if the movement of the printing carriage causes an abnormality in the connection between the motherboard and the printhead plate during the printing process, it can still ensure that there is enough printing data in the printhead plate to be sent to the printhead for printing, thereby ensuring that the printhead will not jam or produce garbled characters during printing and improving the image printing quality.

[0088] Example 2

[0089] Please see Figure 4 This invention provides a printing control device 200 based on a spray plate buffer, the device 200 comprising:

[0090] The cache setting module 201 is used to set a cache module in the print head plate of the inkjet printer, wherein the cache module is used to cache print data;

[0091] The comparison module 202 is used to compare the amount of PASS data with the storage capacity of the cache module, wherein the amount of PASS data is the amount of PASS print data.

[0092] The first printing module 203 is configured to: send printing data to the cache module and read the data in the cache module if the amount of PASS data is less than the storage capacity of the cache module; and send the printing data to the printhead for printing when the amount of printing data in the cache module is greater than or equal to the amount of PASS data.

[0093] The second printing module 204 is configured to: send printing data to the cache module and read the data in the cache module if the amount of PASS data is greater than the storage capacity of the cache module; and send the printing data to the printhead for printing when the amount of printing data in the cache module is close to the storage capacity. The printing data is considered to be close to the storage capacity when the amount of printing data is greater than or equal to a preset threshold and less than the storage capacity.

[0094] Preferably, the first printing module 203 includes:

[0095] The first judgment unit is used to judge the connection status between the motherboard and the spray plate, wherein the connection status includes successful connection and failed connection.

[0096] The first buffer unit is used to control the motherboard of the inkjet printer to receive printing data from the host computer printing control module and send it to the buffer module of the print board when the connection status is successful.

[0097] The first state acquisition unit is used to acquire the completion state of the previous ignition, wherein the completion state includes a normal state and an abnormal state.

[0098] If the first ignition unit was in a normal state after the previous ignition, then the new ignition parameters are set.

[0099] The first ignition determination unit is used to determine whether the ignition parameters have been set successfully.

[0100] The first data volume judgment unit is used to determine whether the data volume in the cache module is greater than or equal to the data volume of a PASS print data if the data volume is greater than or equal to the data volume of a PASS print data.

[0101] The first printing unit is used to read a PASS printing data from the buffer module of the spray plate and send it to the printhead for printing, if the condition is met.

[0102] Preferably, the second printing module 204 includes:

[0103] The second judgment unit is used to judge the connection status between the motherboard and the spray plate, wherein the connection status includes successful connection and failed connection.

[0104] The second buffer unit is used to control the motherboard of the inkjet printer to receive printing data from the host computer printing control module and send it to the buffer module of the printhead when the connection status is successful.

[0105] The second state acquisition unit is used to acquire the completion state of the previous ignition, wherein the completion state includes a normal state and an abnormal state.

[0106] The second ignition unit is used to set the ignition parameters for the new ignition if the completion status of the previous ignition was normal.

[0107] The second ignition determination unit is used to determine whether the ignition parameters have been set successfully.

[0108] The second data volume determination unit is used to determine whether the data volume in the cache module is close to the storage capacity if the data volume is close to the storage capacity.

[0109] The second printing unit is used to read the printing data from the buffer module of the spray plate and send it to the printhead for printing, if necessary.

[0110] Preferably, the device 200 includes:

[0111] The cache status acquisition module is used to control the printing plate to acquire the cache status of the cache module and send the cache status to the main board during the printing process. The cache status includes the storage capacity of the cache module and the amount of data currently cached.

[0112] The reporting module is used to control the motherboard to obtain the connection status with the printing plate during the printing process, and to send the cache status and / or the connection status to the host computer printing control module.

[0113] Preferably, the device 200 further includes:

[0114] The blocking module is used to block and wait for a first preset time to reset the ignition parameters when the ignition parameter setting fails; if the ignition parameter setting still fails, the ignition is turned off and the completion status of the ignition is sent to the host computer printing control module as an abnormal status.

[0115] Preferably, the device 200 further includes:

[0116] A register setting module is used to set a preset state register unit in the register module of the motherboard;

[0117] The write module is used to write the cache state and the connection state into the preset register unit in real time.

[0118] In summary, the printing control device based on printhead plate buffer provided in this embodiment of the invention, by setting a buffer module in the printhead plate, controls the host computer of the inkjet printing device to send printing data to the buffer module and read the amount of data in the buffer module. The printing start condition is determined according to the amount of one pass printing data and the storage capacity. Data is sent to the printhead to start printing only when enough one pass printing data is stored in the buffer module or when it is close to full. Even if the movement of the printing carriage causes an abnormality in the connection between the main board and the printhead plate during the printing process, it can still ensure that there is enough printing data in the printhead plate to be sent to the printhead for printing, thereby ensuring that the printhead will not jam or produce garbled characters during printing and improving the image printing quality.

[0119] Example 3

[0120] Furthermore, the printing control method based on spray plate buffer in this embodiment of the invention can be implemented by a printing control device based on spray plate buffer. Figure 5 A schematic diagram of the hardware structure of a printing control device based on a spray plate buffer provided in an embodiment of the present invention is shown.

[0121] A print control device based on a printhead buffer may include a processor 301 and a memory 302 storing computer program instructions.

[0122] Specifically, the processor 301 may include a central processing unit (CPU), an application specific integrated circuit (ASIC), or one or more integrated circuits that can be configured to implement the embodiments of the present invention.

[0123] Memory 302 may include mass storage for data or instructions. For example, and not limitingly, memory 302 may include a hard disk drive (HDD), floppy disk drive, flash memory, optical disk, magneto-optical disk, magnetic tape, or Universal Serial Bus (USB) drive, or a combination of two or more of these. Where appropriate, memory 302 may include removable or non-removable (or fixed) media. Where appropriate, memory 302 may be internal or external to a data processing device. In a particular embodiment, memory 302 is a non-volatile solid-state memory. In a particular embodiment, memory 302 includes read-only memory (ROM). Where appropriate, the ROM may be a mask-programmed ROM, a programmable ROM (PROM), an erasable PROM (EPROM), an electrically erasable PROM (EEPROM), an electrically rewritable ROM (EAROM), or flash memory, or a combination of two or more of these.

[0124] The processor 301 reads and executes computer program instructions stored in the memory 302 to implement any of the printing control methods based on the spray plate buffer in the above embodiments.

[0125] In one example, the print control device based on the printhead buffer may further include a communication interface 303 and a bus 310. For example, Figure 5 As shown, the processor 301, memory 302, and communication interface 303 are connected through bus 310 and complete communication with each other.

[0126] The communication interface 303 is mainly used to realize communication between various modules, devices, units and / or equipment in the embodiments of the present invention.

[0127] Bus 310 includes hardware, software, or both, that couples components of a print control device based on a printhead buffer together. For example, and not limitingly, bus 310 may include an Accelerated Graphics Port (AGP) or other graphics bus, an Enhanced Industry Standard Architecture (EISA) bus, a Front Side Bus (FSB), HyperTransport (HT) interconnect, an Industry Standard Architecture (ISA) bus, an Infinite Bandwidth Interconnect, a Low Pin Count (LPC) bus, a memory bus, a Microchannel Architecture (MCA) bus, a Peripheral Component Interconnect (PCI) bus, a PCI-Express (PCI-X) bus, a Serial Advanced Technology Attachment (SATA) bus, a Video Electronics Standards Association Local (VLB) bus, or other suitable buses, or combinations of two or more of these. Where appropriate, bus 310 may include one or more buses. While specific buses are described and illustrated in embodiments of the invention, the invention contemplates any suitable bus or interconnect.

[0128] Example 4

[0129] Furthermore, in conjunction with the printing control method based on spray plate buffer in the above embodiments, this invention can be implemented using a computer-readable storage medium. This computer-readable storage medium stores computer program instructions; when executed by processor 301, these computer program instructions implement any of the printing control methods based on spray plate buffer in the above embodiments.

[0130] It should be clarified that the present invention is not limited to the specific configurations and processes described above and shown in the figures. For the sake of brevity, detailed descriptions of known methods are omitted here. In the above embodiments, several specific steps are described and shown as examples. However, the method process of the present invention is not limited to the specific steps described and shown. Those skilled in the art can make various changes, modifications, and additions, or change the order of steps, after understanding the spirit of the present invention.

[0131] The functional blocks shown in the above-described structural diagram can be implemented as hardware, software, firmware, or a combination thereof. When implemented in hardware, they can be, for example, electronic circuits, application-specific integrated circuits (ASICs), appropriate firmware, plug-ins, function cards, etc. When implemented in software, the elements of this invention are programs or code segments used to perform the required tasks. The programs or code segments can be stored on a machine-readable medium or transmitted over a transmission medium or communication link via data signals carried in a carrier wave. "Machine-readable medium" can include any medium capable of storing or transmitting information. Examples of machine-readable media include electronic circuits, semiconductor memory devices, ROM, flash memory, erasable ROM (EROM), floppy disks, CD-ROMs, optical disks, hard disks, fiber optic media, radio frequency (RF) links, etc. Code segments can be downloaded via computer networks such as the Internet, intranets, etc.

[0132] It should also be noted that the exemplary embodiments mentioned in this invention describe methods or systems based on a series of steps or apparatus. However, this invention is not limited to the order of the steps described above; that is, the steps can be performed in the order mentioned in the embodiments, or in a different order, or several steps can be performed simultaneously.

[0133] The above description is merely a specific embodiment of the present invention. Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working processes of the systems, modules, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here. It should be understood that the protection scope of the present invention is not limited thereto. Any person skilled in the art can easily conceive of various equivalent modifications or substitutions within the technical scope disclosed in the present invention, and these modifications or substitutions should all be covered within the protection scope of the present invention.

Claims

1. A print control method based on a spray bar buffer cache, characterized by, The method is used for ensuring that sufficient printing data in the print carriage board can be sent to the print head for printing when the connection between the main board and the print carriage board is abnormal during the printing process, and the method comprises the following steps: A cache module is arranged in a print carriage board of an inkjet printing device, and the cache module is used for caching printing data, wherein the inkjet printing device comprises an upper computer and a lower computer, the lower computer comprises a main board, a print carriage board and a print head, the main board communicates with the upper computer and the print carriage board respectively, the upper computer distributes printing data to the main board, the main board further distributes the printing data to the print carriage board, and the print carriage board distributes the printing data to each print head; The data amount of one PASS printing data and the storage capacity of the cache module are compared, wherein the data amount of one PASS printing data is the data amount of one PASS printing data; If the data amount of one PASS printing data is less than the storage capacity of the cache module, the printing data is sent to the cache module and the data amount in the cache module is read, and when the data amount of the printing data in the cache module is greater than or equal to the data amount of one PASS printing data, the printing data is sent to the print head for printing; If the data amount of one PASS printing data is greater than the storage capacity of the cache module, the printing data is sent to the cache module and the data amount in the cache module is read, and when the data amount of the printing data in the cache module is close to the storage capacity, the printing data is sent to the print head for printing, wherein when the data amount of the printing data is greater than or equal to a preset threshold value and less than the storage capacity, it is considered that the data amount of the printing data is close to the storage capacity; During the printing process, the print carriage board is controlled to obtain the cache state of the cache module and send the cache state to the main board, wherein the cache state comprises the storage capacity of the cache module and the current cached data amount; The main board is controlled to obtain the connection state of the print carriage board during the printing process, and the cache state and the connection state are sent to the upper computer printing control module.

2. The print control method based on the cache of the spray bar plate according to claim 1, characterized by, The step of, if the data amount of one PASS printing data is less than the storage capacity of the cache module, sending the printing data to the cache module and reading the data amount in the cache module, and when the data amount of the printing data in the cache module is greater than or equal to the data amount of one PASS printing data, sending the printing data to the print head for printing, comprises the following steps: The connection state of the main board and the print carriage board is judged, wherein the connection state comprises connection success and connection failure; When the connection state is connection success, the main board of the inkjet printing device is controlled to receive the printing data from the upper computer printing control module and send the printing data to the cache module of the print carriage board; The completion state of the last firing is obtained, wherein the completion state comprises a normal state and an abnormal state; If the completion state of the last firing is the normal state, the firing parameters of the new firing are set; It is judged whether the firing parameters are set successfully; If yes, it is judged whether the data amount in the cache module is greater than or equal to the data amount of one PASS printing data; If yes, one PASS printing data is read from the cache module of the print carriage board and sent to the print head for printing.

3. The print control method based on the cache of the spray bar plate according to claim 1, characterized by, if the onePASS data amount is greater than the storage capacity of the cache module, then: sending print data to the cache module and reading the data amount in the cache module, when the data amount of print data in the cache module approaches the storage capacity, sending the print data to the printhead for printing comprises: judging the connection state between the mainboard and the printhead board, wherein the connection state comprises successful connection and failed connection; when the connection state is successful connection, controlling the mainboard of the inkjet printing device to receive print data from the print control module of the upper computer and send the print data to the cache module of the printhead board; obtaining the completion state of the last ignition, wherein the completion state comprises a normal state and an abnormal state; if the completion state of the last ignition is the normal state, setting the ignition parameters of the new ignition; judging whether the ignition parameters are set successfully; if yes, judging whether the data amount in the cache module approaches the storage capacity; if yes, reading the print data from the cache module of the printhead board and sending the print data to the printhead for printing.

4. The print control method based on the cache of the spray bar plate according to any one of claims 2-3, characterized in that, The method further comprises: when the ignition parameter setting fails, blocking and waiting for a first preset time and then resetting the ignition parameters; if the ignition parameter setting still fails, closing the ignition and sending the completion state of the ignition to the print control module of the upper computer as the abnormal state.

5. The print control method based on the cache of the spray bar plate according to claim 2, characterized by, When the ignition parameter setting is successful, judging whether the data amount in the cache module is greater than or equal to the data amount of onePASS print data further comprises: if the data amount in the cache module is less than the data amount of onePASS print data, blocking and waiting for a second preset time and then judging again whether the data amount in the cache module meets the data amount of onePASS print data; if no, closing the ignition and exiting the printing.

6. The print control method based on the spray bar plate cache according to claim 1, characterized by, The method further comprises: setting a preset state register unit in the register module of the mainboard; writing the cache state and the connection state into the preset state register unit in real time.

7. A print control apparatus based on a spray bar buffer cache, characterized by, The device is used to ensure that there is enough print data in the printhead board to be sent to the printhead for printing when the connection between the mainboard and the printhead board is abnormal during the printing process, and the device comprises: a cache setting module for setting a cache module in the printhead board of an inkjet printing device, wherein the cache module is used to cache print data, the inkjet printing device comprises an upper computer and a lower computer, the lower computer comprises a mainboard, a printhead board and a printhead, the mainboard communicates with the upper computer and the printhead board respectively, the upper computer distributes print data to the mainboard, the mainboard further distributes the print data to the printhead board, and the printhead board distributes the print data to each printhead; a comparison module for comparing a onePASS data amount with the storage capacity of the cache module, wherein the onePASS data amount is the data amount of onePASS print data; a first printing module for, if the onePASS data amount is less than the storage capacity of the cache module, then: sending print data to the cache module and reading the data amount in the cache module, when the data amount of print data in the cache module is greater than or equal to the onePASS data amount, sending the print data to the printhead for printing. The second printing module is configured to, if the amount of the one PASS data is greater than the storage capacity of the cache module, send the printing data to the cache module and read the amount of data in the cache module, and send the printing data to the printhead for printing when the amount of the printing data in the cache module approaches the storage capacity, wherein the amount of the printing data is considered to approach the storage capacity when the amount of the printing data is greater than or equal to a preset threshold and less than the storage capacity. The cache state acquisition module is configured to, in a printing process, control the carriage board to acquire a cache state of the cache module and send the cache state to the mainboard, wherein the cache state includes the storage capacity of the cache module and the amount of currently cached data. The reporting module is configured to control the mainboard to acquire a connection state of the carriage board in the printing process and send the cache state and the connection state to a host computer printing control module.

8. A print control apparatus based on a spray bar buffer cache, characterized by, The computer program instructions, when executed by the processor, implement the method of any one of claims 1-6. The computer program instructions, when executed by the processor, implement the method of any one of claims 1-6.

9. A storage medium having stored thereon computer program instructions, characterized in that, ​

Citation Information

Patent Citations

  • Printing data processing method, device and equipment

    CN109664620A

  • Efficient use of a printhead and a compressed swath buffer in an inkjet printer

    US6313922B1