Print medium cutting method, inkjet printing apparatus, printing system, and storage medium

By calculating the distance and width between the print head and the cutter, the cutting position of the printed medium is automatically determined, solving the problems of low efficiency and insufficient precision of manual cutting in DTF printers, and achieving high-precision automatic cutting.

CN119898119BActive Publication Date: 2025-10-24SHENZHEN MAKER WORKS TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411894333.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-12-20
Publication Date
2025-10-24
Estimated Expiration
2044-12-20

AI Technical Summary

Technical Problem

Existing DTF printers require manual cutting of the print medium after printing the image, which is inefficient and lacks precision, and cannot be cut in large quantities and according to specifications.

Method used

By calculating the distance and width between the print head and the cutter, the target feeding distance of the printing medium is determined. The target cutting position is calculated based on the trigger position and the target feeding distance, and the cutter is controlled to cut the printing medium at the target position.

Benefits of technology

It ensures the accuracy of cutting the printing media, reduces human errors, reduces material waste and improves cutting efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119898119B_ABST
    Figure CN119898119B_ABST
Patent Text Reader

Abstract

The application discloses a printing medium cutting method, an inkjet printing device, a printing system and a storage medium, relates to the technical field of printer control, and discloses a printing medium cutting method, which comprises the following steps: calculating a target feeding distance of the printing medium according to the distance between a printing head and a cutting knife and the width of the printing head; calculating a target knife cutting position on the printing medium according to a trigger position on the printing medium and the target feeding distance, wherein the trigger position is the position of the area of an image on the printing medium in the feeding direction; and controlling the cutting knife to cut the printing medium at the target knife cutting position. The application ensures the accuracy of the position of the printing medium cutting.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of printer control, and in particular to a printing medium cutting method, an inkjet printing device, a printing system and a storage medium. BACKGROUND

[0002] In related technologies, after a DTF (Direct to Film) printer and other printers print an image on a printing medium, the printing medium needs to be cut to cut down the printing medium with the printed image part, so as to be transferred to other objects. Generally, the cutting is in a manual cutting mode, a hand tool or scissors is used to cut according to the size of the image. The manual cutting has low efficiency, cannot cut a large amount of film material, and has insufficient cutting precision, and cannot cut according to the specifications. SUMMARY

[0003] The main purpose of the present application is to provide a printing medium cutting method, an inkjet printing device, a printing system and a storage medium, aiming at solving the technical problem of insufficient manual cutting precision of film material.

[0004] To achieve the above purpose, the present application provides a printing medium cutting method applied to a printing device, wherein the printing device is provided with a print head and a cutting knife, and the method comprises the following steps:

[0005] According to the distance between the print head and the cutting knife and the width of the print head, a target material feeding distance of the printing medium is calculated;

[0006] According to a trigger position on the printing medium and the target material feeding distance, a target knife cutting position on the printing medium is calculated, wherein the trigger position is the position of the area of the image on the printing medium in the material feeding direction;

[0007] The cutting knife is controlled to cut the printing medium at the target knife cutting position.

[0008] In an embodiment, the trigger position is obtained by the following steps:

[0009] According to the area of the image on the printing medium, an end position of the image is determined;

[0010] According to the end position and a stepping error of the printing medium, the trigger position is calculated.

[0011] In an embodiment, the calculation step of the stepping error comprises:

[0012] According to the start position and the end position of the image on the printing medium, an image size of the image on the printing medium in the material feeding direction is obtained;

[0013] The step error is calculated according to the step distance of the printing medium and the image size.

[0014] In one embodiment, if multiple printed images overlap in the feeding direction of the printing medium, the step of determining the end position of the image based on the area of ​​the image on the printing medium includes:

[0015] The overlapping multiple images are merged into a merged image, and an end position of the image is determined based on an area of ​​the merged image on the printing medium.

[0016] In one embodiment, the step of calculating the target feeding distance of the printing medium according to the distance between the print head and the cutting blade and the width of the print head includes:

[0017] Acquire a reserved distance of the image on the printing medium in a feeding direction;

[0018] The target feeding distance is calculated according to the reserved distance, the distance between the print head and the cutting blade, and the width of the print head.

[0019] In one embodiment, the printing device includes at least two print heads arranged side by side along the feeding direction, and the step of calculating the target feeding distance of the printing medium based on the distance between the print head and the cutting blade and the width of the print head includes:

[0020] Acquire a reserved distance of the image on the printing medium in a feeding direction, a first spacing between the cutting blade and the adjacent print head, and a second spacing between adjacent print heads;

[0021] The target feeding distance is calculated according to the reserved distance, the width of the print head, the first spacing, and the second spacing.

[0022] In one embodiment, the step of calculating the target feeding distance of the printing medium based on the distance between the print head and the cutting blade and the width of the print head includes:

[0023] Calculate the theoretical feeding distance according to the distance between the print head and the cutting blade and the width of the print head;

[0024] If the theoretical material moving distance is less than the preset distance, the preset distance is determined as the target material moving distance;

[0025] If the theoretical material moving distance is greater than or equal to the preset distance, the theoretical material moving distance is determined as the target material moving distance.

[0026] In an embodiment, the printing medium has a plurality of film holes arranged along a feeding direction, and the step of calculating the target cutting position on the printing medium according to the trigger position and the target feeding distance further comprises:

[0027] calculating an initial cutting position on the printing medium according to the trigger position and the target feeding distance;

[0028] calculating a compensation distance based on the relative position between the initial cutting position and the film hole;

[0029] calculating a target cutting position based on the initial cutting position and the compensation distance.

[0030] In an embodiment, if the target cutting position is located between two adjacent film holes, the step of calculating the compensation distance based on the relative position between the initial cutting position and the film hole comprises:

[0031] if the initial cutting position is located at the position of the film hole, calculating the compensation distance based on the distance between the initial cutting position and the center point of the film hole;

[0032] if the initial cutting position is located between two adjacent film holes, the compensation distance is 0 or calculated according to the difference between the initial cutting position and the center point of the region between the two adjacent film holes.

[0033] In an embodiment, if the target cutting position is located at the position of the film hole, the step of calculating the compensation distance based on the relative position between the initial cutting position and the film hole comprises:

[0034] if the initial cutting position is located at the position of the film hole, the compensation distance is 0 or calculated according to the difference between the target cutting position and the center point of the film hole;

[0035] if the initial cutting position is located between two adjacent film holes, calculating the compensation distance based on the distance between the target cutting position and the center point of the film hole next to the initial cutting position in the feeding direction.

[0036] In addition, to achieve the above object, the present application further provides an inkjet printing device, which comprises a memory, a processor, and a computer program stored in the memory and capable of running on the processor, and the computer program is configured to implement the steps of the printing medium cutting method as described above.

[0037] In addition, to achieve the above object, the application further provides a printing system, which comprises a host computer and a printing device, and the host computer is in communication connection with the printing device.

[0038] The host computer is used for calculating a trigger position on a printing medium and sending the trigger position to the printing device.

[0039] The printing device is used for receiving the trigger position sent by the host computer and cutting the printing medium based on the trigger position and the steps of the printing medium cutting method.

[0040] In addition, to achieve the above object, the application further provides a storage medium, which is a computer readable storage medium, and the storage medium stores a computer program, and the computer program is executed by a processor to realize the steps of the printing medium cutting method.

[0041] In addition, to achieve the above object, the application further provides a computer program product, which comprises a computer program, and the computer program is executed by a processor to realize the steps of the printing medium cutting method.

[0042] The one or more technical solutions provided by the application have at least the following technical effects:

[0043] The target cutter position is determined by the trigger position and the target feeding distance, and the cutting knife is controlled to cut the printing medium at the target cutter position, so as to ensure the accuracy of the cutting position of the printing medium each time, reduce the error of manual operation, and further reduce the material waste caused by inaccurate cutting, and the automatic cutting process reduces the time for manual measurement and adjustment, thereby improving the cutting efficiency. BRIEF DESCRIPTION OF DRAWINGS

[0044] The accompanying drawings, which are incorporated into and form part of the specification, illustrate embodiments consistent with the application and, together with the specification, serve to explain the principles of the application.

[0045] In order to more clearly illustrate the technical solutions in the embodiments of the application or the prior art, the accompanying drawings needed to be used in the embodiments or prior art description will be briefly introduced. Obviously, for those skilled in the art, other drawings can also be obtained based on these drawings without creative labor.

[0046] Figure 1 It is a structural schematic diagram of the printing device in the application;

[0047] Figure 2 It is a flowchart provided by the printing medium cutting method embodiment one of the application;

[0048] Figure 3 Fig. 1 is a schematic diagram of the trigger position and target cutting position of an image in the print medium cutting method of the present application;

[0049] Figure 4 Fig. 2 is a schematic diagram of the trigger position and target cutting position of different images in the print medium cutting method of the present application;

[0050] Figure 5 Fig. 3 is a schematic diagram of the position structure of the cutting knife and print head of the printing device in the print medium cutting method of the present application;

[0051] Figure 6 Fig. 4 is a schematic diagram of the flow of the second embodiment of the print medium cutting method of the present application;

[0052] Figure 7 Fig. 5 is a schematic diagram of the flow of the third embodiment of the print medium cutting method of the present application;

[0053] Figure 8 Fig. 6 is a schematic diagram of the flow of the fourth embodiment of the print medium cutting method of the present application;

[0054] Figure 9 Fig. 7 is a schematic diagram of the device structure of the hardware running environment involved in the print medium cutting method of the embodiments of the present application;

[0055] Figure 10 Fig. 8 is a schematic diagram of the structure of the printing system in the embodiments of the present application.

[0056] The object, functional features and advantages of the present application will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0057] It should be understood that the specific embodiments described herein are merely intended to explain the technical solutions of the present application, and are not intended to limit the present application.

[0058] In order to better understand the technical solutions of the present application, the following will be described in detail in conjunction with the drawings and specific embodiments of the specification.

[0059] The main solution of the embodiments of the present application is: calculating the target feed distance of the print medium according to the distance between the print head and the cutting knife, and the width of the print head; calculating the target cutting position of the print medium according to the trigger position on the print medium and the target feed distance; and controlling the cutting knife to cut the print medium at the target cutting position.

[0060] In the present embodiment, for the convenience of description, the following describes an inkjet printing device as the execution subject.

[0061] Since the traditional DTF printer cuts the film material according to the image, generally in a manual cutting manner, a manual cutter or scissors is used to cut according to the image size, the manual cutting efficiency is low, a large batch of film materials cannot be cut, the manual cutting precision is insufficient, and the film material cannot be cut according to the specification.

[0062] The application provides a solution, which determines the target cutter position by triggering the position and the target material feeding distance, and controls the cutting knife to cut the printing medium at the target cutter position, thereby ensuring the accuracy of the cutting position of the printing medium each time, reducing the error of manual operation, and further reducing the material waste caused by inaccurate cutting, and the automatic cutting process reduces the time for manual measurement and adjustment, thereby improving the cutting efficiency.

[0063] It should be noted that the execution subject of the embodiment can be a computing service device with data processing, network communication and program running functions, such as a tablet computer, a personal computer, a mobile phone and the like, or a printing device, a printing system and the like capable of realizing the above functions. The printing device is taken as an example to describe the embodiment and each of the following embodiments.

[0064] Reference Figure 1 The printing device 200 includes a print head, a carriage mechanism 210, a paper feeding mechanism, a control circuit and the like. The print head is one of the key components in the printer, which is usually composed of many tiny inkjet nozzles. The carriage mechanism 200 is responsible for controlling the lateral movement of the print head on the printing medium. The paper feeding mechanism is responsible for the paper feeding and paper feeding process of the printing medium. The control circuit includes a main control circuit, a drive circuit, an input / output interface circuit and a detection circuit, etc., which is responsible for coordinating and controlling the mechanical devices of the printer (such as the print head and the carriage mechanism, the paper feeding mechanism, etc.).

[0065] The printing device 200 can be an inkjet printing device, which sprays ink through the tiny nozzles in the print head onto the printing medium to form images or text. The print head of the inkjet printer is composed of hundreds of thousands of extremely tiny ink channels, and the number of these channels directly determines the printing accuracy of the inkjet printer. Alternatively, the printing medium 220 includes but is not limited to film paper (such as PET film), paper, clothes, cloth and other materials.

[0066] The cutting knife 213 is usually used in cooperation with the print head to cut the printing medium after printing. The print head is responsible for the printing of the image, and the cutting knife is responsible for the physical cutting, and the two work together to complete the printing and cutting tasks.

[0067] The movement direction of the print head is usually perpendicular to the material feeding direction. In the inkjet printer, the print head moves in the X-axis direction of the printing medium, and the printing medium moves in the Y-axis direction, which can realize the printing of the whole page.

[0068] The print head includes a color print head 212 and a white print head 211, which work together to achieve color printing. The color print head 212 is responsible for spraying ink of basic colors such as cyan, magenta, yellow, etc., and the white print head 211 is responsible for spraying white ink. These print heads work together to print rich colors and details on the print medium. Among them, the printing device 200 can first print a color image using the color print head 212 during the printing process, and then print a white background on the surface of the color image using the white print head 211, so that the printed image can be better transferred to other objects.

[0069] Based on this, the embodiment of the present application provides a printing medium cutting method, referring to Figure 2 , Figure 2 The flowchart of the first embodiment of the printing medium cutting method of the present application is shown.

[0070] In this embodiment, the printing medium cutting method includes steps S10-S30:

[0071] Step S10, according to the distance between the print head and the cutting knife, and the width of the print head, the target feed distance of the print medium is calculated.

[0072] In this embodiment, the execution subject is a printing device, i.e. the printing device executes the method of steps S10-S30 of this embodiment. Alternatively, the printing device is an inkjet printing device, etc.

[0073] It should be noted that the target feed distance is the distance that the print medium needs to advance inside the printing device after the print head is in the trigger position on the print medium during the printing or copying process of the printing device.

[0074] In an optional embodiment, the printing device includes a print head arranged, and step S10 includes: obtaining a reserved distance of the image on the print medium in the feed direction; according to the reserved distance, the distance between the print head and the cutting knife, and the width of the print head, the target feed distance is calculated.

[0075] Alternatively, the target feed distance is calculated according to the sum of the reserved distance, the distance between the print head and the cutting knife, and the width of the print head, which improves the accuracy of the determination of the feed distance, so that the cutting knife is in the appropriate position for cutting. For example, the target feed distance D1=d1+c1+p, wherein d1 represents the reserved distance of the image behind the print medium, c1 represents the distance between the cutting knife and the print head, and p represents the width of the print head.

[0076] In an optional embodiment, the step of calculating the target feeding distance of the print medium according to the distance between the print head and the cutting knife and the width of the print head comprises: calculating a theoretical feeding distance according to the distance between the print head and the cutting knife and the width of the print head; if the theoretical feeding distance is less than a preset distance, determining the preset distance as the target feeding distance; if the theoretical feeding distance is greater than or equal to the preset distance, determining the theoretical feeding distance as the target feeding distance. The feeding distance is ensured not to be set too small, the cutting length of the print medium is ensured, and cutting into the image is avoided.

[0077] For example, the preset distance is the minimum cutting length of the print medium, and if the target feeding distance is less than the preset minimum cutting length of the print medium, the minimum print medium length is determined as the target feeding distance. By detecting the minimum cutting length of the print medium, when the feeding distance is less than the minimum cutting length of the print medium when the image printing is completed, the paper is automatically fed to the distance of the minimum cutting length of the print medium, the minimum cutting length of the print medium is ensured, and cutting into the image is avoided.

[0078] In step S20, a target cutting position on the print medium is calculated according to the trigger position on the print medium and the target feeding distance. The trigger position is the position of the area of the image on the print medium in the feeding direction.

[0079] It should be noted that the trigger position is the position at which the print device is ready to implement the cutting logic, and the trigger position is not the target cutting position. Alternatively, the trigger position is a preset feeding distance behind the area of the image on the print medium in the feeding direction. For example, when the feeding direction is the Y-axis direction, the trigger position is a preset feeding distance behind the area of the image on the print medium in the Y-axis direction.

[0080] Alternatively, based on the feeding direction, the position at which the preset stepping error is located behind the image is taken as the trigger position. For example, referring to Figure 3 , the trigger position S1 of the area of the image 1 on the print medium is y1+h1+x. Wherein y1 represents the Y-axis coordinate of the image 1, h1 represents the size of the image 1 in the feeding direction of the print medium, and x represents the stepping error. Alternatively, the stepping error is a distance determined through historical experience data.

[0081] It should be noted that the feeding direction refers to the direction in which the print medium moves inside the print device during the printing process of the print device. Alternatively, the feeding direction includes longitudinal direction, transverse direction and automatic direction, etc. The longitudinal direction is that the print medium moves along the shorter side and the longer side remains vertical. The transverse direction is that the print medium moves along the longer side and the shorter side remains vertical. The automatic direction is that the print device automatically selects the most suitable feeding direction according to the printing content. For example, if the width of the image is greater than the size in the feeding direction of the print medium, the print device automatically selects the transverse printing.

[0082] Optionally, the images include one or at least two. For example, refer to Figure 4 , wherein the image 1, the image 2, the image 3 and the image 4 are included, wherein the coordinate of the upper left corner of the image 1 is (x1, y1), the width w1 and the size h1 in the feeding direction of the print medium of the image 1; the coordinate of the upper left corner of the image 2 is (x2, y2), the width w2 and the size h2 in the feeding direction of the print medium of the image 2; the coordinate of the upper left corner of the image 3 is (x3, y3), the width w3 and the size h3 in the feeding direction of the print medium of the image 3; the coordinate of the upper left corner of the image 4 is (x4, y4), the width w4 and the size h4 in the feeding direction of the print medium of the image 4.

[0083] It should be noted that the target knife cutting position is the position of the cutting knife cutting the print medium, and the target knife cutting position is located outside the area of the image on the print medium to cut the image.

[0084] Optionally, the target knife cutting position is determined according to the sum of the trigger position and the target feeding distance. For example, K1=S1+D1, wherein K1 represents the target knife cutting position, S1 represents the trigger position, and D1 represents the target feeding distance.

[0085] Optionally, there is a corresponding trigger position and target knife cutting position for each image or each merged image. For example, refer to Figure 4 , the image 1 corresponds to the trigger position S1 and the target knife cutting position K1; the image 2 and the image 3 are a merged image, and the merged image corresponds to the trigger position S2 and the target knife cutting position K2; the image 4 corresponds to the trigger position S3 and the target knife cutting position K3.

[0086] In an optional embodiment, refer to Figure 5 , the printing device is provided with a cutting knife, a white print head and a color print head, wherein c1 represents the distance between the cutting knife and the white print head, c2 represents the distance between the white print head and the color print head, and p represents the width of the white print head or the color print head.

[0087] Optionally, refer to Figure 3, the starting point of the image 1 printing is the upper left corner coordinate (x1, y1), the end position of the image 1 is y1+h1, the trigger position of the image 1 is S1=y1+h1+x, the target feeding distance D1=d1+c1+p+c2, and the target cutter cutting position K1=S1+D1=y1+h1+x+d1+c1+p+c2. Wherein, y1 represents the Y-axis coordinate of the starting point of the image 1, h1 represents the size of the image 1 in the feeding direction of the printing medium, x represents a preset step error, d1 represents a reserved distance of the image 1 in the rear direction of the feeding direction, c1 represents the distance between the cutting knife and the white print head, c2 represents the distance between the white print head and the color print head, and p represents the width of the white print head or the color print head.

[0088] In step S30, the cutting knife is controlled to cut the printing medium at the target cutter cutting position.

[0089] It should be noted that, from the trigger position, the printing medium is controlled to feed based on the target feeding distance, so that the cutting knife is at the calculated target cutter cutting position, and then the cutting knife cuts at the target cutter cutting position. The present application uses mechanical intelligent cutting, can automatically calculate the distance of the printing medium according to the size of the image, and automatically cuts the film after printing one image on the printing device, has the advantages of high cutting precision and smooth cut, solves the film cutting problem in large batch processing, and maximizes the saving of manpower and material cost.

[0090] Optionally, after the first image is printed and cut, the printing device is controlled to continue printing, and the printing and cutting process of the previous image is referred to. When the print head is at the trigger position S2 corresponding to the second image, the cutting start logic is triggered, the printing medium is moved, until the cutting knife is at the target cutter cutting position K2 corresponding to the second image, and the cutting knife is controlled to move to cut the second image. When the print head is at the trigger position S3 corresponding to the third image, the cutting start logic is triggered, the printing medium is moved, until the cutting knife is at the target cutter cutting position K3 corresponding to the third image, and the cutting knife is controlled to move to cut the third image, so that the cutting of the three images is completed.

[0091] Referring to Figure 5The printing device is provided with a cutting knife, a white print head and a color print head. When white ink coverage printing is performed and no sub-image printing processing is performed, it is assumed that the distance between the color print head and the white print head starting printing positions is D1. In the printing process of an image, it is assumed that if the distance between two images is D2, when D2 is less than D1, the first image has not been printed completely and the second image has started printing. In the present application, when multi-image file printing is performed, the RIP (Routing Information Protocol) algorithm processing is performed on the generated printing file, and multiple PRN (Printable File) files are generated. In the printing process, the images are printed in sequence. When the first image is printed, the cutting knife is cut, and the second image is not printed, thereby solving the problem that the first image has not been printed completely and the second image has started printing when cutting the image.

[0092] As an optional embodiment, after the step of controlling the cutting knife to cut the printing medium at the target cutting position, the printing medium is controlled to retreat a preset distance. The preset distance is calculated according to the reserved distance of the image on the printing medium in the feeding direction, the distance between the cutting knife and the print head and the width of the print head. For example, the retreat distance is shown in the following formula:

[0093] G1=d1+c1+p*2;

[0094] Wherein, G1 represents the retreat distance, d1 represents the reserved distance of the cutting region in the feeding direction, c1 represents the distance between the cutting knife and the white print head, and p represents the width of the white print head or the color print head. The retreat saves the extra printing medium and saves the cost.

[0095] The retreat distance is determined according to the reserved distance of the cutting region in the feeding direction, the first distance between the cutting knife and the print head, the width of the print head and the second distance between adjacent print heads. For example, the retreat distance is shown in the following formula:

[0096] G1=d1+c1+c2+p*2;

[0097] Wherein, G1 represents the retreat distance, d1 represents the reserved distance of the cutting region in the feeding direction, c1 represents the first distance between the cutting knife and the white print head, c2 represents the second distance between the white print head and the color print head, and p represents the width of the white print head or the color print head. The retreat saves the extra printing medium and saves the cost.

[0098] In the technical scheme of the embodiment, the target feeding distance of the printing medium is calculated according to the distance between the print head and the cutting knife and the width of the print head; the target cutting position of the printing medium is calculated according to the trigger position on the printing medium and the target feeding distance; and the cutting knife is controlled to cut the printing medium at the target cutting position. The trigger position and the target feeding distance are used to determine the target cutting position, and the cutting knife is controlled to cut the printing medium at the target cutting position, thereby ensuring the accuracy of the cutting position of the printing medium each time, reducing the error caused by manual operation, and further reducing the material waste caused by inaccurate cutting. In addition, the automatic cutting process reduces the time for manual measurement and adjustment, thereby improving the cutting efficiency.

[0099] Based on the first embodiment of the present application, in the second embodiment of the present application, the same or similar contents as the above embodiments can be referred to the above introduction, and will not be described in detail. On this basis, please refer to Figure 6 , before step S20, further comprising:

[0100] Step S40, determining the end position of the image according to the area of the image on the printing medium;

[0101] Step S50, calculating the trigger position according to the end position and the stepping error of the printing medium.

[0102] It should be noted that the method for calculating the trigger position in the embodiment can be executed by the host computer or the printing device.

[0103] Optionally, before the step of determining the end position of the image according to the area of the image on the printing medium, further comprising: determining the image to be printed according to the image data to be printed, and controlling the printing device to print the image to be printed. It should be noted that the image data to be printed is the image data for the printing device to control the print head to print, which includes the number of images to be printed, the size of the image, the coordinate of the image, and the like.

[0104] As an optional embodiment, if the plurality of images to be printed overlap in the feeding direction of the printing medium, the step of determining the end position of the image according to the area of the image on the printing medium comprises: merging the plurality of overlapping images into one merged image, and determining the end position of the image based on the area of the merged image on the printing medium.

[0105] It should be noted that the plurality of images overlap in the feeding direction of the printing medium, and when the feeding direction is the Y-axis direction, the position overlapping of the plurality of images in the Y-axis direction is determined, and the images overlapping in the Y-axis direction are merged into one merged image, for example Figure 4The image 2 and the image 3 have position overlap on the Y axis, and the image 2 and the image 3 are merged into a merged image. When the feeding direction is the X axis direction, the position overlap of the multiple images on the X axis is determined, and the images with position overlap on the X axis are merged into a merged image.

[0106] Optionally, referring to Figure 4 , the coordinate of the upper left corner of the image 1 is (x1, y1), the size w1 of the image 1 in the direction perpendicular to the feeding direction of the printing medium and the size h1 of the image 1 in the feeding direction of the printing medium; the coordinate of the upper left corner of the image 2 is (x2, y2), the size w2 of the image 2 in the direction perpendicular to the feeding direction of the printing medium and the size h2 of the image 2 in the feeding direction of the printing medium; the coordinate of the upper left corner of the image 3 is (x3, y3), the size w3 of the image 3 in the direction perpendicular to the feeding direction of the printing medium and the size h3 of the image 3 in the feeding direction of the printing medium; the coordinate of the upper left corner of the image 4 is (x4, y4), the size w4 of the image 4 in the direction perpendicular to the feeding direction of the printing medium and the size h4 of the image 4 in the feeding direction of the printing medium. The image 1 has no overlap with other images on the Y axis and is regarded as an image. Since y3 < y2 + h4, the image 2 and the image 3 have position overlap on the Y axis, and the image 2 and the image 3 are merged. The image 4 has no overlap with other images on the Y axis and is regarded as an image.

[0107] Optionally, referring to Figure 4 , the image 1 has no position overlap in the feeding direction of the printing medium, and the printing start point is the coordinate of the upper left corner of the image 1, and x1 and y1 are the printing start point, and the coordinate is (0, 0). The end position of the image 1 is D1 = y1 + h1, wherein D1 represents the end position of the image 1, y1 represents the Y axis coordinate of the start position of the image 1, and h1 represents the size of the image 1 in the feeding direction of the printing medium. The image 2 and the image 3 have position overlap in the feeding direction of the printing medium, and the image 1 and the image 2 with overlap are merged into a merged image, and the printing start point is the coordinate of the upper left corner of the image 2. At this time, x2 and y2 are the printing start point, and the end position of the merged image is D2 = y3 + h3 at this time, wherein D2 represents the end position of the merged image, y3 represents the Y axis coordinate of the start position of the image 3, and h3 represents the size of the image 3 in the feeding direction of the printing medium. The image 4 has no position overlap in the feeding direction of the printing medium, and the printing start point is the upper left corner of the image 4, and x4 and y4 are the printing start point at this time. The end position of the image 4 is D3 = y4 + h4 at this time. Wherein D3 represents the end position of the image 4, y4 represents the Y axis coordinate of the start position of the image 4, and h4 represents the size of the image 4 in the feeding direction of the printing medium.

[0108] In the embodiment, different DPI (Dots Per Inch) precision corresponds to different step distance, which is affected by the printing DPI precision. The actual feeding distance when the image is finished printing is not the length of the image. Moreover, there is a gap between the color print head and the white print head of the printing device, which will cause secondary error and affect the cutting precision.

[0109] Since different DPI corresponds to different step distance, when the image is printed, the print head moves. When the image is printed for the last time, the print head is not exactly at the position that completely covers the image, which will cause step error x of the step printing. Alternatively, the step error can be the distance determined by historical experience data.

[0110] As an optional embodiment, the image size of the image on the printing medium in the feeding direction is obtained according to the starting position and the ending position of the image on the printing medium. The step error is calculated according to the step distance of the printing medium and the image size.

[0111] Alternatively, the image size includes the image width of the image on the printing medium and the size in the feeding direction of the printing medium.

[0112] As an optional embodiment, when the feeding direction is the Y-axis direction, the step error is determined according to the step distance of the printing medium and the size in the feeding direction of the printing medium. For example, referring to Figure 3 , the step error of the image 1 is shown in the following formula: x=S-h1% S, wherein S represents the step distance of the printing medium, and h1 represents the size of the image 1 in the feeding direction of the printing medium. When the feeding direction is the X-axis direction, the step error is determined according to the step distance of the printing medium and the image width. For example, the step error of the image is shown in the following formula: x=S-W% S, wherein S represents the step distance of the printing medium, and w represents the image width of the image. By calculating the step error, the cutting precision is improved, the space between the front and rear cutting of the printing medium can be automatically moved, and the subsequent processing is facilitated.

[0113] Further, the triggering position is calculated according to the ending position and the step error of the printing medium. Alternatively, the triggering position is calculated according to the sum of the ending position and the step error of the printing medium. For example, referring to Figure 4, the trigger position of the image 1 is S1=D1+x=y1+h1+x, wherein S1 represents the trigger position of the image 1, y1 represents the Y-axis coordinate of the starting position of the image 1, h1 represents the size of the image 1 in the feeding direction of the printing medium, and x represents the stepping error. The trigger position of the combined image of the image 2 and the image 3 is S2=D2+x=y3+h3+x, wherein S2 represents the trigger position of the combined image of the image 2 and the image 3, y3 represents the Y-axis coordinate of the image 3, h3 represents the size of the image 3 in the feeding direction of the printing medium, and x represents the stepping error. The trigger position of the image 4 is S3=D3+x=y4+h4+x, wherein S3 represents the trigger position of the image 4, y4 represents the Y-axis coordinate of the image 4, h4 represents the size of the image 4 in the feeding direction of the printing medium, and x represents the stepping error.

[0114] Optionally, if the split-image printing processing technology is not used, when printing the whole image, the image can be re-laid out, the distance between two images is increased, so that the distance between the images is greater than the distance between two printheads, and the situation that the second image is printed before the printing of the previous image is completed can be avoided.

[0115] Optionally, in the case of splitting the image, the trigger logic of the cutting is not calculated based on the distance of the printing medium, but is calculated based on the pass number, that is, the number of printing channels. When the pass number of the image is completed, the current position is determined as the trigger position.

[0116] In the technical scheme of the embodiment, the trigger position is determined based on the end position of the image and the stepping error, so that the target cutting position can be accurately determined subsequently, the image is avoided from being cut, the integrity of the cut image is ensured, the printing medium is cut at the target cutting position, the accuracy of the position of the printing medium cut each time is ensured, the error caused by manual operation is reduced, the material waste caused by inaccurate cutting is reduced, and the automatic cutting process reduces the time for manual measurement and adjustment, thereby improving the cutting efficiency.

[0117] Based on the first or second embodiment of the present application, the same or similar contents as the above embodiments can be referred to the above description, and will not be described hereinafter. On this basis, please refer to Figure 7 , the step S10 further includes:

[0118] In step S11, the reserved distance of the image in the feeding direction of the printing medium, the first distance between the cutting knife and the adjacent printhead, and the second distance between the adjacent printheads are obtained.

[0119] In step S12, the target feeding distance is calculated based on the reserved distance, the width of the printhead, the first distance and the second distance.

[0120] In the embodiment, the printing device comprises at least two printing heads arranged side by side along the feeding direction. Optionally, referring to Figure 5 , the printing device is provided with a cutting knife, a white printing head and a color printing head, wherein c1 represents a first interval between the cutting knife and the white printing head, c2 represents a second interval between the white printing head and the color printing head, and p represents the width of the white printing head or the color printing head. The interval refers to the interval in the feeding direction.

[0121] Optionally, the target feeding distance is shown in the following formula: D1=d1+c1+p+c2, wherein D1 represents the target feeding distance, d1 represents the reserved distance of the image in the feeding direction, c1 represents the first interval between the cutting knife and the adjacent printing head, p represents the width of the printing head, and c2 represents the second interval between the printing heads.

[0122] Optionally, referring to Figure 3 and Figure 5 , the starting point of image 1 printing is the upper left corner coordinate (x1, y1), the end position of the image is y1+h1, the trigger position of image 1 is S1=y1+h1+x, the target feeding distance D1=d1+c1+p+c2, and the target cutting position of the printing medium is K1=S1+D1=y1+h1+x+d1+c1+p+c2. Wherein y1 represents the Y-axis coordinate of the starting point of image 1, h1 represents the size of image 1 in the feeding direction of the printing medium, x represents the step error, d1 represents the reserved distance of image 1 in the feeding direction, c1 represents the first interval between the cutting knife and the white printing head, c2 represents the second interval between the white printing head and the color printing head, and p represents the width of the white printing head or the color printing head.

[0123] In the technical scheme of the embodiment, the target feeding distance is determined according to the reserved distance, the width of the printing head, the first interval and the second interval, which improves the accuracy of the feeding distance determination, so that the cutting knife cuts at a position outside the area of the image on the printing medium, thereby ensuring the integrity of the image cutting.

[0124] Based on any one of the first to third embodiments of the present application, in the fourth embodiment of the present application, the same or similar contents as the above embodiments can be referred to the above introduction, and will not be described in detail. On this basis, referring to Figure 8 , step S20 further comprises:

[0125] Step S21, calculating the initial cutting position on the printing medium according to the trigger position and the target feeding distance;

[0126] Step S22, calculating the compensation distance based on the relative position between the initial cutting position and the film hole;

[0127] Step S23, based on the initial cutting position and the compensation distance, calculate the target cutting position.

[0128] Need to explain, the printing medium is provided with a plurality of film holes arranged along the feeding direction, calling film hole recognition algorithm, the position of the film hole on the printing medium is recognized. The target cutting position calculated exists two cases, including: the target cutting position is between two adjacent film holes, and the target cutting position is the position of the film hole. According to the different cutting requirements, the target cutting position can be between two adjacent film holes, and the target cutting position can also be on the film hole.

[0129] In an optional embodiment, if the target cutting position is the region between two adjacent film holes, based on the relative position of the initial cutting position and the film hole, the step of calculating the compensation distance includes: if the initial cutting position is located at the position of the film hole, the compensation distance is calculated based on the distance between the initial cutting position and the center point of the film hole, so that the target cutting position is located outside the film hole, that is, the target cutting position is located in the region between two film holes, so that the compensation distance is greater than the difference between the film hole radius and the distance between the initial cutting position and the center point of the film hole. Alternatively, the compensation distance is calculated based on the distance between the initial cutting position and the center point of the region between two adjacent film holes, so that the target cutting position is located at the center point of the region between two film holes.

[0130] If the initial cutting position is located in the region between two adjacent film holes, the compensation distance is 0, so that the target cutting position is located in the region between two film holes. Alternatively, the compensation distance is calculated according to the difference between the initial cutting position and the center point of the region between two adjacent film holes, so that the target cutting position is located at the center point of the region between two film holes.

[0131] The compensation distance P of the current film hole is calculated, and after the initial cutting position is compensated by the compensation distance P, the cutting knife is located at the target cutting position, at which time the cutting knife is located between two film holes, and finally the cutting of the printing medium is performed by controlling the movement of the cutting knife.

[0132] In an optional embodiment, if the target cutting position is the position of the film hole, based on the relative position of the initial cutting position and the film hole, the step of calculating the compensation distance includes: if the initial cutting position is located at the position of the film hole, the compensation distance is 0, so that the target cutting position is located at the position of the current film hole. Or according to the difference between the target cutting position and the center point of the film hole, the compensation distance is calculated, so that the target cutting position is located at the center point of the current film hole.

[0133] If the initial cutter cutting position is located in the area between two adjacent film holes, a compensation distance is calculated based on the distance between the target cutter cutting position and the center point of the film hole next to the initial cutter cutting position in the paper feeding direction, so that the target cutter cutting position is located at the center point of the film hole.

[0134] The compensation distance P of the current film hole is calculated, and after the initial cutter cutting position is compensated by the distance P, the cutter is located at the target cutter cutting position. At this time, the cutter is located on the film hole, and finally the cutting of the printing medium is performed by controlling the movement of the cutter.

[0135] In the technical scheme of the embodiment, to adapt to the baking machine and other accessory devices, the target cutter cutting position needs to avoid the film hole or be located above the film hole. By using the film hole compensation function, the position of the printing medium is adjusted before cutting to avoid the film hole or cut the film hole, thereby improving the flexibility of cutting.

[0136] In an embodiment, before image printing, the host computer performs image calculation processing according to image data, and refers to Figure 4 The host computer will use sub-image printing technology to divide the images in Figure 4 into regions. It is assumed that the upper left corner of image 1 has coordinates (x1, x1), and the size in the paper feeding direction of the printing medium is h1. The upper left corner of image 2 has coordinates (x2, x2), and the size in the paper feeding direction of the printing medium is h2. The upper left corner of image 3 has coordinates (x3, y3), and the size in the paper feeding direction of the printing medium is h3. The upper left corner of image 4 has coordinates (x4, y4), and the size in the paper feeding direction of the printing medium is h4. Image 1 does not overlap with other images in the Y axis and is regarded as one image. Because y3 < y2 + h4, image 2 overlaps with image 3 in the Y position, so image 2 and image 3 are processed as one merged image. Image 4 does not overlap with other images in the Y axis and is regarded as one image. Finally, Figure 4 the images in will be divided into three images to trigger the logical calculation of the target cutter cutting position.

[0137] Figure 3 Referring to , the target cutter cutting position calculation of the first image, image 1, is assumed that the DPI step distance is S, the width of the white print head and the color print head is P, the distance between the cutter and the white print head is c1, the print head spacing is c2, and the rear image reserved distance is d1. When the color print head finishes printing the image, the actual paper feeding distance is y1 + h1 + X, which is the starting position S1 = y1 + h1 + X of triggering the cutter logic. After triggering the cutter logic, the target paper feeding distance is D1 = d1 + c1 + p + c2, so the final target cutter cutting position is K1 = y1 + h1 + x + d1 + c1 + p + c2.

[0138] It should be noted that, due to different DPIs corresponding to different step distances, when printing an image, the print head moves, and when printing is performed for the last time, the print head is not exactly at a position completely covering the image, and there is a step printing error X, so the actual feeding distance of printing an image is h1+X. Wherein, the calculation method of X is: S-h1%S.

[0139] Due to the use of the sub-image processing printing technology, the starting point of printing the second image, i.e., image 2 and image 3, is the upper left corner of the image, at which time x2 and y2 are the starting points of printing, and the coordinates are (0, 0). Therefore, the position of triggering the knife cut of the second image is x3+h3+x. The starting point of printing the third image, i.e., image 4, is the upper left corner of the image, at which time x4 and y4 are the starting points of printing, and the coordinates are (0, 0). Therefore, the position of triggering the knife cut of the third image is x4+h4+x.

[0140] After the host computer completes the calculation, the three images are respectively processed by the RIP algorithm to generate PRN files, and the distances of the above three trigger positions are transmitted to the lower computer, i.e., the printing device. After the lower computer receives the PRN file data, the image is printed, when the feeding distance reaches the trigger position of the first image, i.e., the feeding distance is y1+h1+S-h1%S, at this time, the printing medium distance is S1, the knife cut triggering logic is triggered, the machine feeds forward by a distance K1=d1+c1+p+c2+X, the knife reaches the target knife cut position 1, at this time, the printing medium distance is K1. The cutting knife reaches the target knife cut position 1. If K1 is less than the set minimum printing medium length M at this time, the lower computer will continue to feed the paper to the minimum printing medium length.

[0141] Before the knife cut, the lower computer needs to call the film hole recognition algorithm to calculate the current film hole compensation distance position. According to the compensation distance P returned by the film hole recognition algorithm, the lower computer feeds the paper forward by P, at this time, the cutting knife is located between two film holes, and the cutting knife is moved to perform the knife cut. After the knife cut is completed, the machine needs to feed back the paper, wherein the feeding back distance=d1+c1+c2+p*2, the extra printing medium is saved, and thus the cutting of the first image is completed.

[0142] The printing device continues to print, and refers to the printing knife cut process of the first image, when the feeding distance is S2, the knife cut triggering logic is triggered, the printing medium is moved, and the cutting knife is moved at K2 to perform the cutting of the second image. When the feeding distance is S3, the knife cut triggering logic is triggered, the printing medium is moved, and the cutting knife is moved at K3 to perform the cutting of the second image. Thus, the cutting of the three images is completed.

[0143] In the technical scheme of the embodiment, the target cutting position of the cutting knife is determined according to the triggering position and the target feeding distance, and the cutting knife is controlled to cut the printing medium at the target cutting position, so that the accuracy of the cutting position of the printing medium is ensured, the error caused by manual operation is reduced, the waste of materials caused by inaccurate cutting is reduced, and the automatic cutting process reduces the time for manual measurement and adjustment, thereby improving the cutting efficiency.

[0144] It should be noted that the above examples are only used for understanding the present application and do not constitute a limitation on the printing medium cutting method of the present application. More forms of simple transformation based on the technical concept are within the protection scope of the present application.

[0145] The present application provides an inkjet printing device, which comprises at least one processor and a memory connected with the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the printing medium cutting method in the above-mentioned embodiment one.

[0146] The inkjet printing device can be the printing device described in the above-mentioned embodiments, and the same parts will not be described here.

[0147] Reference will be made to the accompanying drawings Figure 9 which shows a structural schematic diagram of an inkjet printing device suitable for implementing the embodiments of the present application. Figure 9 The inkjet printing device shown is only an example and should not limit the function and use range of the embodiments of the present application.

[0148] As Figure 9As shown, the inkjet printing device can include a processing device 1001 (e.g., a central processing unit, a graphics processing unit, etc.) that can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 1002 or a program loaded from a storage device 1003 into a random access memory (RAM) 1004. Various programs and data required for the operation of the inkjet printing device are also stored in the RAM 1004. The processing device 1001, the ROM 1002, and the RAM 1004 are connected to each other through a bus 1005. An input / output (I / O) interface 1006 is also connected to the bus. Generally, the following systems can be connected to the I / O interface 1006: an input device 1007 including, for example, a touch screen, a touch pad, a key, etc.; an output device 1008 including, for example, a liquid crystal display (LCD), an indicator light, etc.; and a communication device 1009 (e.g., a USB interface, a network interface, a WiFi interface, Bluetooth, etc.). The communication device 1009 can allow the inkjet printing device to communicate wirelessly or wired with other devices to exchange data. Although the inkjet printing device with various systems is shown in the figure, it should be understood that all the systems shown are not required to be implemented or possessed. More or less systems can be alternatively implemented or possessed.

[0149] In particular, according to embodiments of the present disclosure, the processes described above with reference to the flowcharts can be implemented as a computer software program. For example, embodiments of the present disclosure include a computer program product comprising a computer program carried on a computer readable medium, the computer program containing program code for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network through a communication device, or installed from the storage device 1003, or installed from the ROM 1002. When the computer program is executed by the processing device 1001, the above-mentioned functions defined in the methods of the embodiments of the present disclosure are performed.

[0150] The inkjet printing device provided by the present application adopts the printing medium cutting method in the above-mentioned embodiments, which can solve the technical problem of insufficient precision of manual cutting of film materials. Compared with the prior art, the inkjet printing device provided by the present application has the same beneficial effects as the printing medium cutting method provided by the above-mentioned embodiments, and the other technical features in the inkjet printing device are the same as the features disclosed in the previous embodiment method, which will not be repeated here.

[0151] It should be understood that various parts of the present application can be realized in hardware, software, firmware, or a combination thereof. In the description of the above embodiments, specific features, structures, materials or characteristics can be combined in any one or more embodiments or examples in a suitable manner.

[0152] The above description is merely illustrative of the application and is not intended to limit the scope of the application. Any variations and modifications that can be made by those skilled in the art without departing from the spirit of the application fall within the scope of the application. Therefore, the scope of the application should be determined by the scope of the claims.

[0153] The present application provides a printing system 1000, referring to Figure 10 , the printing system 1000 comprises a host computer 100 and a printing device, wherein the printing device can be an inkjet printing device 200, the host computer 100 is in communication connection with the printing device;

[0154] The host computer 100 is used to calculate the trigger position on the printing medium and send the trigger position to the printing device;

[0155] The printing device is used to receive the trigger position sent by the host computer 100, and cut the printing medium based on the trigger position and the steps of the printing medium cutting method as described in the above embodiments.

[0156] The present application provides a computer readable storage medium having computer readable program instructions (i.e. computer programs) stored thereon, the computer readable program instructions are used to execute the printing medium cutting method in the above embodiments.

[0157] The computer readable storage medium provided in the application may, for example, be a U disk, but is not limited to an electric, magnetic, optical, electromagnetic, infrared, or semiconductor system, system, or device, or any combination thereof. More specific examples of the computer readable storage medium may include, but are not limited to, an electric connection with one or more conductive wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof. In the embodiment, the computer readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, system, or device. The program code contained on the computer readable storage medium can be transmitted by any suitable medium, including but not limited to an electric wire, an optical cable, an RF (Radio Frequency), and the like, or any suitable combination thereof.

[0158] The above computer readable storage medium may be contained in the inkjet printing device, or may exist separately without being assembled into the inkjet printing device.

[0159] The above computer readable storage medium carries one or more programs, which, when executed by the inkjet printing device, cause the inkjet printing device to determine a target cutting position by triggering a position and a target feeding distance, and control a cutting knife to cut the printing medium at the target cutting position, thereby ensuring the accuracy of the position of each printing medium cutting, reducing the error of manual operation, and further reducing the material waste caused by inaccurate cutting. In addition, the automatic cutting process reduces the time for manual measurement and adjustment, thereby improving the cutting efficiency.

[0160] Computer program code for carrying out operations of the present application can be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C++ or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code can execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the latter scenario, the remote computer can be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or the connection can be made to an external computer (for example, through the Internet using an Internet Service Provider).

[0161] The flow diagrams and the block diagrams in the drawings are illustrations of architectures, functionalities, and operations of possible implementations of systems, methods, and computer program products according to various embodiments of the present application. In this regard, each block in the flow diagrams or block diagrams can represent a module, a segment, or a portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that in some alternative implementations, the functions noted in the blocks can occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently or the blocks may

[0162] The modules involved in the embodiments of the present application can be implemented in the form of software or in the form of hardware. In some cases, the name of the module does not constitute a limitation on the module itself.

[0163] The readable storage medium provided by the present application is a computer readable storage medium, which stores computer readable program instructions (i.e. computer programs) for executing the above-mentioned printing medium cutting method, and can solve the technical problem of insufficient precision of manual cutting of film materials. Compared with the prior art, the computer readable storage medium provided by the present application has the same beneficial effects as the printing medium cutting method provided by the above-mentioned embodiments, and will not be described here.

[0164] The application further provides a computer program product comprising a computer program which, when executed by a processor, implements the steps of the print medium cutting method as described above.

[0165] The computer program product provided by the application can solve the technical problem of insufficient precision of manual cutting of film materials. Compared with the prior art, the beneficial effects of the computer program product provided by the application are the same as those of the print medium cutting method provided by the above-mentioned embodiments, and are not described here.

[0166] The above only describes some embodiments of the application, and does not limit the patent scope of the application. Any equivalent structural transformation, direct / indirect application in other related technical fields, or direct / indirect application in other related technical fields based on the technical concept of the application and the content of the specification and drawings are included in the patent protection scope of the application.

Claims

1. A print media cutting method, characterized by, The method is applied to a printing device provided with a print head and a cutting knife, and comprises the following steps: calculating a target feeding distance of the printing medium according to a distance between the print head and the cutting knife and a width of the print head; calculating a target cutting position of the printing medium according to a trigger position on the printing medium and the target feeding distance, the trigger position being a position of an area of an image on the printing medium in a feeding direction; controlling the cutting knife to cut the printing medium at the target cutting position; the trigger position is obtained by the following steps: if a plurality of images to be printed have a position overlap in the feeding direction of the printing medium, merging the plurality of images to be printed into one merged image, and determining an end position of the image based on an area of the merged image on the printing medium; calculating the trigger position according to the end position and a stepping error of the printing medium.

2. The method of claim 1, wherein, the calculation of the stepping error comprises the following steps: obtaining an image size of the image on the printing medium in the feeding direction according to a start position and an end position of the image on the printing medium; calculating the stepping error according to a stepping distance of the printing medium and the image size.

3. The method of claim 1 or 2, wherein, the calculation of the target feeding distance of the printing medium according to the distance between the print head and the cutting knife and the width of the print head comprises the following steps: obtaining a reserved distance of the image on the printing medium in the feeding direction; calculating the target feeding distance according to the reserved distance, the distance between the print head and the cutting knife and the width of the print head.

4. The method of claim 1 or 2, wherein, the printing device comprises at least two print heads arranged side by side in the feeding direction, and the calculation of the target feeding distance of the printing medium according to the distance between the print head and the cutting knife and the width of the print head comprises the following steps: obtaining a reserved distance of the image on the printing medium in the feeding direction, a first distance between the cutting knife and an adjacent print head and a second distance between adjacent print heads; calculating the target feeding distance according to the reserved distance, the width of the print head, the first distance and the second distance.

5. The method of claim 1 or 2, wherein, the calculation of the target feeding distance of the printing medium according to the distance between the print head and the cutting knife and the width of the print head comprises the following steps: calculating a theoretical feeding distance according to the distance between the print head and the cutting knife and the width of the print head; if the theoretical feeding distance is less than a preset distance, determining the preset distance as the target feeding distance; if the theoretical feeding distance is greater than or equal to the preset distance, determining the theoretical feeding distance as the target feeding distance.

6. The method of claim 1 or 2, wherein, the printing medium is provided with a plurality of film holes arranged in the feeding direction, and the calculation of the target cutting position of the printing medium according to the trigger position on the printing medium and the target feeding distance further comprises the following steps: calculating an initial cutting position of the printing medium according to the trigger position and the target feeding distance; calculating a compensation distance based on the relative position of the initial cutting position and the film hole; calculating a target cutting position based on the initial cutting position and the compensation distance.

7. The method of claim 6, wherein, If the target cutting position is a region between two adjacent film holes, the step of calculating a compensation distance based on the relative position of the initial cutting position and the film hole comprises: If the initial cutting position is located at the film hole, the compensation distance is calculated based on the distance between the initial cutting position and the center point of the film hole. If the initial cutting position is located at a region between two adjacent film holes, the compensation distance is 0 or calculated based on the difference between the initial cutting position and the center point of the region between the two adjacent film holes.

8. The method of claim 6, wherein, If the target cutting position is the film hole, the step of calculating a compensation distance based on the relative position of the initial cutting position and the film hole comprises: If the initial cutting position is located at the film hole, the compensation distance is 0 or calculated based on the difference between the target cutting position and the center point of the film hole. If the initial cutting position is located at a region between two adjacent film holes, the compensation distance is calculated based on the distance between the target cutting position and the center point of the film hole next to the initial cutting position in the feeding direction.

9. The method of claim 1, wherein, After the step of controlling the cutting knife to cut the print medium at the target cutting position, the method further comprises: controlling the print medium to retreat by a preset distance, the preset distance being calculated based on the reserved distance of the image on the print medium in the feeding direction, the distance between the cutting knife and the print head, and the width of the print head.

10. An inkjet printing apparatus, characterized by comprising: The device comprises a memory, a processor, and a computer program stored on the memory and executable on the processor, the computer program being configured to implement the steps of the print medium cutting method according to any one of claims 1 to 9.

11. A printing system, characterized by The print system comprises a host computer and a print device, and the host computer is in communication connection with the print device. The host computer is configured to calculate a trigger position on the print medium and send the trigger position to the print device. The print device is configured to receive the trigger position sent by the host computer and cut the print medium based on the trigger position and the steps of the print medium cutting method according to any one of claims 1 to 9.

12. A computer-readable storage medium, characterized in that, The computer readable storage medium stores a computer program, and the computer program is executed by the processor to implement the steps of the print medium cutting method according to any one of claims 1 to 9.

Citation Information

Patent Citations

  • Printing and cutting

    CN113795388A

  • Image forming system

    JP2009104512A