Data processing method, device and equipment, storage medium and image forming equipment
By displaying the print parameter setting interface after obtaining the first print job, the user confirms or resets the parameters and generates the second print job, the problem of inaccurate and inconvenient printing parameter setting is solved, and higher accuracy and convenience are achieved.
Patent Information
- Application Number
- CN202510496423.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-18
- Publication Date
- 2025-08-08
AI Technical Summary
In the prior art, the accuracy of printing parameter setting is low and the setting is inconvenient, especially when setting it in various ways, the problem of mutually exclusive conflicts is prone to occur.
After acquiring the first print job, the status is set to the end state, and the printing parameter setting interface is displayed. The user confirms or resets the parameters in the interface, generates the second print job and transmits it to the image forming device.
Improve the accuracy and convenience of printing parameter settings, ensure the accuracy of image formation, improve user experience, and avoid mutually exclusive conflicts when setting various methods.
Smart Images

Figure CN120447843A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of image forming technology, and in particular to a data processing method, apparatus, device, storage medium and image forming device. Background Art
[0002] Before starting to print, users are generally required to set printing parameters according to their printing needs. For example, users usually need to click "Print" in the application software, find the corresponding printing parameters, and then set the required parameters to complete the printing parameter settings and complete the printing.
[0003] In some technologies, users may be required to set printing parameters before printing. This allows printing to be performed using the user-set printing parameters. Users can set printing parameters in a variety of ways, such as through application software or the system settings of the printing device. However, when setting these parameters in multiple ways, conflicts may arise, rendering some settings ineffective. This can lead to low accuracy and inconvenience in setting the printing parameters. Summary of the Invention
[0004] In view of this, the present application provides a data processing method, apparatus, device, storage medium and image forming device, so as to solve the problem of low accuracy and inconvenience in setting printing parameters in the prior art.
[0005] In a first aspect, an embodiment of the present application provides a data processing method, applied to a terminal device, the method comprising: Acquire a first print job, where the first print job includes print data information and first print parameter information, and the status of the first print job is a finished status; Based on the first printing parameter information, displaying a printing parameter setting interface; In response to a determination instruction triggered in the printing parameter setting interface, obtaining second printing parameter information from the printing parameter setting interface; A second print job is generated according to the print data information and the second print parameter information, and the second print job is used to be transmitted to an image forming device for performing an image forming operation.
[0006] In a possible implementation of the first aspect, the terminal device includes a print driver module and a print parameter setting module, the first print job is transmitted from the print driver module to the print parameter setting module, and the second print job is transmitted from the print parameter setting module to the print driver module.
[0007] In a possible implementation of the first aspect, the method further includes: In response to a print instruction triggered by a user, a corresponding first print job is determined.
[0008] In a possible implementation of the first aspect, the method further includes: When the printing parameter setting conditions are met, ending the process of the first printing job; Alternatively, when the printing parameter setting condition is not satisfied, the state of the first printing job is maintained as the running state, and the first printing job is used to be transmitted to the image forming device for image forming operation.
[0009] In a possible implementation of the first aspect, displaying a printing parameter setting interface based on the first printing parameter information includes: When the printing parameter setting condition is met, the printing parameter setting interface is displayed based on the first printing parameter information.
[0010] In a possible implementation manner of the first aspect, the printing parameter setting interface includes at least one printing option, and setting information of the printing option is used to indicate the first printing parameter information and / or the second printing parameter information.
[0011] In a possible implementation of the first aspect, displaying a printing parameter setting interface based on the first printing parameter information includes: Determining setting information of printing options with associated conflicts based on the preset printing parameter association information and the first printing parameter information; Updating the setting information of the printing option with associated conflicts, or generating setting prompt information corresponding to the printing option with associated conflicts; The print parameter setting interface is displayed.
[0012] In a possible implementation of the first aspect, the method further includes: In response to a setting operation of a print option in the print parameter setting interface, updating setting information of other print options in the print parameter setting interface that are mutually associated with the set print option; or, The setting prompt information of other printing options associated with the printing option is displayed in the printing parameter setting interface.
[0013] In a possible implementation manner of the first aspect, the method further includes: in response to a setting operation of a print option in the print parameter setting interface, displaying a setting effect of the print option in the print parameter setting interface.
[0014] In a possible implementation of the first aspect, the printing parameter setting interface includes an image forming device option, where the image forming device option is used to determine a target image forming device; and the method further includes: In response to a selection operation of the image forming device option in the printing parameter setting interface, the printing parameter setting interface corresponding to the determined target image forming device is displayed.
[0015] In a possible implementation of the first aspect, the printing parameter setting interface further includes a restore default value option; and the method further includes: In response to a selection operation of the restore default value option in the printing parameter setting interface, each printing option in the printing parameter setting interface is set to a preset value.
[0016] In a possible implementation of the first aspect, the printing parameter setting interface further includes a template option, and the template option is used to determine a preset printing option template; the method further includes: In response to a selection operation on the template option in the printing parameter setting interface, each printing option in the printing parameter setting interface is set to a value corresponding to each printing option in the preset printing option template.
[0017] In a second aspect, an embodiment of the present application provides a data processing device, including: an acquiring module, configured to acquire a first print job, wherein the first print job includes print data information and first print parameter information, and the status of the first print job is a finished status; A display module, configured to display a printing parameter setting interface based on the first printing parameter information; a response module, configured to obtain second printing parameter information from the printing parameter setting interface in response to a determination instruction triggered in the printing parameter setting interface; A generating module is used to generate a second printing job according to the printing data information and the second printing parameter information, and the second printing job is used to be transmitted to the image forming device for image forming operation.
[0018] In a third aspect, an embodiment of the present application provides an image forming device, which is used to perform an image forming operation after receiving a second print job, wherein the second print job is obtained according to the method described in any one of the first aspects above.
[0019] In a fourth aspect, an embodiment of the present application provides an electronic device comprising a memory for storing computer program instructions and a processor for executing the program instructions, wherein when the computer program instructions are executed by the processor, the electronic device executes any one of the methods described in the first aspect above.
[0020] In a fifth aspect, an embodiment of the present application provides a computer-readable storage medium, which includes a stored program, wherein when the program is running, the device where the computer-readable storage medium is located is controlled to execute any method described in the first aspect above.
[0021] Using the solution provided in an embodiment of the present application, in order to allow a user to confirm print parameter information before an image formation operation, a first print job can be obtained, which includes print data information and first print parameter information, and the status of the first print job can be set to a completed state. In this completed state, the first print job does not directly undergo image formation processing. Instead, a print parameter setting interface can be displayed based on the first print parameter information in the first print job, allowing the user to confirm or reconfigure the print parameters within the print parameter setting interface. After the user completes the parameter setting, in response to a confirmation instruction triggered by the user within the print parameter setting interface, second print parameter information can be obtained from the print parameter setting interface, a second print job can be regenerated based on the print data information and the second print parameter information, and the second print job can be transmitted to the image forming device for image formation. In this manner, the image formation operation of the print data information can be performed according to the user's settings. In this embodiment of the present application, the print parameter setting interface can be displayed before the image formation operation, allowing the user to set the print parameters within the print parameter device interface. This allows the image forming device to perform the image formation operation based on the print data information according to the second print parameter information determined by the user, thereby ensuring image formation accuracy and improving the user experience. In the embodiment of the present application, mutual exclusion conflicts when setting printing parameters by multiple methods can be avoided, thereby causing inaccurate first printing parameter information, thereby improving the accuracy and convenience of printing parameter setting and further improving user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following is a brief introduction to the drawings required for use in the embodiments. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.
[0023] Figure 1 A flowchart of a data processing method provided in an embodiment of the present application; Figure 2 A schematic diagram of a printing parameter setting interface provided in an embodiment of the present application; Figure 3A flowchart of another data processing method provided in an embodiment of the present application; Figure 4 A flowchart of another data processing method provided in an embodiment of the present application; Figure 5 A flowchart of another data processing method provided in an embodiment of the present application; Figure 6 A flowchart of another data processing method provided in an embodiment of the present application; Figure 7 A flowchart of another data processing method provided in an embodiment of the present application; Figure 8 A schematic diagram of the structure of a data processing device provided in an embodiment of the present application; Figure 9 A schematic diagram of the structure of another data processing device provided in an embodiment of the present application; Figure 10 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0024] In order to better understand the technical solution of the present application, the embodiments of the present application are described in detail below with reference to the accompanying drawings.
[0025] It should be clear that the embodiments described are only part of the embodiments of this application, not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application.
[0026] The terms used in the embodiments of the present application are for the purpose of describing specific embodiments only and are not intended to limit the present application. The singular forms "a", "an", "the" and "the" used in the embodiments of the present application and the appended claims are also intended to include plural forms unless the context clearly indicates otherwise.
[0027] It should be understood that the term "and / or" as used herein simply describes a relationship between associated objects, indicating that three possible relationships exist. For example, "A and / or B" can represent: A alone, A and B together, or B alone. Furthermore, the character " / " in this document generally indicates an "or" relationship between the associated objects.
[0028] Before starting printing, users are generally required to set printing parameters based on their printing needs. For example, users typically click "Print" in the application software, find the corresponding printing parameters, and then set the required parameters to complete the printing parameter settings and print. Users can set printing parameters in a variety of ways, such as through the application software or the system settings of the printing device. However, these multiple settings may conflict with each other.
[0029] Typically, the driver manufacturer of a printing device provides a PostScript Printer Description (PPD) file corresponding to the printing device. Information such as the printing device's parameters can be obtained through the PPD file. Computer system tools or application software then provide a print parameter setting interface based on the PPD file.
[0030] The Common UNIX Printing System (CUPS) provides users with a reliable and effective method for managing the printing process, effectively addressing the numerous printing restrictions imposed by Unix / Linux platforms. Therefore, commonly used Linux-based computer operating systems generally support CUPS. However, due to design flaws in the CUPS printing architecture, the print parameter setting interface lacks a print preference interface. Furthermore, application software on domestic operating systems rarely provides a print preference interface.
[0031] In some embodiments, a printing device preference setting tool is provided to facilitate user printing. Users can use this tool to set printing parameters, and the user-set printing parameters can be used as the default parameters for the printing device. This allows printing to be performed using the printing parameters set by the user in the printing device preference setting tool. However, users can set printing parameters not only through the printing device preference setting interface, but also through application software or the computer's system settings. This can lead to issues where printing parameters set through other interfaces may become out of sync with the printing parameters cached in the printing device preference setting tool. For example, after a user sets printing parameters in the system settings, these settings may not be synchronized with the printing parameters cached in the printing device preference setting tool. Consequently, the cached printing parameters in the printing device preference setting tool may not meet the user's requirements, requiring the user to reset the printing parameters in the printing device preference setting tool. Furthermore, when setting printing parameters through multiple methods, there is a possibility of conflicting settings, making the printing parameters set through some methods ineffective, resulting in low accuracy and inconvenience in setting the printing parameters.
[0032] To address the above-mentioned issues, embodiments of the present application provide a data processing method, apparatus, device, storage medium, and image forming device. The method specifically comprises: obtaining a first print job, the first print job including print data information and first print parameter information, the first print job being in a completed state; displaying a print parameter setting interface based on the first print parameter information; obtaining second print parameter information from the print parameter setting interface in response to a determination instruction triggered in the print parameter setting interface; and generating a second print job based on the print data information and the second print parameter information, the second print job being used to be transmitted to the image forming device for image forming operations. Thus, in embodiments of the present application, a first print job including print data information and first print parameter information is obtained. At this point, the first print job can be initially placed in a completed state, and then the print parameter setting interface can be displayed based on the first print parameter information in the first print job, so that a user can confirm or re-set the print parameters in the print parameter setting interface. After the user completes the parameter setting, in response to a confirmation instruction triggered by the user in the print parameter setting interface, the second print parameter information can be obtained from the print parameter setting interface, and the second print job can be regenerated based on the print data information and the second print parameter information, and the second print job can be transmitted to the image forming device for image forming operation. In this way, the image forming operation of the print data information can be performed according to the user settings. In an embodiment of the present application, the print parameter setting interface can be displayed before the image forming operation is performed, and the user sets the print parameters in the print parameter device interface so that when the image forming device performs the image forming operation on the print data information, the image forming operation can be performed according to the second print parameter information determined by the user, thereby ensuring the accuracy of the image formation and improving the user experience. In addition, in an embodiment of the present application, it is possible to avoid mutual exclusion conflicts when setting print parameters by multiple methods, thereby avoiding the situation where the first print parameter information is inaccurate, thereby improving the accuracy and convenience of the print parameter setting and further improving the user experience. The following is a detailed description.
[0033] See also Figure 1 , is a flow chart of a data processing method provided in an embodiment of the present application. The above method is applied to a terminal device. The terminal device may be a mobile phone, a tablet computer, a personal computer (PC), a personal digital assistant (PDA), a smart watch, a netbook, a wearable electronic device, etc. It should be noted that in some possible implementations, the terminal device may also be referred to as an electronic device, a user device, etc., which is not limited in the embodiment of the present application. Figure 1 As shown, the method includes: Step S101: Obtain a first print job.
[0034] The first print job includes print data information and first print parameter information, and the status of the first print job is a finished status.
[0035] Print data refers to the content to be printed, including text, images, and other data that needs to be output to paper. Print parameter information refers to the settings and options that control the printing process and is used to define how the print data information is output to paper, such as page size, paper type, and printing orientation.
[0036] In an embodiment of the present application, before a user needs to perform an image forming operation on a print job, the terminal device can obtain a first print job that the user needs to perform image forming processing. The first print job includes print data information and first print parameter information. In some embodiments, the first print parameter information can be default print parameter information set when the first print job is generated. In other embodiments, the first print parameter information can be print parameter information pre-set by the user when the first print job is generated. Of course, the first print parameter information can also be determined by other means, such as through application software or computer system settings, and the embodiments of the present application are not limited to this.
[0037] Step S102: displaying a printing parameter setting interface based on the first printing parameter information.
[0038] The print parameter setting interface is a graphical interface for the user to interact with the terminal device, through which the user can set the print parameters of the print job.
[0039] In an embodiment of the present application, the status of the first print job is set to the end state, and image formation processing is not directly performed on the first print job, but a second print job is regenerated. In order to perform image formation processing of the print data information according to user requirements, a print parameter setting interface can be displayed before regenerating the second print job so that the user can reset the print parameters in the print parameter setting interface. Based on this, after obtaining the first print job, the first print job can be parsed to obtain the first print parameter information in the first print job, and the print parameter setting interface can be displayed based on the first print parameter information. The first print parameter information is displayed in the print parameter setting interface. That is, when the print parameter setting interface is displayed, the value of the corresponding print parameter in the print parameter setting interface can be displayed as the value recorded in the first print parameter information based on the first print parameter information.
[0040] For example, the first printing parameter information includes the setting value of printing parameter a and the setting value of printing parameter b. Assume that the value of printing parameter a in the first printing parameter setting information is a1, and the value of printing parameter b is b1. The terminal device can obtain the first printing parameter information in the first print job and display a printing parameter setting interface based on the first printing parameter information. In the printing parameter setting interface, the value of printing parameter a is displayed as a1, and the value of printing parameter b is displayed as b1.
[0041] In some technologies, users can set preferred printing parameters through application software or printing device preference setting tools. Preferred printing parameters set in different ways are difficult to synchronize or save, which causes inconvenience to users. In order to solve this problem, in an embodiment of the present application, a printing parameter setting interface can be provided. Before performing image formation operations on the print job, the printing parameter setting interface is displayed, and the user sets the printing parameters in the printing parameter setting interface. In order to display the printing parameter setting interface only in scenarios where the user needs to set printing parameters, and not display the printing parameter setting interface in scenarios where the user does not need to set printing parameters, the printing parameter setting conditions can be pre-set to trigger the display of the printing parameter setting interface, so as to reduce data processing time and improve image formation processing efficiency. At this time, the above-mentioned display of the printing parameter setting interface based on the first printing parameter information includes: When the printing parameter setting condition is met, a printing parameter setting interface is displayed based on the first printing parameter information.
[0042] The printing parameter setting condition is a condition that is preset and displays the printing parameter setting interface before performing an image forming operation on the print job.
[0043] In an embodiment of the present application, after acquiring a first print job, the terminal device can detect whether a print parameter setting condition is satisfied. If so, it indicates that a print parameter setting interface needs to be displayed before performing an image formation operation on the print job in order to obtain the second print parameter information. In this case, upon detecting that the print parameter setting condition is satisfied, the terminal device can display the print parameter setting interface based on the first print parameter information, so that the user can determine the required print parameter information in the print parameter setting interface. By setting the print parameter setting condition, the print parameter setting interface is prevented from being displayed even when the user does not need to set print parameters, thereby reducing data processing time and improving image formation processing efficiency.
[0044] As a possible implementation manner, the printing parameter setting condition includes that the printing parameter setting interface is set to be displayed before the image forming operation is performed and / or the process of the printing parameter setting interface is in a running state.
[0045] For ease of implementation, the printing parameter setting condition may be set to include the printing parameter setting interface being set to be displayed before the image forming operation is performed and / or the process of the printing parameter setting interface being in an operating state. Thus, whether the printing parameter setting condition is satisfied can be determined by detecting whether the printing parameter setting interface is set to be displayed before the image forming operation is performed and / or whether the process of the printing parameter setting interface is in an operating state.
[0046] When the printing parameter setting condition includes that the printing parameter setting interface is set to be displayed before the image forming operation, it can be determined by detecting setting information of the printing parameter setting interface whether the printing parameter setting interface is set to be displayed before the image forming operation.
[0047] When the printing parameter setting condition includes that the process of the printing parameter setting interface is in a running state, whether the process of the printing parameter setting interface is in a running state can be determined by detecting the currently running process information or by checking the log information.
[0048] When the printing parameter setting condition only includes that the printing parameter setting interface is set to be displayed before the image forming operation is performed, if it is detected that the printing parameter setting interface in the terminal device is set to be displayed before the image forming operation is performed, it can be determined that the printing parameter setting condition is met; otherwise, it can be determined that the printing parameter setting condition is not met.
[0049] When the printing parameter setting condition only includes that the process of the printing parameter setting interface is in the running state, if it is detected that the process of the printing parameter setting interface is in the running state, it can be determined that the printing parameter setting condition is met; otherwise, it can be determined that the printing parameter setting condition is not met.
[0050] When the printing parameter setting conditions include that the printing parameter setting interface is set to be displayed before the image forming operation is performed and the process of the printing parameter setting interface is in an operating state, if it is detected that the printing parameter setting interface is set to be displayed before the image forming operation and the process of the printing parameter setting interface is in an operating state, it can be determined that the printing parameter setting conditions are met. Otherwise, it can be determined that the printing parameter setting conditions are not met.
[0051] Displaying the print parameter setting interface and keeping the process of the print parameter setting interface running before performing an image forming operation can be preset by the user. In some embodiments, to facilitate user settings, a corresponding option can be provided on the print parameter setting interface, allowing the user to select whether to display the print parameter setting interface and keep the process of the print parameter setting interface running before performing an image forming operation. When setting up for the first time, the user can open the print parameter setting interface from the corresponding portal of the terminal device and make the corresponding settings in the print parameter setting interface.
[0052] In some embodiments, as Figure 2 As shown, the print parameter setting conditions include the print parameter setting interface being set to display before image formation and the process of the print parameter setting interface being in the running state. Corresponding options can be provided in the print parameter setting interface, namely, the options of "Display the print parameter setting interface before image formation" and "Keep in background running state" in the figure. If the user needs to set the print parameter setting conditions to be met, "Display the print parameter setting interface before image formation" and "Keep in background running state" can be selected simultaneously in the print parameter setting interface.
[0053] In other embodiments, to reduce the complexity of user settings, the user may select only one of the options: "Display the print parameter setting interface before performing an image formation operation" or "Keep the system running in the background." The two options are interrelated. When the user selects either "Display the print parameter setting interface before performing an image formation operation" or "Keep the system running in the background," the terminal device may automatically select the other option, thereby achieving automatic association. For example, if the user only selects "Display the print parameter setting interface before performing an image formation operation," the terminal device may also select "Keep the system running in the background."
[0054] In some embodiments, the print parameter setting interface includes at least one print option, and the setting information of the print option is used to indicate the first print parameter information and / or the second print parameter information.
[0055] That is, the print parameter setting interface may include at least one print option, and the first print parameter information and / or the second print parameter information may be represented by the setting information of the print option. Thus, the user can adjust the first print parameter information and obtain the second print parameter information by adjusting the setting information of the print option in the print parameter setting interface. Using the print option method to set print parameters can improve the simplicity of print parameter setting and thus enhance the user experience.
[0056] As a possible implementation, based on the first printing parameter information, a printing parameter setting interface is displayed, including: The method further comprises: determining setting information of the conflicting print options based on the preset print parameter association information and the first print parameter information, updating the setting information of the conflicting print options, or generating setting prompt information corresponding to the conflicting print options, and displaying a print parameter setting interface.
[0057] The first printing parameter information is used to define how to output the first printing data information onto paper, such as page size, paper type, printing direction, etc. The print option is used to represent the first printing parameter information through its setting information in the printing parameter setting interface.
[0058] In an embodiment of the present application, in order to reduce the complexity of user operations and reduce conflicts between print parameters, print parameter association information can be pre-set. After obtaining the first print parameter information, the setting information of the mutually associated print options in the print options representing the first print parameter information can be determined based on the preset print parameter association information. In the print options of the print parameter setting interface, the setting information of the print options used to represent the first print parameter information may have associated conflicts. This is because the first print parameter information set by the user can be set in a variety of ways, such as by a preference setting tool in an application software or a terminal device. When the first print parameter information set in different ways is not synchronized, the associated print parameter information in the first print parameter information may conflict, thereby resulting in the setting information of the print options with associated conflicts. Alternatively, when the user sets the first print parameter information according to their own needs, there may be a setting error, resulting in the conflicting print parameter information associated in the first print parameter information. In this case, the setting information of the print options used to represent the first print parameter information may also have associated conflicting settings. Based on this, after determining the mutually associated print option setting information within the print options representing the first print parameter information based on the preset print parameter association information and the first print parameter information, it is possible to detect whether there is any conflicting relationship within the print option setting information representing the first print parameter information. If it is determined that there is conflicting relationship within the print option setting information, the terminal device can automatically update the conflicting relationship within the print option setting information so that the updated print option setting information does not conflict with the associated print option setting information, and then display the print parameter setting interface. The displayed print parameter setting interface includes the updated print option setting information, meaning that the print option setting information displayed within the displayed print parameter setting interface does not conflict.
[0059] In some embodiments, to reduce the occurrence of conflicts between the settings of associated print options when the user sets print parameter information and to clarify the settings of the print options updated by the terminal device, a first prompt message may be displayed in the displayed print parameter setting interface. The first prompt message is used to describe the modification made by the terminal device to the settings of the print options with associated conflicts, so that the user can understand the modification made by the terminal device and how to set the settings of the associated print options based on the first prompt message.
[0060] Alternatively, the terminal device does not automatically update the setting information of the printing options with associated conflicts, but generates setting prompt information corresponding to the printing options with associated conflicts, so that the user can modify the setting information of the printing options with associated conflicts according to the setting prompt information and display the printing parameter setting interface.
[0061] The displayed print parameter setting interface includes setting prompt information so that users can modify the settings of conflicting print options based on the setting prompt information. Thus, when conflicting print option settings exist, users can modify the corresponding print option settings based on the setting prompt information, reducing the complexity of modifying print option settings and further improving the user experience.
[0062] Alternatively, if it is determined that the setting information of the associated printing options does not conflict, the first printing parameter information is displayed in the printing parameter setting interface when the printing parameter setting interface is displayed.
[0063] refer to Figure 2 For example, the first printing parameter information includes information for enabling booklet mode, and the preset printing parameter association information records that booklet mode and duplex printing are associated with each other. When booklet mode is enabled, duplex printing should be set to short-edge duplex. In the printing parameter setting interface, the "Booklet" option can indicate the booklet mode setting information, and the "Duplex Print" option can indicate the duplex printing setting information. In this case, the terminal device can determine, based on the preset printing parameter association information, that the associated printing options representing the first printing parameter information include the "Booklet" and "Duplex Print" options, and that the setting information for the "Booklet" option is that booklet mode is enabled, while the setting information for the "Duplex Print" option is short-edge duplex. Because the first printing parameter information only includes information for enabling booklet mode and does not record the setting information for the "Duplex Print" option, the terminal device can determine that the printing option representing the first printing parameter information is the "Booklet" option, which does not conflict with the setting information for the "Duplex Print" option in the associated printing options. Therefore, the terminal device can display the printing parameter setting interface, and when displaying the printing parameter setting interface, the printing option "Booklet" is set to on, and the printing option "Duplex Printing" is set to display on both sides of the short edge.
[0064] Alternatively, if the first printing parameter information includes information for enabling booklet mode and duplex printing as long-edge, since the preset printing parameter association information records that booklet mode and duplex printing are associated, and when booklet mode is enabled, duplex printing should be set to short-edge. In the printing parameter setting interface, the "Booklet" option can indicate information for enabling booklet mode, and the "Duplex Print" option can indicate setting information for duplex printing. In this case, the terminal device can determine, based on the preset printing parameter association information, that the printing options representing the first printing parameter information are associated with each other, including the "Booklet" and "Duplex Print" options, and that the setting information for the "Booklet" option is that booklet mode is enabled, while the setting information for the "Duplex Print" option is that short-edge. Since the first printing parameter information records that booklet mode is enabled and duplex printing is long-edge, the terminal device can determine that the setting information for the associated printing options conflicts. The terminal device can update the setting information for the conflicting printing option, for example, by updating the setting information for the "Booklet" option to off. That is, the "Booklet" option is set to Off, and the "Duplex Print" option is set to Duplex Long Edge. Alternatively, the terminal device can update the "Duplex Print" option to Duplex Short Edge. That is, the "Booklet" option is set to On, and the "Duplex Print" option is set to Duplex Short Edge. The terminal device displays the print parameter setting interface, which displays the updated print option settings.
[0065] Alternatively, the terminal device does not automatically modify the setting information of the conflicting print options, but instead generates setting prompt information corresponding to the conflicting print options. For example, the setting prompt information describes updating the setting information of the "Booklet" option to off. Alternatively, the setting information of the "Duplex Print" option is updated to double-sided short edge. The terminal device displays a print parameter setting interface, and displays the setting prompt information on the print parameter setting interface so that the user can modify the setting information of the conflicting print options according to the setting prompt information.
[0066] In some embodiments, the preset printing parameter association information records the priority of the printing parameters. When there is a conflict between associated printing parameters, the printing parameter with the higher priority is used as a reference to determine the setting information of the printing options representing the conflicting printing parameters in the printing parameter information. For example, the first printing parameter information includes information that booklet mode is enabled and duplex printing is set to duplex long edge. The preset printing parameter association information records that booklet mode and duplex printing are associated with each other, and when booklet mode is enabled, duplex printing should be set to duplex short edge. The priority of booklet mode is higher than that of duplex printing. Therefore, based on the preset printing parameter association information, the terminal device can determine that the printing options "Booklet" and "Duplex Print" are associated with each other, and based on the enabling of booklet mode, duplex printing should be set to duplex short edge. When displaying the printing parameter setting interface, the terminal device can set the setting information of the printing option "Booklet" to enabled and update the setting information of the printing option "Duplex Print" to display duplex short edge.
[0067] In this way, the setting information of printing options with associated conflicts is automatically updated, or the user is prompted on how to modify it, which reduces the possibility of setting conflicts between printing options. At the same time, it avoids parameter conflicts when users set printing options, which are difficult for users to resolve, and improves the simplicity of printing option settings, thereby improving the user experience.
[0068] Step S103: In response to a determination instruction triggered in the printing parameter setting interface, obtain second printing parameter information from the printing parameter setting interface.
[0069] The confirm instruction is used to confirm the currently set printing parameters after the user completes the setting or verification in the printing parameter setting interface.
[0070] In an embodiment of the present application, since the first printing parameter information is displayed in the printing parameter setting interface, the user can obtain the first printing parameter information through the printing parameter setting interface displayed by the terminal device. If the user needs to adjust the printing parameter information, the corresponding adjustment can be made in the printing parameter setting interface, and after the adjustment is completed, the confirmation instruction can be triggered in the printing parameter setting interface. Alternatively, if the user does not need to adjust the first printing parameter information displayed in the printing parameter setting interface, the confirmation instruction can be triggered directly in the printing parameter setting interface. For example, the "OK" control in the printing parameter setting interface can be clicked. In response to the confirmation instruction triggered in the printing parameter setting interface, the terminal device can use the parameter information displayed in the printing parameter setting interface as the second printing parameter information, that is, obtain the second printing parameter information in the printing parameter setting interface. In this way, the printing parameter information set by the user can be obtained.
[0071] In some embodiments, after the print parameter setting interface is displayed, the user can determine the current print parameter information based on the print option settings in the print parameter setting interface. If the user determines that the print option settings in the print parameter setting interface do not need to be modified, the user can directly trigger a confirmation instruction in the print parameter setting interface, and the terminal device can obtain second print parameter information based on the print option settings in the print parameter setting interface. Since the user has not modified the print option settings in the print parameter setting interface, the second print parameter information obtained by the terminal device is the same as the first print parameter information.
[0072] In other embodiments, if the user determines that the setting information of the print options in the print parameter setting interface needs to be modified, the setting information of the print options in the print parameter setting interface can be adjusted. For example, when there is setting information of print options with associated conflicts, the user can modify the setting information of the print options according to the setting prompt information. Alternatively, the user can adjust the setting information of the print options in the print parameter setting interface according to their actual needs. After adjusting the setting information of the print options in the print parameter setting interface, a confirmation instruction is triggered in the print parameter setting interface, and the terminal device can obtain second print parameter information based on the setting information of the print options in the print parameter setting interface. At this time, since the user adjusted the setting information of the print options in the print parameter setting interface, the second print parameter information obtained is different from the first print parameter information.
[0073] In other embodiments, if a user adjusts the settings of a print option in a print parameter setting interface, the adjusted settings of the print option may conflict with the settings of an associated print option. Upon detecting that the adjusted settings of the print option conflict with the settings of an associated print option, the terminal device may display a second prompt in the print parameter setting interface. The second prompt prompts the user to modify the settings of the print option with the conflict. The second prompt may include information on how to modify the settings of the print option with the conflict. In this way, the user can modify the settings of the print option in the print parameter setting interface according to the second prompt to resolve the conflict between the settings of the associated print options. After the user completes modifying the settings of the print option in the print parameter setting interface, a confirmation instruction may be triggered in the print parameter setting interface, causing the terminal device to obtain second print parameter information based on the settings of the print option in the print parameter setting interface. In this case, because the user adjusted the settings of the print option in the print parameter setting interface, the obtained second print parameter information differs from the first print parameter information.
[0074] Step S104: Generate a second print job according to the print data information and the second print parameter information.
[0075] The second print job is used to be transmitted to an image forming device for image forming operation. Image forming operation refers to the process of converting electronic data into visible images by an image forming device such as a printer, copier, fax machine, etc.
[0076] In an embodiment of the present application, after determining the second print parameter information, a second print job can be generated based on the print data information and the second print parameter information. In this way, the second print parameter information in the second print job is set according to the user's preferences and meets the user's printing needs. The terminal device can transmit the second print job to the image forming device so that the image forming device can perform an image forming operation on the second print job.
[0077] In an embodiment of the present application, a print parameter setting interface can be displayed after acquiring a first print job and before performing an image formation operation, facilitating user setting of print parameters, ensuring printing accuracy, and improving the user experience. Furthermore, by re-initiating the image formation operation based on the second print parameter information set by the user, it is possible to avoid mutually exclusive conflicts when setting print parameters by multiple methods, thereby avoiding situations where the first print parameter information is inaccurate, thereby improving the accuracy and convenience of print parameter setting and further enhancing the user experience. Furthermore, preset print parameter association information can be used to determine the setting information of mutually related print options, avoiding parameter setting conflicts when the user sets print options, improving the simplicity of print parameter setting, and enhancing the user experience.
[0078] As a possible implementation, Figure 3 As shown, the above method also includes: Step S105 : In response to the print instruction triggered by the user, determine the corresponding first print job.
[0079] In an embodiment of the present application, when a user needs to print a print job on a terminal device, the user can trigger a print instruction on the terminal device. In some embodiments, the user can trigger the print instruction through application software on the terminal device. In this case, the terminal device obtains the corresponding first print job in response to the print instruction triggered by the user.
[0080] In some embodiments, a print instruction may include a first print job, and the terminal device may obtain the first print job by parsing the print instruction. The first print job includes print data information and first print parameter information. The print data information is the data information required for image formation. The first print parameter information may be parameter information for print options set by the user in the application software. In other embodiments, the terminal device may obtain the print data information directly from the application software, obtain the print data information from other devices, or obtain the print data information from a storage device. Of course, the terminal device may also obtain the print data information in other ways, which are not limited in the embodiments of the present application.
[0081] In some embodiments, the terminal device may also use the default printing parameter information in the printing data information as the first printing parameter information, thereby determining the first printing job.
[0082] In an embodiment of the present application, after a print instruction is triggered by a user, a corresponding first print job is determined so that a print parameter setting interface can be subsequently displayed according to the first print job, or an image forming operation can be performed on the first print job.
[0083] As a possible implementation, after determining the first print job, the terminal device can determine whether the image forming operation can be performed on the first print job by detecting whether the print parameter setting conditions are met. When it is detected that the print parameter setting conditions are met, it means that the user may need to reset the print parameters of the first print job, and step S106a can be executed at this time. When it is detected that the print parameter setting conditions are not met, it means that there is no need to reset the print parameters of the first print job, and step S106b can be executed. Figure 4 As shown, the above method also includes: Step S106a: When the printing parameter setting conditions are met, the process of the first printing job is ended.
[0084] In the embodiment of the present application, after the terminal device determines the first print job, it can determine whether the user needs to adjust the print operation of the first print job by detecting whether the print parameter setting conditions are met. The process of the terminal device detecting whether the print parameter setting conditions are met can be referred to step S103 and will not be repeated here.
[0085] When the terminal device detects that the printing parameter setting conditions are met, it indicates that the user may need to adjust the first printing parameter information of the first print job, and the process of the first print job can be terminated first, and the image forming operation of the first print job is temporarily not performed.
[0086] In an embodiment of the present application, when the printing parameter setting conditions are met, that is, the user may need to adjust or confirm the printing parameters, by ending the process of the first printing job, it is avoided that the first printing parameter information in the first printing job does not meet the user's needs, resulting in invalid jobs, thereby improving job efficiency.
[0087] It should be understood that after the terminal device finishes the process of the first print job, it can display a print parameter setting interface so that the user can adjust the print parameters in the print parameter setting interface.
[0088] Step S106b: When the printing parameter setting condition is not satisfied, the state of the first printing job is kept in the running state.
[0089] The first print job is used to be transmitted to the image forming device for image forming operation.
[0090] In an embodiment of the present application, when the terminal device detects that the print parameter setting conditions are not met, the terminal device can perform an image forming operation on the first print job without adjusting the first print parameter information in the first print job. Based on this, the terminal device can maintain the running status of the first print job so that the first print job can be transmitted to the image forming device for image forming operation. The image forming device can perform an image forming operation on the print data information according to the first print parameter information in the first print job.
[0091] In an embodiment of the present application, when the printing parameter setting conditions are not met, that is, the user does not need to adjust or determine the printing parameters, the first printing job is ensured to proceed normally by maintaining the status of the first printing job in the running state.
[0092] As a possible implementation, after the print parameter setting interface is displayed in step S103, the user can set the print options in the print parameter setting interface. The print parameter setting interface includes print options. Figure 5 As shown, the above method also includes: Step S107: In response to the setting operation of the print option in the print parameter setting interface, update the setting information of other print options associated with the set print option in the print parameter setting interface. Alternatively, display setting prompt information of other print options associated with the print option in the print parameter setting interface.
[0093] In an embodiment of the present application, after the print parameter setting interface is displayed, the print parameter setting interface includes print options. If the user needs to adjust the setting information of the print options, the user can trigger a setting operation for the print options in the print parameter setting interface. In response to the setting operation for the print option in the print parameter setting interface, the terminal device can update the setting information of the print option. When there are associated print options for the print option, if the setting information of the print option is modified, the setting information of the corresponding associated print options can also be adjusted accordingly. The terminal device can automatically update the setting information of other print options that are mutually associated with the print option in the print parameter setting interface based on the updated setting information of the print option. Alternatively, the terminal device may not update the setting information of other print options that are mutually associated with the set print option in the print parameter setting interface, but instead generate setting prompt information of other print options that are mutually associated with the print option based on the updated setting information of the print option. The setting prompt information of other printing options that are mutually associated with the printing option is displayed in the printing parameter setting interface so that the user can update the setting information of other printing options associated with the printing option in the printing parameter setting interface accordingly according to the setting prompt information of other printing options that are mutually associated with the printing option, so as to avoid conflict between the setting information of the printing option and the setting information of other associated printing options.
[0094] For example, reference Figure 2 As shown, the user selects the setting information of the printing option "Booklet" as on in the printing parameter setting interface. At this time, the effect picture after the booklet mode is turned on can be displayed, and the setting prompt information of the printing option "Duplex Printing" associated with "Booklet" can be displayed, so that the user can better select and set each printing option, reduce the complexity of the printing option setting, reduce the possibility of conflict in the setting information of the printing option when the user sets the printing option, and improve the user experience.
[0095] As a possible implementation, refer to Figure 5 As shown, the above method also includes: Step S108 : In response to the setting operation of the print option in the print parameter setting interface, the setting effect of the print option is displayed in the print parameter setting interface.
[0096] In an embodiment of the present application, in order to more clearly let the user know the different printing effects corresponding to the different setting information of each print option in the print parameter setting, the setting effect of each print option in the print parameter setting interface can be pre-set. In this way, after the print parameter setting interface is displayed, if the user performs a setting operation on the print option, such as clicking on the print option, or modifying the setting information of the print option, the setting effect of the pre-set print option can be displayed in the print parameter setting interface according to the setting information of the print option. In this way, in the print parameter setting interface, when the user performs a setting operation on the print option, the setting effect of the print option can be displayed, for example, a dynamic effect diagram of the setting of the print option can be displayed. This allows the user to better select and set each print option, reduces the complexity of the print option setting, reduces the possibility of conflicting print option settings when the user sets the print option, and improves the user experience.
[0097] In some embodiments, when the printing parameter setting conditions are met and the printing parameter setting interface is displayed based on the first printing parameter information, the setting effects of the printing options can also be displayed in the printing parameter setting interface, for example, the setting effects of the automatically updated printing options with associated conflicts can be displayed.
[0098] In an embodiment of the present application, in the above-mentioned steps S102, S107 and S108, the conflicting printing options can be associated and prompted through the preset printing parameter association information, and the setting effects of the printing options can be displayed, so as to avoid parameter conflicts when the user sets the printing options, which are difficult for the user to resolve. There is no need for the user to manually select, which improves the convenience of parameter setting of the printing options. At the same time, after the user selects a certain printing option, the setting effect of the printing option is displayed to facilitate the user to judge whether it meets the needs, thereby improving the user experience.
[0099] As a possible implementation method, the print parameter setting interface also includes a restore default value option. Figure 5 As shown, the above method also includes: Step S109 : in response to the user selecting the restore default value option in the print parameter setting interface, each print option in the print parameter setting interface is set to a preset value.
[0100] In an embodiment of the present application, a default value can be pre-set for each print option in the print parameter setting interface. The default value of each print option can be pre-set by the system or pre-set by the user according to actual needs. For example, the user can also set the setting value of his or her preferred print option as the default value. After the print parameter setting interface is displayed, the print parameter setting interface includes a restore default value option. At this time, if the user wishes to restore the parameter value of the print option in the print parameter setting interface to the default value, the user can directly select the restore default value operation, such as clicking, and the terminal device can restore the parameter value of the print option in the print parameter setting interface to the default value, thereby simplifying the user's operation and further improving the user experience.
[0101] As a possible implementation, the print parameter setting interface includes an image forming device option, which is used to determine the target image forming device. Figure 6 As shown, the method further includes: Step S110 : In response to the selection operation of the image forming device option in the printing parameter setting interface, the printing parameter setting interface corresponding to the determined target image forming device is displayed.
[0102] In an embodiment of the present application, the printing options included in the printing parameter setting interface corresponding to different image forming devices may be different. Furthermore, the option of displaying the printing parameter setting interface before the image forming operation can be set for different image forming devices. In this way, the user can choose whether to display the printing parameter setting interface before the image forming operation for different image forming devices. Furthermore, the user can also set different preferred printing parameters for different image forming devices. Based on this, the image forming device option is included in the printing parameter setting interface. In this way, the user can select the target image forming device in the printing parameter setting interface, and the terminal device responds to the selection operation of the image forming device option in the printing parameter setting interface, uses the image forming device selected by the user as the target image forming device, and displays the printing parameter setting interface corresponding to the target image forming device, so that the user can set the printing parameter information corresponding to the target image forming device.
[0103] In some embodiments, the printing parameters included in the printing parameter setting interfaces corresponding to different image forming devices may be the same.
[0104] In other embodiments, the printing parameters included in the printing parameter setting interface corresponding to different image forming devices may be different, so that the user can select different preferred printing parameters for different image forming devices.
[0105] As a possible implementation method, the printing parameter setting interface also includes a template option, which is used to determine the preset printing option template. Figure 6 As shown, the method further includes: Step S111 : in response to a selection operation on a template option in the printing parameter setting interface, each printing option in the printing parameter setting interface is set to a value corresponding to each printing option in a preset printing option template.
[0106] In the embodiment of the present application, in order to facilitate the user to set the printing parameters, the printing parameter setting interface also includes a template option, refer to Figure 2 As shown. The print parameter setting interface can include different template options, and for each template option, the values of the various print options in the print option template corresponding to the template option can be pre-set. In this way, when the user needs to use the print parameter values of a certain print option template, they can select the template option in the print parameter setting interface. In response to the selection of the template option in the print parameter setting interface, the terminal device can set the value of each print option in the print parameter setting interface to the value corresponding to each print option in the selected print option template.
[0107] For example, the print parameter setting interface includes a template option, which contains three print option templates: print option template 1, print option template 2, and print option template 3. In response to a user selecting print option template 1 from the template options, the values of each print option in the print parameter setting interface can be set to the corresponding values of each print option in print option template 1. This allows the user to quickly set the values of each print option in the print parameter setting interface, reducing the complexity of setting the print options in the print parameter setting interface.
[0108] It should be understood that, in the embodiment of the present application, the above steps S107 to S111 can be performed according to the actual operation of the user. For example, in the embodiment of the present application, only step S107 can be performed, or only step S108 or step S109 or step S110 or step S111 can be performed, or at least two steps from step S107 to step S111 can be performed, or none of step S107 to step S111 can be performed. Figure 5 and Figure 6 It is only an illustration and is not a limitation on the execution of steps S107 to S111 in the embodiment of the present application, nor is it a limitation on the execution order of steps S107 to S111.
[0109] As one possible implementation, the terminal device includes a print driver module and a print parameter setting module. The print driver module transmits a first print job to the print parameter setting module. The print parameter setting module retrieves a second print job and transmits it to the print driver module, so that the print driver module transmits the second print job to the image forming device.
[0110] The printing driver module is used to convert the printing data information into a page description language supported by the image forming device, and the printing parameter setting module is used to provide a user interface for configuring printing parameters.
[0111] For a clearer explanation, the following describes the interaction process between the print driver module and the print parameter setting module in detail. Figure 7 shown.
[0112] Step S701: In response to a print instruction triggered by a user, the print driver module determines a corresponding first print job.
[0113] Please refer to step S105 for details, which will not be described again here.
[0114] Step S702: The printing driver module detects whether the terminal device meets the printing parameter setting conditions.
[0115] For details, please refer to the process of detecting whether the terminal device meets the printing parameter setting conditions in step S102, which will not be described in detail here.
[0116] The print driver module performs different steps according to different detection results: if it is detected that the printing parameter setting conditions are met, step S703a and step S704 to step S708 are executed; if it is detected that the printing parameter setting conditions are not met, step S703b is executed.
[0117] Step S703a: When the printing parameter setting condition is met, the printing driver module ends the process of the first printing job and transmits the first printing job to the printing parameter setting module. The printing parameter setting module obtains the first printing job.
[0118] In the embodiment of the present application, when the print driver module detects that the terminal device meets the print parameter setting conditions, it indicates that the user needs to confirm the print options before performing image formation processing on the print data information. In this case, the print driver module does not perform image formation processing on the first print job, but instead sends the print data information, image formation device information, and first print parameter information as the first print job to the print parameter setting module. The print driver module ends the first print job, i.e., does not perform image formation processing on the first print job.
[0119] Step S703b: When the printing parameter setting condition is not met, the printing driver module maintains the state of the first printing job in the running state, and transmits the first printing job to the image forming device so that the image forming device performs an image forming operation on the first printing job.
[0120] The first print job is used to be transmitted to the image forming device for image forming operation.
[0121] For details, please refer to step S106b, which will not be described again here.
[0122] Step S704: The printing parameter setting module displays a printing parameter setting interface based on the first printing parameter information.
[0123] For details, please refer to step S102. The relevant content of displaying the setting effect of the printing option in step S108 is not repeated here.
[0124] Step S705 : In response to the determination instruction triggered in the printing parameter setting interface, the printing parameter setting module obtains second printing parameter information from the printing parameter setting interface.
[0125] Please refer to step S103 for details, which will not be described again here.
[0126] Step S706: The printing parameter setting module generates a second printing job according to the printing data information and the second printing parameter information.
[0127] The second print job is used to be transmitted to the image forming device for performing an image forming operation.
[0128] In an embodiment of the present application, after the printing parameter setting module obtains the second printing parameter information in the printing parameter setting interface, it can generate a second printing job according to the printing data information, the image forming device information and the second printing parameter information.
[0129] Step S707: The printing parameter setting module transmits the second printing job to the printing driver module. The printing driver module receives the second printing job.
[0130] In the embodiment of the present application, since the second print job requires the print driver module to transmit to the image forming device, the print parameter setting module cannot directly transmit the second print job to the image forming device. Therefore, the print parameter setting module can transmit the second print job to the print driver module. The print driver module can receive the second print job sent by the print parameter setting module.
[0131] In some embodiments, data transmission between the print parameter setting module and the print driver module can be achieved through inter-process communication technologies such as pipes, shared memory, message queues, etc. It should be understood that data transmission between the print parameter setting module and the print driver module can also be achieved through other means, which are not limited in the embodiments of the present application.
[0132] Step S708 : The printing driver module transmits the second printing job to the image forming device so that the image forming device performs an image forming operation on the second printing job.
[0133] In an embodiment of the present application, after receiving the second print job, the print driver module can parse the second print job and obtain image forming device information from the second print job. Based on the image forming device information, the target image forming device for the second print job can be determined. The print driver module transmits the second print job, including the print data information and the second print parameter information, to the target image forming device, so that the target image forming device can perform corresponding image forming operations on the print data information based on the second print parameter information.
[0134] In some embodiments, the print driver module may also broadcast the second print job to each of its connected image forming devices. Because the second print job includes image forming device information, the image forming device connected to the print driver module can parse the image forming device information in the second print job to determine whether the second print job is intended for it. If so, it can perform corresponding image forming operations on the print data information in the second print job according to the second printing parameter information. If not, it can discard the second print job.
[0135] In this way, through the above method, after the print driver module determines the corresponding first print job and determines that the terminal device meets the print parameter setting conditions, the first print job process can be terminated and the first print job can be transmitted to the print parameter setting module, so that the user can set the second print parameter information in the print parameter setting interface and then initiate the second print job. This avoids the mutual exclusion conflict when setting print parameters by multiple methods, which may lead to inaccurate first print parameter information, ensures that the print parameters meet the user's needs, improves the accuracy and convenience of print parameter setting, and enhances the user experience. Furthermore, through the preset print parameter association information, conflicting print options can be associated and prompted, avoiding parameter conflicts when users set print options and difficult situations for users to resolve, improving the simplicity of print option parameter setting and further improving the user experience.
[0136] As a possible implementation, the terminal device further includes a control module, wherein the control module can control the print driver module and the print parameter setting module to execute the corresponding steps above.
[0137] See also Figure 8 , is a structural diagram of a data processing device provided in an embodiment of the present application. Figure 8 As shown, the data processing device includes: The acquisition module 801 is configured to acquire a first print job.
[0138] The first print job includes print data information and first print parameter information, and the status of the first print job is a finished status.
[0139] The display module 802 is configured to display a printing parameter setting interface based on the first printing parameter information.
[0140] The response module 803 is configured to obtain second printing parameter information from the printing parameter setting interface in response to a determination instruction triggered in the printing parameter setting interface.
[0141] The generating module 804 is configured to generate a second printing job according to the printing data information and the second printing parameter information.
[0142] The second print job is used to be transmitted to the image forming device for performing an image forming operation.
[0143] It should be noted that, in the embodiment of the present application, the acquisition module 801, display module 802, response module 803 and generation module 804 in the above-mentioned data processing device are all used to implement the functions of the printing parameter setting module in the above-mentioned embodiment.
[0144] As a possible implementation, refer to Figure 9 As shown, the above-mentioned data processing device further includes: The processing module 805 is configured to determine a corresponding first print job in response to a print instruction triggered by a user.
[0145] As a possible implementation manner, the processing module 805 is further configured to terminate the process of the first printing job when the printing parameter setting condition is met.
[0146] Alternatively, when the printing parameter setting condition is not satisfied, the status of the first print job is maintained as the running status.
[0147] The first print job is used to be transmitted to the image forming device for image forming operation.
[0148] It should be noted that, in the embodiment of the present application, the processing module 805 in the above-mentioned data processing device is used to implement the functions of the print driver module in the above-mentioned embodiment.
[0149] As a possible implementation manner, the display module 802 is specifically configured to display a printing parameter setting interface based on the first printing parameter information when the printing parameter setting condition is met.
[0150] As a possible implementation manner, the printing parameter setting interface includes at least one printing option, and the setting information of the printing option is used to indicate the first printing parameter information and / or the second printing parameter information.
[0151] As a possible implementation, display module 802 is specifically configured to determine setting information for conflicting print options based on preset print parameter association information and the first print parameter information, update the setting information for the conflicting print options, or generate setting prompt information corresponding to the conflicting print options, and display a print parameter setting interface.
[0152] As a possible implementation, the response module 803 is further configured to, in response to a setting operation on a print option in the print parameter setting interface, update setting information for other print options associated with the set print option in the print parameter setting interface. Alternatively, the response module 803 may display setting prompt information for other print options associated with the print option in the print parameter setting interface.
[0153] As a possible implementation, the response module 803 is further configured to respond to a setting operation of a print option in the print parameter setting interface and display the setting effect of the print option in the print parameter setting interface.
[0154] As a possible implementation manner, the printing parameter setting interface includes an image forming device option, and the image forming device option is used to determine a target image forming device.
[0155] The response module 803 is further configured to display a printing parameter setting interface corresponding to the determined target image forming device in response to a selection operation on an image forming device option in the printing parameter setting interface.
[0156] As a possible implementation method, the print parameter setting interface also includes a restore default value option.
[0157] The response module 803 is further configured to set each printing option in the printing parameter setting interface to a preset value in response to a selection operation on the restore default value option in the printing parameter setting interface.
[0158] As a possible implementation manner, the printing parameter setting interface also includes a template option, and the template option is used to determine a preset printing option template.
[0159] The response module 803 is further configured to, in response to a selection operation on a template option in the print parameter setting interface, set each print option in the print parameter setting interface to a value corresponding to each print option in the preset print option template.
[0160] Corresponding to the above embodiments, the present application further provides an image forming device. The image forming device is configured to perform an image forming operation after receiving a second print job. The second print job is obtained according to any of the data processing methods described in the above embodiments.
[0161] Corresponding to the above embodiments, the present application also provides an electronic device. Figure 10 This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present invention. The electronic device 1000 may include: a processor 1001, a memory 1002, and a communication unit 1003. These components communicate via one or more buses. Those skilled in the art will appreciate that the structure of the electronic device shown in the figure does not limit the embodiments of the present invention. It may be a bus structure or a star structure, and may include more or fewer components than shown, or combine certain components, or arrange the components differently.
[0162] The communication unit 1003 is configured to establish a communication channel so that the electronic device can communicate with other devices, receive user data sent by other devices, or send user data to other devices.
[0163] The processor 1001 is the control center of the electronic device. It uses various interfaces and lines to connect various parts of the entire electronic device. It runs or executes software programs, instructions, and / or modules stored in the memory 1002, and calls data stored in the memory to perform various functions of the electronic device and / or process data. The processor can be composed of an integrated circuit (IC), for example, it can be composed of a single packaged IC, or it can be composed of multiple packaged ICs with the same or different functions. For example, the processor 1001 can only include a central processing unit (CPU). In an embodiment of the present invention, the CPU can be a single computing core or multiple computing cores.
[0164] The memory 1002 is used to store execution instructions of the processor 1001. The memory 1002 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.
[0165] When the execution instructions in the memory 1002 are executed by the processor 1001 , the electronic device 1000 is enabled to execute part or all of the steps in the above embodiments.
[0166] In a specific implementation, the present invention further provides a computer storage medium, wherein the computer storage medium may store a program that, when executed, may include some or all of the steps of each embodiment of the data processing method provided by the present invention. The storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).
[0167] Those skilled in the art will clearly understand that the techniques in the embodiments of the present invention can be implemented using software and a necessary general-purpose hardware platform. Based on this understanding, the technical solutions in the embodiments of the present invention, or the portion that contributes to the prior art, can be embodied in the form of a software product. This computer software product can be stored in a storage medium such as ROM / RAM, a magnetic disk, or an optical disk, and includes instructions for enabling a computer device (such as a personal computer, server, or network device) to execute the methods described in various embodiments of the present invention, or portions thereof.
[0168] In this specification, reference can be made to the same or similar parts between the various embodiments. In particular, for the device embodiment and the terminal embodiment, since they are basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the description in the method embodiment.
Claims
1. A data processing method, characterized in that: Applied to a terminal device, the method includes: Acquire a first print job, where the first print job includes print data information and first print parameter information, and the status of the first print job is a finished status; Based on the first printing parameter information, displaying a printing parameter setting interface; In response to a determination instruction triggered in the printing parameter setting interface, obtaining second printing parameter information from the printing parameter setting interface; A second print job is generated according to the print data information and the second print parameter information, and the second print job is used to be transmitted to an image forming device for performing an image forming operation.
2. The method according to claim 1, characterized in that The terminal device includes a print driver module and a print parameter setting module. The first print job is transmitted from the print driver module to the print parameter setting module, and the second print job is transmitted from the print parameter setting module to the print driver module.
3. The method according to claim 1, characterized in that The method further comprises: In response to a print instruction triggered by a user, a corresponding first print job is determined.
4. The method according to claim 1, wherein The method further comprises: When the printing parameter setting conditions are met, ending the process of the first printing job; Alternatively, when the printing parameter setting condition is not satisfied, the state of the first printing job is maintained as the running state, and the first printing job is used to be transmitted to the image forming device for image forming operation.
5. The method according to claim 1, wherein The displaying of a printing parameter setting interface based on the first printing parameter information includes: When the printing parameter setting condition is met, the printing parameter setting interface is displayed based on the first printing parameter information.
6. The method according to claim 1, characterized in that The printing parameter setting interface includes at least one printing option, and the setting information of the printing option is used to indicate the first printing parameter information and / or the second printing parameter information.
7. The method according to claim 1, characterized in that The displaying of a printing parameter setting interface based on the first printing parameter information includes: Determining setting information of printing options with associated conflicts based on preset printing parameter association information and the first printing parameter information; Updating the setting information of the printing option with associated conflicts, or generating setting prompt information corresponding to the printing option with associated conflicts; The print parameter setting interface is displayed.
8. The method according to claim 1, characterized in that The method further comprises: In response to a setting operation of a print option in the print parameter setting interface, updating setting information of other print options in the print parameter setting interface that are mutually associated with the set print option; or, The setting prompt information of other printing options associated with the printing option is displayed in the printing parameter setting interface.
9. The method according to claim 1 or 8, characterized in that The method further comprises: In response to a setting operation on a print option in the print parameter setting interface, a setting effect of the print option is displayed in the print parameter setting interface.
10. The method according to claim 1, characterized in that The printing parameter setting interface includes an image forming device option, and the image forming device option is used to determine a target image forming device; the method further includes: In response to a selection operation of the image forming device option in the printing parameter setting interface, the printing parameter setting interface corresponding to the determined target image forming device is displayed.
11. The method according to claim 6, characterized in that The printing parameter setting interface also includes a restore default value option; the method further includes: In response to a selection operation of the restore default value option in the printing parameter setting interface, each printing option in the printing parameter setting interface is set to a preset value.
12. The method according to claim 6, characterized in that The printing parameter setting interface also includes a template option, and the template option is used to determine a preset printing option template; the method further includes: In response to a selection operation on the template option in the printing parameter setting interface, each printing option in the printing parameter setting interface is set to a value corresponding to each printing option in the preset printing option template.
13. A data processing device, characterized in that: include: an acquiring module, configured to acquire a first print job, wherein the first print job includes print data information and first print parameter information, and the status of the first print job is a finished status; A display module, configured to display a printing parameter setting interface based on the first printing parameter information; a response module, configured to obtain second printing parameter information from the printing parameter setting interface in response to a determination instruction triggered in the printing parameter setting interface; A generating module is used to generate a second printing job according to the printing data information and the second printing parameter information, and the second printing job is used to be transmitted to the image forming device for image forming operation.
14. An image forming apparatus, characterized in that: The image forming device is configured to perform an image forming operation after receiving a second print job, wherein the second print job is obtained according to the method according to any one of claims 1 to 12.
15. An electronic device, characterized in that: The electronic device comprises a memory for storing computer program instructions and a processor for executing the program instructions, wherein when the computer program instructions are executed by the processor, the electronic device executes the method according to any one of claims 1 to 12.
16. A computer-readable storage medium, characterized in that The computer-readable storage medium includes a stored program, wherein when the program is executed, the device where the computer-readable storage medium is located is controlled to execute the method according to any one of claims 1 to 12.