CN111949233A - Printing control method, printing control device, electronic equipment and storage medium - Google Patents
Printing control method, printing control device, electronic equipment and storage medium Download PDFInfo
- Publication number
- CN111949233A CN111949233A CN202010872940.5A CN202010872940A CN111949233A CN 111949233 A CN111949233 A CN 111949233A CN 202010872940 A CN202010872940 A CN 202010872940A CN 111949233 A CN111949233 A CN 111949233A
- Authority
- CN
- China
- Prior art keywords
- printing
- option
- options
- custom
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/12—Digital output to print unit, e.g. line printer, chain printer
- G06F3/1201—Dedicated interfaces to print systems
- G06F3/1223—Dedicated interfaces to print systems specifically adapted to use a particular technique
- G06F3/1237—Print job management
- G06F3/1253—Configuration of print job parameters, e.g. using UI at the client
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/12—Digital output to print unit, e.g. line printer, chain printer
- G06F3/1201—Dedicated interfaces to print systems
- G06F3/1223—Dedicated interfaces to print systems specifically adapted to use a particular technique
- G06F3/1237—Print job management
- G06F3/1253—Configuration of print job parameters, e.g. using UI at the client
- G06F3/1254—Automatic configuration, e.g. by driver
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/12—Digital output to print unit, e.g. line printer, chain printer
- G06F3/1201—Dedicated interfaces to print systems
- G06F3/1223—Dedicated interfaces to print systems specifically adapted to use a particular technique
- G06F3/1237—Print job management
- G06F3/1253—Configuration of print job parameters, e.g. using UI at the client
- G06F3/1255—Settings incompatibility, e.g. constraints, user requirements vs. device capabilities
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Accessory Devices And Overall Control Thereof (AREA)
Abstract
The application provides a printing control method, a printing control device, electronic equipment and a storage medium, wherein the printing control method is applied to terminal equipment, the terminal equipment is loaded with a Linux operating system, and the method comprises the following steps: acquiring printing settings, wherein the printing settings comprise custom printing options, and the custom printing options correspond to a plurality of printing options and corresponding setting parameters; and if the printing option and the corresponding setting parameter corresponding to the custom printing option conflict with other currently set option setting parameters on the printing drive interface, replacing the display rule of the universal drive module in the Linux operating system by the display configuration information corresponding to the custom printing option. According to the method and the device, the user is provided with the option of the custom printing option, when the parameters of the printing option conflict, the display rule of the general driving module in the Linux operating system is not followed, but the display configuration information corresponding to the custom printing option is used instead, and the conflict between the options is solved.
Description
Technical Field
The present application relates to printer technologies, and in particular, to a print control method and apparatus, an electronic device, and a storage medium.
Background
The Common Unix Printing System (CUPS) provides a reliable and effective method for users to manage the Printing process, and can well cope with various restrictions on the Printing process under the Unix/Linux platform, so that the Common Linux platform-based computer operating System usually supports the CUPS.
Before printing starts, a user is generally required to set a printing standard according to a printing demand and a bookbinding demand. However, the number of items to be set is large, and the user may not be able to clearly and completely understand the influence of each setting manner on the printing form, so that the problem of setting item conflict inevitably occurs.
In the related art, the CUPS may recognize, based on a set display rule, mutually conflicting print options selected by a user, and identify these conflicting items on a drive interface, but cannot give a prompt how to resolve the conflict, so that the user still needs to determine the cause of the conflict by himself or herself and perform manual adjustment, which results in low overall printing efficiency.
Disclosure of Invention
The application provides a printing control method, a printing control device, electronic equipment and a storage medium, so that the influence of conflicting items on a printing process in user printing setting is reduced or even avoided as much as possible, the printing requirement of a user is met, secondary adjustment of the user is avoided, and the overall printing efficiency is improved.
In a first aspect, the present application provides a print control method, which is applied to a terminal device, where the terminal device is equipped with a Linux operating system, and the method includes: acquiring printing settings, wherein the printing settings comprise custom printing options, and the custom printing options correspond to a plurality of printing options and corresponding setting parameters; and if the printing option and the corresponding setting parameter corresponding to the custom printing option conflict with other currently set option setting parameters on the printing drive interface, replacing the display rule of the universal drive module in the Linux operating system by the display configuration information corresponding to the custom printing option.
Optionally, the replacing, by the display configuration information corresponding to the custom print option, the display rule of the general driver module in the Linux operating system includes: sending a plurality of printing options corresponding to the user-defined printing option and corresponding setting parameters to printing equipment, and canceling the display of conflict prompt information of a general driving module in the Linux operating system; so that the printing device prints according to the plurality of printing options and the corresponding setting parameters.
Optionally, the replacing, by the display configuration information corresponding to the custom print option, the display rule of the general driver module in the Linux operating system includes: modifying other currently set option setting parameters on a printing driving interface according to a plurality of printing options corresponding to the user-defined printing options and corresponding setting parameters; displaying the replaced printing options and corresponding setting parameters on a printing driving interface; and sending the replaced printing options and the corresponding setting parameters to the printing equipment so that the printing equipment prints according to the replaced printing options and the corresponding setting parameters.
Optionally, the method further includes: acquiring a user-defined printing option setting instruction, wherein the user-defined printing option setting instruction comprises a user-defined printing option name, a plurality of printing options corresponding to the user-defined printing option name and corresponding setting parameters of the plurality of printing options; acquiring a saving instruction; storing the user-defined printing option name, a plurality of printing options corresponding to the user-defined printing option name and corresponding setting parameters of the plurality of printing options according to the storage instruction; and displaying the plurality of printing options and the corresponding setting parameters of the plurality of printing options on a printing driving interface.
Optionally, the displaying, on the print driver interface, the plurality of print options and the corresponding setting parameters of the plurality of print options includes: and if the plurality of printing options corresponding to the user-defined printing option and the corresponding setting parameters of the plurality of printing options conflict with other currently set option setting parameters on the printing driving interface, modifying the other currently set option setting parameters on the printing driving interface according to the plurality of printing options corresponding to the user-defined printing option and the corresponding setting parameters of the plurality of printing options.
Optionally, the acquiring the print setting includes: and calling an interface of the universal driving module to acquire the printing setting.
Optionally, the acquiring the print setting includes: and calling the printing drive module to add an interface for the universal drive module to realize the acquisition of the printing setting.
In a second aspect, the present application provides a print control apparatus comprising: the system comprises an acquisition module, a setting module and a display module, wherein the acquisition module is used for acquiring printing settings, the printing settings comprise custom printing options, and the custom printing options correspond to a plurality of printing options and corresponding setting parameters; and the display information processing module of the print driving interface is used for replacing the display rule of the general driving module in the Linux operating system by the display configuration information corresponding to the custom print option when the print option and the corresponding setting parameter corresponding to the custom print option conflict with the setting parameters of other options currently set on the print driving interface.
Optionally, when the display configuration information corresponding to the custom print option is used to replace the display rule of the universal driver module in the Linux operating system, the display information processing module of the print driver interface is specifically configured to: sending a plurality of printing options corresponding to the user-defined printing option and corresponding setting parameters to printing equipment, and canceling the display of conflict prompt information of a general driving module in the Linux operating system; so that the printing device prints according to the plurality of printing options and the corresponding setting parameters.
Optionally, when the display configuration information corresponding to the custom print option is used to replace the display rule of the universal driver module in the Linux operating system, the display information processing module of the print driver interface is specifically configured to: modifying other currently set option setting parameters on a printing driving interface according to a plurality of printing options corresponding to the user-defined printing options and corresponding setting parameters; displaying the replaced printing options and corresponding setting parameters on a printing driving interface; and sending the replaced printing options and the corresponding setting parameters to the printing equipment so that the printing equipment prints according to the replaced printing options and the corresponding setting parameters.
Optionally, the obtaining module is further configured to obtain a custom printing option setting instruction, where the custom printing option setting instruction includes a custom printing option name, multiple printing options corresponding to the custom printing option name, and corresponding setting parameters of the multiple printing options; a save instruction is fetched. The printing control device also comprises a storage module used for storing the self-defined printing option name, a plurality of printing options corresponding to the self-defined printing option name and corresponding setting parameters of the plurality of printing options according to the storage instruction; and the display module is used for displaying the plurality of printing options and the corresponding setting parameters of the plurality of printing options on a printing driving interface.
Optionally, when the display module displays the plurality of printing options and the corresponding setting parameters of the plurality of printing options on the print driver interface, the display module is specifically configured to: and if the plurality of printing options corresponding to the user-defined printing option and the corresponding setting parameters of the plurality of printing options conflict with other currently set option setting parameters on the printing driving interface, modifying the other currently set option setting parameters on the printing driving interface according to the plurality of printing options corresponding to the user-defined printing option and the corresponding setting parameters of the plurality of printing options.
Optionally, the obtaining module is specifically configured to, when obtaining the print setting: and calling an interface of the universal driving module to acquire the printing setting.
Optionally, the obtaining module is specifically configured to, when obtaining the print setting: and calling the printing drive module to add an interface for the universal drive module to realize the acquisition of the printing setting.
In a third aspect, the present application provides an electronic device, comprising: a memory for storing program instructions; a processor for calling and executing program instructions in said memory to perform the method according to the first aspect.
In a fourth aspect, the present application provides a computer-readable storage medium storing a computer program which, when executed by a processor, implements the method according to the first aspect.
The application provides a printing control method, a printing control device, electronic equipment and a storage medium, wherein the printing control method is applied to terminal equipment, the terminal equipment is loaded with a Linux operating system, and the method comprises the following steps: acquiring printing settings, wherein the printing settings comprise custom printing options, and the custom printing options correspond to a plurality of printing options and corresponding setting parameters; and if the printing option and the corresponding setting parameter corresponding to the custom printing option conflict with other currently set option setting parameters on the printing drive interface, replacing the display rule of the universal drive module in the Linux operating system by the display configuration information corresponding to the custom printing option. According to the method and the device, the user can select the user-defined printing option according to the printing requirement, so that the parameters of the printing options are prevented from being set one by one as much as possible, and the automatic setting of the printing parameters is realized. Meanwhile, when the parameters of the printing options conflict, the display rules of the general driving module in the Linux operating system are not followed, and the display configuration information corresponding to the printing options is replaced by the user-defined display configuration information, so that the conflict among the options is solved, the printing requirements of the user are met, the secondary adjustment of the user is avoided, and the overall printing efficiency is improved.
Drawings
In order to more clearly illustrate the technical solutions in the present application or the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
Fig. 1 is a schematic view of an application scenario provided in the present application;
fig. 2 is a flowchart of a printing control method according to an embodiment of the present application;
fig. 3 is a schematic diagram of a terminal device according to an embodiment of the present application;
FIG. 4 is a schematic diagram of a display interface according to an embodiment of the present application;
FIG. 5 is a schematic diagram of a display interface according to an embodiment of the present application;
FIG. 6 is a schematic diagram of a display interface according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of a printing control apparatus according to an embodiment of the present application;
fig. 8 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
To make the purpose, technical solutions and advantages of the present application clearer, the technical solutions in the present application will be clearly and completely described below with reference to the drawings in the present application, and it is obvious that the described embodiments are some, but not all embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Under the Unix/Linux platform, there are many limitations when printing. However, the CUPS provides a reliable and efficient method for managing printing for Unix/Linux users. Therefore, the common Linux platform-based computer operating systems, such as the eucin operating system, the eucin operating system of the silver river, the chikude operating system, and the like, usually support the CUPS.
However, in the current computer operating system based on the Linux platform, the commonly used CUPS has the following defects in the printing option processing selected by the user: if there is a conflict between the print options selected by the user, the driver interface can only identify the conflicting items. For example, the position of the conflict option in the print driver interface is marked with red to indicate a conflict. However, no suggestion or explanation of the correct printing option is given to assist the user in resolving the conflict, and therefore the user may not be able to quickly know the reason for the conflict and the manner of adjustment.
Based on the above problems, the inventors of the present application considered to provide a method of avoiding the occurrence of a conflict as much as possible, or automatically resolving such a conflict by a device. Further, a printing control method, a printing control device, an electronic device and a storage medium are provided, so that the influence of conflicting items on the printing process in the printing setting of a user is reduced or even avoided as much as possible, the printing requirement of the user is met, the secondary adjustment of the user is avoided, and the overall printing efficiency is improved.
Fig. 1 is a schematic view of an application scenario provided in the present application. The application can be applied to the printing process. As shown in fig. 1, a terminal apparatus 101 and a printing apparatus 102 are communicably connected. The terminal device 101 mounts a Unix or Unix-like operating system and installs a driver adapted to the printing device 102, so that the application software installed in the terminal device 101 can drive the printing device 102 to print. When the user uses the application software to print, the driver is called through the application software, and the printing mode is set. The driving drives the printing apparatus 102 to print according to the set printing manner. The terminal device 101 may be a mobile phone, a tablet computer, a computer, or the like. Application programs include, but are not limited to, document editing software, document reading software, office software, and the like. Specific implementation procedures can refer to the following embodiments.
Fig. 2 is a flowchart of a printing control method according to an embodiment of the present application. As shown in fig. 2, the method of the present embodiment is applied to a terminal device equipped with a Linux system, and includes:
s201, obtaining printing settings, wherein the printing settings comprise custom printing options, and the custom printing options correspond to a plurality of printing options and corresponding setting parameters.
In one embodiment, a plurality of common standard custom printing options can be preset, each custom printing option corresponds to a plurality of printing options, and each printing option has a fixed parameter, which is called as a corresponding setting parameter.
For example, a custom printing option is preset, named "saddle-stitch". Saddle-stitching, also known as saddle stitching, is a method of book binding. The name is obtained because the binding action is like crossing the horse back. The binding method is that the book (containing cover 6) is put on the iron frame to be pressed with iron wire nail. If a user wants to print a document in a book form and bind it in the middle, it is equivalent to binding the printed document in a saddle stitch manner. It is necessary to set the parameter of the print option of "duplex printing" to "double-sided short side", the parameter of the print option of "booklet" to "on", and the parameter of the print option of "fold" to "fold and center binding". Thus, the three fixed parameter printing options described above may be combined into one custom printing option, referred to herein as a "saddle stitch". In this way, when printing, the user only needs to select the custom printing option as the "saddle stitch", namely, the parameters corresponding to the three printing options are set. The printing options do not need to be set one by one, so that the condition of printing option conflict is avoided, and the overall printing efficiency is improved.
The names of the custom print options, the names of the corresponding print options, and the parameters of the print options listed here are examples, and are not limited. The actual setting mode may be different according to the setting of different application software and the setting of different drivers.
S202, if the printing option and the corresponding setting parameter corresponding to the custom printing option conflict with other currently set option setting parameters on the printing drive interface, replacing the display rule of the general drive module in the Linux operating system with the display configuration information corresponding to the custom printing option.
In some embodiments, other print options may remain on the print driver interface, in addition to the added custom print option. Other option setting parameters may be default parameters or user-set parameters. Thus, after identifying the custom print option selected by the user, there may be two cases.
The first is that the printing option and the corresponding setting parameter corresponding to the custom printing option do not conflict with the setting parameters of other options currently set on the printing drive interface, and then the printing option and the corresponding setting parameter corresponding to the custom printing option can be displayed and printed according to the display rule of the general drive module, or directly sent to the printing device for printing.
The second is also the situation to be solved by the present application, that is, the print option and the corresponding setting parameter corresponding to the custom print option conflict with the setting parameters of other options currently set on the print driving interface. In this case, the display rule of the general driver module itself is no longer followed, but instead, the display configuration information corresponding to the custom print option is replaced.
In the application, the display configuration information corresponding to the custom printing option refers to a display rule and a configuration rule corresponding to the custom printing option.
The print control method provided by the embodiment includes: acquiring printing settings, wherein the printing settings comprise custom printing options, and the custom printing options correspond to a plurality of printing options and corresponding setting parameters; and if the printing option and the corresponding setting parameter corresponding to the custom printing option conflict with other currently set option setting parameters on the printing drive interface, replacing the display rule of the universal drive module in the Linux operating system by the display configuration information corresponding to the custom printing option. According to the method and the device, the user can select the user-defined printing option according to the printing requirement, so that the parameters of the printing options are prevented from being set one by one as much as possible, and the automatic setting of the printing parameters is realized. Meanwhile, when the parameters of the printing options conflict, the display rules of the general driving module in the Linux operating system are not followed, and the display configuration information corresponding to the printing options is replaced by the user-defined display configuration information, so that the conflict among the options is solved, the printing requirements of the user are met, the secondary adjustment of the user is avoided, and the overall printing efficiency is improved.
In some embodiments, the replacing, in the step S202, the display rule of the general driver module in the Linux operating system by the display configuration information corresponding to the custom print option may specifically include: sending a plurality of printing options corresponding to the user-defined printing options and corresponding setting parameters to printing equipment, and canceling the display of conflict prompt information of a general driving module in a Linux operating system; so that the printing apparatus prints according to the plurality of printing options and the corresponding setting parameters.
Specifically, the conflict prompting information is not displayed any more to prompt the conflict option, but a plurality of printing options and corresponding setting parameters corresponding to the custom printing option are directly sent to the printing equipment.
In some embodiments, only a part of the other option setting parameters currently set on the print driver interface conflict with the print option corresponding to the custom print option, and another part of the other option setting parameters may not conflict with the print option corresponding to the custom print option. In this embodiment, the printing option corresponding to the custom printing option and part of option parameters which do not conflict with each other in the other option setting parameters may be sent to the printing device for printing.
The above-mentioned "saddle-stitching" is also taken as an example. And determining that the custom printing option in the printing setting of the user is a saddle stitch, and one of other option parameters currently set on the printing driving interface is a printing option of printing color, and the corresponding parameter selection is black-and-white printing. However, there is no conflict between the "black-and-white printing" and the respective printing options of the "saddle pin", and thus the respective printing options of the "saddle pin" and the "black-and-white printing" can be collectively sent to the printing apparatus for printing.
In other embodiments, the replacing, in the step S202, the display rule of the general driver module in the Linux operating system by the display configuration information corresponding to the custom print option may specifically include: modifying other currently set option setting parameters on the print driving interface according to a plurality of print options corresponding to the user-defined print options and corresponding setting parameters; displaying the replaced printing options and corresponding setting parameters on a printing driving interface; and sending the replaced printing options and the corresponding setting parameters to the printing equipment so that the printing equipment prints according to the replaced printing options and the corresponding setting parameters.
Specifically, modifying and updating the other option setting parameters may include modifying all the other option setting parameters to the corresponding setting parameters of the print option corresponding to the custom print option. The method can further comprise the step of modifying the parameters of the printing options which conflict with each other in the other option setting parameters into the parameters which do not conflict with each other by referring to the corresponding setting parameters of the printing options which correspond to the self-defined printing options. For example, the parameter of the conflicting print option "punch" included in the other option setting parameters may be modified to "0 hole" with reference to the corresponding setting parameter "fold and center binding" of the print option "fold" corresponding to the "saddle stitch" custom print option.
In some embodiments, for the modification and update, the result of the modification and update may not be displayed on the display interface, but may be directly sent to the printing device for printing.
In other embodiments, for the modification and update, the modification and update result may be displayed on the display interface before being sent to the printing device for printing. After display, the user is facilitated to perform a secondary check to ensure that the modified and updated printing options are the printing modes envisioned by the user. If the user feels that the user does not conform to his or her mind, a second modification can be made. Therefore, the wrong printing, the low efficiency and the resource waste caused by the secondary printing can be avoided as much as possible.
Further, after receiving an instruction for determining printing by the user, the updated parameters of the printing options may be sent to the printing device for printing.
In some embodiments, the user may set custom print options themselves. Specifically, a user-defined printing option setting instruction can be obtained, wherein the user-defined printing option setting instruction comprises a user-defined printing option name, a plurality of printing options corresponding to the user-defined printing option name and corresponding setting parameters of the plurality of printing options; acquiring a saving instruction; storing the user-defined printing option name, a plurality of printing options corresponding to the user-defined printing option name and corresponding setting parameters of the plurality of printing options according to the storage instruction; and displaying the plurality of printing options and the corresponding setting parameters of the plurality of printing options on the print driving interface.
Optionally, obtaining print settings comprises: and calling an interface of the universal driving module to acquire the printing setting.
The general-purpose driver module can be a built-in CUPS in the operating system. The CUPS supports a print driver to implement a whole set of print functions, is a widely used print system, and is also a part of a computer operating system.
Optionally, obtaining print settings comprises: and calling the printing drive module to add an interface for the universal drive module to realize the acquisition of the printing setting.
In a specific embodiment, as shown in fig. 3, the terminal device 101 includes an application 110, a print driver 120, and a generic driver module 130. The print driver 120 includes a print option processing module 121 and a print processing module 122. The print option processing module 121 is configured to process a print option selected by a user, and the print processing module 122 is configured to process a print job. The print driver 120 performs the configuration of some functions using the existing interface of the general driver module 130.
The print option processing module 121 adds a "custom setting" option function using the existing interface of the general driver module 130. The option of the "custom setting" is a custom printing option, which represents a group of printing options and has a higher priority. For example, "saddle stitch" in "custom settings" represents a combination of several printing options of booklet, double-sided short edge, and folding and center binding.
The application 110 calls the existing interface of the generic driver module 130, acquires and displays the "custom setting" on the display interface of the terminal device, which is shown as a in fig. 4. Referring to fig. 4, selecting the printer option in the left column of the printer attribute list causes "custom setting" to occur. The option in the "custom setting" displayed in the interface is "none", and the option in the "double-sided printing" in the conventional "is also" none ". In addition to "custom settings" that allow the user to select custom print options, there are a number of other print options below. When the print option corresponding to the custom print option in the "custom setting" selected by the user conflicts with the relevant print option in the other print options, the print processing module 122 automatically modifies the option associated with the "custom setting" option and performs printing, without changing the display of the interface conflict item of the print driver 120.
When the user selects the "saddle-stitch" option, the interface will display B in fig. 4. Although "none" of the "double-sided printing" selection in "normal" on the display interface is unchanged, the actual printing result is still double-sided short-edge printing.
In other specific embodiments, still referring to the structure shown in fig. 3, the print driver 120 adds a "custom settings" interface to the generic driver module 130, the "custom settings" having a higher priority and having a name attribute and a set of printer option value attributes, the "custom settings" interface providing the functionality of setting a custom print option name and a corresponding set of print option parameters.
The print option processing module 121 calls a "custom setting" interface added by the print driver 120 to the generic driver module 130, adds one or more "custom setting" options representing a combination of several print options and sets its attributes.
The application 110 calls a "custom setting" interface added by the print driver 120 to the generic driver module 130, and obtains and displays "custom setting" on a display interface of the terminal device, where the display interface is as shown in a in fig. 5, and as shown in a in fig. 5, a printer option is selected in a left column in the printer attribute list, and "custom setting" occurs, and the "custom setting" has an option of "saddle-stitching". The option in the "custom setting" displayed in the interface is "none", and the option in the "double-sided printing" in the conventional "is also" none ". When the user selects the saddle stitch option, the interface display will be changed to B in fig. 5, and the display of the double-sided print column in "normal" is changed from "none" to "double-sided short edge". The application 110 modifies the display of the conflicting printing option, and the printing processing module 122 prints according to the modified displayed printing option, that is, the display result is to perform the duplex short edge printing, and finally the actual printing result is also to perform the duplex short edge printing.
In other specific embodiments, still referring to the structure shown in fig. 3, the print driver 120 adds an interface for "calling" the print option processing module 121 '"to the generic driver module 130, which receives the printer name and activates (i.e., runs) the print option processing module 121' in the print driver 120.
The print driver 120 provides a ' print option processing module 121 ' with an interface for each model of printer using an interface of ' call ' print option processing module 121 '. The 'print option processing module 121' implements a user-experience-friendly function on an interface, for example, a user can add and save an option in "custom setting" by himself.
When the application 110 sets a print option, the print driver 120 is called to add an interface "call" print option processing module 121 '"to the generic driver module 130, a printer name is transferred during the call, and the" print option processing module 121' with an interface provided by the print driver 120 is started, the "print option processing module 121 'automatically resolves a conflict option, the user sets a print option in the" custom setting "(i.e. several non-conflicting options are stored in association) by himself and closes the" print option processing module 121 "(i.e. after the call is completed), the" print option processing module 121' provided by the driver returns a print option set by the user, and the application 110 obtains the returned print option and prints.
The interface display for setting the custom printing option is shown in fig. 6, and the specific way for setting the printing option by the user is as follows: parameters of a plurality of printing options included in "normal", "quality", and "output" are selected, association setting is made, and saved as an option in "custom setting". For example, the user can select a medium size of "normal" medium "as A5, a color style of" double-sided printing "as a short edge of double-sided printing," a color style of "quality" as black and white printing, "a paper receiving rack of" output "as the paper receiving rack 2, and an option of" A5 black and white double-sided "in" custom setting ".
Fig. 7 is a schematic structural diagram of a printing control apparatus according to an embodiment of the present application. As shown in fig. 7, the print control apparatus 700 of the present embodiment includes: an acquisition module 701 and a display information processing module 702 of the print driver interface.
The obtaining module 701 is configured to obtain print settings, where the print settings include a custom print option, and the custom print option corresponds to a plurality of print options and corresponding setting parameters.
And the display information processing module 702 of the print driver interface is configured to replace the display rule of the general driver module in the Linux operating system with the display configuration information corresponding to the custom print option when the print option and the corresponding setting parameter corresponding to the custom print option conflict with the setting parameters of other options currently set on the print driver interface.
Optionally, when the display configuration information corresponding to the custom print option is used to replace the display rule of the universal driver module in the Linux operating system, the display information processing module 702 of the print driver interface is specifically configured to: sending a plurality of printing options corresponding to the user-defined printing options and corresponding setting parameters to printing equipment, and canceling the display of conflict prompt information of a general driving module in a Linux operating system; so that the printing apparatus prints according to the plurality of printing options and the corresponding setting parameters.
Optionally, when the display configuration information corresponding to the custom print option is used to replace the display rule of the universal driver module in the Linux operating system, the display information processing module 702 of the print driver interface is specifically configured to: modifying other currently set option setting parameters on the print driving interface according to a plurality of print options corresponding to the user-defined print options and corresponding setting parameters; displaying the replaced printing options and corresponding setting parameters on a printing driving interface; and sending the replaced printing options and the corresponding setting parameters to the printing equipment so that the printing equipment prints according to the replaced printing options and the corresponding setting parameters.
Optionally, the obtaining module 701 is further configured to obtain a custom printing option setting instruction, where the custom printing option setting instruction includes a custom printing option name, multiple printing options corresponding to the custom printing option name, and corresponding setting parameters of the multiple printing options; a save instruction is fetched. The printing control device further comprises a storage module 703 for storing the custom printing option name, a plurality of printing options corresponding to the custom printing option name, and corresponding setting parameters of the plurality of printing options according to the saving instruction; a display module 704, configured to display the multiple printing options and the corresponding setting parameters of the multiple printing options on the print driver interface.
Optionally, when the display module 704 displays the multiple printing options and the corresponding setting parameters of the multiple printing options on the print driver interface, the display module is specifically configured to: and if the plurality of printing options corresponding to the user-defined printing option and the corresponding setting parameters of the plurality of printing options conflict with other currently set option setting parameters on the printing driving interface, modifying the other currently set option setting parameters on the printing driving interface according to the plurality of printing options corresponding to the user-defined printing option and the corresponding setting parameters of the plurality of printing options.
Optionally, the obtaining module 701 is specifically configured to, when obtaining the print setting: and calling an interface of the universal driving module to acquire the printing setting.
Optionally, the obtaining module 701 is specifically configured to, when obtaining the print setting: and calling the printing drive module to add an interface for the universal drive module to realize the acquisition of the printing setting.
The apparatus of this embodiment may be configured to perform the method of any of the above embodiments, and the implementation principle and the technical effect are similar, which are not described herein again.
Fig. 8 is a schematic structural diagram of an electronic device according to an embodiment of the present application. As shown in fig. 8, the electronic device 800 of the present embodiment may include: a memory 801 and a processor 802.
A memory 801 for storing program instructions.
A processor 802, configured to call and execute the program instructions in the memory 801, and execute to obtain print settings, where the print settings include a custom print option, and the custom print option corresponds to multiple print options and corresponding setting parameters; and when the printing option and the corresponding setting parameter corresponding to the custom printing option conflict with other currently set option setting parameters on the printing drive interface, replacing the display rule of the universal drive module in the Linux operating system by the display configuration information corresponding to the custom printing option.
Optionally, when the display configuration information corresponding to the custom print option is used to replace the display rule of the general driver module itself in the Linux operating system, the processor 802 is specifically configured to: sending a plurality of printing options corresponding to the user-defined printing options and corresponding setting parameters to printing equipment, and canceling the display of conflict prompt information of a general driving module in a Linux operating system; so that the printing apparatus prints according to the plurality of printing options and the corresponding setting parameters.
Optionally, when the display configuration information corresponding to the custom print option is used to replace the display rule of the general driver module itself in the Linux operating system, the processor 802 is specifically configured to: modifying other currently set option setting parameters on the print driving interface according to a plurality of print options corresponding to the user-defined print options and corresponding setting parameters; displaying the replaced printing options and corresponding setting parameters on a printing driving interface; and sending the replaced printing options and the corresponding setting parameters to the printing equipment so that the printing equipment prints according to the replaced printing options and the corresponding setting parameters.
Optionally, the processor 802 is further configured to obtain a custom printing option setting instruction, where the custom printing option setting instruction includes a custom printing option name, multiple printing options corresponding to the custom printing option name, and corresponding setting parameters of the multiple printing options; acquiring a saving instruction; storing the user-defined printing option name, a plurality of printing options corresponding to the user-defined printing option name and corresponding setting parameters of the plurality of printing options according to the storage instruction; and displaying a plurality of printing options and corresponding setting parameters of the plurality of printing options on a printing driving interface.
Optionally, when the print driver interface displays a plurality of print options and corresponding setting parameters of the plurality of print options, the processor 802 is specifically configured to: and if the plurality of printing options corresponding to the user-defined printing option and the corresponding setting parameters of the plurality of printing options conflict with other currently set option setting parameters on the printing driving interface, modifying the other currently set option setting parameters on the printing driving interface according to the plurality of printing options corresponding to the user-defined printing option and the corresponding setting parameters of the plurality of printing options.
Optionally, when obtaining the print setting, the processor 802 is specifically configured to: and calling an interface of the universal driving module to acquire the printing setting.
Optionally, when obtaining the print setting, the processor 802 is specifically configured to: and calling the printing drive module to add an interface for the universal drive module to realize the acquisition of the printing setting.
The electronic device of this embodiment may be configured to perform the method of any of the above embodiments, and the implementation principle and the technical effect are similar, which are not described herein again.
The present application also provides a computer-readable storage medium, which stores a computer program, which, when executed by a processor, implements the method of any of the above embodiments.
Those of ordinary skill in the art will understand that: all or a portion of the steps of implementing the above-described method embodiments may be performed by hardware associated with program instructions. The program may be stored in a computer-readable storage medium. When executed, the program performs steps comprising the method embodiments described above; and the aforementioned storage medium includes: various media that can store program codes, such as ROM, RAM, magnetic or optical disks.
Finally, it should be noted that: the above embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present application.
Claims (10)
1. A printing control method is applied to a terminal device, wherein the terminal device is loaded with a Linux operating system, and the method comprises the following steps:
acquiring printing settings, wherein the printing settings comprise custom printing options, and the custom printing options correspond to a plurality of printing options and corresponding setting parameters;
and if the printing option and the corresponding setting parameter corresponding to the custom printing option conflict with other currently set option setting parameters on the printing drive interface, replacing the display rule of the universal drive module in the Linux operating system by the display configuration information corresponding to the custom printing option.
2. The method according to claim 1, wherein the replacing the display rule of the generic driver module itself in the Linux operating system with the display configuration information corresponding to the custom print option comprises:
sending a plurality of printing options corresponding to the user-defined printing option and corresponding setting parameters to printing equipment, and canceling the display of conflict prompt information of a general driving module in the Linux operating system; so that the printing device prints according to the plurality of printing options and the corresponding setting parameters.
3. The method according to claim 1, wherein the replacing the display rule of the generic driver module itself in the Linux operating system with the display configuration information corresponding to the custom print option comprises:
modifying other currently set option setting parameters on a printing driving interface according to a plurality of printing options corresponding to the user-defined printing options and corresponding setting parameters; and
displaying the replaced printing options and corresponding setting parameters on a printing driving interface;
and sending the replaced printing options and the corresponding setting parameters to the printing equipment so that the printing equipment prints according to the replaced printing options and the corresponding setting parameters.
4. The method of claim 1, further comprising:
acquiring a user-defined printing option setting instruction, wherein the user-defined printing option setting instruction comprises a user-defined printing option name, a plurality of printing options corresponding to the user-defined printing option name and corresponding setting parameters of the plurality of printing options;
acquiring a saving instruction;
storing the user-defined printing option name, a plurality of printing options corresponding to the user-defined printing option name and corresponding setting parameters of the plurality of printing options according to the storage instruction; and displaying the plurality of printing options and the corresponding setting parameters of the plurality of printing options on a printing driving interface.
5. The method of claim 4, wherein displaying the plurality of printing options and the corresponding setting parameters of the plurality of printing options on a print driver interface comprises:
and if the plurality of printing options corresponding to the user-defined printing option and the corresponding setting parameters of the plurality of printing options conflict with other currently set option setting parameters on the printing driving interface, modifying the other currently set option setting parameters on the printing driving interface according to the plurality of printing options corresponding to the user-defined printing option and the corresponding setting parameters of the plurality of printing options.
6. The method of any of claims 1-5, wherein the obtaining print settings comprises:
and calling an interface of the universal driving module to acquire the printing setting.
7. The method of any of claims 1-5, wherein the obtaining print settings comprises:
and calling the printing drive module to add an interface for the universal drive module to realize the acquisition of the printing setting.
8. A print control apparatus, comprising:
the system comprises an acquisition module, a setting module and a display module, wherein the acquisition module is used for acquiring printing settings, the printing settings comprise custom printing options, and the custom printing options correspond to a plurality of printing options and corresponding setting parameters;
and the display information processing module of the print driving interface is used for replacing the display rule of the general driving module in the Linux operating system by the display configuration information corresponding to the custom print option when the print option and the corresponding setting parameter corresponding to the custom print option conflict with the setting parameters of other options currently set on the print driving interface.
9. An electronic device, comprising:
a memory for storing program instructions;
a processor for calling and executing program instructions in said memory, performing the method of any of claims 1-7.
10. A computer-readable storage medium, characterized in that the storage medium stores a computer program which, when executed by a processor, implements the method according to any one of claims 1-7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010872940.5A CN111949233A (en) | 2020-08-26 | 2020-08-26 | Printing control method, printing control device, electronic equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010872940.5A CN111949233A (en) | 2020-08-26 | 2020-08-26 | Printing control method, printing control device, electronic equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN111949233A true CN111949233A (en) | 2020-11-17 |
Family
ID=73367824
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010872940.5A Pending CN111949233A (en) | 2020-08-26 | 2020-08-26 | Printing control method, printing control device, electronic equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111949233A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112799614A (en) * | 2021-01-25 | 2021-05-14 | 珠海奔图电子有限公司 | Printing control method and printing control device based on CUPS system |
CN112905131A (en) * | 2021-02-05 | 2021-06-04 | 深圳市商汤科技有限公司 | Self-service printing background compatible method and device, equipment, storage medium and system |
RU2820759C1 (en) * | 2021-01-25 | 2024-06-07 | Чжухай Пантум Электроникс Ко., Лтд. | Method of printing control and printing control device based on cups system |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2007055099A (en) * | 2005-08-24 | 2007-03-08 | Kyocera Mita Corp | Image formation device |
CN101206555A (en) * | 2006-12-19 | 2008-06-25 | 佳能株式会社 | Information processing apparatus, control method therefor |
US20090059279A1 (en) * | 2007-08-08 | 2009-03-05 | Canon Kabushiki Kaisha | Information processing apparatus, information processing system, and information processing method |
JP2011044859A (en) * | 2009-08-20 | 2011-03-03 | Konica Minolta Business Technologies Inc | Image forming apparatus |
US20120200882A1 (en) * | 2011-02-09 | 2012-08-09 | Canon Kabushiki Kaisha | Information processing apparatus, method for controlling same, and storage medium |
JP2015125539A (en) * | 2013-12-26 | 2015-07-06 | 株式会社沖データ | Image processor and printing system |
-
2020
- 2020-08-26 CN CN202010872940.5A patent/CN111949233A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2007055099A (en) * | 2005-08-24 | 2007-03-08 | Kyocera Mita Corp | Image formation device |
CN101206555A (en) * | 2006-12-19 | 2008-06-25 | 佳能株式会社 | Information processing apparatus, control method therefor |
US20090059279A1 (en) * | 2007-08-08 | 2009-03-05 | Canon Kabushiki Kaisha | Information processing apparatus, information processing system, and information processing method |
JP2011044859A (en) * | 2009-08-20 | 2011-03-03 | Konica Minolta Business Technologies Inc | Image forming apparatus |
US20120200882A1 (en) * | 2011-02-09 | 2012-08-09 | Canon Kabushiki Kaisha | Information processing apparatus, method for controlling same, and storage medium |
JP2015125539A (en) * | 2013-12-26 | 2015-07-06 | 株式会社沖データ | Image processor and printing system |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112799614A (en) * | 2021-01-25 | 2021-05-14 | 珠海奔图电子有限公司 | Printing control method and printing control device based on CUPS system |
WO2022156429A1 (en) * | 2021-01-25 | 2022-07-28 | 珠海奔图电子有限公司 | Cups-based printing control method and printing control apparatus |
CN112799614B (en) * | 2021-01-25 | 2024-05-10 | 珠海奔图电子有限公司 | Print control method and print control device based on CUPS system |
RU2820759C1 (en) * | 2021-01-25 | 2024-06-07 | Чжухай Пантум Электроникс Ко., Лтд. | Method of printing control and printing control device based on cups system |
CN112905131A (en) * | 2021-02-05 | 2021-06-04 | 深圳市商汤科技有限公司 | Self-service printing background compatible method and device, equipment, storage medium and system |
WO2022166088A1 (en) * | 2021-02-05 | 2022-08-11 | 深圳市商汤科技有限公司 | Self-service printing background compatible method and apparatus, device, storage medium, and system |
CN112905131B (en) * | 2021-02-05 | 2023-12-15 | 深圳市商汤科技有限公司 | Self-service printing background compatible method and device, equipment, storage medium and system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4778830B2 (en) | Display control system, image processing apparatus, and display control method | |
US9762760B2 (en) | Image processing apparatus, method of displaying operation mode keys for image processing apparatus, and recording medium | |
CN111949233A (en) | Printing control method, printing control device, electronic equipment and storage medium | |
US8958115B2 (en) | Information processing apparatus and computer readable storage medium storing instruction for setting number of pages to fit to single sheet | |
JP4695915B2 (en) | User interface device for setting processing mode, image processing device having the user interface device, and user interface method | |
JP6587515B2 (en) | Information processing apparatus, information processing apparatus control method, and program | |
US11150852B2 (en) | Information processing apparatus that changes a setting value for a part workflow based on editing of workflow for a different part, workflow editing method, and medium | |
US8914719B2 (en) | Apparatus and method for editing document, and computer-readable storage medium for computer program for editing document | |
JP2006268752A (en) | Launching modules for multiple versions | |
US8215851B2 (en) | Print control apparatus that controls printing device performing printing on print sheet having tab | |
EP2938056A2 (en) | Image processing apparatus | |
US20210405944A1 (en) | Printing apparatus and non-transitory computer-readable storage medium storing program | |
JP2002158813A (en) | Image processing device, image forming device, image forming system and image job coupling method | |
CN112799614A (en) | Printing control method and printing control device based on CUPS system | |
US7453599B2 (en) | Color processing method of image forming device and apparatus using the same | |
JP2007253597A (en) | Printer | |
JP6064604B2 (en) | Information processing apparatus, program, and print setting method | |
JP6992395B2 (en) | Image forming equipment and programs | |
US20210405932A1 (en) | Printing apparatus and non-transitory computer-readable storage medium storing program | |
JP6225464B2 (en) | Information processing apparatus, print setting takeover method, and printer driver | |
US10346110B2 (en) | Information processing apparatus, method and storage medium performing prohibition processing for print settings | |
JP2002073288A (en) | Device and method for controlling peripheral equipment and computer readable storage medium with peripheral equipment control program stored therein | |
JP2008183886A (en) | Image forming apparatus | |
JP4671990B2 (en) | Image forming apparatus | |
US11567711B2 (en) | Printing apparatus and non-transitory computer-readable storage medium storing computer programs and control function to set setting items and solving function of solving prohibition relationship depending on a state of an apparatus |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20201117 |
|
RJ01 | Rejection of invention patent application after publication |