Print medium cutting method, ink-jet printing apparatus, printing system and storage medium
By calculating the target material travel distance and the target knife cutting position in the DTF printer, and controlling the cutting knife to cut the printing medium, the problems of low manual cutting efficiency and insufficient accuracy in the prior art are solved, and efficient and accurate automatic cutting is achieved.
Patent Information
- Application Number
- CN202411894333.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-20
- Publication Date
- 2025-04-29
- Estimated Expiration
- 2044-12-20
AI Technical Summary
Existing DTF printers need to manually cut the printing media after printing images, resulting in low cropping efficiency and insufficient precision, and cannot be batch-cut and cropped according to specifications.
A printing medium cutting method is adopted to calculate the target material travel distance through the spacing between the print head and the cutting knife and the width of the print head, and determine the target tool cutting position in combination with the trigger position on the printing medium, and control the cutting knife to cut the printing medium at this position.
It realizes accurate cutting of printing media, reduces human operation errors, improves cutting efficiency, reduces material waste, and simplifies the automated cutting process.
Smart Images

Figure CN119898119A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of printer control technology, and in particular to a printing medium cutting method, an inkjet printing device, a printing system and a storage medium. Background Art
[0002] In the related art, after printing an image on a print medium, a printer such as a DTF (Direct to Film) printer needs to cut the print medium to cut off the print medium with the printed image portion for easy transfer to other objects. This is generally done manually, using a hand knife or scissors to cut according to the image size. Manual cutting is inefficient and cannot cut large quantities of film materials. Manual cutting also lacks precision and cannot be cut according to specifications. Summary of the invention
[0003] The main purpose of the present application is to provide a printing medium cutting method, inkjet printing equipment, printing system and storage medium, aiming to solve the technical problem of insufficient precision in manual cutting of film materials.
[0004] To achieve the above-mentioned purpose, the present application proposes a printing medium cutting method, which is applied to a printing device, wherein the printing device is provided with a printing head and a cutting blade, and the method comprises:
[0005] Calculating a target feeding distance of the printing medium according to a distance between the printing head and the cutting blade and a width of the printing head;
[0006] Calculating a target 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 a position of a region of an image on the printing medium in a feeding direction;
[0007] The cutter is controlled to cut the print medium at the target cutter position.
[0008] In one embodiment, the trigger position is obtained by the following steps:
[0009] Determining an end position of the image according to an area of the image on the printing medium;
[0010] The trigger position is calculated according to the end position and the step error of the printing medium.
[0011] In one embodiment, the step of calculating the step error includes:
[0012] According to the starting position and the ending position of the image on the printing medium, the image size of the image on the printing medium in the 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 the printed multiple images 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 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 printing head and the cutting blade and the width of the printing head comprises:
[0017] Acquire a reserved distance of the image on the printing medium in a feeding direction;
[0018] The target material 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 according to 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 the feeding direction, a first spacing between the cutting blade and the adjacent printing head, and a second spacing between the adjacent printing heads;
[0021] The target material 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 according to the distance between the printing head and the cutting blade and the width of the printing head comprises:
[0023] Calculate the theoretical material 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 one embodiment, the printing medium is provided with a plurality of film holes arranged along the feeding direction, and the step of calculating the target cutting position on the printing medium according to the trigger position on the printing medium and the target feeding distance further includes:
[0027] Calculating an initial cutting position on the printing medium according to the trigger position and the target material feeding distance;
[0028] Calculating a compensation distance based on the relative position of the initial cutting position and the film hole;
[0029] Based on the initial cutting position and the compensation distance, a target cutting position is calculated.
[0030] In one embodiment, if the target cutting position is the area between the 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 includes:
[0031] If the initial knife cutting position is located at the location of the film hole, the compensation distance is calculated based on the distance between the initial knife cutting position and the center point of the film hole;
[0032] If the initial cutting position is located in the area between two adjacent film holes, the compensation distance is 0, or the compensation distance is calculated based on the difference between the initial cutting position and the center point of the area between the two adjacent film holes.
[0033] In one embodiment, if the target cutting position is 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 includes:
[0034] If the initial cutting position is located at the location of the film hole, the compensation distance is 0, or the compensation distance is calculated according to the difference between the target cutting position and the center point of the film hole;
[0035] If the initial knife cutting position is located in the area between two adjacent film holes, the compensation distance is calculated based on the distance between the target knife cutting position and the center point of the film hole next to the initial knife cutting position in the feeding direction.
[0036] In addition, to achieve the above-mentioned purpose, the present application also proposes an inkjet printing device, which includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program is configured to implement the steps of the printing medium cutting method described above.
[0037] In addition, to achieve the above-mentioned purpose, the present application also proposes a printing system, the printing system comprising a host computer and a printing device, the host computer being communicatively connected with the printing device;
[0038] The host computer is used to calculate the trigger position on the printing medium and send the trigger position to the printing device;
[0039] The printing device is used to receive the trigger position sent by the host computer, and cut the printing medium based on the trigger position and the steps of the printing medium cutting method as described above.
[0040] In addition, to achieve the above-mentioned purpose, the present application also proposes a storage medium, which is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by a processor, the steps of the printing medium cutting method described above are implemented.
[0041] In addition, to achieve the above-mentioned purpose, the present application also provides a computer program product, which includes a computer program, and when the computer program is executed by a processor, the steps of the printing medium cutting method described above are implemented.
[0042] One or more technical solutions proposed in this application have at least the following technical effects:
[0043] The target cutting position is determined by the trigger position and the target material feeding distance, and the cutting knife is controlled to cut the printed medium at the target cutting position, thereby ensuring the accuracy of the cutting position of the printed medium each time, reducing errors in human operation, and thus reducing material waste caused by inaccurate cutting. The automated cutting process reduces the time for manual measurement and adjustment, thereby improving cutting efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0044] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0045] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0046] Figure 1 It is a schematic diagram of the structure of the printing device in this application;
[0047] Figure 2 A schematic diagram of a process flow provided for Embodiment 1 of the printing medium cutting method of the present application;
[0048] Figure 3 A schematic diagram of the trigger position and target cutting position of an image in the printing medium cutting method of the present application;
[0049] Figure 4 A schematic diagram of trigger positions and target cutting positions of different images in the printed medium cutting method of the present application;
[0050] Figure 5 A schematic diagram of the position structure of a cutting blade and a printing head of a printing device in the printing medium cutting method of the present application;
[0051] Figure 6 A schematic diagram of a process flow provided for Embodiment 2 of the printing medium cutting method of the present application;
[0052] Figure 7 A schematic diagram of a process flow provided for Embodiment 3 of the printing medium cutting method of the present application;
[0053] Figure 8 A schematic diagram of a process flow provided for Embodiment 4 of the printing medium cutting method of the present application;
[0054] Fig. 9 A schematic diagram of the device structure of the hardware operating environment involved in the printing medium cutting method in the embodiment of the present application;
[0055] Fig.10 It is a schematic diagram of the structure of the printing system in the embodiment of the present application.
[0056] The purpose, features and advantages of this application will be further described 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 only used to explain the technical solutions of the present application and are not used to limit the present application.
[0058] In order to better understand the technical solution of the present application, a detailed description will be given below in conjunction with the accompanying drawings and specific implementation methods.
[0059] The main solution of the embodiment of the present application is: calculate 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; calculate the target cutting position on the printing medium according to the trigger position and the target feeding distance on the printing medium; control the cutting knife to cut the printing medium at the target cutting position.
[0060] In this embodiment, for the convenience of description, the following description is made by taking an inkjet printing device as the execution subject.
[0061] Since traditional DTF printers cut film materials according to images, it is generally done manually, using a manual knife or scissors to cut according to the image size. Manual cutting is inefficient and cannot cut large quantities of film materials. Manual cutting is not precise enough and cannot be cut according to specifications.
[0062] The present application provides a solution, which determines the target cutting position through the trigger position and the target material feeding distance, and controls the cutting knife to cut the printed medium at the target cutting position, thereby ensuring the accuracy of the cutting position of the printed medium each time, reducing errors in human operation, and thus reducing material waste caused by inaccurate cutting. The automated cutting process also reduces the time for manual measurement and adjustment, thereby improving cutting efficiency.
[0063] It should be noted that the execution subject of this 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, etc., or a printing device or printing system capable of realizing the above functions. The following takes a printing device as an example to illustrate this embodiment and the following embodiments.
[0064] Reference Figure 1 The printing device 200 includes: a print head, a pulley mechanism 210, a paper feed mechanism and a control circuit, etc. Among them, the print head is one of the key components in the printer, usually composed of many tiny inkjet nozzles. The pulley mechanism 210 is responsible for controlling the lateral movement of the print head on the printing medium. The paper feed mechanism is responsible for the feeding and feeding process of the printing medium. The control circuit includes a main control circuit, a drive circuit, an input and output interface circuit and a detection circuit, etc., which are responsible for coordinating and controlling the mechanical devices of the printer (such as the print head, the pulley mechanism, the paper feed mechanism, etc.).
[0065] The printing device 200 may be an inkjet printing device, which sprays ink onto a print medium through a tiny nozzle in a print head to form an image or text. The print head of an inkjet printer is composed of hundreds or thousands of ink channels with extremely small diameters, and the number of these channels directly determines the printing accuracy of the inkjet printer. Optionally, the print medium 220 includes, but is not limited to, materials such as film paper (such as PET film), paper, clothing, and cloth.
[0066] The cutter 213 is usually used in conjunction with the print head to cut the print medium after printing is completed. The print head is responsible for printing the image, while the cutter is responsible for 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 feeding direction. In an inkjet printer, the print head moves in the X-axis direction of the print medium, while the print medium moves in the Y-axis direction, so that a full page can be printed.
[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 ejecting inks of basic colors such as cyan, magenta, and yellow, while the white print head 211 is responsible for ejecting white ink. These print heads work together to print rich colors and details on the print medium. In the printing process, the printing device 200 can first use the color print head 212 to print a color image, and then use the white print head 211 to print a white background on the surface of the color image, so that the printed image can be better transferred to other objects.
[0069] Based on this, the present application embodiment provides a printing medium cutting method, referring to Figure 2 , Figure 2 This is a schematic flow chart of the first embodiment of the printing medium cutting method of the present application.
[0070] In this embodiment, the printing medium cutting method includes steps S10 to S30:
[0071] Step S10, calculating a target feeding distance of the printing medium according to a distance between the printing head and the cutting blade and a width of the printing head.
[0072] In this embodiment, the execution subject is a printing device, that is, the printing device executes the method of steps S10 to S30 of this embodiment. Optionally, the printing device is an inkjet printing device or the like.
[0073] It should be noted that the target material feeding distance is the distance that the printing medium needs to move forward inside the printing device after the print head is at a trigger position on the printing medium during the printing or copying process of the printing device.
[0074] In an optional embodiment, the printing device includes a set print head, and step S10 includes: obtaining a reserved distance of the image on the printing medium in the feeding direction; calculating the target feeding distance based on the reserved distance, the spacing between the print head and the cutting blade, and the width of the print head.
[0075] Optionally, the target feeding distance is calculated based on the sum of the reserved distance, the spacing between the print head and the cutter, and the width of the print head, thereby improving the accuracy of the feeding distance determination, so that the cutter is in a suitable position for cutting. Exemplarily, the target feeding distance D1=d1+c1+p, where d1 represents the reserved distance behind the image on the print medium, c1 represents the distance between the cutter 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 printing medium according to the distance between the printing head and the cutting blade and the width of the printing head includes: calculating the theoretical feeding distance according to the distance between the printing head and the cutting blade and the width of the printing head; if the theoretical feeding distance is less than the 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. It is ensured that the feeding distance is not set too small, the cutting length of the printing medium is ensured, and the image is avoided from being cut.
[0077] Exemplarily, the preset distance is the minimum cutting length of the printing medium. If the target feeding distance is less than the preset minimum cutting length of the printing medium, the minimum printing medium length is used as the target feeding distance. By detecting the minimum cutting length of the printing medium, when the image printing is completed, when the feeding distance is less than the minimum cutting length of the printing medium, the paper is automatically fed to the distance of the minimum cutting length of the printing medium, thereby ensuring the minimum cutting length of the printing medium and avoiding cutting the image.
[0078] Step S20, calculating a target 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 a position of an area of the image on the printing medium in a feeding direction.
[0079] It should be noted that the trigger position is the position where the printing device is ready to implement the knife cutting logic, and the trigger position is not the target knife cutting position. Optionally, the trigger position is a preset feeding distance behind the image on the printing 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 image on the printing medium in the Y-axis.
[0080] Optionally, based on the material feeding direction, the position of the preset step error behind the image is used as the trigger position. Figure 3 , the trigger position of the image 1 in the area on the printing medium is S1=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 printing medium, and x represents the step error. Optionally, the step error is a distance determined by historical experience data.
[0081] It should be noted that the feeding direction refers to the direction in which the print medium moves inside the printing device during the printing process of the printing device. Optionally, the feeding direction includes longitudinal, transverse and automatic directions, among which 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 printing device automatically selects the most appropriate feeding direction according to the printing content. For example, if the width of the image is larger than the size in the feeding direction of the print medium, the printing device automatically selects the transverse printing.
[0082] Optionally, the image includes one or at least two. Figure 4 , including image 1, image 2, image 3 and image 4, wherein the coordinates of the upper left corner of image 1 are (x1, y1), the width of image 1 is w1 and the size of image 1 in the printing medium feeding direction is h1; the coordinates of the upper left corner of image 2 are (x2, y2), the width of image 2 is w2 and the size of image 2 in the printing medium feeding direction is h2; the coordinates of the upper left corner of image 3 are (x3, y3), the width of image 3 is w3 and the size of image 3 in the printing medium feeding direction is h3; the coordinates of the upper left corner of image 4 are (x4, y4), the width of image 4 is w4 and the size of image 4 in the printing medium feeding direction is h4.
[0083] It should be noted that the target cutting position is the position where the cutting knife cuts the printing medium, and the target cutting position is located outside the area of the image on the printing medium so as to cut the image.
[0084] Optionally, the target cutting position is determined according to the sum of the trigger position and the target material moving distance. Exemplarily, K1=S1+D1, wherein K1 represents the target cutting position, S1 represents the trigger position, and D1 represents the target material moving distance.
[0085] Optionally, each image or each merged image has a corresponding trigger position and target cutting position. Figure 4 Image 1 corresponds to the trigger position S1 and the target cutting position K1; Image 2 and Image 3 are a combined image, and the combined image corresponds to the trigger position S2 and the target cutting position K2; Image 4 corresponds to the trigger position S3 and the target cutting position K3.
[0086] In an alternative embodiment, referring to Figure 5 The printing device is provided with a cutter, a white print head and a color print head, wherein c1 represents the distance between the cutter 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 image 1 printing is the upper left corner coordinate (x1, y1), the end position of image 1 is y1+h1, the trigger position of image 1 is S1=y1+h1+x, the target material feeding distance D1=d1+c1+p+c2, and the target cutting position is K1=S1+D1=y1+h1+x+d1+c1+p+c2. Among them, y1 represents the Y-axis coordinate of the starting point of image 1, h1 represents the size of image 1 in the material feeding direction of the printing medium, x represents the preset step error, d1 represents the reserved distance behind image 1 in the material 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] Step S30, controlling the cutting knife to cut the printing medium at the target cutting position.
[0089] It should be noted that starting from the trigger position, the printing medium feeding is controlled based on the target feeding distance, so that the cutting knife is at the calculated target cutting position, and then the cutting knife cuts at the target cutting position. This application uses mechanical intelligent cutting, which can automatically calculate the printing medium feeding distance according to the size of the image, and automatically cut the film material after the printing device prints an image. It has the advantages of high cutting accuracy and smooth incision, which solves the problem of film cutting during large-scale processing and saves manpower and material costs to the maximum extent.
[0090] Optionally, after the first image is printed and cut, the printing device is controlled to continue printing. Referring to the previous image printing and cutting process, when the print head is at the trigger position S2 corresponding to the second image, the cutting start logic is triggered, and the printing medium is moved until the cutting knife is at the target 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, and the printing medium is moved until the cutting knife is at the target cutting position K3 corresponding to the third image, and the cutting knife is controlled to move to cut the third image, and the cutting of the three images is completed.
[0091] Reference Figure 5The printing device is provided with a cutting knife, a white print head and a color print head. When white ink overlay printing is performed and no split-image printing is performed, it is assumed that the distance between the starting printing position of the color print head and the white print head is D1. During the printing process of the image, it is assumed that if the distance between the two images is D2, when D2 is less than D1, the problem that the second image has already started printing before the first image is printed will occur. In the present application, when a file of multiple images is printed, when a print file is generated, it is divided into multiple images for RIP (Routing Information Protocol) algorithm processing to generate multiple PRNs (Printable Files). During the printing process, they are printed sequentially. When the first image is printed, the knife cutting starts and the second image is not printed. This solves the problem that the second image has already started printing before the first image is printed during image cutting.
[0092] As an optional embodiment, after the step of controlling the cutting blade to cut the printing medium at the target cutting position, the printing medium is controlled to be retracted by a preset distance, and the preset distance is calculated based on the reserved distance of the image on the printing medium in the feeding direction, the spacing between the cutting blade and the print head, and the width of the print head. Exemplarily, the retracting distance is shown in the following formula:
[0093] G1=d1+c1+p*2;
[0094] Among them, G1 represents the paper retracting distance, d1 represents the reserved distance of the area to be cut in the material feeding direction, c1 represents the distance between the cutting blade and the white print head, and p represents the width of the white print head or the color print head. By retracting the paper, extra printing media can be saved, thus saving costs.
[0095] The paper-returning distance is determined according to the reserved distance of the area to be cut in the feeding direction, the first spacing between the cutting blade and the print head, the print head width, and the second spacing between adjacent print heads. For example, the paper-returning distance is shown in the following formula:
[0096] G1=d1+c1+c2+p*2;
[0097] Among them, G1 represents the paper retracting distance, d1 represents the reserved distance of the area to be cut in the feeding direction, c1 represents the first distance between the cutting blade 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. By retracting the paper, extra printing media can be saved, thus saving costs.
[0098] In the technical solution of this embodiment, the target feeding distance of the printing medium is calculated according to the distance between the printing head and the cutting knife, and the width of the printing head; the target cutting position on the printing medium is calculated according to the trigger position and the target feeding distance; and the cutting knife is controlled to cut the printing medium at the target cutting position. The target cutting 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 cutting position, thereby ensuring the accuracy of the position of each printing medium cutting, reducing the error of human operation, and thus reducing the waste of materials caused by inaccurate cutting, and the automated cutting process reduces the time of 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 those in the above embodiment can refer to the above introduction, and will not be repeated later. 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 step error of the printing medium.
[0102] It should be noted that the method for calculating the trigger position in this embodiment can be executed by a host computer or a printing device.
[0103] Optionally, before the step of determining the end position of the image according to the area of the image on the print medium, the method further includes: 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 that the printing device controls the print head to print, including the number of images to be printed, the image size, the image coordinates and other data.
[0104] As an optional embodiment, if the 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: merging the overlapping multiple images into a 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 there is overlap in the position of the images in the feeding direction of the printing medium. When the feeding direction is the Y-axis direction, the overlap of the positions of multiple images in the Y-axis is determined, and the images that overlap in the Y-axis position are merged into a merged image, for example Figure 4There is an overlap in the Y-axis positions of Image 2 and Image 3. Image 2 and Image 3 are merged into a combined image. When the material feeding direction is the X-axis direction, determine the overlap situations of multiple images in the X-axis, and the images that overlap in the X-axis are merged into a combined image.
[0106] Optionally, referring to Figure 4 , the coordinates of the upper left corner of Image 1 are (x1, y1), the dimension w1 of Image 1 in the direction perpendicular to the material feeding direction of the printing medium, and the dimension h1 in the material feeding direction of the printing medium; the coordinates of the upper left corner of Image 2 are (x2, y2), the dimension w2 of Image 2 in the direction perpendicular to the material feeding direction of the printing medium, and the dimension h2 in the material feeding direction of the printing medium; the coordinates of the upper left corner of Image 3 are (x3, y3), the dimension w3 of Image 3 in the direction perpendicular to the material feeding direction of the printing medium, and the dimension h3 in the material feeding direction of the printing medium; the coordinates of the upper left corner of Image 4 are (x4, y4), the dimension w4 of Image 4 in the direction perpendicular to the material feeding direction of the printing medium, and the dimension h4 in the material feeding direction of the printing medium. Among them, Image 1 does not overlap with other images on the Y-axis and is regarded as one image. Since y3 < y2 + h4, Image 2 and Image 3 overlap in the Y-axis position, so Image 2 and Image 3 are merged. Image 4 does not overlap with other images on the Y-axis and is regarded as one image.
[0107] Optionally, referring to Figure 4 , Image 1 does not have an overlap in the material feeding direction of the printing medium. The printing start point is the upper left corner coordinates of Image 1. At this time, x1 and y1 are the printing start points, and the coordinates are (0, 0). The end position of Image 1 is D1 = y1 + h1, where D1 represents the end position of Image 1, y1 represents the Y-axis coordinate of the start position of Image 1, and h1 represents the dimension of Image 1 in the material feeding direction of the printing medium. Image 2 and Image 3 have an overlap in the material feeding direction of the printing medium. The overlapping Image 1 and Image 2 are merged into a combined image. The printing start point is the upper left corner coordinates of Image 2. At this time, x2 and y2 are the printing start points. At this time, the end position of the combined image is D2 = y3 + h3, where D2 represents the end position of the combined image, y3 represents the Y-axis coordinate of the start position of Image 3, and h3 represents the dimension of Image 3 in the material feeding direction of the printing medium. Image 4 does not have an overlap in the material feeding direction of the printing medium. The printing start point is the upper left corner of Image 4. At this time, x4 and y4 are the printing start points. At this time, the end position of Image 4 is D3 = y4 + h4. Among them, D3 represents the end position of Image 4, y4 represents the Y-axis coordinate of the start position of Image 4, and h4 represents the dimension of Image 4 in the material feeding direction of the printing medium.
[0108] In this embodiment, due to the influence of the printing DPI accuracy, different DPI (Dots Per Inch) accuracy corresponds to different stepping distances, and the actual material moving distance when the image is finished printing is not the length of the image. In addition, there will be a gap between the color print head and the white print head of the printing device, which will cause secondary errors and affect the cutting accuracy.
[0109] Since different DPIs correspond to different stepping distances, when printing an image, the print head moves, and when the last print of the image is performed, it is not exactly at a position to completely cover the image, and there will be a stepping error x of the stepping printing. Optionally, the stepping error can be a 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] Optionally, the image size includes data such as the image width of the image on the printing medium and the size of the image 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 of the printing medium in the feeding direction. Figure 3 , the step error of image 1 is shown in the following formula: x=S-h1%S, where S represents the step distance of the printing medium, and h1 represents the size of 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. Exemplarily, the step error of the image is shown in the following formula: x=SW%S, where 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 accuracy is improved, and the front and rear blank spacing after cutting the printing medium can be automatically moved to facilitate subsequent processing.
[0113] Further, the trigger position is calculated according to the end position and the step error of the printing medium. Optionally, the trigger position is calculated according to the sum of the end position and the step error of the printing medium. Figure 4, the trigger position of image 1 is S1=D1+x=y1+h1+x, where S1 represents the trigger position of image 1, y1 represents the Y-axis coordinate of the starting position of image 1, h1 represents the size of image 1 in the direction of printing medium feeding, and x represents the step error. The trigger position of the combined image of image 2 and image 3 is S2=D2+x=y3+h3+x, where S2 represents the trigger position of the combined image of image 2 and image 3, y3 represents the Y-axis coordinate of image 3, h3 represents the size of image 3 in the direction of printing medium feeding, and x represents the step error. The trigger position of image 4 is S3=D3+x=y4+h4+x, where S3 represents the trigger position of image 4, y4 represents the Y-axis coordinate of image 4, h4 represents the size of image 4 in the direction of printing medium feeding, and x represents the step error.
[0114] Optionally, if the split-image printing processing technology is not used, the images can be rearranged when the entire image is printed to increase the distance between the two images so that the spacing between the images is greater than the distance between the two print heads. This can avoid the situation where the second image is printed before the previous image is completed.
[0115] Optionally, in the case of splitting the image, the trigger logic of the knife cutting is not calculated based on the distance of the printing medium, but the image is split and calculated based on the number of channels printed, that is, the number of passes. When the number of passes of the image is printed, the current position is determined as the trigger position.
[0116] In the technical solution of this embodiment, the trigger position is determined by the end position and step error of the image, so as to facilitate the subsequent accurate determination of the target knife cutting position, avoid cutting the image, ensure the integrity of the image after cutting, and cut the printed medium at the target knife cutting position, thereby ensuring the accuracy of the position of each printed medium cutting, reducing errors in human operation, and thus reducing material waste caused by inaccurate cutting. The automated cutting process reduces the time for manual measurement and adjustment, thereby improving cutting efficiency.
[0117] Based on the first or second embodiment of the present application, in the third embodiment of the present application, the same or similar contents as those in the above embodiment can be referred to the above introduction, and will not be repeated in the following. Figure 7 , step S10 further includes:
[0118] Step S11, obtaining a reserved distance of the image on the printing medium in a feeding direction, a first spacing between the cutting blade and the adjacent printing head, and a second spacing between the adjacent printing heads;
[0119] Step S12, calculating the target material feeding distance according to the reserved distance, the width of the print head, the first spacing and the second spacing.
[0120] In this embodiment, the printing device includes at least two printing heads arranged side by side along the feeding direction. Figure 5 The printing device is provided with a cutter, a white print head and a color print head, wherein c1 represents a first spacing between the cutter and the white print head, c2 represents a second spacing between the white print head and the color print head, and p represents a width of the white print head or the color print head. The spacing refers to the spacing 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 a first spacing between the cutting blade and the adjacent print head, p represents the print head width, and c2 represents a second spacing between the print heads.
[0122] Optionally, refer to Figure 3 and Figure 5 , the starting point of image 1 printing is the upper left corner coordinate (x1, y1), the image end position is y1+h1, the trigger position of image 1 is S1=y1+h1+x, the target material 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. Among them, y1 represents the Y-axis coordinate of the starting point of image 1, h1 represents the size of image 1 in the material feeding direction of the printing medium, x represents the step error, d1 represents the reserved distance behind image 1 in the material feeding direction, c1 represents the first spacing between the cutting knife and the white print head, c2 represents the second spacing 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.
[0123] In the technical solution of this embodiment, by determining the target feeding distance based on the reserved distance, the width of the print head, the first spacing and the second spacing, the accuracy of determining the feeding distance is improved, so that the cutting knife is located outside the area where the image is on the printing medium for cutting, 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 those in the above embodiments can refer to the above introduction, and will not be repeated later. Figure 8 , step S20 further includes:
[0125] Step S21, calculating an initial cutting position on the printing medium according to the trigger position and the target material feeding distance;
[0126] Step S22, calculating a compensation distance based on the relative position of the initial cutting position and the film hole;
[0127] Step S23, calculating a target cutting position based on the initial cutting position and the compensation distance.
[0128] It should be noted that the printing medium is provided with a plurality of membrane holes arranged along the feeding direction, and the membrane hole recognition algorithm is called to identify the positions of the membrane holes on the printing medium. There are two situations for the calculated target cutting position, including: the target cutting position is between two adjacent membrane holes, and the target cutting position is the position where the membrane hole is located. Depending on the cutting requirements, the target cutting position can be between two adjacent membrane holes, or on the membrane hole.
[0129] In an optional embodiment, if the target knife cutting position is the area between two adjacent film holes, the step of calculating the compensation distance based on the relative position of the initial knife cutting position and the film hole includes: if the initial knife cutting position is located at the location of the film hole, then based on the distance between the initial knife cutting position and the center point of the film hole, the compensation distance is calculated so that the target knife cutting position is located outside the film hole, that is, the target knife cutting position is located in the area between the two film holes, so that the compensation distance is greater than the difference between the radius of the film hole and the distance between the initial knife cutting position and the center point of the film hole. Alternatively, based on the distance between the initial knife cutting position and the center point of the area between adjacent film holes, the compensation distance is calculated so that the target knife cutting position is located at the center point of the area between the two film holes.
[0130] If the initial knife cutting position is located in the area between two adjacent film holes, the compensation distance is 0, so that the target knife cutting position is located in the area between the two film holes. Alternatively, the compensation distance is calculated based on the difference between the initial knife cutting position and the center point of the area between the two adjacent film holes, so that the target knife cutting position is located at the center point of the area between the two film holes.
[0131] The current compensation distance P of the film hole is calculated, and after the paper moves forward by the compensation distance P based on the initial cutting position, the cutting knife is located at the target cutting position. At this time, the cutting knife is located between the two film holes, and finally the printing medium is cut 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, the step of calculating the compensation distance based on the relative position of the initial cutting position and the film hole includes: if the initial cutting position is located at the film hole, the compensation distance is 0, so that the target cutting position is located at the current film hole position. 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 cutting position of the cutter is located in the area between two adjacent film holes, a compensation distance is calculated based on the distance between the target cutting position of the cutter and the center point of the next film hole in the feeding direction, so that the target cutting position is located at the center point of the film hole.
[0134] The calculated compensation distance P of the current film hole is obtained. After the paper is fed forward by the compensation distance P based on the initial cutting position of the cutter, the cutting tool is located at the target cutting position. At this time, the cutting tool is located on the film hole. Finally, the cutting tool is controlled to move to cut the printing medium.
[0135] In the technical solution of this embodiment, to adapt to accessory devices such as a baking machine, the target cutting position of the cutter 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, improving the flexibility of cutting.
[0136] In one embodiment, before image printing, the host computer performs image calculation and processing according to the image data, referring to Figure 4 , the host computer will use the sub-image printing technology to perform regional division processing on the Figure 4 image. Assume that the upper left corner of image 1 has coordinates (x1, x1), and its size in the feeding direction of the printing medium is h1. The upper left corner coordinates of image 2 are (x2, x2), and its size in the feeding direction of the printing medium is h2. The upper left corner coordinates of image 3 are (x3, y3), and its size in the feeding direction of the printing medium is h3. The upper left corner coordinates of image 4 are (x4, y4), and its size in the feeding direction of the printing medium is h4. Image 1 does not overlap with other images on the Y-axis and is regarded as one image. Since y3 < y2 + h4, images 2 and 3 overlap in the Y position, so images 2 and 3 are processed as one merged image. Image 4 does not overlap with other images on the Y-axis and is regarded as one image. Finally, Figure 4 the images in
[0137] will be divided into 3 images for the logical calculation of triggering the target cutting position of the cutter. Figure 3 Referring to
[0138] It should be noted that, because different DPIs correspond to different stepping distances, when the image is printed, the print head moves, and when the last print is made, it is not exactly in the position to completely cover the image, and there will be a stepping printing error X, so the actual material moving distance for printing an image is h1+X. Among them, X is calculated as: S-h1%S.
[0139] Due to the sub-image processing printing technology used, the printing start point of the second image, i.e., image 2 and image 3, is the upper left corner of the image. At this time, x2 and y2 are the printing start points, and the coordinates are (0, 0). Therefore, the position of the trigger knife cutting of the second image is x3+h3+x; the printing start point of the third image, i.e., image 4, is the upper left corner of the image. At this time, x4 and y4 are the printing start points, and the coordinates are (0, 0). Therefore, the position of the trigger knife cutting of the third image is x4+h4+x.
[0140] After the upper computer completes the calculation, the three images are processed by the RIP algorithm to generate a PRN file, and the distances of the three trigger positions are transmitted to the lower computer, i.e., the printing device. After receiving the PRN file data, the lower computer prints the image. When the feeding distance reaches the trigger position of the first image, that is, the feeding distance is y1+h1+S-h1%S, the distance of the printing medium is S1, and the knife cutting start logic is triggered. The machine feeds forward a distance K1=d1+c1+p+c2+X, and the knife reaches the target cutting position 1. At this time, the distance of the printing medium is K1. The cutting knife reaches the target cutting 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 cutting, 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 moves the paper forward P. At this time, the cutting knife is located between the two film holes, and the cutting knife is moved for cutting. After the cutting is completed, the machine needs to retract the paper, where the retracting distance = d1+c1+c2+p*2, saving extra printing media. At this point, the first image is cut.
[0142] The printing device continues to print. Referring to the printing and cutting process of the first image, when the material feeding distance is S2, the knife cutting start logic is triggered, the printing medium is moved, and the cutting knife is moved at K2 to cut the second image. When the material feeding distance is S3, the knife cutting start logic is triggered, the printing medium is moved, and the cutting knife is moved at K3 to cut the second image. At this point, the cutting of the three images is completed.
[0143] In the technical solution of this embodiment, the target cutting position is determined by the trigger position and the target material feeding distance, and the cutting knife is controlled to cut the printed medium at the target cutting position, thereby ensuring the accuracy of the cutting position of the printed medium each time, reducing errors in human operation, and thus reducing material waste caused by inaccurate cutting. The automated cutting process reduces the time for manual measurement and adjustment, thereby improving cutting efficiency.
[0144] It should be noted that the above examples are only used to understand the present application and do not constitute a limitation on the printing medium cutting method of the present application. More simple transformations based on this technical concept are all within the protection scope of the present application.
[0145] The present application provides an inkjet printing device, which includes: at least one processor; and a memory that is communicatively connected to the at least one processor; wherein the memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the printing medium cutting method in the above-mentioned embodiment one.
[0146] The inkjet printing device may be the printing device described in the above embodiment, and similarities are not repeated here.
[0147] Reference below Fig. 9 , which shows a schematic structural diagram of an inkjet printing device suitable for implementing an embodiment of the present application. Fig. 9 The inkjet printing device shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.
[0148] like Fig. 9As shown, the inkjet printing device may include a processing device 1001 (e.g., a central processing unit, a graphics processor, etc.), which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM: Read Only Memory) 1002 or a program loaded from a storage device 1003 to a random access memory (RAM: Random Access Memory) 1004. In RAM1004, various programs and data required for the operation of the inkjet printing device are also stored. The processing device 1001, ROM1002, and RAM1004 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: Liquid Crystal Display), an indicator light, etc.; and a communication device 1009 (such as a USB interface, a network port, a WiFi interface, Bluetooth, etc.). Communication device 1009 can allow the inkjet printing device to communicate wirelessly or wired with other devices to exchange data. Although the figure shows an inkjet printing device with various systems, it should be understood that it is not required to implement or have all the systems shown. More or fewer systems can be implemented or have alternatively.
[0149] In particular, according to the embodiments disclosed in the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the embodiments disclosed in the present application include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication device, or installed from a storage device 1003, or installed from a ROM 1002. When the computer program is executed by the processing device 1001, the above-mentioned functions defined in the method of the embodiment disclosed in the present application are executed.
[0150] The inkjet printing device provided by the present application adopts the printing medium cutting method in the above embodiment, which can solve the technical problem of insufficient precision of manual cutting of film materials. Compared with the prior art, the beneficial effects of the inkjet printing device provided by the present application are the same as the beneficial effects of the printing medium cutting method provided by the above embodiment, and the other technical features of the inkjet printing device are the same as the features disclosed in the method of the previous embodiment, which will not be repeated here.
[0151] It should be understood that the various parts disclosed in this application can be implemented by 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 is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
[0153] The present application provides a printing system 1000, referring to Fig.10 , the printing system 1000 includes a host computer 100 and a printing device, wherein the printing device may be an inkjet printing device 200, and the host computer 100 is communicatively connected 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 described in the above embodiment.
[0156] The present application provides a computer-readable storage medium having computer-readable program instructions (ie, computer programs) stored thereon, and the computer-readable program instructions are used to execute the printing medium cutting method in the above-mentioned embodiment.
[0157] The computer-readable storage medium provided in the present application may be, for example, a USB flash drive, but is not limited to electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, systems or devices, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more 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 of the above. In this 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 may be transmitted using any appropriate medium, including but not limited to: wires, optical cables, RF (Radio Frequency), etc., or any suitable combination of the above.
[0158] The computer-readable storage medium may be included in the inkjet printing device; or may exist independently without being assembled into the inkjet printing device.
[0159] The above-mentioned computer-readable storage medium carries one or more programs. When the above-mentioned one or more programs are executed by the inkjet printing device, the inkjet printing device: determines the target knife cutting position through the trigger position and the target material feeding distance, and controls the cutting knife to cut the printing medium at the target knife cutting position, thereby ensuring the accuracy of the position of each printing medium cutting, reducing errors in human operation, and thereby reducing material waste caused by inaccurate cutting, and the automated cutting process reduces the time for manual measurement and adjustment, thereby improving cutting efficiency.
[0160] Computer program code for performing the operations of the present application may be written in one or more programming languages or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, C++, and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may 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 may be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0161] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present application. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0162] The modules involved in the embodiments described in this application may be implemented by software or hardware, wherein the name of the module does not constitute a limitation on the unit itself in some cases.
[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 beneficial effects of the computer-readable storage medium provided by the present application are the same as the beneficial effects of the printing medium cutting method provided by the above-mentioned embodiment, and will not be described in detail here.
[0164] The present application also provides a computer program product, including a computer program, which implements the steps of the above-mentioned printing medium cutting method when executed by a processor.
[0165] The computer program product provided by the present application can solve the technical problem of insufficient precision in manual cutting of film materials. Compared with the prior art, the beneficial effects of the computer program product provided by the present application are the same as those of the printing medium cutting method provided by the above embodiment, which will not be described in detail here.
[0166] The above descriptions are only some embodiments of the present application, and are not intended to limit the patent scope of the present application. All equivalent structural changes made using the contents of the present application specification and drawings under the technical concept of the present application, or direct / indirect applications in other related technical fields are included in the patent protection scope of the present application.
Claims
1. A printing medium cutting method, characterized in that: Applied to a printing device, the printing device is provided with a print head and a cutting blade, the method comprises: Calculating a target feeding distance of the printing medium according to a distance between the printing head and the cutting blade and a width of the printing head; Calculating a target 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 a position of a region of an image on the printing medium in a feeding direction; The cutter is controlled to cut the print medium at the target cutter position.
2. The method according to claim 1, characterized in that The trigger position is obtained by the following steps: Determining an end position of the image according to an area of the image on the printing medium; The trigger position is calculated according to the end position and the step error of the printing medium.
3. The method according to claim 2, characterized in that The step error calculation steps include: According to the starting position and the ending position of the image on the printing medium, the image size of the image on the printing medium in the feeding direction is obtained; The step error is calculated according to the step distance of the printing medium and the image size.
4. The method according to claim 2, characterized in that If the printed multiple images 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 includes: 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.
5. The method according to any one of claims 1 to 4, characterized in that The step of calculating the target feeding distance of the printing medium according to the distance between the printing head and the cutting blade and the width of the printing head comprises: Acquire a reserved distance of the image on the printing medium in a feeding direction; The target material 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.
6. The method according to any one of claims 1 to 4, characterized in that 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 according to the distance between the print head and the cutting blade and the width of the print head includes: Acquire a reserved distance of the image on the printing medium in the feeding direction, a first spacing between the cutting blade and the adjacent printing head, and a second spacing between the adjacent printing heads; The target material feeding distance is calculated according to the reserved distance, the width of the print head, the first spacing and the second spacing.
7. The method according to any one of claims 1 to 4, characterized in that The step of calculating the target feeding distance of the printing medium according to the distance between the printing head and the cutting blade and the width of the printing head comprises: Calculate the theoretical material feeding distance according to the distance between the print head and the cutting blade and the width of the print head; If the theoretical material moving distance is less than the preset distance, the preset distance is determined as the target material moving distance; 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.
8. The method according to any one of claims 1 to 4, characterized in that The printing medium is provided with a plurality of film holes arranged along the feeding direction, and the step of calculating the target cutting position on the printing medium according to the trigger position on the printing medium and the target feeding distance further includes: Calculating an initial cutting position on the printing medium according to the trigger position and the target material feeding distance; Calculating a compensation distance based on the relative position of the initial cutting position and the film hole; Based on the initial cutting position and the compensation distance, a target cutting position is calculated.
9. The method according to claim 8, characterized in that If the target cutting position is the area between the 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: If the initial knife cutting position is located at the location of the film hole, the compensation distance is calculated based on the distance between the initial knife cutting position and the center point of the film hole; If the initial cutting position is located in the area between two adjacent film holes, the compensation distance is 0, or the compensation distance is calculated based on the difference between the initial cutting position and the center point of the area between the two adjacent film holes.
10. The method according to claim 8, characterized in that If the target cutting position is 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: If the initial cutting position is located at the location of the film hole, the compensation distance is 0, or the compensation distance is calculated according to the difference between the target cutting position and the center point of the film hole; If the initial knife cutting position is located in the area between two adjacent film holes, the compensation distance is calculated based on the distance between the target knife cutting position and the center point of the film hole next to the initial knife cutting position in the feeding direction.
11. The method according to claim 1, characterized in that After the step of controlling the cutting knife to cut the printing medium at the target cutting position, the method further includes: The printing medium is controlled to be retracted by a preset distance, wherein the preset distance is calculated based on a reserved distance of the image on the printing medium in a feeding direction, a spacing between the cutting blade and the printing head, and a width of the printing head.
12. An inkjet printing device, characterized in that: The device comprises: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program is configured to implement the steps of the printing medium cutting method according to any one of claims 1 to 11.
13. A printing system, characterized in that: The printing system comprises a host computer and a printing device, wherein the host computer is communicatively connected with the printing device; The host computer is used to calculate the trigger position on the printing medium and send the trigger position to the printing device; The printing device is used to receive the trigger position sent by the host computer, and cut the printing medium based on the trigger position and the steps of the printing medium cutting method according to any one of claims 1 to 11.
14. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the printing medium cutting method according to any one of claims 1 to 11 are implemented.
Citation Information
Patent Citations
Printing and cutting
CN113795388A
Image forming system
JP2009104512A
Tape printer capable of combining plural documents on a tape with advanced cutting instructions for intelligent document presentation
US6129466A
Cited By
Control method of printing system, electronic equipment, storage medium and printing system
CN119636269A
Control method of printing system, electronic device, storage medium, and printing system
CN119636269B