Information processing system
The information processing system addresses the challenge of restricting printing functions in driverless OS environments by using OS standard printing software and functional restriction information to enforce printing limitations, facilitating easy administration of printing restrictions.
Patent Information
- Application Number
- PCT/JP2024/010208
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-03-30
- Filing Date
- 2024-03-15
- Publication Date
- 2024-10-03
AI Technical Summary
In environments using driverless OS printing functions, administrators face difficulties in restricting printing functions across managed terminal devices without involving users, as the operating system no longer supports printer drivers.
An information processing system with a first information processing device configured to communicate with a printing device, equipped with OS standard printing software for driverless printing, and a second information processing device that outputs functional restriction information to the first device, allowing for capability information acquisition and conversion to enforce printing restrictions.
Enables administrators to easily set and change printing restrictions on printing devices within a driverless OS environment, providing a user-friendly printing restriction function.
Smart Images

Figure JP2024010208_03102024_PF_FP_ABST
Abstract
Description
Information Processing Systems
[0001] The present invention relates to an information processing system having a first information processing device configured to be able to communicate with a printing device, and a second information processing device configured to be able to communicate with the first information processing device.
[0002] Businesses and other organizations may need to restrict the printing functions of their printers for various reasons, such as restricting expensive color printing or restricting single-sided printing to save paper.
[0003] Conventionally, as described in, for example, Patent Document 1, a printing system has been known in which a printer driver provided by a printer vendor sends predetermined print data based on print setting information to a printing device, and the printing device executes the print processing. In this printing system, the printer driver imposes restrictions on the print setting information and restricts the printing functions.
[0004] Japanese Patent Application Laid-Open No. 2007-122591
[0005] In recent years, operating systems (OS) with driverless printing capabilities, which allow printing according to a specific printing standard without using a printer driver provided by the printer vendor, have become common. In this case, printing can be performed without installing a printer driver. However, in an environment using such driverless OS printing capabilities, the OS no longer supports printer drivers, making it impossible for administrators to restrict the printing functions of each terminal device under their management without involving the user.
[0006] An object of the present invention is to provide an information processing system that can provide a print restriction function that is easy for an administrator to use in an environment that uses a driverless OS printing function.
[0007] In order to achieve the above object, the present invention provides an information processing system including: a first information processing device configured to be able to communicate with a printing device, the first information processing device having OS standard printing software that is installed as standard in an operating system and is capable of performing driverless printing without using a driver provided by a printer vendor, and a first control unit that operates as a virtual printer corresponding to the printing device; and a second information processing device having a second control unit and configured to be able to communicate with the first information processing device, wherein the second control unit is configured to execute a function restriction information output process that outputs function restriction information of the printing device to the first information processing device, and the first control unit is configured to execute a capability information acquisition process that acquires first capability information that indicates the capabilities of the printing device, and The device is configured to execute restriction processes that perform at least one of a function restriction information acquisition process that acquires the function restriction information output from the second information processing device, a capability information output process that outputs second capability information based on the first capability information acquired in the capability information acquisition process to the OS standard printing software, a print data transmission process that acquires first print data from the OS standard printing software corresponding to the second capability information output in the capability information output process and transmits second print data based on the first print data to the printing device, a first conversion process that converts the first capability information into the second capability information based on the function restriction information, and a second conversion process that converts the first print data into the second print data based on the function restriction information.
[0008] The information processing system of the present invention includes a first information processing device configured to be able to communicate with a printing device, and a second information processing device having a second control unit and configured to be able to communicate with the first information processing device. The first information processing device includes OS-standard printing software that is installed as standard in the operating system and is capable of performing driverless printing without using a driver provided by a printer vendor, and a first control unit that operates as a virtual printer corresponding to the printing device. The second control unit executes a function restriction information output process that outputs function restriction information of the printing device to the first information processing device. The first control unit executes a capability information acquisition process, a function restriction information acquisition process, a capability information output process, a print data transmission process, and a restriction process. In the capability information acquisition process, first capability information representing the capabilities of the printing device is acquired. In the function restriction information acquisition process, function restriction information output from the second information processing device is acquired. In the capability information output process, second capability information based on the first capability information acquired in the capability information acquisition process is output to the OS-standard printing software. In the print data transmission process, first print data is obtained from the OS-standard printing software corresponding to the second capability information output in the capability information output process, and second print data based on the first print data is transmitted to the printing device. In the restriction process, at least one of a first conversion process that converts the first capability information into second capability information based on the function restriction information and a second conversion process that converts the first print data into second print data based on the function restriction information is performed. According to the present invention, for example, an administrator of an information processing system can use a second information processing device to set or change the function restriction information of the printing device. According to the present invention, a print restriction function that is easy for administrators to use can be provided in an environment using driverless OS printing functions.
[0009] According to the present invention, it is possible to provide a print restriction function that is easy for an administrator to use in an environment where a driverless OS printing function is used.
[0010] FIG. 1 is a block diagram showing an example of a system configuration of a printing system and a functional configuration of a terminal device according to a first embodiment. FIG. 2 is a diagram showing an example of a setting screen for a rule file stored in a rule storage unit. FIG. 3 is a block diagram showing an example of a filter function related to users and attributes of a printer application of a terminal device. FIG. 4 is a flowchart showing an example of a control procedure executed by an attribute / mDNS conversion unit of a printer application of a terminal device according to an embodiment. FIG. 5 is a flowchart showing an example of a control procedure executed when a processor of a management PC transmits a rule file to each terminal device. FIG. 6 is a diagram showing an example of a method of transmitting a rule file from a management PC to a terminal device that is different from EWS. FIG. 7 is a diagram showing an example of a method of transmitting a rule file from a management PC to a terminal device that is different from EWS. FIG. 8 is a block diagram showing an example of the hardware configuration of a terminal device and a printer. FIG. 9 is a block diagram showing an example of the hardware configuration of a management PC.
[0011] An embodiment of the present invention will be described with reference to the drawings.
[0012] <Outline of Printing System> FIG. 1 shows an example of the system configuration of a printing system 1 according to an embodiment. In FIG. 1, the printing system 1 includes a terminal device 100, a printer 200, and a management PC 300. The terminal device 100 and the printer 200 are communicatively connected via, for example, the Internet, a wired LAN, or a wireless LAN. The terminal device 100 and the management PC 300 are communicatively connected via, for example, the Internet, a wired LAN, or a wireless LAN. The printing system 1 may include one or more sets of terminal devices 100 and printers 200. Furthermore, multiple printers 200 may be connected to one terminal device 100. The printing system 1 is an example of an information processing system, the terminal device 100 is an example of a first information processing apparatus, the printer 200 is an example of a printing apparatus, and the management PC is an example of a second information processing apparatus.
[0013] <Functional Configuration of Terminal Device> The terminal device 100 transmits print data to the printer 200 to execute printing. The terminal device 100 is, for example, a desktop PC, a notebook PC, a tablet computer, or the like, but may also be a mobile terminal such as a smartphone. As will be described in detail later, the terminal device 100 has a processor 110 and a storage device 115 that stores various print processing programs (see FIG. 10 described later). The processor 110 executes the various print processing programs, causing the terminal device 100 to have the functional configuration shown in FIG. 1.
[0014] As shown in FIG. 1 , the terminal device 100 includes an operating system (OS) 101, an editing application 102, a printer application 170, and a browser 104. The OS 101 includes, as an example, a Common Unix Printing System (CUPS) 160, which provides a driverless printing function that prints according to a predetermined printing standard without using a printer driver. The CUPS 160 is a modularized printing system for the OS that is included as standard with the OS 101 and is capable of driverless printing without using a printer vendor-provided driver. The CUPS 160 includes an HTTP server 161, a CUPS SPnP management unit 162, an IPP client 163, and a print data scheduler and spooler 164. The HTTP server 161 is server software that runs on the CUPS 160. The HTTP server 161 obtains information and functions input by the operator of the terminal device 100 using HTTP (Hypertext Transfer Protocol) via the browser 104, or provides information and functions to the operator of the terminal device 100. The CUPSPnP management unit 162 has a PnP (Plag and Play) function that registers detected printers (including virtual printing devices) in the CUPS 160 using protocols such as mDNS / SD and creates a print queue. The settings of the CUPSPnP management unit 162 are changed by a script executed when the printer application 170 is installed so that the search address for PnP is limited to the internal network of the terminal device 100 (usually IP address 127.0.0.1). Therefore, the CUPS 160 cannot directly recognize the printer 200, and instead recognizes the printer application 170 as the printer. The printer application 170 is not an actual printer, but a so-called virtual printer that behaves as a printer for the CUPS 160. The printer application 170 mediates between the CUPS 160 and the printer 200, thereby realizing printing using the CUPS 160 and the printer 200. The IPP client 163 transmits and receives print data or attributes to and from an IPP / mDNS server 173 (described later) using the IPP protocol.The print data scheduler and spooler 164 manages print jobs sent from the editing application 102, etc., and also temporarily blocks multiple print jobs generated simultaneously, processes them sequentially, and passes them to the IPP client 163. Note that the CUPS 160 is an example of OS standard printing software.
[0015] The printer application 170 operates as a virtual printer corresponding to the printer 200 for the CUPS 160. The CUPS 160 handles the printer application 170 as a printer and executes various processes related to printing. The printer application 170 includes a printer communication unit 171, an attribute / mDNS conversion unit 172, an IPP / mDNS server 173, a print data conversion unit 174, a rule storage unit 175, and an EWS 176.
[0016] The printer communication unit 171 communicates with the printer 200 using the IPP (Internet Printing Protocol). The printer 200 supports the IPP protocol. The printer communication unit 171 receives attributes from the printer 200 and transmits print data to the printer 200.
[0017] The attribute / mDNS conversion unit 172 acquires attributes that represent the capabilities of the printer 200 via the printer communication unit 171, and also acquires a rule file for restricting the printing functions of the printer 200 from the rule storage unit 175. The attribute / mDNS conversion unit 172 converts the attributes acquired from the printer 200 into attributes that restrict some of the printing functions of the printer 200 in accordance with the rule file acquired from the rule storage unit 175. The attributes before being converted by the attribute / mDNS conversion unit 172 are an example of first capability information, and the attributes after being converted are an example of second capability information. The process in which the attribute / mDNS conversion unit 172 converts the attributes is an example of a first conversion process.
[0018] The rule storage unit 175 stores a rule file, which is information for restricting the printing functions of the printer 200. The printing function restrictions defined by the rule file include printing function restrictions that can be realized by converting attributes. The printing function restrictions defined by the rule file include printing function restrictions that can be realized by converting print data, such as printing function restrictions that cannot be realized by converting attributes. The rule file is an example of function restriction information.
[0019] The rule file sets, for example, print color restrictions that limit print colors to color or black and white, paper restrictions that limit paper size to a specified size such as A4 or A5, and media restrictions that prohibit the use of glossy paper.
[0020] The rule file is generated, for example, in the management PC 300 and transmitted from the management PC 300 to the terminal device 100. Alternatively, the rule file is generated by the printer application 170 of the terminal device 100 based on setting information set via the management PC 300 or the like. While the transmission format is not particularly limited, in this embodiment, the printer application 170 includes an EWS (Embedded Web Server) 176. The EWS 176 displays a setting screen via a browser or the like on the management PC 300 and generates the rule file by collecting setting information on the functions to be restricted from the setting screen. Alternatively, the EWS 176 obtains the rule file from the management PC 300 using the HTTP protocol and stores it in the rule storage unit 175. The rule storage unit 175 is, for example, a partial area of the data storage area 132 of the non-volatile storage device 130 of the storage device 115 of the terminal device 100 (see FIG. 10 , described below). The above-described process of collecting setting information from the management PC 300 and generating a rule file, or the process of acquiring a rule file from the management PC 300, are each an example of a function restriction information acquisition process.
[0021] The attribute / mDNS conversion unit 172 has the functionality of an mDNS (multicast Domain Name System). mDNS simultaneously distributes DNS queries within a local network using IP (Internet Protocol) multicast, simultaneously querying all devices on the same network. Devices that receive queries respond by transmitting their own IP addresses.
[0022] The IPP / mDNS server 173 outputs the attributes converted by the attribute / mDNS conversion unit 172 to the CUPS 160. Furthermore, the attribute / mDNS conversion unit 172 controls the IPP / mDNS server 173 in accordance with the rule file and changes the attributes to restrict functions in accordance with the rules. Also, by restricting the information related to the mDNS / SD output from the IPP / mDNS server 173 in accordance with the rule file, it is possible to prevent the CUPS 160 from recognizing printers with specific functions and to make them unusable. The CUPS PnP management unit 162 does not register print queues by PnP for printers with restricted mDNS / SD information.
[0023] CUPS 160 outputs print data corresponding to the attributes converted by IPP client 163. IPP / mDNS server 173 acquires the print data corresponding to the converted attributes output from CUPS 160 and outputs it to print data conversion unit 174. Note that IPP / mDNS server 173 has the mDNS function similar to attribute / mDNS conversion unit 172.
[0024] The process in which the attribute / mDNS conversion unit 172 converts the attribute and the process in which the IPP / mDNS server 173 outputs the converted attribute to the CUPS 160 are an example of a capability information output process.
[0025] The print data conversion unit 174 converts print data acquired from the CUPS 160 via the IPP / mDNS server 173 into print data that restricts some of the printing functions of the printer 200 in accordance with the rule file acquired from the rule storage unit 175. In this embodiment, the print data conversion is referred to as "data content conversion" to distinguish it from the "data format conversion" described below. The print data conversion unit 174 also performs "data format conversion," converting the data format (e.g., PWGRaster) of the print data acquired from the CUPS 160 into a predetermined data format (e.g., PCL) that can be processed by the printer 200. Specifically, the print data conversion unit 174 determines whether the print data acquired from the CUPS 160 conforms to the rule file. If the print data conversion unit 174 determines that the print data conforms to the rule file, it performs only the "data format conversion" without performing the "data content conversion." In this case, the print data conversion unit 174 outputs the print data with the converted data format to the printer communication unit 171. On the other hand, if print data conversion unit 174 determines that the print data acquired from CUPS 160 does not conform to the rule file, it executes both the "data content conversion" and the "data format conversion" described above. In this case, print data conversion unit 174 outputs print data in which both the data content and the data format have been converted to printer communication unit 171. Note that the print data acquired from CUPS 160 is an example of first print data, and print data that has undergone the "data format conversion" or "data content conversion" described above is an example of second print data. The process in which print data conversion unit 174 converts the print data acquired from CUPS 160 into print data that conforms to the rule file is an example of second conversion processing.
[0026] Printer communication unit 171 transmits the print data output from print data conversion unit 174 to printer 200. Note that the process in which print data conversion unit 174 acquires print data from CUPS 160, converts the acquired print data into print data according to the rule file, and printer communication unit 171 transmits the converted print data to printer 200 is an example of a print data transmission process.
[0027] <Administration PC> The administration PC 300 is a terminal device used by an administrator of the printing system 1. The administration PC 300 displays a setting screen transmitted from the EWS 176 via a browser or the like on the administration PC 300. The EWS 176 generates a rule file based on setting information about functions to be restricted input from the setting screen. Alternatively, the rule file generated in the administration PC 300 is transmitted to the printer application 170 of the terminal device 100, and the rule file is stored in the rule storage unit 175. The administration PC 300 is, for example, a desktop PC, a notebook PC, a tablet computer, or the like. As will be described in more detail below, the administration PC 300 includes a processor 310 and a storage device 315 that stores various information processing programs (see FIG. 11 , described below). The processor 310 executes the various information processing programs.
[0028] 2 shows an example of a setting screen 380 for a rule file stored in the rule storage unit 175. The setting screen 380 is displayed when a predetermined URL of the EWS 176 is accessed by a browser or the like of the management PC 300.
[0029] The setting screen 380 shown in Fig. 2 is a setting screen for a rule file that is individually applied to each user of the printer 200. For example, for user A, the setting screen 380 sets a color restriction that limits printing to color only, a paper restriction that limits paper size to A4 or A5, and a media restriction that prohibits the use of glossy paper. The method for inputting the settings is not particularly limited, but in Fig. 2, for example, when each of the setting buttons 381, 382, and 383 is operated, a pull-down menu is displayed, and the settings are made by selecting from the menu. Note that when each of the setting buttons 381, 382, and 383 is operated, a detailed setting screen is displayed, and settings may be made on the detailed setting screen.
[0030] The above-mentioned restriction items are merely examples, and other restriction items may be set. A rule file commonly applied to all users of the printer 200 may also be set on a similar setting screen. The information set on this screen is acquired by the EWS 176 and stored as a rule file.
[0031] <Filter Function of Printer Application> Fig. 3 shows an example of a filter function related to users and attributes of the printer application 170 of the terminal device 100. As shown in Fig. 3, the printer application 170 has the above-mentioned EWS 176, a user filter 172a, an attribute receiving unit 172b, an attribute filter 172c, an attribute sending unit 172d, an attribute and print data filter 177, and a spooling and printing time management unit 178. The user filter 172a, the attribute receiving unit 172b, the attribute filter 172c, and the attribute sending unit 172d are functions that make up the above-mentioned attribute / mDNS conversion unit 172.
[0032] When an administrator on the administration PC 300 accesses a predetermined URL through an appropriate operation, the EWS 176 outputs display data for a setting screen for setting a rule file in HTML format from the terminal device 100 to the browser on the administration PC 300. The EWS 176 is configured to be accessible only by specific users, for example, through password authentication. When the administrator sets or changes a rule file on the displayed setting screen, the set rule file is generated via the EWS 176 and stored in the rule storage unit 175 of the printer application 170. The rule file stored in the rule storage unit 175 is used by the user filter 172a, the attribute filter 172c, the attribute and print data filter 177, and the spool and print time management unit 178.
[0033] The user filter 172a narrows down the response information sent via mDNS to combinations of authorized users and printers 200. Specifically, the attribute / mDNS conversion unit 172 or the IPP / mDNS server 173 sends query information sent via mDNS to all printers on the same network. The attribute / mDNS conversion unit 172 acquires, via the printer communication unit 171, the response information sent from each printer in response to the query information. The user filter 172a identifies, from the received response information, response information from printers 200 whose user usage is restricted based on the content of the function restrictions in the rule file. The user filter 172a does not output response information whose user usage is restricted to the CUPS 160. In other words, the printer is considered not to exist in the CUPS 160. On the other hand, response information from printers whose user usage is not restricted is output to the CUPS 160.
[0034] The process in which the attribute / mDNS conversion unit 172 or the IPP / mDNS server 173 transmits query information by mDNS is an example of a query transmission process. The process in which the attribute / mDNS conversion unit 172 receives response information is an example of a response reception process. The process in which the user filter 172a does not output to the CUPS 160 response information from the printer 200 if the response information is from a printer whose user usage is restricted, and outputs response information from other printers is an example of a response information output process.
[0035] When the attribute / mDNS conversion unit 172 sends an attribute request to the printer 200, the attribute receiving unit 172b receives the attribute sent from the printer 200 in response to the request. The attribute receiving unit 172b outputs the received attribute to the attribute filter 172c. The attribute filter 172c converts the received attribute into an attribute that restricts some printing functions in accordance with the rule file acquired via the EWS 176. The attribute filter 172c outputs the converted attribute to the attribute sending unit 172d. The attribute sending unit 172d sends the converted attribute to the CUPS 160 via the IPP / mDNS server 173.
[0036] The attribute & print data filter 177 receives print jobs sent from the editing application 102 via the CUPS 160. The attribute & print data filter 177 changes information about the destination of the received print job according to the rule file acquired from the EWS 176, and outputs the print job to the spool and print time management unit 178. The spool and print time management unit 178 manages the print time of the print job and temporarily blocks multiple print jobs to execute sequential transmission processing. The print job includes print data. The attribute & print data filter 177 and the spool and print time management unit 178 are arranged, for example, between the print data conversion unit 174 and the printer communication unit 171 in FIG. 1.
[0037] <Processing of Attribute / mDNS Conversion Unit> An example of a control procedure executed by the attribute / mDNS conversion unit 172 of the printer application 170 of the terminal device 100 will be described with reference to the flowchart of Fig. 4. This flowchart corresponds to the attribute filter 172c shown in Fig. 3.
[0038] 4, in step S10, the attribute / mDNS conversion unit 172 reads a rule file that is commonly applied to all users of the printer 200 from the rule storage unit 175 and updates the rule file. That is, the attribute / mDNS conversion unit 172 obtains the rule file of the printer 200.
[0039] In step S20, attribute / mDNS conversion unit 172 receives attribute and mDNS / SD information from printer 200 via printer communication unit 171. That is, attribute / mDNS conversion unit 172 acquires attributes that indicate the capabilities of printer 200 and information about the existence of printer 200 itself. Step S20 is an example of capability information acquisition processing.
[0040] In step S30, the attribute / mDNS conversion unit 172 converts the attribute and mDNS / SD information received in step S20 in accordance with the rule file read in step S10. For example, if color printing is restricted, the attribute indicating color printing is enabled is deleted or changed to color printing disabled. Alternatively, the mDNS / SD information indicating the presence of a color printer is deleted. Furthermore, if paper sizes are restricted to A4 and A5, the attribute / mDNS conversion unit 172 limits paper size attributes to A4 and A5 only. Furthermore, if media restrictions are imposed, such as prohibiting glossy paper, glossy paper is excluded from media-related attributes. In other words, the attribute / mDNS conversion unit 172 converts the attributes acquired in step S20 into attributes that restrict printing functions in accordance with the rule file acquired in step S10. Step S30 is an example of a first conversion process.
[0041] In step S40, the attribute / mDNS conversion unit 172 transmits the attribute converted in step S30 to CUPS 160 via the IPP / mDNS server 173. That is, the attribute / mDNS conversion unit 172 outputs the attribute converted in step S30 to CUPS 160. Steps S30 and S40 are an example of capability information output processing.
[0042] In step S50, the attribute / mDNS conversion unit 172 determines whether or not processing of all attribute and mDNS / SD information has been completed. If processing of all attribute and mDNS / SD information has not been completed (step S50: No), the attribute / mDNS conversion unit 172 returns to step S20. On the other hand, if processing of all attribute and mDNS / SD information has been completed (step S50: Yes), the attribute / mDNS conversion unit 172 ends this flow.
[0043] <Processing of Print Data Conversion Unit> An example of a control procedure executed by the print data conversion unit 174 of the printer application 170 of the terminal device 100 will be described with reference to the flowchart of FIG.
[0044] As shown in FIG. 5, in step S110, the print data conversion unit 174 acquires user information included in the print data received from the CUPS 160 via the IPP / mDNS server 173.
[0045] In step S120, the print data conversion unit 174 reads from the rule storage unit 175 a rule file that is individually applied to each user who uses the printer 200, and updates the rule file.
[0046] In step S130, the print data conversion unit 174 determines whether the user associated with the user information acquired in step S110 is a user authorized in the rule file loaded in step S120. Specifically, it determines whether the rule file loaded in step S120 includes a rule file corresponding to the user associated with the user information acquired in step S110. If the user is not authorized (step S130: No), the print data conversion unit 174 ends this flow. On the other hand, if the user is authorized (step S130: Yes), the print data conversion unit 174 proceeds to the next step S140. Step S130 corresponds to the user filter 172a shown in FIG. 3.
[0047] In step S140, print data conversion unit 174 receives print data from CUPS 160 via IPP / mDNS server 173. That is, print data conversion unit 174 acquires print data from CUPS 160 that corresponds to the converted attribute output in step S40 described above.
[0048] In step S150, the print data conversion unit 174 determines whether the print data received in step S140 is outside the range of restrictions imposed by the rule file read in step S120. If the print data is within the range of restrictions imposed by the rule file (step S150: No), the print data conversion unit 174 performs the aforementioned "data format conversion" on the print data and proceeds to step S170, which will be described later. On the other hand, if the print data is outside the range of restrictions imposed by the rule file (step S150: Yes), the print data conversion unit 174 proceeds to the next step S160. That is, the print data conversion unit 174 determines whether the print data acquired in step S140 is consistent with the rule file read in step S120.
[0049] In step S160, the print data conversion unit 174 converts the print data received in step S140 in accordance with the rule file read in step S120. Here, the print data conversion unit 174 performs the "data content conversion" and "data format conversion" described above on the print data. That is, the print data conversion unit 174 converts the print data acquired from CUPS 160 in step S140 into print data with limited printing functions in accordance with the rule file read in step S120. Step S160 is an example of a second conversion process. Step S160 corresponds to the attribute & print data filter 177 shown in FIG. 3.
[0050] In step S170, the print data conversion unit 174 transmits the print data to the printer 200 via the printer communication unit 171. The print data to be transmitted is the print data that has undergone "data format conversion" in step S150 (No) above, or the print data that has undergone "data content conversion" and "data format conversion" in step S160 above. In other words, the print data conversion unit 174 transmits the print data that has been converted based on the print data acquired in step S140 above to the printer 200. Steps S140 to S170 above are an example of a print data transmission process.
[0051] In step S180, print data conversion unit 174 determines whether the print job processed by CUPS 160 has finished. If the print job has not finished (step S180: No), print data conversion unit 174 returns to step S140. On the other hand, if the print job has finished (step S180: Yes), print data conversion unit 174 ends this flow.
[0052] The above steps S30 and S160 are examples of the restriction process.
[0053] <Rule File Transmission Process by Administration PC> The administration PC 300 transmits a rule file to each terminal device 100 to set or update the rule file in each terminal device 100. An example of a control procedure executed by the processor 310 of the administration PC 300 at this time will be described with reference to the flowchart of FIG. 6. In this embodiment, for example, a case will be described in which a plurality of terminal devices 100 are managed by group, and rule files for each terminal device 100 are also managed by group. The groups may be set according to, for example, the company, department, or group to which the user of the terminal device 100 belongs. Alternatively, the groups may be set according to the group to which the user belongs in domain group management, OS group management, or the like. The processor 310 of the administration PC 300 executes the flowchart shown in FIG. 6 by executing a group management program.
[0054] 6, the processor 310 of the management PC 300 (see FIG. 11 described later) reads the setting file for group N (N=1, 2, ...). The setting file is a rule file for each terminal device 100 managed for each group. For example, the rule file for each terminal device 100 belonging to group 1 is managed as a setting 1 file, the rule file for each terminal device 100 belonging to group 2 is managed as a setting 2 file, and so on. The processor 310 reads the setting files for all groups to be transmitted.
[0055] Each rule file constituting the setting file may be generated in the management PC 300, or may be generated in an external terminal or external server other than the management PC 300. When generated in the management PC 300, for example, an administrator, who is the user of the management PC 300, sets the rule file on a rule file setting screen displayed on the display unit 340 of the management PC 300 (see FIG. 11 described below), thereby generating the rule file. The generated rule file is stored, for example, in a data storage area 332 (see FIG. 11 described below) of the non-volatile storage device 330 of the storage device 315 of the management PC 300. In this case, the process of generating the rule file by the processor 310 of the management PC 300 is an example of a function restriction information generation process, the process of storing the generated rule file in the data storage area 332 is an example of a function restriction information storage process, and the data storage area 332 is an example of a storage unit.
[0056] In step S220, the processor 310 of the management PC 300 obtains from the group management server the accounts of each terminal device 100 belonging to group N read in step S210, i.e., the constituent accounts of group N. The group management server is a server that manages the accounts of each terminal device 100 for each group to which it belongs. The group management server may be the management PC 300 itself, or an external terminal provided separately from the management PC 300 or an external server that manages general-purpose groups and authorities. The account is information that indicates the destination of the rule file, such as the IP address of the terminal device 100. The account is an example of destination information, and step S220 is an example of destination information acquisition processing.
[0057] In step S230, the processor 310 of the administration PC 300 transmits the setting file for group N read in step S210 to the corresponding terminal device 100 belonging to group N, based on the constituent accounts of group N acquired in step S220. The processor 310 transmits the setting file to the EWS 176 of the terminal device 100 using the HTTP protocol. Steps S210 to S230 are an example of a function restriction information output process.
[0058] In step S240, the processor 310 of the administration PC 300 determines whether transmission of the rule file to all terminal devices 100 belonging to group N has been completed. If transmission of the rule file to all terminal devices 100 has not been completed (step S240: No), the processor 310 returns to step S230 and transmits the rule file to the next terminal device 100. The processor 310 repeats steps S230 and S240 until transmission of the rule file to all terminal devices 100 belonging to group N has been completed. If transmission of the rule file to all terminal devices 100 has been completed (step S240: Yes), the processor 310 proceeds to the next step S250.
[0059] In step S250, processor 310 of administration PC 300 determines whether transmission of the rule files to all groups read in step S210 has been completed. If transmission of the rule files to all groups has not been completed (step S250: No), processor 310 returns to step S210. Processor 310 repeats steps S210 to S250 until transmission of the rule files to all groups has been completed. If transmission of the rule files to all groups has been completed (step S250: Yes), processor 310 ends this flowchart.
[0060] <Effects of the Embodiment> The printing system 1 of this embodiment includes a terminal device 100 configured to be able to communicate with the printer 200, and an administration PC 300 configured to be able to communicate with the terminal device 100. The processor 310 of the administration PC 300 executes steps S210 to S230 to output a rule file for restricting the printing function of the printer 200 to the terminal device 100. The processor 110 (see FIG. 10 described later) of the terminal device 100 acquires attributes that indicate the capabilities of the printer 200 and also acquires the rule file output from the administration PC 300. The processor 110 converts the acquired attributes into attributes that restrict the printing function in accordance with the rule file, and outputs the converted attributes to the CUPS 160. The processor 110 acquires print data from the CUPS 160 that corresponds to the attribute that restricts the printing function, and transmits the converted print data to the printer 200. By executing the above processes, a virtual printer for the CUPS 160 is formed in the terminal device 100, and printing is performed using a driverless OS printing function.
[0061] According to this embodiment, for example, an administrator of the printing system 1 can use the management PC 300 to set or change a rule file for restricting the printing functions of the printer 200. According to this embodiment, in an environment where a driverless OS printing function is used, it is possible to provide an administrator with a user-friendly print restriction function.
[0062] In particular, in this embodiment, the management PC 300 has a data storage area 332, and the processor 310 of the management PC 300 executes a process for generating a rule file and a process for storing the generated rule file in the data storage area 332. The processor 310 reads the rule file stored in the data storage area 332 and outputs it to the terminal device 100. According to this embodiment, for example, an administrator of the printing system 1 can use the management PC 300 to generate and store a rule file. According to this embodiment, a print restriction function that is easy for the administrator to use can be provided.
[0063] Furthermore, particularly in this embodiment, the printing system 1 has at least one terminal device 100, and the processor 310 of the management PC 300 outputs a corresponding rule file to each of the at least one terminal device 100. According to this embodiment, for example, an administrator of the printing system 1 can use the management PC 300 to simultaneously set or change the corresponding rule file for at least one terminal device 100. According to this embodiment, it is possible to provide a print restriction function that is easy for the administrator to use.
[0064] In particular, in this embodiment, the processor 310 of the administration PC 300 executes step S220 to acquire an account, which is output destination information for the rule file. In step S230, the processor 310 outputs the corresponding rule file to each of at least one terminal device 100 based on the account acquired in step S220. According to this embodiment, for example, an administrator of the printing system 1 can use the administration PC 300 to acquire the account of at least one terminal device 100 and then simultaneously set or change the corresponding rule file for at least one terminal device 100 based on the account. According to this embodiment, a print restriction function that is easy for the administrator to use can be provided.
[0065] In particular, in this embodiment, the IPP / mDNS server 173 transmits query information to each of at least one printer 200, and the attribute / mDNS conversion unit 172 receives response information transmitted from each of at least one printer 200 in response to the query information. The user filter 172a outputs, to the CUPS 160, response information from printers 200 that are subject to function restriction by the rule file, and does not output response information from printers 200 that are not subject to function restriction. According to this embodiment, when a query is sent to each printer 200 using multicast DNS and a response signal is received, only the response information from the printers 200 that are subject to the rule file can be output to the CUPS 160. According to this embodiment, it is possible to cause the CUPS 160 to recognize only the printers 200 that are subject to the rule file as processing targets.
[0066] In particular, in this embodiment, the printer application 170 converts print data acquired from the CUPS 160 into print data according to the rule file in the print data conversion unit 174, and transmits the converted print data to the printer 200 in the printer communication unit 171. According to this embodiment, it is possible to implement functional restrictions that the CUPS 160 cannot support or that provide higher quality than the CUPS 160. For example, if print colors are limited to black and white, the color print data output from the CUPS 160 is converted into black and white print data. In this case, the attribute / mDNS conversion unit 172 leaves the attribute as color printing. Note that the attribute / mDNS conversion unit 172 may convert the attribute to black and white printing, and then execute processing to improve the image quality of the black and white print data output from the CUPS 160.
[0067] <Modifications> The present invention is not limited to the above-described embodiment, and various modifications are possible within the scope of the spirit and technical concept of the present invention.
[0068] (1) Method of Sending Rule File Other than EWS In the above embodiment, in step S230 shown in FIG. 6 , the rule file is sent to the EWS 176 of the terminal device 100 using the HTTP protocol, but the method of sending the rule file is not limited to this. For example, as shown in FIG. 7 , the rule file may be sent using the SMB (Server Message Block) protocol, which is a file sharing protocol in the OS 101 of the terminal device 100. In this case, the processor 310 of the administration PC 300 can write or update the rule file in the authentication-enabled shared area 180 by sending the rule file to the authentication-enabled shared area 180 of the terminal device 100. The rule file in the authentication-enabled shared area 180 is output to the user filter 172 a and the attribute filter 172 c.
[0069] 8, the management PC 300 may have an HTTP server 360, and the terminal device 100 may have an authentication-enabled HTTP client 181 and an authentication-enabled HTTP server 182. In this case, the HTTP client 181 periodically transmits a request for a rule file to the HTTP server 360 of the management PC 300, and the HTTP server 360 transmits the rule file to the HTTP client 181 using the HTTP protocol in response to the request. The HTTP client 181 transmits the received rule file to the authentication-enabled HTTP server 182. In this manner, the rule file can be written or updated in the authentication-enabled HTTP server 182. The rule file in the authentication-enabled HTTP server 182 is output to the user filter 172a and the attribute filter 172c.
[0070] 9, the rule file may be transmitted using the SSH (Secure Shell) protocol. In this case, the administration PC 300 has an SSH client 361, and the terminal device 100 has an SSH server and shell 183. The processor 310 of the administration PC 300 can write or update the rule file in the SSH server and shell 183 by transmitting the rule file from the SSH client 361 to the SSH server and shell 183 of the terminal device 100. The rule file of the SSH server and shell 183 is output to the user filter 172a and the attribute filter 172c. Alternatively, the FTP protocol may be used.
[0071] 6, the processor 310 of the administration PC 300 performs at least one of writing to the authenticated shared area 180, writing to the authenticated HTTP server 182, writing to the SSH server and shell 183, and writing using the FTP protocol. According to this modification, it is possible to write a rule file to the terminal device 100 using various communication protocols.
[0072] (2) Others Furthermore, when the aforementioned PnP is executed, the CUPSPnP management unit 162 of the CUPS 160 may automatically change the name of the printer (including a virtual printing device) detected using a protocol such as mDNS / SD and register it in the CUPS 160. For example, a name based on a model number such as "XX-YYYYYY" may be changed to "Printer for Mr. / Ms. X", or a locally connected PC name, a login name, or a group name managed by Active Directory may be used.
[0073] The rule file may include rules that are commonly applied to all users of printer 200, or may include rules that are individually applied to each user who uses printer 200. The rule file may include rules that are applied to functions that can be restricted by CUPS 160, or may include rules that are applied to functions that can be restricted by converting print data. The rule file may also include rules that are individually applied to each terminal, rather than to each user.
[0074] Although the above embodiment is an embodiment in which the printer 200 supports the IPP protocol, the present invention is also applicable to printers that do not support the IPP protocol. In this case, for example, a PostScript Printer Description (PPD) file pre-installed as a driver from the printer 200 may be read and converted into a PPD file that restricts some of the printer 200's printing functions according to a rule file. A combination of these may also be used. Specifically, the printer application 170 may be configured to include the attribute / mDNS conversion unit 172, the print data conversion unit 174, and the PPD file conversion unit. This allows users to use IPP-compatible and non-IPP-compatible printers without distinguishing between them and still receive the print restriction function.
[0075] Furthermore, in the above embodiment, a case has been described in which both attributes and print data are converted in accordance with a rule file, but this is not limiting. For example, attributes may be converted without a rule file, or print data may be converted in accordance with a rule file without converting attributes. Furthermore, print data may be converted without a rule file, or attributes may be converted in accordance with a rule file without converting print data. Conversion of attributes not based on a rule file refers to, for example, conversion of attributes that cannot be processed by CUPS 160, since the capabilities of printer 200 include those that CUPS 160 cannot support. Conversion of print data not based on a rule file refers to, for example, conversion of print data performed to use printer 200 to realize a function that CUPS 160 cannot support. Conversion to make print data compatible with the protocol of print data sent to printer 200 is also conversion not based on a rule file.
[0076] Furthermore, the flowcharts shown in Figures 4 to 6 do not limit the present invention to the procedures shown in the above flows, and steps may be added, deleted, or the order may be changed within the scope that does not deviate from the intent and technical idea of the invention.
[0077] In addition to the above, the methods according to the above embodiments and modifications may be used in appropriate combination.
[0078] Although not specifically illustrated, the present invention can be implemented with various modifications within the scope of the invention.
[0079] <Hardware Configuration of Terminal Device, Printer, and Management PC> An example of the hardware configuration of the terminal device 100 and the printer 200 will be described with reference to FIG.
[0080] 10, the terminal device 100 has a processor 110, a storage device 115, a display unit 140, an operation unit 150, and a communication interface 190. The processor 110, the storage device 115, the display unit 140, the operation unit 150, and the communication interface 190 are connected via a bus 105 so as to be able to transmit and receive data to and from each other.
[0081] The storage device 115 includes a volatile storage device 120 and a non-volatile storage device 130. The volatile storage device 120 is, for example, a DRAM, and stores various programs and data to be processed. The non-volatile storage device 130 is, for example, a hard disk drive or a solid state drive, and includes a program storage area 131 and a data storage area 132.
[0082] Various programs are stored in the program storage area 131. The various programs include a print processing program based on the flowcharts in Figures 4 and 5. The data storage area 132 stores data necessary for executing the various programs.
[0083] The processor 110 is a device that performs data processing, such as a CPU, and executes various programs stored in the program storage area 131. The processor 110 performs various processes including data communication with the management PC 300 and the printer 200 connected to the network NT. The processor 110 and the program corresponding to the printer application 170 stored in the program storage area 131 are an example of a first control unit.
[0084] The display unit 140 is, for example, a liquid crystal display and is capable of displaying various types of information. The operation unit 150 is, for example, a mouse, a keyboard, etc. and accepts operations by a user. The user can input various instructions to the terminal device 100 by operating the operation unit 150.
[0085] The communication interface 190 is a wired or wireless network interface for communicating with other devices, and is connected to the network NT.
[0086] The storage device 115 is not limited to the configuration of the device elements described above, and may be configured, for example, by RAM, ROM, EEPROM, HDD, portable recording medium such as a USB memory detachable from the terminal device 100, a buffer provided in the processor 110, or a combination thereof. The storage device 115 may be a computer-readable storage medium. A computer-readable storage medium is a non-transitory medium. In addition to the above examples, non-transitory media also include recording media such as CD-ROMs and DVD-ROMs. A non-transitory medium is also a tangible medium. The same applies to the storage device 215 of the printer 200 and the storage device 315 of the management PC 300, which will be described later.
[0087] 10, the printer 200 has a processor 210, a storage device 215, a display unit 240, an operation unit 250, a communication interface 270, and a printing unit 290. The processor 210, the storage device 215, the display unit 240, the operation unit 250, the communication interface 270, and the printing unit 290 are connected via a bus 205 so as to be able to transmit and receive data to and from each other.
[0088] The storage device 215 includes a volatile storage device 220 and a non-volatile storage device 230. The volatile storage device 220 is, for example, a DRAM, and includes an image data storage area 222 that stores image data to be printed. The non-volatile storage device 230 is, for example, an NVRAM, a flash memory, or the like, and includes a program storage area 231 and a data storage area 232. Various programs are stored in the program storage area 231. The various programs include firmware such as a print processing program. The data storage area 232 stores various data and the like for executing the various programs.
[0089] The processor 210 is a device that performs data processing, such as a CPU, and executes various programs stored in the program storage area 231.
[0090] The display unit 240 is, for example, a liquid crystal display, and is capable of displaying various types of information. The operation unit 250 is a device that accepts operations by the user. The user can input various instructions to the printer 200 by operating the operation unit 250. The communication interface 270 is a wired or wireless network interface for communicating with other devices, and is connected to the network NT.
[0091] The printing unit 290 prints an image on a sheet conveyed by a conveying mechanism (not shown). The printing unit 290 prints an image on a sheet based on print data transmitted from the terminal device 100 or a print job generated by the printing unit 290 itself based on an operation on the operation unit 250.
[0092] 11, the management PC 300 has a processor 310, a storage device 315, a display unit 340, an operation unit 350, and a communication interface 390. The processor 310, the storage device 315, the display unit 340, the operation unit 350, and the communication interface 390 are connected via a bus 305 so as to be able to transmit and receive data to and from each other.
[0093] The storage device 315 includes a volatile storage device 320 and a non-volatile storage device 330. The volatile storage device 320 is, for example, a DRAM, and stores various programs and data to be processed. The non-volatile storage device 330 is, for example, a hard disk drive or a solid state drive, and includes a program storage area 331 and a data storage area 332.
[0094] Various programs are stored in the program storage area 331. The various programs include a group management program based on the flowchart of Fig. 6 and an information processing program. The data storage area 332 stores data necessary for executing the various programs.
[0095] The processor 310 is a device that performs data processing, such as a CPU, and executes various programs stored in the program storage area 331. The processor 310 performs various processes including data communication with the terminal devices 100 and the like connected to the network NT. The processor 310 and the programs stored in the program storage area 331 are an example of a second control unit.
[0096] The display unit 340 is, for example, a liquid crystal display, and is capable of displaying various types of information. The operation unit 350 is, for example, a mouse, a keyboard, and the like, and accepts operations by the user. The user can input various instructions to the management PC 300 by operating the operation unit 350.
[0097] The communication interface 390 is a wired or wireless network interface for communicating with other devices, and is connected to the network NT.
[0098] REFERENCE SIGNS LIST 1 Printing system (an example of an information processing system) 100 Terminal device (an example of a first information processing device) 110 Processor 200 Printer (an example of a printing device) 300 Management PC (an example of a second information processing device) 310 Processor 332 Data storage area (an example of a storage unit)
Claims
1. An information processing system having a first information processing device configured to be able to communicate with a printing device, the first information processing device having OS standard printing software that is installed as standard in an operating system and is capable of performing driverless printing without using a driver provided by a printer vendor, and a first control unit that operates as a virtual printer corresponding to the printing device; and a second information processing device having a second control unit and configured to be able to communicate with the first information processing device, wherein the second control unit is configured to execute a function restriction information output process that outputs function restriction information of the printing device to the first information processing device, and the first control unit executes a capability information acquisition process that acquires first capability information that represents the capability of the printing device, a function restriction information acquisition process that acquires the function restriction information output from the second information processing device, and a capability information output process that outputs second capability information based on the first capability information acquired in the capability information acquisition process to the OS standard printing software. an information processing system configured to execute a print data transmission process that acquires first print data from the OS standard printing software corresponding to the second capability information output in the capability information output process, and transmits second print data based on the first print data to the printing device; and a restriction process that performs at least one of a first conversion process that converts the first capability information into the second capability information based on the function restriction information, and a second conversion process that converts the first print data into the second print data based on the function restriction information.
2. An information processing system as described in claim 1, wherein the second information processing device has a memory unit, and the second control unit further executes a function restriction information generation process that generates the function restriction information, and a function restriction information storage process that stores the generated function restriction information in the memory unit, and in the function restriction information output process, the function restriction information stored in the memory unit is read out and output to the first information processing device.
3. An information processing system as described in claim 1, wherein the information processing system has at least one of the first information processing devices, and the second control unit is configured to output the corresponding function restriction information to each of the at least one of the first information processing devices in the function restriction information output process.
4. The information processing system of claim 3, wherein the second control unit is further configured to execute an output destination information acquisition process to acquire output destination information for the functional restriction information, and in the functional restriction information output process, to output the corresponding functional restriction information to each of the at least one first information processing device based on the output destination information acquired in the output destination information acquisition process.
5. An information processing system as described in claim 4, wherein the second control unit is configured to output the function restriction information to the first information processing device by at least one of writing to an authenticated shared area, writing to an HTTP server, and writing to an SSH server during the function restriction information output process.
6. The information processing system of claim 1, wherein the first control unit is further configured to execute the following: a query sending process for sending query information to each of at least one of the printing devices; a response receiving process for receiving response information sent from each of the at least one of the printing devices in response to the query information; and a response information output process for outputting, to the OS standard printing software, the response information from the printing devices that are the subject of the functional restriction information acquired in the functional restriction information acquisition process, and not outputting the response information from the printing devices that are not the subject of the functional restriction information.
7. An information processing system as described in any one of claims 1 to 6, wherein the first control unit, in the print data transmission process, converts the first print data into the second print data in accordance with the function restriction information acquired in the function restriction information acquisition process, and transmits the second print data to the printing device.
Citation Information
Patent Citations
Print item setting system, server device and print item setting method
JP2009217516A
Information processing device, system, information processing method, and program
JP2017173930A
Program and information processor
JP2021124738A
Support program
JP2022109424A
