Printing method, device, electronic device and storage medium
By calculating the frequency to be printed and the rated printing frequency and selecting the appropriate printing method, the inefficiency problem caused by multiple printing in the prior art is solved, and a more efficient printing process is achieved.
Patent Information
- Application Number
- CN202411400019.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-09
- Publication Date
- 2025-04-01
- Estimated Expiration
- 2044-10-09
AI Technical Summary
The existing inkjet printing technology requires multiple printing when processing pictures to be printed with different resolutions, resulting in very low printing efficiency.
By calculating the frequency to be printed and the rated frequency of the target printing device, the appropriate printing method is determined. The method includes single reciprocating motion for single resolution printing and single reciprocating motion for two resolution printing, and selecting the optimal printing method according to the frequency difference.
Improve printing efficiency, and by selecting the appropriate printing method, the number of printing times is reduced and the overall printing performance is improved.
Smart Images

Figure CN119261415B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of image processing technology, and in particular to a printing method, device, electronic device and storage medium. Background Art
[0002] Inkjet printing technology is used in a wide range of applications, including home and office inkjet printer products, industrial applications, home decor and furniture, personalized gifts, digital products, movies, games, animation, pop culture merchandise, and advertising and signage production.
[0003] In the actual application of inkjet technology, the objects to be printed need to deposit film layers of different thicknesses on the substrate according to different process requirements. The scanning resolutions of the images to be printed are different for the film layers of different thicknesses. In the prior art, for images to be printed with different resolutions, multiple printings are required, and each printing can only process images of one resolution. This method results in very low printing efficiency. Summary of the invention
[0004] In view of this, the purpose of the present application is to provide a printing method, device, electronic device and storage medium to overcome the problems in the prior art.
[0005] In a first aspect, an embodiment of the present application provides a printing method, which acts on a target printing device, and the method includes:
[0006] According to the rated printing speed of the target printing device and the scanning resolution of the image to be printed, the frequency to be printed when the target printing device scans the object to be printed to obtain the image to be printed is calculated;
[0007] According to the to-be-printed frequency and the rated printing frequency of the target printing device, a target printing mode of the to-be-printed image is determined from preset to-be-selected printing modes; wherein the to-be-selected printing modes include a first printing mode and a second printing mode; wherein the first printing mode is a single reciprocating motion for printing at a single resolution, and the second printing mode is a single reciprocating motion for printing at two resolutions;
[0008] The target printing device is controlled to print the picture to be printed using the target printing method.
[0009] In some technical solutions of the present application, the first printing mode includes a first sub-mode and a second sub-mode; wherein the first sub-mode is to print once per reciprocating motion, and the second sub-mode is to print once each per multiple reciprocating motions;
[0010] The target printing mode of the image to be printed is determined from preset selectable printing modes according to the frequency to be printed and the rated printing frequency of the target printing device; wherein the selectable printing modes include a first printing mode and a second printing mode; wherein the first printing mode is a single reciprocating motion for printing at a single resolution, and the second printing mode is a single reciprocating motion for printing at two resolutions, including:
[0011] If the difference between the to-be-printed frequency and the rated printing frequency of the target printing device is less than or equal to a preset frequency threshold, taking the first sub-mode as the target printing mode;
[0012] If the difference between the to-be-printed frequency and the rated printing frequency of the target printing device is greater than a preset frequency threshold, the second sub-mode or the second printing mode is used as the target printing mode.
[0013] In some technical solutions of the present application, the first printing mode includes a first sub-mode and a second sub-mode; wherein the first sub-mode is to print once per reciprocating motion, and the second sub-mode is to print once each per multiple reciprocating motions;
[0014] When the target printing mode includes the first sub-mode; controlling the target printing device to print the to-be-printed picture using the target printing mode includes:
[0015] Controlling the target printing device to print once at the scanning resolution of the image to be printed through one reciprocating motion;
[0016] When the target printing mode includes the second sub-mode; dividing the image to be printed into a plurality of sub-images of sub-resolutions; wherein the sub-resolutions are the same;
[0017] The controlling the target printing device to print the to-be-printed picture using the target printing method includes:
[0018] Controlling the target printing device to print the sub-image of the first sub-resolution once through a reciprocating motion;
[0019] After the first sub-resolution printing is completed, the target printing device is controlled to print the second sub-resolution sub-image through a reciprocating motion until all sub-images are printed.
[0020] In some technical solutions of the present application, when the target printing method includes the second printing method, controlling the target printing device to print the to-be-printed picture using the target printing method includes:
[0021] Dividing the image to be printed into two sub-images of sub-resolutions; wherein the two sub-resolutions are different;
[0022] Controlling the target printing device to print the sub-image of the first sub-resolution once when moving forward;
[0023] The target printing device is controlled to print the sub-image of the second sub-resolution once when moving in the reverse direction.
[0024] In some technical solutions of the present application, when the target printing mode includes the first sub-mode or the second printing mode; controlling the target printing device to print the to-be-printed picture using the target printing mode includes:
[0025] Dividing the to-be-printed picture into multiple pairs of sub-pictures or multiple pairs of sub-pictures and a single sub-picture;
[0026] Controlling the target printing device to print the plurality of pairs of sub-pictures using the second printing mode;
[0027] The target printing device is controlled to print the single sub-image using the first sub-mode.
[0028] In some technical solutions of the present application, when the target printing mode includes the second sub-mode or the second printing mode; controlling the target printing device to print the to-be-printed picture using the target printing mode includes:
[0029] Divide the image to be printed into sub-images of multiple sub-resolutions; wherein the sub-images include a first image, a second image, and other images;
[0030] Controlling the target printing device to print the first picture and the second picture using the second printing mode;
[0031] Determining a target printing mode of the other pictures from the second sub-mode and the second printing mode;
[0032] The target printing device is controlled to print the other pictures using the target printing method.
[0033] In some technical solutions of the present application, determining the target printing mode of the other pictures from the second sub-mode and the second printing mode includes:
[0034] Perform a printing test on the other pictures to obtain a prediction result;
[0035] According to the prediction result, a target printing mode that meets preset efficiency conditions and effect conditions is selected from the second sub-mode and the second printing mode.
[0036] In a second aspect, an embodiment of the present application provides a printing device, which acts on a target printing device, and the device includes:
[0037] A calculation module, configured to calculate a frequency to be printed when the target printing device scans the object to be printed to obtain the image to be printed according to a rated printing speed of the target printing device and a scanning resolution of the image to be printed;
[0038] A determination module, configured to determine a target printing mode of the image to be printed from preset selectable printing modes according to the to-be-printed frequency and the rated printing frequency of the target printing device; wherein the selectable printing modes include a first printing mode and a second printing mode; wherein the first printing mode is a single reciprocating motion for printing at a single resolution, and the second printing mode is a single reciprocating motion for printing at two resolutions;
[0039] The control module is used to control the target printing device to print the image to be printed using the target printing method.
[0040] In a third aspect, an embodiment of the present application provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the above-mentioned printing method when executing the computer program.
[0041] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps of the above-mentioned printing method are executed.
[0042] The technical solution provided by the embodiments of the present application may have the following beneficial effects:
[0043] The method of the present application includes calculating the frequency to be printed when the target printing device scans the object to be printed to obtain the image to be printed according to the rated printing speed of the target printing device and the scanning resolution of the image to be printed; determining the target printing method of the image to be printed from preset optional printing methods according to the frequency to be printed and the rated printing frequency of the target printing device; wherein the optional printing methods include a first printing method and a second printing method; wherein the first printing method is a single reciprocating motion for printing at a single resolution, and the second printing method is a single reciprocating motion for printing at two resolutions; and controlling the target printing device to print the image to be printed using the target printing method.
[0044] When printing an article to be printed, the present application improves printing efficiency by selecting a printing method that is more suitable for the article to be printed.
[0045] In order to make the above-mentioned objects, features and advantages of the present application more obvious and easy to understand, preferred embodiments are specifically cited below and described in detail with reference to the attached drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0046] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.
[0047] Figure 1 A schematic diagram of a printing method provided in an embodiment of the present application is shown;
[0048] Figure 2 A schematic diagram of a target printing device provided in an embodiment of the present application is shown;
[0049] Figure 3 A schematic diagram of a printing device provided in an embodiment of the present application is shown;
[0050] Figure 4 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0051] To make the purpose, technical scheme and advantages of the embodiments of the present application clearer, the technical scheme in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. It should be understood that the drawings in the present application only serve the purpose of explanation and description and are not used to limit the scope of protection of the present application. In addition, it should be understood that the schematic drawings are not drawn in real proportion. The flowchart used in this application shows the operations implemented according to some embodiments of the present application. It should be understood that the operations of the flowchart can be implemented out of order, and the steps without logical context can be reversed in order or implemented simultaneously. In addition, those skilled in the art can add one or more other operations to the flowchart under the guidance of the content of the present application, or remove one or more operations from the flowchart.
[0052] In addition, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. The components of the embodiments of the present application described and shown in the drawings here can be arranged and designed in various configurations. Therefore, the following detailed description of the embodiments of the present application provided in the drawings is not intended to limit the scope of the application claimed for protection, but merely represents the selected embodiments of the present application. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without making creative work belong to the scope of protection of the present application.
[0053] It should be noted that the term "comprising" will be used in the embodiments of the present application to indicate the existence of the features declared thereafter, but does not exclude the addition of other features.
[0054] Inkjet printing technology is used in a wide range of applications, including home and office inkjet printer products, industrial applications, home decor and furniture, personalized gifts, digital products, movies, games, animation, pop culture merchandise, and advertising and signage production.
[0055] In the actual application of inkjet technology, the objects to be printed need to deposit film layers of different thicknesses on the substrate according to different process requirements. The scanning resolutions of the images to be printed are different for the film layers of different thicknesses. In the prior art, for images to be printed with different resolutions, multiple printings are required, and each printing can only process images of one resolution. This method results in very low printing efficiency.
[0056] Based on this, the embodiments of the present application provide a printing method, device, electronic device and storage medium, which are described below through embodiments.
[0057] Figure 1 A flow chart of a printing method provided in an embodiment of the present application is shown, which acts on a target printing device, wherein the method includes steps S101-S103; specifically:
[0058] S101, calculating a frequency to be printed when the target printing device scans an object to be printed to obtain the image to be printed according to a rated printing speed of the target printing device and a scanning resolution of the image to be printed;
[0059] S102, determining a target printing mode of the image to be printed from preset selectable printing modes according to the to-be-printed frequency and the rated printing frequency of the target printing device; wherein the selectable printing modes include a first printing mode and a second printing mode; wherein the first printing mode is a single reciprocating motion for printing at a single resolution, and the second printing mode is a single reciprocating motion for printing at two resolutions;
[0060] S103: Control the target printing device to print the picture to be printed using the target printing method.
[0061] When printing an article to be printed, the present application improves printing efficiency by selecting a printing method that is more suitable for the article to be printed.
[0062] Some embodiments of the present application are described in detail below. In the absence of conflict, the following embodiments and features in the embodiments can be combined with each other.
[0063] The present application embodiment provides a printing method, which acts on a target printing device, such as Figure 2 As shown, the printing device here can be a printing device such as an inkjet printer. The target printing device includes a main control system, a print file generation system and a print control system; the main control system is used to set the film thickness and other process parameters (such as the speed parameters of the nozzle device), and then send all the data after the settings are completed to the print file generation system. The print file generation system is used to calculate the resolution in the scanning direction according to the film thickness and other process parameters, and generate the file to be printed according to the resolution. The main control system sends the file to be printed and the corresponding resolution to the printing system, and the printing system controls the nozzle to print according to the file to be printed.
[0064] Before printing, the embodiment of the present application needs to calculate the frequency of the target printing device when scanning the image to be printed of the object to be printed. Specifically, the frequency of printing is obtained by the rated printing speed of the target printing device and the scanning resolution of the image to be printed.
[0065] For example, when the thickness of the deposited film layer is h, the volume of the nozzle droplet is v, and the spacing of the ink droplets in the direction of the nozzle is width, which is the inverse of the resolution ydpi in the direction of the nozzle. According to the formula V = length * width * height, the spacing of the ink droplets in the scanning direction can be calculated as x = v*ydpi / h, and the scanning resolution is xdpi = 1 / x.
[0066] The calculation relationship between the scanning resolution and the rated printing speed is as follows: Assuming that the nozzle ejects ink n times per second (the frequency to be printed), the rated printing speed V = n*25.4 / xdpi (mm / s).
[0067] After obtaining the frequency to be printed, it is necessary to select the target printing method of the image to be printed from the preset printing methods to be selected according to the frequency to be printed and the rated printing frequency of the target printing device. The printing methods to be selected here include a first printing method and a second printing method; wherein the first printing method is a single reciprocating motion for printing at a single resolution, and the second printing method is a single reciprocating motion for printing at two resolutions; the first printing method includes a first sub-method and a second sub-method; wherein the first sub-method is a reciprocating motion for one printing, and the second sub-method is a plurality of reciprocating motions for each printing.
[0068] Specifically, in the first sub-mode, the nozzle performs only one reciprocating motion (from sliding out to resetting), and prints only once during the sliding out process or during the resetting process, and this printing is for only one resolution. In the second sub-mode, the nozzle performs multiple reciprocating motions, and each reciprocating motion prints only during the sliding out process or during the resetting process, and each printing is for the same resolution. In the second printing mode, the nozzle performs multiple one or multiple reciprocating motions, and each reciprocating motion prints twice, and each printing is for a different resolution. For example, the nozzle prints a1 once when sliding out, and prints a2 again during the resetting process, and a1 is different from a2.
[0069] When screening, the embodiment of the present application sets a frequency threshold, and compares the difference between the frequency to be printed and the rated printing frequency with the frequency threshold. If the difference between the frequency to be printed and the rated printing frequency of the target printing device is less than or equal to the preset frequency threshold, the first sub-mode is used as the target printing mode; if the difference between the frequency to be printed and the rated printing frequency of the target printing device is greater than the preset frequency threshold, the second sub-mode or the second printing mode is used as the target printing mode. The frequency threshold here is generally set to the rated printing frequency, that is, when the frequency to be printed is twice the rated printing frequency, the second sub-mode or the second printing mode is used as the target printing mode; otherwise, the first sub-mode is used as the target printing mode.
[0070] In the embodiment of the present application, when the film thickness of the ink droplet deposition is selected and set by the user according to the actual business, different resolutions of the to-be-printed pictures are obtained due to different settings. In order to ensure the efficiency of the pictures to be printed with various resolutions, it is necessary to match different target printing methods for the pictures to be printed with different resolutions. In other words, the embodiment of the present application divides the pictures to be printed with different resolutions and then matches them with different target printing methods.
[0071] The difference between the frequency to be printed and the rated printing frequency of the target printing device is less than or equal to a preset frequency threshold, and there is no need to divide the picture to be printed. The first sub-mode is used as the target printing mode for the picture to be printed: the target printing device is controlled to print the scanning resolution of the picture to be printed once through a reciprocating motion.
[0072] The film thickness H of ink droplet deposition is set on the UI interface of the main control system. The main control system (referring to the main UI console on the computer) sends the film thickness H and other process parameters set by the user to the print file generation system. The print file generation system calculates the resolution xH in the scanning direction based on H and the nozzle parameters configured by the system to obtain an xH. The result is returned to the main control system, and a print file that can be recognized by the system is generated according to the resolution xH. The main control system sends the print file and the resolution xH to the printing system (the entire system that controls printing). The print control system parses the print file and prints data according to the resolution xH. Then during the printing process, data with a resolution of xH is printed in the forward direction (moving away from the origin), or data with a resolution of xH is printed in the reverse direction (moving toward the origin).
[0073] The difference between the frequency to be printed and the rated printing frequency of the target printing device is greater than a preset frequency threshold, and the image to be printed needs to be divided, and the divided sub-images are used. Specifically, whether the second sub-mode is used as the target printing mode or the second printing mode is used as the target printing mode is determined by the printing effect and the printing efficiency. The specific method for determining the printing effect and the printing efficiency is obtained through printing tests.
[0074] When dividing the image to be printed, the following situations are included: full division and incomplete division. Full division: divide the image to be printed into multiple sub-images with the same resolution or divide the image to be printed into multiple pairs of sub-images (the resolutions of the two images in each pair can be the same or different). Incomplete division: divide the image to be printed into multiple pairs of sub-images and a single sub-image.
[0075] When dividing the image to be printed into multiple sub-images of the same resolution, the second sub-mode is used as the target printing mode: the image to be printed is divided into multiple sub-images of sub-resolutions; wherein the sub-resolutions are the same; the target printing device is controlled to print the sub-image of the first sub-resolution once through a reciprocating motion; after the first sub-resolution printing is completed, the target printing device is controlled to print the sub-image of the second sub-resolution once through a reciprocating motion until all sub-images are printed. In actual business, there will be a time interval between two prints. When the printing effect is the same, the printing efficiency is generally lower than the second printing mode. Therefore, it is generally preferred to divide the image to be printed into multiple pairs of sub-images and a single sub-image.
[0076] The film thickness H of ink droplet deposition is set on the UI interface of the main control system. The main control system (referring to the main UI console on the computer) sends the film thickness H and other process parameters set by the user to the print file generation system. The print file generation system calculates the resolution xH in the scanning direction based on H and the nozzle parameters configured by the system to obtain multiple xH. The result is returned to the main control system, and a print file that can be recognized by the system is generated according to the resolution xH. The main control system sends the print file and resolution xH to the printing system (the entire system that controls printing). The print control system parses the print file and prints data according to the resolution xH. Then during the printing process, data with a resolution of xH is printed in the forward direction (moving away from the origin), or data with a resolution of xH is printed in the reverse direction (moving toward the origin).
[0077] When the image to be printed is divided into multiple pairs of sub-images, the second printing method is used as the target printing method: when the target printing device is controlled to move forward, the sub-image of the first sub-resolution is printed once; when the target printing device is controlled to move backward, the sub-image of the second sub-resolution is printed once.
[0078] Take replacing the image to be printed with two sub-images as an example: set the film thickness H of ink droplet deposition and the two film thicknesses to be decomposed on the UI interface, which are h1 and h2 respectively, and there is a relationship H=h1+h2.
[0079] The main control system (referring to the main UI console on the computer) sends the film thickness H, h1, h2 and other process parameters set by the user to the print file generation system. The print file generation system calculates the resolution xH, xh1, xh2 in the scanning direction according to H, h1, h2 and the nozzle parameters configured by the system, returns the result to the main control system, and generates a print file that the system can recognize according to the resolution xH. The main control system sends the print file and the resolution xh1 and xh2 to the printing system (the entire system that controls printing). The printing control system parses the print file and distributes the print data according to the resolution xh1 and xh2. Then, during the printing process, the data with a resolution of xh1 is printed in the forward direction (moving away from the origin), and the data with a resolution of xh2 is printed in the reverse direction (moving toward the origin). Since the resolutions of the two prints are different, the printing speed will also be different. The printing control system needs to automatically adjust the printing speed according to the resolution, and select the appropriate nozzle control parameters according to different speeds.
[0080] When the image to be printed is divided into multiple pairs of sub-images and a single sub-image, for each pair of sub-images, the second printing method is used as the target printing method, and for the single sub-image, the first sub-method is used as the target printing method: the image to be printed is divided into multiple pairs of sub-images or multiple pairs of sub-images and a single sub-image; the target printing device is controlled to use the second printing method to print the multiple pairs of sub-images; the target printing device is controlled to use the first sub-method to print the single sub-image. The specific process of using the second printing method and the first sub-method is the same as the above process, and will not be repeated here.
[0081] Figure 3 A schematic diagram of the structure of a printing device provided in an embodiment of the present application is shown, which acts on a target printing device, and the device includes:
[0082] A calculation module, configured to calculate a frequency to be printed when the target printing device scans the object to be printed to obtain the image to be printed according to a rated printing speed of the target printing device and a scanning resolution of the image to be printed;
[0083] A determination module, configured to determine a target printing mode of the image to be printed from preset selectable printing modes according to the to-be-printed frequency and the rated printing frequency of the target printing device; wherein the selectable printing modes include a first printing mode and a second printing mode; wherein the first printing mode is a single reciprocating motion for printing at a single resolution, and the second printing mode is a single reciprocating motion for printing at two resolutions;
[0084] The control module is used to control the target printing device to print the image to be printed using the target printing method.
[0085] The first printing mode includes a first sub-mode and a second sub-mode; wherein the first sub-mode is to print once per reciprocating motion, and the second sub-mode is to print once each per multiple reciprocating motions;
[0086] The target printing mode of the image to be printed is determined from preset selectable printing modes according to the frequency to be printed and the rated printing frequency of the target printing device; wherein the selectable printing modes include a first printing mode and a second printing mode; wherein the first printing mode is a single reciprocating motion for printing at a single resolution, and the second printing mode is a single reciprocating motion for printing at two resolutions, including:
[0087] If the difference between the to-be-printed frequency and the rated printing frequency of the target printing device is less than or equal to a preset frequency threshold, taking the first sub-mode as the target printing mode;
[0088] If the difference between the to-be-printed frequency and the rated printing frequency of the target printing device is greater than a preset frequency threshold, the second sub-mode or the second printing mode is used as the target printing mode.
[0089] The first printing mode includes a first sub-mode and a second sub-mode; wherein the first sub-mode is to print once per reciprocating motion, and the second sub-mode is to print once each per multiple reciprocating motions;
[0090] When the target printing mode includes the first sub-mode; controlling the target printing device to print the to-be-printed picture using the target printing mode includes:
[0091] Controlling the target printing device to print once at the scanning resolution of the image to be printed through one reciprocating motion;
[0092] When the target printing mode includes the second sub-mode; dividing the image to be printed into a plurality of sub-images of sub-resolutions; wherein the sub-resolutions are the same;
[0093] The controlling the target printing device to print the to-be-printed picture using the target printing method includes:
[0094] Controlling the target printing device to print the sub-image of the first sub-resolution once through a reciprocating motion;
[0095] After the first sub-resolution printing is completed, the target printing device is controlled to print the second sub-resolution sub-image through a reciprocating motion until all sub-images are printed.
[0096] When the target printing mode includes the second printing mode; controlling the target printing device to print the to-be-printed picture using the target printing mode includes:
[0097] Dividing the image to be printed into two sub-images of sub-resolutions; wherein the two sub-resolutions are different;
[0098] Controlling the target printing device to print the sub-image of the first sub-resolution once when moving forward;
[0099] The target printing device is controlled to print the sub-image of the second sub-resolution once when moving in the reverse direction.
[0100] When the target printing mode includes the first sub-mode or the second printing mode; controlling the target printing device to print the to-be-printed picture using the target printing mode includes:
[0101] Dividing the to-be-printed picture into multiple pairs of sub-pictures or multiple pairs of sub-pictures and a single sub-picture;
[0102] Controlling the target printing device to print the plurality of pairs of sub-pictures using the second printing mode;
[0103] The target printing device is controlled to print the single sub-image using the first sub-mode.
[0104] When the target printing mode includes the second sub-mode or the second printing mode; controlling the target printing device to print the to-be-printed picture using the target printing mode includes:
[0105] Divide the image to be printed into sub-images of multiple sub-resolutions; wherein the sub-images include a first image, a second image, and other images;
[0106] Controlling the target printing device to print the first picture and the second picture using the second printing mode;
[0107] Determining a target printing mode of the other pictures from the second sub-mode and the second printing mode;
[0108] The target printing device is controlled to print the other pictures using the target printing method.
[0109] The step of determining the target printing mode of the other pictures from the second sub-mode and the second printing mode includes:
[0110] Perform a printing test on the other pictures to obtain a prediction result;
[0111] According to the prediction result, a target printing mode that meets preset efficiency conditions and effect conditions is selected from the second sub-mode and the second printing mode.
[0112] like Figure 4 As shown, an embodiment of the present application provides an electronic device for executing the printing method in the present application, the device includes a memory, a processor, a bus, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the printing method when executing the computer program.
[0113] Specifically, the above-mentioned memory and processor may be general-purpose memory and processor, which are not specifically limited here. When the processor runs the computer program stored in the memory, the above-mentioned printing method can be executed.
[0114] Corresponding to the printing method in the present application, an embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps of the above-mentioned printing method are executed.
[0115] Specifically, the storage medium can be a general storage medium, such as a mobile disk, a hard disk, etc. When the computer program on the storage medium is executed, the above-mentioned printing method can be executed.
[0116] In the embodiments provided in the present application, it should be understood that the disclosed systems and methods can be implemented in other ways. The system embodiments described above are merely schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some communication interfaces, indirect coupling or communication connection of systems or units, which can be electrical, mechanical or other forms.
[0117] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, and may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0118] In addition, each functional unit in the embodiments provided in the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
[0119] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0120] It should be noted that similar numbers and letters represent similar items in the following figures. Therefore, once an item is defined in one figure, it does not need to be further defined and explained in subsequent figures. In addition, the terms "first", "second", "third", etc. are only used to distinguish the description and are not to be understood as indicating or implying relative importance.
[0121] Finally, it should be noted that the above-described embodiments are only specific implementation methods of the present application, which are used to illustrate the technical solutions of the present application, rather than to limit them. The protection scope of the present application is not limited thereto. Although the present application is described in detail with reference to the above-mentioned embodiments, ordinary technicians in the field should understand that any technician familiar with the technical field can still modify the technical solutions recorded in the above-mentioned embodiments within the technical scope disclosed in the present application, or can easily think of changes, or make equivalent replacements for some of the technical features therein; and these modifications, changes or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present application. They should all be included in the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.
Claims
1. A printing method, characterized in that: Acting on a target printing device, the method comprises: According to the rated printing speed of the target printing device and the scanning resolution of the image to be printed, the frequency to be printed when the target printing device scans the object to be printed to obtain the image to be printed is calculated; According to the to-be-printed frequency and the rated printing frequency of the target printing device, a target printing mode of the to-be-printed image is determined from preset to-be-selected printing modes; wherein the to-be-selected printing modes include a first printing mode and a second printing mode; wherein the first printing mode is a single reciprocating motion for printing at a single resolution, and the second printing mode is a single reciprocating motion for printing at two resolutions; The target printing device is controlled to print the picture to be printed using the target printing method.
2. The method according to claim 1, characterized in that The first printing mode includes a first sub-mode and a second sub-mode; wherein the first sub-mode is to print once per reciprocating motion, and the second sub-mode is to print once each per multiple reciprocating motions; The target printing mode of the image to be printed is determined from preset selectable printing modes according to the frequency to be printed and the rated printing frequency of the target printing device; wherein the selectable printing modes include a first printing mode and a second printing mode; wherein the first printing mode is a single reciprocating motion for printing at a single resolution, and the second printing mode is a single reciprocating motion for printing at two resolutions, including: If the difference between the to-be-printed frequency and the rated printing frequency of the target printing device is less than or equal to a preset frequency threshold, taking the first sub-mode as the target printing mode; If the difference between the to-be-printed frequency and the rated printing frequency of the target printing device is greater than a preset frequency threshold, the second sub-mode or the second printing mode is used as the target printing mode.
3. The method according to claim 1, characterized in that: The first printing mode includes a first sub-mode and a second sub-mode; wherein the first sub-mode is to print once per reciprocating motion, and the second sub-mode is to print once each per multiple reciprocating motions; When the target printing mode includes the first sub-mode; controlling the target printing device to print the to-be-printed picture using the target printing mode includes: Controlling the target printing device to print once at the scanning resolution of the image to be printed through one reciprocating motion; When the target printing mode includes the second sub-mode; dividing the image to be printed into a plurality of sub-images of sub-resolutions; wherein the sub-resolutions are the same; The controlling the target printing device to print the to-be-printed picture using the target printing method includes: Controlling the target printing device to print the sub-image of the first sub-resolution once through a reciprocating motion; After the first sub-resolution printing is completed, the target printing device is controlled to print the second sub-resolution sub-image through a reciprocating motion until all sub-images are printed.
4. The method according to claim 1, characterized in that When the target printing mode includes the second printing mode; controlling the target printing device to print the to-be-printed picture using the target printing mode includes: Dividing the image to be printed into two sub-images of sub-resolutions; wherein the two sub-resolutions are different; Controlling the target printing device to print the sub-image of the first sub-resolution once when moving forward; The target printing device is controlled to print the sub-image of the second sub-resolution once when moving in the reverse direction.
5. The method according to claim 3, characterized in that: When the target printing mode includes the first sub-mode or the second printing mode; controlling the target printing device to print the to-be-printed picture using the target printing mode includes: Dividing the to-be-printed picture into multiple pairs of sub-pictures or multiple pairs of sub-pictures and a single sub-picture; Controlling the target printing device to print the plurality of pairs of sub-pictures using the second printing mode; The target printing device is controlled to print the single sub-image using the first sub-mode.
6. The method according to claim 3, characterized in that When the target printing mode includes the second sub-mode or the second printing mode; controlling the target printing device to print the to-be-printed picture using the target printing mode includes: Divide the image to be printed into sub-images of multiple sub-resolutions; wherein the sub-images include a first image, a second image, and other images; Controlling the target printing device to print the first picture and the second picture using the second printing mode; Determining a target printing mode of the other pictures from the second sub-mode and the second printing mode; The target printing device is controlled to print the other pictures using the target printing method.
7. The method according to claim 6, characterized in that The step of determining the target printing mode of the other pictures from the second sub-mode and the second printing mode includes: Perform a printing test on the other pictures to obtain a prediction result; According to the prediction result, a target printing mode that meets preset efficiency conditions and effect conditions is selected from the second sub-mode and the second printing mode.
8. A printing device, characterized in that: Acting on a target printing device, the device comprises: A calculation module, configured to calculate a frequency to be printed when the target printing device scans the object to be printed to obtain the image to be printed according to a rated printing speed of the target printing device and a scanning resolution of the image to be printed; A determination module, configured to determine a target printing mode of the image to be printed from preset selectable printing modes according to the to-be-printed frequency and the rated printing frequency of the target printing device; wherein the selectable printing modes include a first printing mode and a second printing mode; wherein the first printing mode is a single reciprocating motion for printing at a single resolution, and the second printing mode is a single reciprocating motion for printing at two resolutions; The control module is used to control the target printing device to print the image to be printed using the target printing method.
9. An electronic device, characterized in that: include: A processor, a memory and a bus, wherein the memory stores machine-readable instructions executable by the processor, and when the electronic device is running, the processor and the memory communicate via the bus, and when the machine-readable instructions are executed by the processor, the steps of the printing method as described in any one of claims 1 to 7 are performed.
10. 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 method according to any one of claims 1 to 7 are executed.
Citation Information
Patent Citations
Scanning type ink-jet printing control method, device and equipment and storage medium
CN110561929A
Scanning type ink-jet printing control method, device and facility, and storage medium
CN111730995A