CN112698796A - Printing control method and device based on printer, electronic equipment and storage medium - Google Patents

Printing control method and device based on printer, electronic equipment and storage medium Download PDF

Info

Publication number
CN112698796A
CN112698796A CN202011596582.6A CN202011596582A CN112698796A CN 112698796 A CN112698796 A CN 112698796A CN 202011596582 A CN202011596582 A CN 202011596582A CN 112698796 A CN112698796 A CN 112698796A
Authority
CN
China
Prior art keywords
printing
target
equipment
audit
preset
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
Application number
CN202011596582.6A
Other languages
Chinese (zh)
Inventor
杨泳
郝文杰
王剑
杨洋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing North Source Software Co ltd
Beijing VRV Software Corp Ltd
Original Assignee
Beijing North Source Software Co ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Beijing North Source Software Co ltd filed Critical Beijing North Source Software Co ltd
Priority to CN202011596582.6A priority Critical patent/CN112698796A/en
Publication of CN112698796A publication Critical patent/CN112698796A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1202Dedicated interfaces to print systems specifically adapted to achieve a particular effect
    • G06F3/1222Increasing security of the print job
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B41PRINTING; LINING MACHINES; TYPEWRITERS; STAMPS
    • B41JTYPEWRITERS; SELECTIVE PRINTING MECHANISMS, i.e. MECHANISMS PRINTING OTHERWISE THAN FROM A FORME; CORRECTION OF TYPOGRAPHICAL ERRORS
    • B41J29/00Details of, or accessories for, typewriters or selective printing mechanisms not otherwise provided for
    • B41J29/38Drives, motors, controls or automatic cut-off devices for the entire printing mechanism
    • B41J29/393Devices for controlling or analysing the entire machine ; Controlling or analysing mechanical parameters involving printing of test patterns
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1223Dedicated interfaces to print systems specifically adapted to use a particular technique
    • G06F3/1237Print job management
    • G06F3/1238Secure printing, e.g. user identification, user rights for device usage, unallowed content, blanking portions or fields of a page, releasing held jobs

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)
  • Computer Security & Cryptography (AREA)
  • Accessory Devices And Overall Control Thereof (AREA)

Abstract

The application provides a printing control method and device based on a printer, electronic equipment and a storage medium, and relates to the technical field of printer control. The method comprises the steps that by acquiring device information of a target printing device which is accessed, user-level access authority of the target printing device is configured to be accessible through a preset user; determining a printing mode of the target printing equipment according to the equipment information of the target printing equipment and the white list of the printing equipment; if the printing mode indicates to control printing, an audit request is submitted to the preset audit equipment in response to a printing starting instruction aiming at the target file, and an audit result fed back by the preset audit equipment is obtained; if the auditing result indicates that the auditing is passed, the preset control command is executed to control the target printing equipment to print the target file, and the target printing equipment is controlled, so that the printing of the confidential file by a user can be controlled, the leakage of confidential content is prevented, and the safety of a printing task is improved.

Description

Printing control method and device based on printer, electronic equipment and storage medium
Technical Field
The present disclosure relates to the field of printer control technologies, and in particular, to a method and an apparatus for controlling printing based on a printer, an electronic device, and a storage medium.
Background
Printers are one of the output devices of computers, which are used to print the results of computer processing on the relevant media, and are widely used in various work scenarios.
When a document to be printed is printed through a printer in the prior art, a user only needs to send the document to be printed to the printer, and the printer can print the document.
However, the existing printing control method is relatively simple, so that the problem that the confidential documents are printed possibly exists, and the safety is low.
Disclosure of Invention
In view of the above-mentioned shortcomings in the prior art, an object of the present application is to provide a printing control method and apparatus based on a printer, an electronic device, and a storage medium, which can improve the security of a print job.
In order to achieve the above purpose, the technical solutions adopted in the embodiments of the present application are as follows:
in a first aspect, the present invention provides a printing control method based on a printer, including:
acquiring device information accessed to a target printing device, wherein the user-level access authority of the target printing device is configured to be accessible by a preset user;
determining a printing mode of the target printing device according to the device information of the target printing device and a white list of the printing device, wherein the white list of the printing device comprises a device identifier of at least one printing device, and the printing mode is used for indicating to control printing or release printing;
if the printing mode indicates to control printing, an audit request is submitted to preset audit equipment in response to a printing starting instruction for a target file, and an audit result fed back by the preset audit equipment is obtained, wherein the audit request comprises the target file, and the audit result is used for indicating whether the audit is passed or not;
and if the auditing result indicates that the auditing is passed, executing a preset control command to control the target printing equipment to print the target file, wherein the preset control command comprises a preset user identifier.
In an optional embodiment, the determining, according to the device information of the target printing device and a white list of printing devices, a printing mode of the target printing device includes:
acquiring the equipment identifier of the target printing equipment according to the equipment information of the target printing equipment;
matching the device identification of the target printing device with at least one device identification in the white list of the printing device to obtain a matching result;
and if the matching result indicates that the matching fails, determining that the printing mode of the target printing equipment is the control printing mode.
In an optional embodiment, the submitting an audit request to a preset audit device in response to a print start instruction for a target file, and acquiring an audit result fed back by the preset audit device, includes:
displaying a virtual printing device in response to a start printing instruction for a target file;
in response to a selection operation for the virtual printing device, displaying a printing device list including the target printing device identification;
and in response to the confirmation operation of the target printing equipment in the printing equipment list, submitting the audit content to preset audit equipment, and acquiring the audit result fed back by the preset audit equipment.
In an optional embodiment, if the audit result indicates that the audit is passed, executing a preset control command to control the target printing device to print the target file includes:
and if the auditing result indicates that the auditing is passed, responding to a printing confirmation instruction aiming at the target file, and executing a preset control command to control the target printing equipment to print the target file.
In an alternative embodiment, the method further comprises:
if the matching result indicates that the matching is successful, determining that the printing mode of the target printing equipment is the release printing;
and responding to a printing starting instruction aiming at the target file, executing a preset control command to control the target printing device to print the target file.
In an optional embodiment, before determining the printing mode of the target printing device according to the device information of the target printing device and a white list of printing devices, the method further includes:
sending an acquisition request of a white list of printing equipment to a server, wherein the acquisition request is used for requesting to acquire the white list of the printing equipment stored in advance on the server;
and receiving the white list of the printing equipment returned by the server.
In an optional embodiment, the acquiring device information of the accessed target printing device includes:
and acquiring the equipment information of the accessed target printing equipment based on the universal Unix printing system.
In a second aspect, the present invention provides a printer-based print control method, including:
the system comprises an acquisition module, a storage module and a processing module, wherein the acquisition module is used for acquiring equipment information of an accessed target printing equipment, and the user-level access authority of the target printing equipment is configured to be accessible by a preset user;
a determining module, configured to determine a printing mode of the target printing device according to device information of the target printing device and a white list of printing devices, where the white list of printing devices includes a device identifier of at least one printing device, and the printing mode is used to instruct to control printing or release printing;
the response module is used for responding to a printing starting instruction aiming at a target file if the printing mode indicates to control printing, submitting an auditing request to preset auditing equipment and acquiring an auditing result fed back by the preset auditing equipment, wherein the auditing request comprises the target file, and the auditing result is used for indicating whether the auditing is passed or not;
and the control module is used for executing a preset control command to control the target printing equipment to print the target file if the auditing result indicates that the auditing is passed, wherein the preset control command comprises a preset user identifier.
In an optional embodiment, the determining module is specifically configured to obtain, according to the device information of the target printing device, a device identifier of the target printing device;
matching the device identification of the target printing device with at least one device identification in the white list of the printing device to obtain a matching result;
and if the matching result indicates that the matching fails, determining that the printing mode of the target printing equipment is the control printing mode.
In an optional embodiment, the response module is specifically configured to display the virtual printing device in response to a print start instruction for the target file;
in response to a selection operation for the virtual printing device, displaying a printing device list including the target printing device identification;
and in response to the confirmation operation of the target printing equipment in the printing equipment list, submitting the audit content to preset audit equipment, and acquiring the audit result fed back by the preset audit equipment.
In an optional embodiment, the control module is specifically configured to, if the audit result indicates that the audit is passed, respond to a print confirmation instruction for the target file, and execute a preset control command to control the target printing device to print the target file.
In an alternative embodiment, the apparatus further comprises: the printing module is used for determining that the printing mode of the target printing equipment is the release printing if the matching result indicates that the matching is successful;
and responding to a printing starting instruction aiming at the target file, executing a preset control command to control the target printing device to print the target file.
In an optional embodiment, the confirmation module is further configured to send an acquisition request of a white list of printing devices to a server, where the acquisition request is used to request to acquire the white list of printing devices pre-stored on the server;
and receiving the white list of the printing equipment returned by the server.
In an optional embodiment, the obtaining module is specifically configured to obtain device information of an accessed target printing device based on a universal Unix printing system.
In a third aspect, the present invention provides an electronic device comprising: a processor, a storage medium and a bus, wherein the storage medium stores machine-readable instructions executable by the processor, when the electronic device runs, the processor and the storage medium communicate through the bus, and the processor executes the machine-readable instructions to execute the steps of the printer-based printing control method according to any one of the preceding embodiments.
In a fourth aspect, the present invention provides a storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of the printer-based print control method according to any one of the preceding embodiments.
The beneficial effect of this application is:
in the printing control method, the printing control device, the electronic device and the storage medium based on the printer provided by the embodiment of the application, the user-level access authority of the target printing device is configured to be accessible by a preset user by acquiring the device information accessed to the target printing device; determining a printing mode of the target printing equipment according to the equipment information of the target printing equipment and a white list of the printing equipment, wherein the white list of the printing equipment comprises at least one equipment identifier of the printing equipment, and the printing mode is used for indicating to control printing or release printing; if the printing mode indicates to control printing, an audit request is submitted to preset audit equipment in response to a printing starting instruction aiming at the target file, and an audit result fed back by the preset audit equipment is obtained, wherein the audit request comprises the target file, and the audit result is used for indicating whether the audit is passed or not; if the auditing result indicates that the auditing is passed, executing a preset control command to control the target printing equipment to print the target file, wherein the preset control command comprises a preset user identifier and a target printing equipment identifier.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are required to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained from the drawings without inventive effort.
Fig. 1 is a schematic flowchart of a printing control method based on a printer according to an embodiment of the present disclosure;
FIG. 2 is a schematic flow chart illustrating another printer-based printing control method according to an embodiment of the present disclosure;
FIG. 3 is a schematic flow chart illustrating a further method for controlling printing based on a printer according to an embodiment of the present disclosure;
FIG. 4 is a schematic flow chart illustrating another printer-based printing control method according to an embodiment of the present disclosure;
FIG. 5 is a schematic flow chart illustrating a further method for controlling printing based on a printer according to an embodiment of the present disclosure;
fig. 6 is a functional module schematic diagram of a printing control device based on a printer according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. The components of the embodiments of the present application, generally described and illustrated in the figures herein, can be arranged and designed in a wide variety of different configurations.
Thus, the following detailed description of the embodiments of the present application, presented in the accompanying drawings, is not intended to limit the scope of the claimed application, but is merely representative of selected embodiments of the 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.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures.
Fig. 1 is a schematic flowchart of a printing control method based on a printer according to an embodiment of the present disclosure, where the method may be applied to an electronic device such as a computer and a mobile terminal that may be connected to the printer, where the mobile terminal may be a mobile phone, a tablet computer, a palmtop computer, and the like, and of course, the present disclosure is not limited to a connection manner, and may be a wired connection or a wireless connection. As shown in fig. 1, the method includes:
s101, acquiring device information of the accessed target printing device, wherein the user-level access authority of the target printing device is configured to be accessible through a preset user.
The target printing device may be a bluetooth printer, a home printer, a commercial printer, a portable printer, a network printer, etc., which is not limited herein, and of course, the working mode of the target printer is not limited herein, and may include but is not limited to a stylus printer, an inkjet printer, a laser printer, etc. In some embodiments, the device information of the target printing device may include, but is not limited to: production date, production lot, device identification, device model, network device information, etc., without limitation.
It is to be appreciated that, in some scenarios, for a target printing device, in order to enable the target printing device to be used only by a dedicated user (e.g., a professional printer), the user-level access right of the target printing device may be configured to be accessible by a preset user, that is, only the preset user may use the target printing device for printing, and other non-preset users may not allow access.
S102, determining the printing mode of the target printing equipment according to the equipment information of the target printing equipment and the white list of the printing equipment.
The printing device white list includes a device identifier of at least one printing device, and the printing mode is used to instruct to control printing or to release printing, where the printing device white list may instruct whether to manage the printing device. It can be understood that if the printing mode of the target printing device indicates to control printing, the target printing device needs to be managed and controlled; and if the printing mode of the target printing device indicates that printing is released, the target device does not need to be managed and controlled.
S103, if the printing mode indicates to control printing, an audit request is submitted to the preset audit equipment in response to a printing starting instruction aiming at the target file, and an audit result fed back by the preset audit equipment is obtained, wherein the audit request comprises the target file, and the audit result is used for indicating whether the audit is passed.
The printing starting instruction of the target file can be used for indicating printing of the target file, and the printing starting instruction is responded to the condition that printing mode indication controls printing, an auditing request can be submitted to preset auditing equipment, the auditing request can include the target file, and it can be understood that at this moment, an auditor can acquire the target file through the preset auditing equipment and audit the target file, and the auditing result can be used for indicating whether the auditing is passed or not after the auditing result is fed back.
Of course, the application herein does not limit the specific auditing manner, and may be manual auditing, or auditing based on a preset auditing algorithm, where the auditing criteria may include, but are not limited to: whether sensitive text is included, whether the sensitive text is a confidential document, and the like are not limited herein.
And S104, if the auditing result indicates that the auditing is passed, executing a preset control command to control the target printing equipment to print the target file, wherein the preset control command comprises a preset user identifier.
If the audit result indicates that the audit is passed, a preset control command can be executed to control the accessed target device to print the target file, and the preset control command can include a preset user identifier, so that when the target printing device is controlled to print, the target printer can be controlled by the identity of a preset user, the target printer is prevented from being used by other users, and the target printing device is controlled. Of course, it should be noted that the preset control command may further include a target printing device identifier and some other printing control parameters according to an actual application scenario, and is not limited herein.
To sum up, in the print control method based on a printer provided in the embodiment of the present application, by obtaining device information that has been accessed to a target printing device, a user-level access right of the target printing device is configured to be accessible by a preset user; determining a printing mode of the target printing equipment according to the equipment information of the target printing equipment and a white list of the printing equipment, wherein the white list of the printing equipment comprises at least one equipment identifier of the printing equipment, and the printing mode is used for indicating to control printing or release printing; if the printing mode indicates to control printing, an audit request is submitted to preset audit equipment in response to a printing starting instruction aiming at the target file, and an audit result fed back by the preset audit equipment is obtained, wherein the audit request comprises the target file, and the audit result is used for indicating whether the audit is passed or not; if the auditing result indicates that the auditing is passed, executing a preset control command to control the target printing equipment to print the target file, wherein the preset control command comprises a preset user identifier and a target printing equipment identifier.
Fig. 2 is a schematic flowchart of another printer-based printing control method according to an embodiment of the present disclosure. Optionally, as shown in fig. 2, the determining a printing manner of the target printing device according to the device information of the target printing device and the white list of the printing device includes:
s201, acquiring the device identification of the target printing device according to the device information of the target printing device.
S202, matching the device identification of the target printing device with at least one device identification in the white list of the printing device to obtain a matching result.
S203, if the matching result indicates that the matching is failed, determining that the printing mode of the target printing device is the control printing mode.
In some embodiments, the device identifier of the target printing device may be extracted from the device information of the target printing device, the obtained device identifiers are matched with the device identifiers in the white list of the printing device one by one, whether the device identifier of the target printing device is in the white list of the printing device is determined, if the device identifier of the target printing device is not in the white list of the printing device, it is determined that the matching fails, and then the printing mode of the target printing device may be determined to be printing control. Of course, the actual determination method is not limited thereto.
Fig. 3 is a schematic flowchart of another printer-based print control method according to an embodiment of the present disclosure. Optionally, as shown in fig. 3, the submitting an audit request to a preset audit device in response to a print start instruction for a target file, and acquiring an audit result fed back by the preset audit device may include:
s301, responding to a printing starting instruction for the target file, displaying the virtual printing device.
S302, in response to a selection operation for the virtual printing device, displaying a printing device list, the printing device list including a target printing device identification.
In response to a print start instruction for the target file, a virtual printing device may be displayed, and in some embodiments, the virtual printing device may be displayed in a pop-up box, a prompt box, or the like, which is not limited herein; after the virtual printing device is displayed, the user can select the virtual printing device, and in response to the selection operation, a printing device list can be displayed, and the printing device list can include a target printing device identifier. For example, the printing device includes a plurality of printing devices, and when a user needs to print a certain file in batch, the printing device can perform parallel printing through the plurality of printing devices, so that the printing efficiency is improved.
And S303, in response to the confirmation operation on the target printing equipment in the printing equipment list, submitting the audit content to the preset audit equipment, and acquiring the audit result fed back by the preset audit equipment.
After the printing device list is displayed, the user can confirm that the target printing device is used for printing in the printing device list, and in response to the confirmation operation, an audit process can be triggered and audit content can be submitted to the preset audit device, so that an auditor can audit the target file through the audit device and return an audit result. In some embodiments, the target printing device may include one or more, and is not limited herein.
Optionally, if the audit result indicates that the audit is passed, executing a preset control command to control the target printing device to print the target file includes:
and if the auditing result indicates that the auditing is passed, responding to the printing confirmation instruction aiming at the target file, and executing a preset control command to control the target printing equipment to print the target file.
Optionally, if the target file passes the audit, the target file may be marked to distinguish the file that has not been audited, so that the user may print the target file at any time according to the user's own needs. By applying the method and the device, the separation of the auditing process and the printing confirmation process is realized, so that the user can audit the target file to be printed in advance, and the user experience and the applicability are improved.
Fig. 4 is a schematic flowchart of another printer-based printing control method according to an embodiment of the present application. Optionally, as shown in fig. 4, the method further includes:
s401, if the matching result indicates that the matching is successful, determining that the printing mode of the target printing device is the release printing.
S402, responding to a printing starting instruction for the target file, executing a preset control command to control the target printing device to print the target file.
Based on the above description, it can be understood that, in some embodiments, if the matching result indicates that the matching is successful, that is, the device identifier of the target device exists in the white list of the printing device, it indicates that the target printing device does not need to be managed and controlled, that is, for any target file, printing can be performed without auditing. Therefore, in this case, when the target file is printed, in response to the print start instruction, a preset control command may be executed to control the target printing device to print the target file, where the preset control command may include a preset user identifier, so that when the target printing device is controlled to print, the target printer may be controlled by the identity of the preset user.
In some embodiments, the preset control command may include an lpadmin printer control command, a target printing device identifier, other control parameters, and the like, which are not limited herein.
Fig. 5 is a schematic flowchart of another printer-based print control method according to an embodiment of the present application. Optionally, as shown in fig. 5, before determining the printing mode of the target printing device according to the device information of the target printing device and the white list of the printing device, the method further includes:
s501, sending a printing device white list acquisition request to a server, wherein the acquisition request is used for requesting to acquire a printing device white list stored in the server in advance.
And S502, receiving the white list of the printing equipment returned by the server.
In some embodiments, the printing device white list may be obtained by requesting a server, where the server may be a printing server, and the server may store the printing device white list in advance, and after receiving the obtaining request, the server may send the pre-stored printing device white list to the electronic device, so that the electronic device may determine the printing mode of the target printing device based on the printing device white list.
Of course, the method for acquiring the white list of the printing device is not limited herein, and may be that the printer requests to acquire each time the printer accesses, or may perform acquisition according to a preset acquisition frequency, acquire the white list of the printing device each time the printer is controlled to operate, and the like.
Optionally, the acquiring device information of the accessed target printing device includes: and acquiring the equipment information of the accessed target printing equipment based on the universal Unix printing system.
As a Printing System for managing print jobs and queues by using a Common Unix Printing System (CUPS) as an Internet Printing Protocol (IPP), the universal Unix Printing System has the advantages of automatically detecting network printers, supporting the use of most printers, and the like, and therefore, device information of a target Printing device can be acquired based on the Printing System, and certainly, the universal Unix Printing System can also be used for configuring user-level access rights and the like of the target Printing device, and is not limited herein, so that the acquisition of the device information of the target Printing device and the configuration of the user-level access rights become more convenient.
Fig. 6 is a functional module schematic diagram of a printing control device based on a printer according to an embodiment of the present application, the basic principle and the technical effect of the device are the same as those of the corresponding method embodiment, and for brief description, the corresponding contents in the method embodiment may be referred to for parts not mentioned in this embodiment. As shown in fig. 6, the print control apparatus 100 includes:
an obtaining module 110, configured to obtain device information of a target printing device that has been accessed, where a user-level access right of the target printing device is configured to be accessible by a preset user;
a determining module 120, configured to determine a printing mode of the target printing device according to device information of the target printing device and a printing device white list, where the printing device white list includes a device identifier of at least one printing device, and the printing mode is used to instruct to control printing or release printing;
a response module 130, configured to, if the printing mode indicates to control printing, respond to a print start instruction for a target file, submit an audit request to a preset audit device, and obtain an audit result fed back by the preset audit device, where the audit request includes the target file, and the audit result is used to indicate whether the audit is passed;
and the control module 140 is configured to execute a preset control command to control the target printing device to print the target file if the audit result indicates that the audit is passed, where the preset control command includes a preset user identifier.
In an optional embodiment, the determining module 120 is specifically configured to obtain, according to the device information of the target printing device, a device identifier of the target printing device; matching the device identification of the target printing device with at least one device identification in the white list of the printing device to obtain a matching result; and if the matching result indicates that the matching fails, determining that the printing mode of the target printing equipment is the control printing mode.
In an optional embodiment, the response module 130 is specifically configured to display a virtual printing device in response to a print start instruction for a target file; in response to a selection operation for the virtual printing device, displaying a printing device list including the target printing device identification; and in response to the confirmation operation of the target printing equipment in the printing equipment list, submitting the audit content to preset audit equipment, and acquiring the audit result fed back by the preset audit equipment.
In an optional embodiment, the control module 140 is specifically configured to, if the audit result indicates that the audit is passed, respond to a print confirmation instruction for the target file, and execute a preset control command to control the target printing device to print the target file.
In an alternative embodiment, the apparatus further comprises: the printing module is used for determining that the printing mode of the target printing equipment is the release printing if the matching result indicates that the matching is successful; and responding to a printing starting instruction aiming at the target file, executing a preset control command to control the target printing device to print the target file.
In an optional embodiment, the confirming module 120 is further configured to send an obtaining request of a white list of printing devices to a server, where the obtaining request is used to request to obtain the white list of printing devices pre-stored on the server; and receiving the white list of the printing equipment returned by the server.
In an optional embodiment, the obtaining module 110 is specifically configured to obtain device information of an accessed target printing device based on a universal Unix printing system.
The above-mentioned apparatus is used for executing the method provided by the foregoing embodiment, and the implementation principle and technical effect are similar, which are not described herein again.
These above modules may be one or more integrated circuits configured to implement the above methods, such as: one or more Application Specific Integrated Circuits (ASICs), or one or more microprocessors (DSPs), or one or more Field Programmable Gate Arrays (FPGAs), among others. For another example, when one of the above modules is implemented in the form of a Processing element scheduler code, the Processing element may be a general-purpose processor, such as a Central Processing Unit (CPU) or other processor capable of calling program code. For another example, these modules may be integrated together and implemented in the form of a system-on-a-chip (SOC).
Fig. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present application. As shown in fig. 7, the electronic device may include: a processor 210, a storage medium 220, and a bus 230, wherein the storage medium 220 stores machine-readable instructions executable by the processor 210, and when the electronic device is operated, the processor 210 communicates with the storage medium 220 via the bus 230, and the processor 210 executes the machine-readable instructions to perform the steps of the above-mentioned method embodiments. The specific implementation and technical effects are similar, and are not described herein again.
Optionally, the present application further provides a storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the computer program performs the steps of the above method embodiments. The specific implementation and technical effects are similar, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
The integrated unit implemented in the form of a software functional unit may be stored in a computer readable storage medium. The software functional unit is stored in a storage medium and includes several instructions for enabling a computer device (which may be a personal computer, a server, or a network device) or a processor (processor) to perform some steps of the methods according to the embodiments of the present application. And the aforementioned storage medium includes: a U disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
It is noted that, in this document, relational terms such as "first" and "second," and the like, may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The above description is only a preferred embodiment of the present application and is not intended to limit the present application, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present application shall be included in the protection scope of the present application. It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures. The above description is only a preferred embodiment of the present application and is not intended to limit the present application, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims (10)

1. A printer-based print control method, comprising:
acquiring device information accessed to a target printing device, wherein the user-level access authority of the target printing device is configured to be accessible by a preset user;
determining a printing mode of the target printing device according to the device information of the target printing device and a white list of the printing device, wherein the white list of the printing device comprises a device identifier of at least one printing device, and the printing mode is used for indicating to control printing or release printing;
if the printing mode indicates to control printing, an audit request is submitted to preset audit equipment in response to a printing starting instruction for a target file, and an audit result fed back by the preset audit equipment is obtained, wherein the audit request comprises the target file, and the audit result is used for indicating whether the audit is passed or not;
and if the auditing result indicates that the auditing is passed, executing a preset control command to control the target printing equipment to print the target file, wherein the preset control command comprises a preset user identifier.
2. The method according to claim 1, wherein the determining the printing mode of the target printing device according to the device information of the target printing device and a white list of printing devices comprises:
acquiring the equipment identifier of the target printing equipment according to the equipment information of the target printing equipment;
matching the device identification of the target printing device with at least one device identification in the white list of the printing device to obtain a matching result;
and if the matching result indicates that the matching fails, determining that the printing mode of the target printing equipment is the control printing mode.
3. The method according to claim 1, wherein the submitting an audit request to a preset audit device in response to a print start instruction for a target file and obtaining an audit result fed back by the preset audit device comprises:
displaying a virtual printing device in response to a start printing instruction for a target file;
in response to a selection operation for the virtual printing device, displaying a printing device list including the target printing device identification;
and in response to the confirmation operation of the target printing equipment in the printing equipment list, submitting the audit content to preset audit equipment, and acquiring the audit result fed back by the preset audit equipment.
4. The method according to claim 3, wherein if the audit result indicates that the audit is passed, executing a preset control command to control the target printing device to print the target file comprises:
and if the auditing result indicates that the auditing is passed, responding to a printing confirmation instruction aiming at the target file, and executing a preset control command to control the target printing equipment to print the target file.
5. The method of claim 2, further comprising:
if the matching result indicates that the matching is successful, determining that the printing mode of the target printing equipment is the release printing;
and responding to a printing starting instruction aiming at the target file, executing a preset control command to control the target printing device to print the target file.
6. The method of claim 1, wherein before determining the printing mode of the target printing device according to the device information of the target printing device and a white list of printing devices, the method further comprises:
sending an acquisition request of a white list of printing equipment to a server, wherein the acquisition request is used for requesting to acquire the white list of the printing equipment stored in advance on the server;
and receiving the white list of the printing equipment returned by the server.
7. The method according to any one of claims 1 to 6, wherein the acquiring device information of the accessed target printing device includes:
and acquiring the equipment information of the accessed target printing equipment based on the universal Unix printing system.
8. A printer-based print control method, comprising:
the system comprises an acquisition module, a storage module and a processing module, wherein the acquisition module is used for acquiring equipment information of an accessed target printing equipment, and the user-level access authority of the target printing equipment is configured to be accessible by a preset user;
a determining module, configured to determine a printing mode of the target printing device according to device information of the target printing device and a white list of printing devices, where the white list of printing devices includes a device identifier of at least one printing device, and the printing mode is used to instruct to control printing or release printing;
the response module is used for responding to a printing starting instruction aiming at a target file if the printing mode indicates to control printing, submitting an auditing request to preset auditing equipment and acquiring an auditing result fed back by the preset auditing equipment, wherein the auditing request comprises the target file, and the auditing result is used for indicating whether the auditing is passed or not;
and the control module is used for executing a preset control command to control the target printing equipment to print the target file if the auditing result indicates that the auditing is passed, wherein the preset control command comprises a preset user identifier.
9. An electronic device, comprising: a processor, a storage medium and a bus, the storage medium storing machine-readable instructions executable by the processor, the processor and the storage medium communicating via the bus when the electronic device is operating, the processor executing the machine-readable instructions to perform the steps of the printer-based print control method according to any one of claims 1 to 7.
10. A storage medium having stored thereon a computer program for performing the steps of the printer-based print control method according to any one of claims 1 to 7 when executed by a processor.
CN202011596582.6A 2020-12-29 2020-12-29 Printing control method and device based on printer, electronic equipment and storage medium Pending CN112698796A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011596582.6A CN112698796A (en) 2020-12-29 2020-12-29 Printing control method and device based on printer, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011596582.6A CN112698796A (en) 2020-12-29 2020-12-29 Printing control method and device based on printer, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN112698796A true CN112698796A (en) 2021-04-23

Family

ID=75511987

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011596582.6A Pending CN112698796A (en) 2020-12-29 2020-12-29 Printing control method and device based on printer, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112698796A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP4155897A1 (en) * 2021-09-22 2023-03-29 Canon Kabushiki Kaisha Information processing apparatus, control method of information processing apparatus, and storage medium

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101826048A (en) * 2010-02-09 2010-09-08 蓝盾信息安全技术股份有限公司 Method and system for monitoring printing
US20160313954A1 (en) * 2013-12-20 2016-10-27 Hewlett-Packard Development Company, L.P. Wireless communication of print content and a mobile device identifier
CN106201376A (en) * 2016-07-05 2016-12-07 孔尧 Method of printing and device
JP2017157114A (en) * 2016-03-04 2017-09-07 キヤノン株式会社 Information processing system, information processing device, image processing device, control method and extension program
CN107402728A (en) * 2016-05-19 2017-11-28 北大方正集团有限公司 A kind of file printing method and system
CN109299607A (en) * 2018-08-24 2019-02-01 珠海奔图电子有限公司 Driver safety detection method, device and image formation system
CN110471634A (en) * 2019-08-22 2019-11-19 晓印(北京)科技有限公司 Method of printing, device and readable storage medium storing program for executing
CN111142813A (en) * 2019-12-20 2020-05-12 口碑(上海)信息技术有限公司 Method and device for detecting connection state of printer
CN111240610A (en) * 2020-01-08 2020-06-05 中孚安全技术有限公司 Printing process management and control method, system, terminal and storage medium
CN111708498A (en) * 2020-04-26 2020-09-25 西安交大捷普网络科技有限公司 Method and device for monitoring document printing

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101826048A (en) * 2010-02-09 2010-09-08 蓝盾信息安全技术股份有限公司 Method and system for monitoring printing
US20160313954A1 (en) * 2013-12-20 2016-10-27 Hewlett-Packard Development Company, L.P. Wireless communication of print content and a mobile device identifier
JP2017157114A (en) * 2016-03-04 2017-09-07 キヤノン株式会社 Information processing system, information processing device, image processing device, control method and extension program
CN107402728A (en) * 2016-05-19 2017-11-28 北大方正集团有限公司 A kind of file printing method and system
CN106201376A (en) * 2016-07-05 2016-12-07 孔尧 Method of printing and device
CN109299607A (en) * 2018-08-24 2019-02-01 珠海奔图电子有限公司 Driver safety detection method, device and image formation system
CN110471634A (en) * 2019-08-22 2019-11-19 晓印(北京)科技有限公司 Method of printing, device and readable storage medium storing program for executing
CN111142813A (en) * 2019-12-20 2020-05-12 口碑(上海)信息技术有限公司 Method and device for detecting connection state of printer
CN111240610A (en) * 2020-01-08 2020-06-05 中孚安全技术有限公司 Printing process management and control method, system, terminal and storage medium
CN111708498A (en) * 2020-04-26 2020-09-25 西安交大捷普网络科技有限公司 Method and device for monitoring document printing

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP4155897A1 (en) * 2021-09-22 2023-03-29 Canon Kabushiki Kaisha Information processing apparatus, control method of information processing apparatus, and storage medium

Similar Documents

Publication Publication Date Title
JP5299398B2 (en) Printing system and printer
US9313354B2 (en) Output system for secure image processing, image processing apparatus, and output method thereof
US8643873B2 (en) Image forming apparatus, and control method and storage medium therefor
EP2624122A2 (en) Information processing system, information processing apparatus, and data conversion method
US9507953B2 (en) Information processing system, information processing method, and information processing apparatus
US10356280B2 (en) Information processing device, transfer system, information processing method, and non-transitory computer-readable medium
JP6604246B2 (en) Information processing apparatus, information processing system, information processing method, and program
JP6194667B2 (en) Information processing system, information processing method, program, and recording medium
US9307100B2 (en) Information processing apparatus, information processing system, control methods thereof, and storage medium
CN110830360B (en) Multi-application program intercommunication method, electronic device and computer readable storage medium
JP2015022620A (en) Information processing system, information processing method, program, and recording medium
EP3268891B1 (en) Device, authentication processing method, and computer program product
CN112698796A (en) Printing control method and device based on printer, electronic equipment and storage medium
EP2426595A2 (en) Image forming system and storage medium
US10303406B2 (en) Information processing utilization management system capable of determining whether or not information processing device is available from application in mobile terminal, information processing device, and method of managing information processing utilization
JP2020008954A (en) Print server, image forming apparatus, program, and printing system
US10771649B2 (en) Management server for managing multiple identifications of an image processing apparatus, and information processing system and information processing method therefor
JP6421419B2 (en) Apparatus, information processing system, information processing method, and program
US9804807B2 (en) Method and system for automated hardcopy change notification
JP2017010525A (en) Information processing system, information processing apparatus, information processing method, and program
CN111176591B (en) Print auditing method, device, equipment and medium based on CUPS system
US20160085487A1 (en) Document processing system, non-transitory computer readable medium, document processing apparatus, and document processing method
JP6361118B2 (en) Information processing system and information processing program
JP7047504B2 (en) Job system, job execution method, information processing device, program
JP2012216064A (en) Printing system, print execution device, printing method, print execution method, and print execution program

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