Printing method and image forming equipment

By combining the cropping function in the image forming device, the contents of multiple files to be printed are merged into one printing page, which solves the problem of blank parts on the print piece, and saves imaging media and improves printing efficiency.

CN118915979APending Publication Date: 2024-11-08BEIJING PANTUM INFORMATION TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410772631.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-14
Publication Date
2024-11-08

AI Technical Summary

Technical Problem

When printing files using image forming equipment, blank parts often exist on the printed prints, resulting in waste of imaging media consumables and labor consumption.

Method used

By implementing the merging and cropping function in the image forming device, the contents of multiple files to be printed are merged on one printing page, reducing blank parts and saving imaging media consumables. Specific methods include identifying pages whose printed content occupies less than one page, and merging or reducing the content to make it occupies a length of or close to one page.

Benefits of technology

It effectively reduces blank parts on the printing page, saves imaging media consumables, and improves printing efficiency and user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118915979A_ABST
    Figure CN118915979A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a printing method and image forming equipment. The method is applied to the image forming equipment, and comprises the following steps: merging printing contents of a plurality of pages of which the occupation space of the printing contents is less than one printing page into one printing page in one or more files to be printed, and generating a merged page to be printed; and the one or more files to be printed are printed, the combined page to be printed is printed, and printing of independent printing pages is not carried out on the multiple pages. According to the printing method provided by the embodiment of the invention, the printing contents of a plurality of pages of which the occupation space of the printing contents is less than one page are merged to one printing page, so that the blank part on the printing page is reduced, and the imaging medium consumables are saved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of electronic computer technology, and more particularly to a printing method and an image forming device. Background Art

[0002] Image forming devices include but are not limited to printers, copiers, fax machines, scanners, and multifunction machines that integrate printing, copying, faxing, scanning and other functions, and their function is to print images or texts on imaging media.

[0003] When using an image forming device to print documents, sometimes there will be blank parts on the printed product (imaging medium, such as paper). This not only wastes imaging medium consumables, but also, when using the printed product of the document, it may be necessary to cut off the blank parts on the printed product, resulting in a large amount of financial and human resources being consumed, which is not user-friendly.

[0004] Therefore, a printing method is needed to avoid the waste of imaging media consumables. Summary of the invention

[0005] In order to solve the problem of how to avoid the waste of imaging medium consumables, the present application provides a printing method and an image forming device.

[0006] The present application embodiment adopts the following technical solutions:

[0007] In a first aspect, the present application provides a printing method, which is applied to an image forming device, and the method comprises:

[0008] Merge the print contents of multiple pages of one or more files to be printed, where the print contents occupy less than one print page, into one print page, to generate a merged page to be printed;

[0009] Print the one or more files to be printed, wherein the merged pages to be printed are printed, and the multiple pages are not printed as independent printing pages.

[0010] According to the printing method of the first aspect, the printed contents of multiple pages whose printed contents occupy less than one page are merged into one printed page, thereby reducing the blank part on the printed page and saving imaging medium consumables.

[0011] In an implementation of the first aspect, the multiple pages include a first page and / or a last page of a file to be printed with multiple consecutive pages, the printed content of which occupies less than one printed page.

[0012] In an implementation of the first aspect, merging the printed contents of multiple pages whose printed contents occupy less than one printed page in one or more files to be printed into one printed page to generate the merged page to be printed includes:

[0013] The printed contents of the multiple pages are merged into one printed page according to a preset page ratio or a page ratio selected by a user.

[0014] In an implementation of the first aspect, merging the printed contents of multiple pages whose printed contents occupy less than one printed page in one or more files to be printed into one printed page to generate the merged page to be printed includes:

[0015] Calculate the sum of the page lengths of all printed contents in the one or more files to be printed that are less than one printed page;

[0016] When the sum of the lengths occupied by pages whose lengths are less than one printed page does not exceed one printed page, the multiple pages are the pages whose lengths are less than one printed page.

[0017] In an implementation of the first aspect, the step of merging the printed contents of multiple pages whose printed contents occupy less than one printed page in one or more files to be printed into one printed page to generate a merged page to be printed further includes:

[0018] When the sum of the lengths of pages whose lengths are less than one printed page occupied by all the printed contents exceeds one printed page, the pages whose lengths are less than one printed page occupied by all the printed contents are the multiple pages;

[0019] The printed content of one or more pages among the multiple pages is reduced, and the reduced printed content is merged into one printed page.

[0020] In an implementation manner of the first aspect, the printed content of one or more pages of the multiple pages is reduced within a preset reduction ratio threshold range.

[0021] In an implementation of the first aspect, the step of merging the printed contents of multiple pages whose printed contents occupy less than one printed page in one or more files to be printed into one printed page to generate a merged page to be printed further includes:

[0022] When the sum of the lengths occupied by pages whose printed contents are less than one printed page exceeds one printed page, the multiple pages are selected from the pages whose printed contents are less than one printed page, wherein the multiple pages are pages whose sum of the lengths occupied by the printed contents is less than or equal to one printed page.

[0023] In an implementation manner of the first aspect, the multiple pages are adjacent pages in the printing order of the one or more files to be printed.

[0024] In a second aspect, the present application provides an image forming device, comprising a memory for storing computer program instructions and a processor for executing computer program instructions, wherein when the computer program instructions are executed by the processor, the image forming device is triggered to execute the method steps described in the first aspect.

[0025] In a third aspect, the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, which, when executed on a computer, enables the computer to execute the method described in the first aspect. BRIEF DESCRIPTION OF THE DRAWINGS

[0026] Figure 1 Shown is a method flow chart according to an embodiment of the present application;

[0027] Figure 2 Shown is a method flow chart according to an embodiment of the present application;

[0028] Figure 3 Shown is a schematic structural diagram of an image forming device according to an embodiment of the present application. DETAILED DESCRIPTION

[0029] In order to make the purpose, technical solution and advantages of the present application clearer, the technical solution of the present application will be clearly and completely described below in combination with the specific embodiments of the present application and the corresponding drawings. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present application.

[0030] The terms used in the implementation section of this application are only used to explain the specific embodiments of this application and are not intended to limit this application.

[0031] When using an image forming device to print a document, there will be blank areas on the printed product (e.g., paper) after printing. One of the main reasons is that the size of the printed document cannot occupy all the imaging media consumables. If the document is printed according to a unified standard, there will be blank areas on the printed product after printing.

[0032] For example, the size of an invoice is usually set to A5. If it is printed on A4 paper, half of the paper will be blank, which not only wastes paper, but also requires manual trimming of the blank part of the paper when using the printed invoice, resulting in a waste of manpower.

[0033] In response to the above situation, an embodiment of the present application provides a printing method, which provides a merging and cropping function before the image forming device starts the printing operation. According to user needs, multiple files to be printed are merged and cropped so that the size of the multiple files to be printed after merging is consistent with the size of the imaging media consumables, thereby reducing the blank area on the printed product after printing as much as possible, thereby saving imaging media consumables.

[0034] In the embodiments of the present application, the image forming device is a device having at least one function related to image formation, which may include but is not limited to: a printing function, a scanning function, a copying function, and a fax function.

[0035] For example: single-function printer (image forming device with printing function only); multi-function printer (image forming device with printing, copying, scanning and / or faxing functions, and the number of paper trays can be selectively set); digital multifunction printer (based on the copying function, with standard or optional printing, scanning and faxing functions, using digital principles, and outputting documents in the form of laser printing. Images and texts can be edited as needed, with a large-capacity paper tray, high memory, large hard disk, strong network support and multi-task parallel processing capabilities).

[0036] In the embodiments of the present application, the imaging medium consumable is a physical carrier used by the image forming device to form an image, such as paper, cloth, plastic film, cardboard, etc. The size of a sheet of imaging medium consumable (a printed page) is determined by the setting of the printed page in the image forming device. For example, according to the setting of the printed page, the size of a sheet of imaging medium consumable (a printed page) is A4 size.

[0037] In the embodiments of the present application specification, paper is mainly used as an example to describe the implementation process of the printing method proposed in the embodiments of the present application.

[0038] Figure 1 Shown is a method flow chart according to an embodiment of the present application.

[0039] In one embodiment, the image forming device performs Figure 1 The following process is shown.

[0040] S110, determining one or more files to be printed.

[0041] Specifically, in one embodiment, in S110 , the user selects a file to be printed.

[0042] For example, the user selects a file in the file list, and the file selected by the user is used as the file to be printed.

[0043] S120, merging the printed contents of multiple pages whose printed contents occupy less than one printed page in one or more files to be printed into one printed page, to generate a merged page to be printed.

[0044] In one embodiment, S110 includes: merging multiple pages of the same to-be-printed file into one merged page to be printed, and / or merging multiple pages of different to-be-printed files into one merged page to be printed.

[0045] Specifically, in one embodiment, a page whose printed content occupies less than one printed page is identified by driving to identify whether there is a blank space in the rear portion of the page.

[0046] S130, printing the file to be printed, wherein printing the merged page to be printed, and not printing the pages included in the merged page to be printed as independent pages.

[0047] According to the method of the embodiment of the present application, the printed contents of multiple pages whose printed contents occupy less than one page are merged into one printed page, thereby reducing the blank part on the printed page and saving imaging medium consumables.

[0048] In S120, a variety of different merging strategies can be used to merge pages of multiple files to be printed. The following examples illustrate the various different merging strategies of S120. In the embodiment of the present application, the implementation of S120 can adopt but is not limited to any one or a combination of any multiple of the following merging strategies.

[0049] In one implementation of S120, the length occupancy of the printed contents of all pages contained in all the files to be printed is identified. When there are multiple pages of printed contents that cannot fill up one printed page, the pages whose printed contents cannot fill up one printed page are merged.

[0050] For example, the file A1 to be printed includes page A11, and the printed content in page A11 occupies 40% of the printed page. The file B1 to be printed includes page B11 to be printed, and the printed content in page B11 occupies 60% of the printed page.

[0051] In S120 , page A11 and page B11 are combined into a combined page to be printed.

[0052] For a file to be printed that contains multiple pages, its internal page division is set by the user. For example, the user adds paging to the document to facilitate understanding of the content; for another example, the user lists a certain figure as a separate page for visual effect. In this case, if the page of another file to be printed is merged into the page of the current file to be printed, it will inevitably destroy the user's setting of the page layout of the current file to be printed, and destroy the user's expected printing visual effect.

[0053] Therefore, in one implementation of S120, for a file to be printed that contains multiple pages, only the first page and / or last page of the file to be printed are identified for page occupancy and the pages are merged to ensure that the user's settings for the page layout of the current file to be printed are not destroyed.

[0054] For example, the printed content in the first page A21 of the to-be-printed file A2 occupies 60% of the printed page, and the printed content in the last page B21 of the to-be-printed file B2 occupies 40% of the printed page.

[0055] In S120 , page A21 and page B21 are combined into a combined page to be printed.

[0056] Furthermore, considering that in a file to be printed that contains multiple pages, when the printed content of the first page cannot occupy a full printed page, it is usually to achieve the page display effect expected by the user, for example, a cover page containing only the title. Therefore, in an implementation of S120, for a file to be printed that contains multiple pages, only the last page of the file to be printed is identified for page occupancy and the pages are merged to ensure that the user's page layout setting for the current file to be printed will not be destroyed.

[0057] For example, the printed content in the last page A31 of the to-be-printed file A3 occupies 30% of the printed page, and the printed content in the last page B31 of the to-be-printed file B3 occupies 40% of the printed page.

[0058] In S120 , page A31 and page B31 are combined into a combined page to be printed.

[0059] In one implementation of S120, when the sum of the lengths occupied by the printed contents of the pages whose printed contents cannot fill up a printed page does not exceed one printed page, the printed contents of the pages whose printed contents cannot fill up a printed page are merged into one merged page to be printed.

[0060] Specifically, in one embodiment, when the printed contents of multiple pages that cannot occupy a full printed page are merged into a merged page to be printed, the size of the printed contents is not changed.

[0061] For example, page A31 and page B31 are combined into a combined page to be printed. After the combination, the printed content of A31 occupies 30% of the combined page to be printed, and the printed content of B31 occupies 40% of the combined page to be printed.

[0062] In another embodiment, when merging multiple pages of printed content that cannot occupy a full printed page into a merged page to be printed, the size of the printed content is changed so that the total size of the merged printed content is one printed page.

[0063] For example, page A31 and page B31 are merged into a merged page to be printed, and the print content of page A31 and / or page B31 is enlarged during the merging process so that the merged print content fills the merged page to be printed.

[0064] Specifically, in one embodiment, when merging the printed contents of multiple pages that cannot fill up a printed page into a merged page to be printed, the page size of the printed contents is enlarged and / or reduced according to a preset page size ratio or a page size ratio selected by the user, so that the total page size occupied by the merged printed contents is one printed page.

[0065] For example, the page ratio is set to 5:5. Page A31 and page B31 are merged into a merged page to be printed, and the printed content of page A31 and page B31 are enlarged during the merging process, so that in the merged merged page to be printed, the printed content of page A31 accounts for 50% of the merged page to be printed, and the printed content of page B31 accounts for 50% of the merged page to be printed.

[0066] For another example, set the page length ratio to 7:3. Merge page A31 and page B31 into a merged page to be printed. During the merging process, enlarge the printed content of page A31 so that in the merged page to be printed, the printed content of page A31 accounts for 70% of the merged page to be printed. During the merging process, reduce the printed content of page B31 so that in the merged page to be printed, the printed content of page B31 accounts for 30% of the merged page to be printed.

[0067] Furthermore, in actual application scenarios, there are situations where the total length of the printed contents of multiple pages that cannot fill a printed page exceeds one printed page. For example, the total length of the printed contents of two pages that cannot fill a printed page exceeds one printed page.

[0068] For example, the to-be-printed file A4 includes page A41, and the printed content in page A41 occupies 45% of the printed page. The to-be-printed file B4 includes page B41, and the printed content in page B41 occupies 70% of the printed page.

[0069] In response to the above situation, in one implementation of S120, when the printed content cannot fill up a printed page and the sum of the length of the printed content exceeds one printed page, the length of the printed content is enlarged and / or reduced according to a preset length ratio or a length ratio selected by the user so that the sum of the length of the merged printed content is one printed page.

[0070] In another implementation of S120, when the sum of the lengths occupied by the printed contents of pages whose printed contents cannot fill up a printed page exceeds one printed page, one or more pages of the pages whose printed contents cannot fill up a printed page are reduced in length, so that the sum of the lengths occupied by the printed contents of pages whose printed contents cannot fill up a printed page after the length reduction is less than or equal to one printed page.

[0071] For example, the printed content of page B41 is reduced in size so that the printed content of page B41 occupies 55% of the printed page. For another example, the printed content of page A41 is reduced in size so that the printed content of page A41 occupies 30% of the printed page. For another example, the printed content of page A41 and page B41 are reduced in size so that the printed content of page A41 occupies 40% of the printed page and the printed content of page B41 occupies 60% of the printed page.

[0072] For another example, the file A5 to be printed includes page A51, and the printed content of page A51 occupies 30% of the printed page. The file B5 to be printed includes page B51, and the printed content of page B51 occupies 40% of the printed page. The file C5 to be printed includes page C51, and the printed content of page C41 occupies 40% of the printed page. The printed content of page C51 is reduced in length so that the printed content of page C51 occupies 30% of the printed page. Page A51, page B51, and the reduced page C51 are merged into a merged page to be printed.

[0073] Specifically, in one embodiment, the user selects a reduction ratio for reducing the length of the printed content, or a preset reduction ratio is used, or the reduction ratio is calculated according to the length occupied by the printed content of the page, so that the total length occupied by the merged printed content is one printed page.

[0074] Furthermore, considering that reducing the length of the printed content will cause the printed content to be unclear, affecting the printing effect, in one embodiment, an upper limit of the ratio of reducing the length of the printed content is set. After reaching the upper limit of the reduction ratio, if the sum of the lengths of the printed content of the pages that cannot fill a printed page still exceeds a printed page, the page contents will not be merged.

[0075] For example, the upper limit of the reduction ratio is set to 10%. That is, page A41 is reduced to a maximum of 40.5% (45%-45%*10%) of the printed page occupied by the printed content, and page B41 is reduced to a maximum of 63% (70%-70%*10%) of the printed page occupied by the printed content. Therefore, page A41 and page B41 are not merged.

[0076] In another implementation of S120, when the sum of the lengths occupied by the printed contents of pages that cannot fill up a printed page exceeds one printed page, multiple pages whose sums of the lengths occupied by the printed contents of all pages that cannot fill up a printed page are merged.

[0077] For example, merge page A51 and page B51 into a merged page to be printed (page C51 is not merged); or, merge page A51 and page C51 into a merged page to be printed (page B51 is not merged); merge page B51 and page C51 into a merged page to be printed (page A51 is not merged).

[0078] Furthermore, in one embodiment, for all pages whose printed contents cannot completely occupy one printed page, multiple pages whose sum of lengths occupied by the printed contents is less than or equal to one printed page are merged, wherein the number of printed pages after the merger is ensured to be the minimum.

[0079] For example, the file A6 to be printed includes page A61, and the printed content in page A61 occupies 30% of the printed page. The file B6 to be printed includes page B61, and the printed content in page B61 occupies 30% of the printed page. The file C6 to be printed includes page C61, and the printed content in page C61 occupies 60% of the printed page. The file D6 to be printed includes page D61, and the printed content in page D61 occupies 50% of the printed page.

[0080] Although page A61 and page B61 can be combined (the combined printed content occupies 60% of the printed page), page C61 and page D61 cannot be combined (the combined printed content occupies more than one printed page). Therefore, if page A61 and page B61 are combined, the final number of printed pages is 3 pages.

[0081] If page A61 is merged with page C61 (the printed content after merging occupies 90% of the printed page), and page B61 is merged with page D61 (the printed content after merging occupies 80% of the printed page), the final number of printed pages is 2.

[0082] Therefore, in S120 , page A61 is merged with page C61 , and page B61 is merged with page D61 .

[0083] Furthermore, in actual printing scenarios, users may have requirements for the printing order of pages of the to-be-printed file based on their personal needs (e.g., visual effect requirements). In this case, if the pages in the to-be-printed file are merged arbitrarily, the page printing order set by the user will be destroyed when the pages are printed. Therefore, in one embodiment, the user's printing order for the to-be-printed file is obtained (e.g., the selection order when the user selects the to-be-printed file is recorded, and the selection order is used as the printing order), and adjacent pages are merged according to the printing order.

[0084] For example, the file A7 to be printed includes page A71, and the printed content in page A71 occupies 40% of the printed page. The file B7 to be printed includes page B71, and the printed content in page B71 occupies 70% of the printed page. The file C7 to be printed includes page C71, and the printed content in page C71 occupies 60% of the printed page. The file D7 to be printed includes page D71, and the printed content in page D71 occupies 40% of the printed page. The file E7 to be printed includes page E71, and the printed content in page E71 occupies 50% of the printed page.

[0085] Although page A71 and page C71 can be merged, the user's print order is: page A71, page B71, page C71, page D71. Therefore, if the page length reduction is not allowed, in S120, page C71 is merged with page D71, and page A71, page B71, and page E71 are not merged.

[0086] Optionally, in one embodiment, the image forming device supports turning on and off page merging.

[0087] For example, a merge printing setting option is provided on the print setting page. Before S100, when the user performs print settings (eg, setting the paper size, the number of copies, etc.), he / she sets whether to support merge printing of individual files.

[0088] For another example, after S100 , before entering the printing process, a prompt interface is displayed to the user, requesting the user to confirm on the prompt interface whether to perform merge printing for the selected multiple files to be printed.

[0089] Furthermore, in one embodiment, the image forming device automatically determines whether to enable page merging.

[0090] For example, in S100, if the user selects multiple files to be printed, the image forming device determines to enable page merging. If the user selects one file to be printed, the image forming device determines not to enable page merging.

[0091] Furthermore, in one embodiment, the image forming device determines whether to enable page merging according to the user's selection of the file to be printed and the page merging setting.

[0092] For example, a merge printing setting option is provided on the print setting page. When the user performs print settings (e.g., sets the paper size, the number of copies, etc.), the user sets whether to support merge printing of individual files. If the user sets to support merge printing of multiple files, then if the user selects multiple files to be printed in S100, it is determined that the multiple files to be printed are merged and printed. If the user selects one file to be printed in S100, even if the user sets to support merge printing of multiple files, it is determined that page merging is not enabled.

[0093] For another example, after S100, before entering the printing process, if the user has selected multiple files to be printed in S100, a prompt interface is displayed to the user, requesting the user to confirm on the prompt interface whether to merge and print the selected multiple files to be printed. After S100, before entering the printing process, if the user has selected one file to be printed in S100, it is determined not to start page merging (no prompt interface is displayed to the user).

[0094] Optionally, in one embodiment, after S120, a preview image of the page to be printed is provided to the user for the user to confirm the printing effect, and the user determines whether to print based on the current page merging effect.

[0095] Figure 2 Shown is a method flow chart according to an embodiment of the present application.

[0096] S200, receiving a user's selection operation of a file to be printed, and determining the file to be printed according to the user's selection operation.

[0097] S201, displaying a prompt interface to request the user to confirm whether to merge and print.

[0098] If the user confirms not to perform combined printing, S202 is executed.

[0099] S202, displaying a print preview image for the file to be printed, wherein a preview image is generated for each page in the file to be printed.

[0100] S203, requesting the user to confirm whether to print.

[0101] If the user confirms printing, execute S203.

[0102] S204, executing a printing operation.

[0103] If the user cancels printing, the process returns to S200.

[0104] In S201 , if the user confirms to perform combined printing, S210 is executed.

[0105] S210, determining whether the sum of the occupied lengths of multiple pages whose printed contents occupy less than one printing page in the file to be printed exceeds one printing page.

[0106] If not exceeded, execute S211.

[0107] S211, merging the printed contents of multiple pages whose printed contents occupy less than one printed page into one merged page to be printed.

[0108] If exceeded, execute S212.

[0109] S212, obtaining merge setting parameters.

[0110] The merge setting parameters may include but are not limited to any one or a combination of the following.

[0111] Reduction ratio, for each page whose printed content occupies less than one printed page, when it is merged into one merged page to be printed;

[0112] Page length ratio: for each page whose printed content occupies less than one printed page, when it is merged into a merged page to be printed, the page length ratio of the page on the merged page to be printed;

[0113] The merged pages to be printed are split, and multiple pages whose printed content occupies less than one printed page are merged into a page grouping configuration corresponding to the merged page to be printed (that is, which pages are merged into the same merged page to be printed).

[0114] S213, merging pages according to the merging setting parameters to generate a merged page to be printed.

[0115] S220, determining whether the user is logged in.

[0116] If logged in, execute S221.

[0117] S221, saving the user operation (eg, the merge setting parameters selected by the user) and synchronizing to the server.

[0118] If not logged in, or after S221, execute S202.

[0119] S202, displaying a print preview image for the file to be printed, wherein preview images are generated for pages that are not involved in page merging in the file to be printed and for merged pages to be printed.

[0120] S203, requesting the user to confirm whether to print.

[0121] If the user confirms printing, execute S203.

[0122] S204, executing a printing operation.

[0123] If the user cancels printing, the process returns to S200.

[0124] In the description of the embodiments of the present application, for the convenience of description, the functions are divided into various modules and described separately. The division of each module is only a division of logical functions. When implementing the embodiments of the present application, the functions of each module can be implemented in the same or one or more software and / or hardware.

[0125] Specifically, the device proposed in the embodiment of the present application can be fully or partially integrated into a physical entity during actual implementation, or it can be physically separated. And these modules can all be implemented in the form of software calling through processing elements; they can also be all implemented in the form of hardware; some modules can also be implemented in the form of software calling through processing elements, and some modules can be implemented in the form of hardware. For example, the detection module can be a separately established processing element, or it can be integrated in a chip of an electronic device. The implementation of other modules is similar. In addition, all or part of these modules can be integrated together, or they can be implemented independently. In the implementation process, each step of the above method or each of the above modules can be completed by an integrated logic circuit of hardware in a processor element or instructions in the form of software.

[0126] For example, the above modules may be one or more integrated circuits configured to implement the above methods, such as one or more application specific integrated circuits (ASIC), or one or more digital signal processors (DSP), or one or more field programmable gate arrays (FPGA), etc. For another example, these modules may be integrated together and implemented in the form of a system-on-a-chip (SOC).

[0127] An embodiment of the present application also provides an image forming device.

[0128] Figure 3 Shown is a schematic structural diagram of an image forming device according to an embodiment of the present application.

[0129] like Figure 3 As shown, the image forming device 800 includes a memory 810 for storing computer program instructions and a processor 820 for executing the program instructions, wherein when the computer program instructions are executed by the processor 820, the image forming device 800 is triggered to execute the method steps performed by the image forming device in the embodiment of the present application.

[0130] Specifically, in one embodiment of the present application, the above-mentioned one or more computer programs are stored in the above-mentioned memory, and the above-mentioned one or more computer programs include instructions. When the above-mentioned instructions are executed by the above-mentioned device, the above-mentioned device executes the method steps described in the embodiment of the present application.

[0131] Specifically, in one embodiment of the present application, the processor of the electronic device may be a SOC device on a chip, which may include a central processing unit (CPU), and may further include other types of processors. Specifically, in one embodiment of the present application, the processor of the electronic device may be a PWM control chip.

[0132] Specifically, in an embodiment of the present application, the processor involved may include, for example, a CPU, a DSP, a microcontroller or a digital signal processor, and may also include a GPU, an embedded neural network processor (Neural-network Process Units, NPU) and an image signal processor (Image Signal Processing, ISP). The processor may also include necessary hardware accelerators or logic processing hardware circuits, such as ASICs, or one or more integrated circuits for controlling the execution of the program of the technical solution of the present application. In addition, the processor may have the function of operating one or more software programs, and the software programs may be stored in a storage medium.

[0133] Specifically, in one embodiment of the present application, the memory of the electronic device may be a read-only memory (ROM), other types of static storage devices that can store static information and instructions, a random access memory (RAM) or other types of dynamic storage devices that can store information and instructions, or an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disc storage, optical disc storage (including compressed optical discs, laser discs, optical discs, digital versatile discs, Blu-ray discs, etc.), a magnetic disk storage medium or other magnetic storage devices, or may be any computer-readable medium that can be used to carry or store desired program codes in the form of instructions or data structures and can be accessed by a computer.

[0134] Specifically, in an embodiment of the present application, the processor and the memory can be combined into a processing device, more commonly, they are independent components, and the processor is used to execute the program code stored in the memory to implement the method described in the embodiment of the present application. In specific implementation, the memory can also be integrated into the processor, or independent of the processor.

[0135] Furthermore, the devices, apparatuses, and modules described in the embodiments of the present application may be implemented by computer chips or entities, or by products having certain functions.

[0136] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, devices, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media containing computer-usable program code.

[0137] In the several embodiments provided in the present application, if any function is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product, which 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 method described in each embodiment of the present application.

[0138] Specifically, in one embodiment of the present application, a computer-readable storage medium is further provided, in which a computer program is stored. When the computer program is run on a computer, the computer executes the method provided in the embodiment of the present application.

[0139] An embodiment of the present application further provides a computer program product, which includes a computer program. When the computer program is run on a computer, the computer executes the method provided by the embodiment of the present application.

[0140] The embodiments described in this application are described with reference to the flowcharts and / or block diagrams of the methods, devices (apparatus), and computer program products according to the embodiments of the application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0141] These computer program instructions may also be stored in a computer readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer readable memory produce an article of manufacture including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0142] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0143] It should also be noted that in the embodiments of the present application, "at least one" refers to one or more, and "more than one" refers to two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent the existence of A alone, the existence of A and B at the same time, and the existence of B alone. Among them, A and B can be singular or plural. The character " / " generally indicates that the previous and subsequent associated objects are in an "or" relationship. "At least one of the following" and similar expressions refer to any combination of these items, including any combination of single or plural items. For example, at least one of a, b and c can be represented by: a, b, c, a and b, a and c, b and c, or a and b and c, where a, b, c can be single or multiple.

[0144] In the embodiments of the present application, the terms "include", "comprises" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of further restrictions, an element defined by the sentence "includes a ..." does not exclude the presence of other identical elements in the process, method, commodity or device including the element.

[0145] The present application may be described in the general context of computer-executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform specific tasks or implement specific abstract data types. The present application may also be practiced in distributed computing environments where tasks are performed by remote processing devices connected through a communication network. In a distributed computing environment, program modules may be located in local and remote computer storage media, including storage devices.

[0146] Each embodiment in this application is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0147] Those skilled in the art will appreciate that the various units and algorithm steps described in the embodiments of the present application can be implemented by a combination of electronic hardware, computer software, and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0148] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the above-described devices, apparatuses and units can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0149] The above is only a specific implementation of the present application. Any person skilled in the art 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. The protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A printing method, characterized in that: The method is applied to an image forming device, and the method comprises: Merge the print contents of multiple pages of one or more files to be printed, where the print contents occupy less than one print page, into one print page, to generate a merged page to be printed; Print the one or more files to be printed, wherein the merged pages to be printed are printed, and the multiple pages are not printed as independent printing pages.

2. The method according to claim 1, characterized in that The multiple pages include, in a file to be printed with multiple consecutive pages, a first page and / or a last page whose printed content occupies less than one printed page.

3. The method according to claim 1, characterized in that The method of merging the printed contents of multiple pages whose printed contents occupy less than one printed page into one printed page in one or more files to be printed to generate a merged page to be printed includes: The printed contents of the multiple pages are merged into one printed page according to a preset page ratio or a page ratio selected by a user.

4. The method according to claim 1, characterized in that: The method of merging the printed contents of multiple pages whose printed contents occupy less than one printed page into one printed page in one or more files to be printed to generate a merged page to be printed includes: Calculate the sum of the page lengths of all printed contents in the one or more files to be printed that are less than one printed page; When the sum of the lengths occupied by pages whose lengths are less than one printed page does not exceed one printed page, the multiple pages are the pages whose lengths are less than one printed page.

5. The method according to claim 4, characterized in that The step of merging the printed contents of multiple pages whose printed contents occupy less than one printed page in one or more files to be printed onto one printed page to generate a merged page to be printed also includes: When the sum of the lengths of pages whose lengths are less than one printed page occupied by all the printed contents exceeds one printed page, the pages whose lengths are less than one printed page occupied by all the printed contents are the multiple pages; The printed content of one or more pages among the multiple pages is reduced, and the reduced printed content is merged into one printed page.

6. The method according to claim 5, characterized in that Within a preset reduction ratio threshold range, the printed content of one or more pages of the multiple pages is reduced.

7. The method according to claim 4, characterized in that The step of merging the printed contents of multiple pages whose printed contents occupy less than one printed page in one or more files to be printed onto one printed page to generate a merged page to be printed also includes: When the sum of the lengths occupied by pages whose printed contents are less than one printed page exceeds one printed page, the multiple pages are selected from the pages whose printed contents are less than one printed page, wherein the multiple pages are pages whose sum of the lengths occupied by the printed contents is less than or equal to one printed page.

8. The method according to claim 1, characterized in that: The multiple pages are adjacent pages in the printing order of the one or more files to be printed.

9. An image forming device, characterized in that: The image forming device comprises a memory for storing computer program instructions and a processor for executing the computer program instructions, wherein when the computer program instructions are executed by the processor, the image forming device is triggered to execute the method steps as described in any one of claims 1-8.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, which, when executed on a computer, enables the computer to execute the method according to any one of claims 1 to 8.