Printing method, device, equipment and storage medium

文档序号:42583 发布日期:2021-09-28 浏览:18次 中文

阅读说明:本技术 一种打印方法、装置、设备和存储介质 (Printing method, device, equipment and storage medium ) 是由 不公告发明人 于 2021-06-30 设计创作,主要内容包括:本发明公开了一种打印方法、装置、设备和存储介质,包括:确定喷头的最大喷印速度和最小加减速距离;根据最大喷印速度、喷头的物理分辨率和待打印图像的分辨率,确定目标打印速度;根据目标打印速度和最大喷印速度以及最小加减速距离,确定目标加减速距离;控制喷头在所述目标加减速距离内将速度提升为目标打印速度,并以目标打印速度对待打印图像进行打印。上述技术方案,在确定目标打印速度和目标加减速距离之后,可以控制喷头在目标加减速距离内将喷头加速至目标打印速度,以实现以目标打印速度对待打印图像进行打印,减少了打印高分辨率图像和/或文字时喷头在打印介质上的往复次数,提升打印高分辨率图像和/或文字的速度。(The invention discloses a printing method, a device, equipment and a storage medium, comprising the following steps: determining the maximum spray printing speed and the minimum acceleration and deceleration distance of the spray head; determining a target printing speed according to the maximum spray printing speed, the physical resolution of the spray head and the resolution of the image to be printed; determining a target acceleration and deceleration distance according to the target printing speed, the maximum spray printing speed and the minimum acceleration and deceleration distance; and controlling the spray head to increase the speed to the target printing speed within the target acceleration and deceleration distance, and printing the image to be printed at the target printing speed. According to the technical scheme, after the target printing speed and the target acceleration and deceleration distance are determined, the spray head can be controlled to accelerate to the target printing speed within the target acceleration and deceleration distance, so that the image to be printed is printed at the target printing speed, the reciprocating times of the spray head on a printing medium when the high-resolution image and/or characters are printed are reduced, and the printing speed of the high-resolution image and/or characters is improved.)

1. A method of printing, comprising:

determining the maximum spray printing speed and the minimum acceleration and deceleration distance of the spray head;

determining a target printing speed according to the maximum spray printing speed, the physical resolution of the spray head and the resolution of the image to be printed;

determining a target acceleration and deceleration distance according to the target printing speed, the maximum spray printing speed and the minimum acceleration and deceleration distance;

and controlling the spray head to increase the speed to the target printing speed within the target acceleration and deceleration distance, and printing the image to be printed at the target printing speed.

2. The printing method of claim 1, wherein determining a maximum jet speed of the jet comprises:

and determining the maximum jet printing speed of the nozzle according to the maximum jet printing frequency of the nozzle, a preset constant value and the physical resolution.

3. The printing method of claim 2, wherein determining a maximum jet speed of the jet further comprises:

calculating the product of the maximum jet printing frequency and the preset constant value to obtain a product value;

and determining the quotient of the product value and the physical resolution as the maximum jet printing speed.

4. The printing method of claim 1, wherein determining a target printing speed based on the maximum jet printing speed, the physical resolution of the jet head, and the resolution of the image to be printed comprises:

determining the original printing times according to the physical resolution of the nozzle and the resolution of the image to be printed;

and determining the target printing speed according to the maximum jet printing speed and the original printing times.

5. The printing method of claim 1, wherein determining a target print speed based on the maximum jet print speed, the physical resolution of the jet, and the resolution of the image to be printed, further comprises:

determining the quotient of the physical resolution of the nozzle and the resolution of the image to be printed as the original printing times;

and determining the quotient of the maximum jet printing speed and the original printing times as the target printing speed.

6. The printing method of claim 1, wherein determining a target acceleration/deceleration distance based on the target printing speed and the maximum jet printing speed and the minimum acceleration/deceleration distance comprises:

determining the minimum acceleration and deceleration time according to the minimum acceleration and deceleration distance and the maximum spray printing speed;

and determining the target acceleration and deceleration distance according to the target printing speed and the minimum acceleration and deceleration time.

7. The printing method of claim 1, wherein determining a target acceleration/deceleration distance based on the target printing speed and the maximum jet printing speed and the minimum acceleration/deceleration distance further comprises:

determining the quotient of the minimum acceleration and deceleration distance and the maximum spray printing speed as the minimum acceleration and deceleration time;

and determining the product of the target printing speed and the minimum acceleration and deceleration time as the target acceleration and deceleration distance.

8. A printing apparatus, comprising:

the first determining module is used for determining the maximum spray printing speed and the minimum acceleration and deceleration distance of the spray head;

the target printing speed determining module is used for determining a target printing speed according to the maximum spray printing speed, the physical resolution of the spray head and the resolution of the image to be printed;

a target acceleration and deceleration distance determination module, configured to determine a target acceleration and deceleration distance according to the target printing speed, the maximum spray printing speed, and the minimum acceleration and deceleration distance;

and the printing module is used for controlling the spray head to increase the speed to the target printing speed within the target acceleration and deceleration distance and printing the image to be printed at the target printing speed.

9. A printing apparatus, characterized in that the apparatus comprises:

one or more processors;

a storage device for storing one or more programs,

when executed by the one or more processors, cause the one or more processors to implement a printing method as claimed in any one of claims 1-7.

10. A storage medium containing computer-executable instructions for performing the printing method of any one of claims 1-7 when executed by a computer processor.

Technical Field

The present invention relates to printing technologies, and in particular, to a printing method, apparatus, device, and storage medium.

Background

Inkjet printing is a technique of forming an image or text by ejecting ink droplets through a head onto a printing medium. The reciprocating scanning printing technology is a technology commonly used in the field of current ink-jet printing, can realize printing with a resolution higher than the inherent resolution of a nozzle by adopting reciprocating scanning printing, and has the principle that the nozzle is used for alternately realizing multiple interpolation of each unit of an image to be printed in the scanning direction and the stepping direction, so that the resolution of the printed image is improved, wherein the scanning direction is vertical to the nozzle arrangement direction, and the stepping direction is parallel to the nozzle arrangement direction.

In the prior art, for printing a high-precision large-format pattern, printing is usually realized by a multi-scanning mode, that is, a carriage including a nozzle and a printing medium are alternately moved in a vertical direction, for example, the carriage is reciprocated on a horizontal axis and the printing medium is moved in a vertical axis direction, or the printing medium is reciprocated on a horizontal axis and the carriage is moved in a vertical axis direction.

In the prior art, when images and/or characters with higher resolution ratio are printed, image data need to be grouped, the number of times of reciprocating of a spray head trolley is large, more time needs to be spent, the overall printing speed is low, and the yield is low.

Disclosure of Invention

The invention provides a printing method, a printing device, printing equipment and a storage medium, which are used for improving the printing speed of printing high-resolution images and/or characters.

In a first aspect, an embodiment of the present invention provides a printing method, including:

determining the maximum spray printing speed and the minimum acceleration and deceleration distance of the spray head;

determining a target printing speed according to the maximum spray printing speed, the physical resolution of the spray head and the resolution of the image to be printed;

determining a target acceleration and deceleration distance according to the target printing speed, the maximum spray printing speed and the minimum acceleration and deceleration distance;

and controlling the spray head to increase the speed to the target printing speed within the target acceleration and deceleration distance, and printing the image to be printed at the target printing speed.

Further, determining the maximum jet printing speed of the jet head comprises the following steps:

and determining the maximum jet printing speed of the nozzle according to the maximum jet printing frequency of the nozzle, a preset constant value and the physical resolution.

Further, determining the maximum printing speed of the nozzle further comprises:

calculating the product of the maximum jet printing frequency and the preset constant value to obtain a product value;

and determining the quotient of the product value and the physical resolution as the maximum jet printing speed.

Further, determining a target printing speed according to the maximum jet printing speed, the physical resolution of the nozzle and the resolution of the image to be printed, including:

determining the original printing times according to the physical resolution of the nozzle and the resolution of the image to be printed;

and determining the target printing speed according to the maximum jet printing speed and the original printing times.

Further, determining a target printing speed according to the maximum jet printing speed, the physical resolution of the nozzle and the resolution of the image to be printed, and further comprising:

determining the quotient of the physical resolution of the nozzle and the resolution of the image to be printed as the original printing times;

and determining the quotient of the maximum jet printing speed and the original printing times as the target printing speed.

Further, determining a target acceleration/deceleration distance according to the target printing speed, the maximum jet printing speed and the minimum acceleration/deceleration distance includes:

determining the minimum acceleration and deceleration time according to the minimum acceleration and deceleration distance and the maximum spray printing speed;

and determining the target acceleration and deceleration distance according to the target printing speed and the minimum acceleration and deceleration time.

Further, determining a target acceleration/deceleration distance according to the target printing speed, the maximum jet printing speed and the minimum acceleration/deceleration distance, further comprising:

determining the quotient of the minimum acceleration and deceleration distance and the maximum spray printing speed as the minimum acceleration and deceleration time;

and determining the product of the target printing speed and the minimum acceleration and deceleration time as the target acceleration and deceleration distance.

The embodiment of the invention provides a printing method, which comprises the following steps: determining the maximum spray printing speed and the minimum acceleration and deceleration distance of the spray head; determining a target printing speed according to the maximum spray printing speed, the physical resolution of the spray head and the resolution of the image to be printed; determining a target acceleration and deceleration distance according to the target printing speed, the maximum spray printing speed and the minimum acceleration and deceleration distance; and controlling the spray head to increase the speed to the target printing speed within the target acceleration and deceleration distance, and printing the image to be printed at the target printing speed. According to the technical scheme, after the target printing speed and the target acceleration and deceleration distance are determined, the spray head can be controlled to accelerate to the target printing speed within the target acceleration and deceleration distance, so that the image to be printed at the target printing speed is printed, the reciprocating times of the spray head on a printing medium when the high-resolution image and/or characters are printed are reduced, the speed for printing the high-resolution image and/or characters is increased, the target printing speed can be lower than the initial printing speed, the target acceleration and deceleration distance is also lower than the initial acceleration and deceleration distance, the target acceleration and deceleration time required for accelerating to the target printing speed can be further determined to be shortened, and the speed for printing the high-resolution image and/or characters can be further increased.

In a second aspect, an embodiment of the present invention further provides a printing apparatus, including:

the first determining module is used for determining the maximum spray printing speed and the minimum acceleration and deceleration distance of the spray head;

the target printing speed determining module is used for determining a target printing speed according to the maximum spray printing speed, the physical resolution of the spray head and the resolution of the image to be printed;

the target acceleration and deceleration distance determining module is used for determining a target acceleration and deceleration distance according to the target printing speed, the maximum spray printing speed and the minimum acceleration and deceleration distance;

and the printing module is used for controlling the spray head to increase the speed to the target printing speed within the target acceleration and deceleration distance and printing the image to be printed at the target printing speed.

Further, the first determining module is configured to:

and determining the maximum jet printing speed of the nozzle according to the maximum jet printing frequency of the nozzle, a preset constant value and the physical resolution.

Further, the first determining module is further configured to:

calculating the product of the maximum jet printing frequency and the preset constant value to obtain a product value; and determining the quotient of the product value and the physical resolution as the maximum jet printing speed.

Further, a target print speed determination module to:

determining the original printing times according to the physical resolution of the nozzle and the resolution of the image to be printed;

and determining the target printing speed according to the maximum jet printing speed and the original printing times.

Further, the target print speed determination module is further configured to:

determining the quotient of the physical resolution of the nozzle and the resolution of the image to be printed as the original printing times;

and determining the quotient of the maximum jet printing speed and the original printing times as the target printing speed.

Further, the target plus-minus distance determining module may be configured to:

determining the minimum acceleration and deceleration time according to the minimum acceleration and deceleration distance and the maximum spray printing speed;

and determining the target acceleration and deceleration distance according to the target printing speed and the minimum acceleration and deceleration time.

Further, the target plus-minus distance determination module may be specifically configured to:

determining the quotient of the minimum acceleration and deceleration distance and the maximum spray printing speed as the minimum acceleration and deceleration time;

and determining the product of the target printing speed and the minimum acceleration and deceleration time as the target acceleration and deceleration distance.

In a third aspect, an embodiment of the present invention further provides a printing apparatus, including:

one or more processors;

a storage device for storing one or more programs,

when executed by the one or more processors, cause the one or more processors to implement a printing method as in any one of the first aspects.

In a fourth aspect, embodiments of the present invention also provide a storage medium containing computer-executable instructions for performing the printing method according to any one of the first aspect when executed by a computer processor.

In a fifth aspect, the present application provides a computer program product comprising computer instructions which, when run on a computer, cause the computer to perform the printing method according to any one of the first aspect.

It should be noted that all or part of the computer instructions may be stored on the computer readable storage medium. The computer-readable storage medium may be packaged with a processor of the printing apparatus, or may be packaged separately from the processor of the printing apparatus, which is not limited in this application.

For the descriptions of the second, third, fourth and fifth aspects in this application, reference may be made to the detailed description of the first aspect; in addition, for the beneficial effects described in the second aspect, the third aspect, the fourth aspect and the fifth aspect, reference may be made to the beneficial effect analysis of the first aspect, and details are not repeated here.

In the present application, the names of the above-mentioned printing apparatuses do not limit the devices or functional modules themselves, and in actual implementation, these devices or functional modules may appear by other names. Insofar as the functions of the respective devices or functional modules are similar to those of the present application, they fall within the scope of the claims of the present application and their equivalents.

These and other aspects of the present application will be more readily apparent from the following description.

Drawings

Fig. 1 is a flowchart of a printing method according to an embodiment of the present invention;

fig. 2 is a flowchart of a printing method according to a second embodiment of the present invention;

fig. 3 is a flowchart of an implementation of a printing method according to a second embodiment of the present invention;

fig. 4 is a structural diagram of a printing apparatus according to a third embodiment of the present invention;

fig. 5 is a schematic structural diagram of a printing apparatus according to a fourth embodiment of the present invention.

Detailed Description

The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.

The term "and/or" herein is merely an association describing an associated object, meaning that three relationships may exist, e.g., a and/or B, may mean: a exists alone, A and B exist simultaneously, and B exists alone.

The terms "first" and "second" and the like in the description and drawings of the present application are used for distinguishing different objects or for distinguishing different processes for the same object, and are not used for describing a specific order of the objects.

Furthermore, the terms "including" and "having," and any variations thereof, as referred to in the description of the present application, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus.

Before discussing exemplary embodiments in more detail, it should be noted that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although a flowchart may describe the operations (or steps) as a sequential process, many of the operations can be performed in parallel, concurrently or simultaneously. In addition, the order of the operations may be re-arranged. The process may be terminated when its operations are completed, but may have additional steps not included in the figure. The processes may correspond to methods, functions, procedures, subroutines, and the like. In addition, the embodiments and features of the embodiments in the present invention may be combined with each other without conflict.

Example one

Fig. 1 is a flowchart of a printing method according to an embodiment of the present invention, where the embodiment is applicable to a situation where a printing speed of a high-resolution image and/or text needs to be increased, the method may be executed by a printing apparatus, and specifically includes the following steps:

and step 110, determining the maximum spray printing speed and the minimum acceleration and deceleration distance of the spray head.

In the ink jet printing, the nozzle can reciprocate based on a printing medium to realize printing of an image to be printed on the printing medium. The jet printing speed can be the number of dots capable of being jet printed in a preset time, wherein the smaller the point height of the single line is, the faster the jet printing speed is. The acceleration and deceleration distance may be a distance required to accelerate the velocity of the head from 0 to a target printing velocity after the head starts printing.

In particular, it may be based on a formulaDetermining a maximum jet printing speed, wherein V0The maximum jet printing speed, f the maximum jet printing frequency, N a preset constant related to the jet head, and P the physical resolution of the jet head. Before printing begins, the jet printing speed of the jet head in the direction perpendicular to the moving direction of the printing medium can be determined, and the jet printing speed can be the jet head in the direction perpendicular to the moving direction of the printing medium and the physical resolution of the jet headThe maximum jet printing speed for jet printing. The minimum acceleration/deceleration distance may be a distance required for the printhead to move in a direction perpendicular to the direction of print media movement and accelerate to a desired target print speed. The minimum acceleration and deceleration distance can be determined according to the type and model of the spray head.

In the embodiment of the invention, the physical resolution of the nozzle can be 600dpi, wherein 600dpi indicates that 600 pixel points can be printed within one inch, and dpi is the number of pixel points within each inch of the image. The maximum spray printing frequency of the spray head can be 30KHz, and when the resolution of the image to be printed can be 1800dpi, the maximum spray printing speed of the spray head can be determinedWherein m is meters and s is seconds. Among them, 25.4 may be a predetermined constant associated with the showerhead, and when the showerhead is changed, the predetermined constant may be changed accordingly. In the prior art, the printing of the image to be printed can be realized by adopting the original printing speed of 1.27m/s to and fro three times, at this time, 6 times of acceleration and deceleration are needed for printing one line, the time is long, and the printing speed is slow.

And step 120, determining a target printing speed according to the maximum spray printing speed, the physical resolution of the spray head and the resolution of the image to be printed.

The physical resolution of the nozzle may be an inherent property of the nozzle, and the physical resolution of the nozzle used in the embodiment of the present invention may be 600 dpi.

In particular, it may be based on a formulaDetermining a target printing speed, wherein VsFor target printing speed, V0For maximum jet printing speed, R is the resolution of the image to be printed, and P is the physical resolution of the nozzle. After determining the maximum jet printing speed, a multiple of the resolution of the image to be printed with respect to the physical resolution of the ejection head may be first determined, and then a target printing speed may be determined based on the maximum jet printing speed and the aforementioned multiple.

Practice of the inventionIn an example, the maximum printing speed may be 1.27m/s, the physical resolution of the ejection head may be 600dpi, the resolution of the image to be printed may be 1800dpi, the multiple of the resolution of the image to be printed with respect to the physical resolution of the ejection head may be 3, and thus the target printing speed may be determinedWherein m is meters and s is seconds.

And step 130, determining a target acceleration and deceleration distance according to the target printing speed, the maximum spray printing speed and the minimum acceleration and deceleration distance.

The target acceleration and deceleration distance may be a target acceleration and deceleration distance of the nozzle when the image to be printed is printed, so that it is easy to know that when the resolution of the image to be printed or the inherent resolution of the nozzle is changed, the determined target printing speed is correspondingly changed, and the target acceleration and deceleration distance may also be correspondingly changed.

In particular, it may be based on a formulaDetermining a target acceleration and deceleration distance, wherein S is the target acceleration and deceleration distance, VsFor a target printing speed, S0Is a minimum acceleration/deceleration distance, V0The maximum jet printing speed. After the target printing speed is determined, the time taken to run the minimum acceleration/deceleration distance at the maximum printing speed may be determined according to the maximum printing speed and the minimum acceleration/deceleration distance, and further, the target acceleration/deceleration distance may be determined according to the target printing speed and the time.

In the embodiment of the invention, the minimum acceleration and deceleration distance can be S related to the performance of the spray head0The primary determinant may be acceleration. The maximum jet printing speed can be 1.27m/s, and the time required for accelerating to the maximum jet printing speed can beThe minimum acceleration/deceleration distance may beThe target printing speed may be 0.423m/s, and the time required to accelerate to the target printing speed may beFurther, the target acceleration/deceleration distance can be determined to beIt can be seen that the determined target acceleration/deceleration distance is shorter than the minimum acceleration/deceleration, and the time taken to accelerate/decelerate is also shorter, thereby reducing the time to print one line and further increasing the printing speed.

And 140, controlling the spray head to increase the speed to the target printing speed within the target acceleration and deceleration distance, and printing the image to be printed at the target printing speed.

Specifically, the speed of the head may be raised to the target printing speed within the target acceleration/deceleration distance, and printing may be started after the speed of the head reaches the target printing speed.

In the embodiment of the invention, the image to be printed is printed at the target printing speed, the printing can be finished at one time without repeated operation, the printing time is reduced, and the target printing speed is accelerated.

In the prior art, if the resolution of a large printed image is 1800dpi and the physical resolution of the nozzle is 600dpi, the nozzle needs to go back and forth three times to print the image to be printed, and then six times of acceleration and deceleration distances need to be consumed, which easily causes waste of a printing medium. In the embodiment of the invention, only one time of printing is needed, and then only two times of target acceleration and deceleration distances are needed, so that the waste of printing media is reduced.

The printing method provided by the first embodiment of the invention comprises the following steps: determining the maximum spray printing speed and the minimum acceleration and deceleration distance of the spray head; determining a target printing speed according to the maximum spray printing speed, the physical resolution of the spray head and the resolution of the image to be printed; determining a target acceleration and deceleration distance according to the target printing speed, the maximum spray printing speed and the minimum acceleration and deceleration distance; and controlling the spray head to increase the speed to the target printing speed within the target acceleration and deceleration distance, and printing the image to be printed at the target printing speed. According to the technical scheme, after the target printing speed and the target acceleration and deceleration distance are determined, the spray head can be controlled to accelerate to the target printing speed within the target acceleration and deceleration distance, so that the image to be printed at the target printing speed is printed, the reciprocating times of the spray head on a printing medium when the high-resolution image is printed are reduced, the speed of printing the high-resolution image is increased, the target printing speed can be lower than the initial printing speed, the target acceleration and deceleration distance is also lower than the initial acceleration and deceleration distance, the target acceleration and deceleration time required for accelerating to the target printing speed can be further determined to be shortened, and the speed of printing the high-resolution image and/or characters can be further increased.

Example two

Fig. 2 is a flowchart of a printing method according to a second embodiment of the present invention, which is embodied on the basis of the second embodiment. In this embodiment, the method may further include:

and step 210, determining the maximum spray printing speed and the minimum acceleration and deceleration distance of the spray head.

In one embodiment, determining a maximum print speed of a printhead includes:

and determining the maximum jet printing speed of the nozzle according to the maximum jet printing frequency of the nozzle, a preset constant value and the physical resolution.

The preset constant may be a preset constant related to the type and model of the nozzle, and in the embodiment of the present invention, the preset constant may be 25.4. The maximum spray printing frequency can also be related to the performance of the spray head, and in the embodiment of the invention, the maximum spray printing frequency can be 30 KHz. The physical resolution may also be a physical resolution of the ejection head related to the type and model of the ejection head, and in the embodiment of the present invention, the physical resolution of the ejection head may be 600 dpi.

In particular, it may be based on a formulaDetermining a maximum jet printing speed, wherein V0The maximum jet printing speed, f the maximum jet printing frequency, N a preset constant related to the jet head, and P the physical resolution of the jet head.

In the embodiment of the invention, the maximum spray printing speed of the spray headWherein m is meters and s is seconds.

Further, determining the maximum jet printing speed of the nozzle specifically includes:

calculating the product of the maximum jet printing frequency and the preset constant value to obtain a product value; and determining the quotient of the product value and the physical resolution as the maximum jet printing speed.

Specifically, the product of the maximum jet printing frequency and a preset constant value is calculated, the obtained product value is f × N, and the product value and the physical resolution are calculatedThereby maximizing the jet printing speed

And step 220, determining a target printing speed according to the maximum spray printing speed, the physical resolution of the spray head and the resolution of the image to be printed.

In one embodiment, step 220 may comprise:

determining the original printing times according to the physical resolution of the nozzle and the resolution of the image to be printed; and determining the target printing speed according to the maximum jet printing speed and the original printing times.

The original printing times can be times of printing the image to be printed based on the nozzle by adopting the prior art, and the times of reciprocating printing are required by the nozzle.

In particular, it may be based on a formulaDetermining a target printing speed, wherein VsFor target printing speed, V0For maximum jet printing speed, R is the resolution of the image to be printed, and P is the physical resolution of the nozzle.

In the embodiment of the invention, the maximum spray printing speed of the spray head can be 1.27m/s, the physical resolution of the spray head can be 600dpi, the resolution of the image to be printed can be 1800dpi, and further the resolution can be determined Wherein m is meters and s is seconds.

Further, step 220 may specifically include:

determining the quotient of the physical resolution of the nozzle and the resolution of the image to be printed as the original printing times; and determining the quotient of the maximum jet printing speed and the original printing times as the target printing speed.

Specifically, the physical resolution of the nozzle and the resolution of the image to be printed are calculatedAnd then toObtained by calculating maximum jet printing speed and number of times of original printingAnd then to

And step 230, determining a target acceleration and deceleration distance according to the target printing speed, the maximum spray printing speed and the minimum acceleration and deceleration distance.

In one embodiment, step 230 may comprise:

determining the minimum acceleration and deceleration time according to the minimum acceleration and deceleration distance and the maximum spray printing speed; and determining the target acceleration and deceleration distance according to the target printing speed and the minimum acceleration and deceleration time.

The minimum acceleration and deceleration time can be the time taken by the spray head to run for the minimum acceleration and deceleration distance at the maximum spray printing speed.

In particular, it may be based on a formulaDetermining a target acceleration and deceleration distance, wherein S is the target acceleration and deceleration distance, VsFor a target printing speed, S0Is a minimum acceleration/deceleration distance, V0The maximum jet printing speed.

In the embodiment of the invention, the minimum acceleration and deceleration distance can be S related to the type and model of the spray head0Maximum jet printing speed V0Can be 1.27m/s, target printing speed VsCan be 0.423m/s, and further can determine the target acceleration and deceleration distance as

Further, step 230 may specifically include:

determining the quotient of the minimum acceleration and deceleration distance and the maximum spray printing speed as the minimum acceleration and deceleration time; and determining the product of the target printing speed and the minimum acceleration and deceleration time as the target acceleration and deceleration distance.

Specifically, the minimum acceleration and deceleration distance and the maximum jet printing speed are calculatedAnd can determineCalculated target printing speed and minimum acceleration/deceleration time And can determine

And 240, controlling the spray head to increase the speed to the target printing speed within the target acceleration and deceleration distance, and printing the image to be printed at the target printing speed.

Specifically, the speed of the head may be raised to the target printing speed within the target acceleration/deceleration distance, and printing may be started after the speed of the head reaches the target printing speed.

The printing method provided by the second embodiment of the invention comprises the following steps: determining the maximum spray printing speed and the minimum acceleration and deceleration distance of the spray head; determining a target printing speed according to the maximum spray printing speed, the physical resolution of the spray head and the resolution of the image to be printed; determining a target acceleration and deceleration distance according to the target printing speed, the maximum spray printing speed and the minimum acceleration and deceleration distance; and controlling the spray head to increase the speed to the target printing speed within the target acceleration and deceleration distance, and printing the image to be printed at the target printing speed. According to the technical scheme, after the target printing speed and the target acceleration and deceleration distance are determined, the spray head can be controlled to accelerate to the target printing speed within the target acceleration and deceleration distance, so that the image to be printed at the target printing speed is printed, the reciprocating times of the spray head on a printing medium when the high-resolution image is printed are reduced, the speed of printing the high-resolution image is increased, the target printing speed can be lower than the initial printing speed, the target acceleration and deceleration distance is also lower than the initial acceleration and deceleration distance, the target acceleration and deceleration time required for accelerating to the target printing speed can be further determined to be shortened, and the speed of printing the high-resolution image and/or characters can be further increased.

Fig. 3 is a flowchart of an implementation of a printing method according to a second embodiment of the present invention, which exemplarily shows one implementation manner. As shown in figure 3 of the drawings,

and 310, calculating the product of the maximum spray printing frequency of the spray head and a preset constant value to obtain a product value.

And step 320, determining the quotient of the product value and the physical resolution of the spray head as the maximum spray printing speed.

And step 330, determining the minimum acceleration and deceleration distance of the spray head according to the type and the model of the spray head.

And step 340, determining the original printing times according to the physical resolution of the spray head and the resolution of the image to be printed.

And step 350, determining a target printing speed according to the maximum jet printing speed and the original printing times.

And step 360, determining the minimum acceleration and deceleration time according to the minimum acceleration and deceleration distance and the maximum spray printing speed.

And step 370, determining a target acceleration and deceleration distance according to the target printing speed and the minimum acceleration and deceleration time.

And 380, controlling the spray head to increase the speed to the target printing speed within the target acceleration and deceleration distance, and printing the image to be printed at the target printing speed.

In the implementation manner of the printing method provided by the second embodiment of the invention, a product value is obtained by calculating the product of the maximum spray printing frequency of the spray head and a preset constant value; determining the quotient of the product value and the physical resolution of the spray head as the maximum spray printing speed; determining the minimum acceleration and deceleration distance of the spray head according to the type and the model of the spray head; determining the original printing times according to the physical resolution of the spray head and the resolution of the image to be printed; determining a target printing speed according to the maximum spray printing speed and the original printing times; determining the minimum acceleration and deceleration time according to the minimum acceleration and deceleration distance and the maximum spray printing speed; determining a target acceleration and deceleration distance according to the target printing speed and the minimum acceleration and deceleration time; and controlling the spray head to increase the speed to the target printing speed within the target acceleration and deceleration distance, and printing the image to be printed at the target printing speed. According to the technical scheme, after the target printing speed and the target acceleration and deceleration distance are determined, the spray head can be controlled to accelerate to the target printing speed within the target acceleration and deceleration distance, so that the image to be printed at the target printing speed is printed, the reciprocating times of the spray head on a printing medium when the high-resolution image is printed are reduced, the speed of printing the high-resolution image is increased, the target printing speed can be lower than the initial printing speed, the target acceleration and deceleration distance is also lower than the initial acceleration and deceleration distance, the target acceleration and deceleration time required for accelerating to the target printing speed can be further determined to be shortened, and the speed of printing the high-resolution image and/or characters can be further increased.

EXAMPLE III

Fig. 4 is a structural diagram of a printing apparatus according to a third embodiment of the present invention, where the printing apparatus can be adapted to increase the printing speed of high-resolution images in the case that high-resolution images and/or text need to be printed. The apparatus may be implemented in software and/or hardware and is typically integrated into a printer control system.

As shown in fig. 4, the apparatus includes:

a determining module 410, configured to determine a maximum spray printing speed and a minimum acceleration/deceleration distance of the nozzle;

a target printing speed determining module 420, configured to determine a target printing speed according to the maximum inkjet printing speed, the physical resolution of the inkjet head, and the resolution of the image to be printed;

a target acceleration and deceleration distance determining module 430, configured to determine a target acceleration and deceleration distance according to the target printing speed, the maximum inkjet printing speed, and the minimum acceleration and deceleration distance;

and the printing module 440 is configured to control the nozzle to increase the speed to the target printing speed within the target acceleration/deceleration distance, and print the image to be printed at the target printing speed.

In the printing apparatus provided by this embodiment, the maximum jet printing speed and the minimum acceleration/deceleration distance of the nozzle are determined; determining a target printing speed according to the maximum spray printing speed, the physical resolution of the spray head and the resolution of the image to be printed; determining a target acceleration and deceleration distance according to the target printing speed, the maximum spray printing speed and the minimum acceleration and deceleration distance; and controlling the spray head to increase the speed to the target printing speed within the target acceleration and deceleration distance, and printing the image to be printed at the target printing speed. According to the technical scheme, after the target printing speed and the target acceleration and deceleration distance are determined, the spray head can be controlled to accelerate to the target printing speed within the target acceleration and deceleration distance, so that the image to be printed at the target printing speed is printed, the reciprocating times of the spray head on a printing medium when the high-resolution image is printed are reduced, the speed of printing the high-resolution image is increased, the target printing speed can be lower than the initial printing speed, the target acceleration and deceleration distance is also lower than the initial acceleration and deceleration distance, the target acceleration and deceleration time required for accelerating to the target printing speed can be further determined to be shortened, and the speed of printing the high-resolution image and/or characters can be further increased.

On the basis of the foregoing embodiment, the determining module 410 may be configured to:

and determining the maximum jet printing speed of the nozzle according to the maximum jet printing frequency of the nozzle, a preset constant value and the physical resolution.

On the basis of the foregoing embodiment, the determining module 410 may be specifically configured to:

calculating the product of the maximum jet printing frequency and the preset constant value to obtain a product value; and determining the quotient of the product value and the physical resolution as the maximum jet printing speed.

On the basis of the above embodiment, the target printing speed determination module 420 may be configured to:

determining the original printing times according to the physical resolution of the nozzle and the resolution of the image to be printed;

and determining the target printing speed according to the maximum jet printing speed and the original printing times.

On the basis of the foregoing embodiment, the target printing speed determining module 420 may be specifically configured to:

determining the quotient of the physical resolution of the nozzle and the resolution of the image to be printed as the original printing times;

and determining the quotient of the maximum jet printing speed and the original printing times as the target printing speed.

On the basis of the foregoing embodiment, the target plus-minus distance determining module 430 may be configured to:

determining the minimum acceleration and deceleration time according to the minimum acceleration and deceleration distance and the maximum spray printing speed;

and determining the target acceleration and deceleration distance according to the target printing speed and the minimum acceleration and deceleration time.

On the basis of the foregoing embodiment, the target plus-minus distance determining module 430 may be specifically configured to:

determining the quotient of the minimum acceleration and deceleration distance and the maximum spray printing speed as the minimum acceleration and deceleration time;

and determining the product of the target printing speed and the minimum acceleration and deceleration time as the target acceleration and deceleration distance.

The printing device provided by the embodiment of the invention can execute the printing method provided by any embodiment of the invention, and has the corresponding functional modules and beneficial effects of the execution method.

Example four

Fig. 5 is a schematic structural diagram of a printing apparatus according to a fourth embodiment of the present invention, as shown in fig. 5, the printing apparatus includes a processor 510 and a memory 520; the number of processors 510 in the printing apparatus may be one or more, and one processor 510 is taken as an example in fig. 5; the processor 510 and the memory 520 in the printing device may be connected by a bus or other means, and the connection by the bus is exemplified in fig. 5.

The memory 520, which is a computer-readable storage medium, may be used to store software programs, computer-executable programs, and modules, such as program instructions/modules corresponding to the printing method in the embodiment of the present invention (e.g., the determination module 410, the target printing speed determination module 420, the target printing speed determination module 430, and the printing module 440 in the printing apparatus). The processor 510 executes various functional applications of the printing apparatus and data processing, i.e., implements the printing method described above, by executing software programs, instructions, and modules stored in the memory 520.

Processor 510 may include one or more Central Processing Units (CPUs), and may also include multiple processors 510. Each of the processors 510 may be a single-Core Processor (CPU) or a multi-Core Processor (CPU). Processor 510 may refer herein to one or more devices, circuits, and/or processing cores that process data (e.g., computer program instructions).

The memory 520 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required for at least one function; the storage data area may store data created according to the use of the terminal, and the like. Further, the memory 520 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some examples, memory 520 may further include memory located remotely from processor 510, which may be connected to a printing device via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.

The printing equipment provided by the embodiment of the invention can execute the printing method provided by the embodiment, and has corresponding functions and beneficial effects.

EXAMPLE five

An embodiment of the present invention further provides a storage medium containing computer-executable instructions, which when executed by a computer processor, perform a printing method, the method including:

determining the maximum spray printing speed and the minimum acceleration and deceleration distance of the spray head;

determining a target printing speed according to the maximum spray printing speed, the physical resolution of the spray head and the resolution of the image to be printed;

determining a target acceleration and deceleration distance according to the target printing speed, the maximum spray printing speed and the minimum acceleration and deceleration distance;

and controlling the spray head to increase the speed to the target printing speed within the target acceleration and deceleration distance, and printing the image to be printed at the target printing speed.

The computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a RAM, a ROM, an erasable programmable read-only memory (EPROM), a register, a hard disk, an optical fiber, a CD-ROM, an optical storage device, a magnetic storage device, any suitable combination of the foregoing, or any other form of computer readable storage medium known in the art. An exemplary storage medium is coupled to the processor such the processor can read information from, and write information to, the storage medium. Of course, the storage medium may also be integral to the processor. The processor and the storage medium may reside in an Application Specific Integrated Circuit (ASIC). In embodiments of the present application, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.

Of course, the storage medium provided by the embodiment of the present invention contains computer-executable instructions, and the computer-executable instructions are not limited to the method operations described above, and may also execute the relevant operations in the printing method provided by any embodiment of the present invention.

From the above description of the embodiments, it is obvious for those skilled in the art that the present invention can be implemented by software and necessary general hardware, and certainly, can also be implemented by hardware, but the former is a better embodiment in many cases. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which can be stored in a computer-readable storage medium, such as a floppy disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a FLASH Memory (FLASH), a hard disk or an optical disk of a computer, and includes several instructions for enabling a computer device (which may be a personal computer, a server, or a network device) to execute the methods according to the embodiments of the present invention.

It should be noted that, in the embodiment of the printing apparatus, the included units and modules are merely divided according to the functional logic, but are not limited to the above division as long as the corresponding functions can be realized; in addition, specific names of the functional units are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present invention.

It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

19页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种高度调节机构以及打印机

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!

技术分类