The present invention relates to a server system, a print controller, an information processing apparatus, and a print service system, and more particularly to a server system, a print controller, an information processing apparatus, and a print service system, which improve availability of a plurality of printers.
It is known that an information processing apparatus generates print data to be printed by individual printers by using print drivers (or print applications) designed for the respective printers.
Further, Japanese Laid-Open Patent Publication (Kokai) No. 2004-213111 discloses a method of using a plurality of printers, by regarding them as one virtual printer (group printer), so as to improve availability of the printers. Specifically, a group printer driver installed in an information processing apparatus acquires information on the capabilities of a plurality of printers (member printer drivers), and displays a print settings screen common to the member printer drivers. Further, Japanese Laid-Open Patent Publication (Kokai) No. 2004-213111 discloses a mechanism for checking whether one of the member printer drivers can process a print job based on print settings to be applied to printing, and transmitting the print job.
Incidentally, in recent years, there are an increasing number of cases where print data is generated without using a print driver (or a print application) designed for an individual type of printer. For example, in recent print applications or cloud print services, print data complying with the IPP standard (IPP: Internet Printing Protocol) is generated and transmitted to a printer.
Further, in recent years, a user terminal, such as a smartphone and a PC, is always connected to a network. To cope with such a situation, there are envisaged a mechanism for performing printing via a public network, such as an LTE or 5G network, and a cloud server. For example, there is envisaged a print server system in which print data is transmitted from an information processing apparatus not directly to a printer, but once to a cloud server serving as a print controller, and is stored in the cloud server, whereafter a request is sent from the printer to the cloud server, for pulling the print data stored in the cloud server, and then the print data is printed.
Further, it is possible to envisage using the above-described cloud server as one virtual printer associated with a plurality of printers. In this case, for the sake of convenience of a user, it is envisaged to make use of a logical sum or a logical product of the capabilities of the plurality of printers.
However, in a case where a cloud server is used as a virtual printer having printing capabilities defined by a logical sum of the capabilities of the printers, the following problems may be caused: For example, in the case of checking, based on the logical sum of the capabilities, whether or not printing with print settings is inexecutable by the capabilities of a plurality of printers (hereinafter referred to as conflict check), it is necessary to cause a user to set desired print settings before the conflict check. On the other hand, in a case where the conflict check shows that an invalid setting is included in the print settings desired by the user, the user is required to set print settings again. Further, while the conflict check is being performed, the user is compelled to wait before print data is generated. Any of these problems reduces the convenience of the user.
The present invention provides a server system, a print controller, an information processing apparatus, and a print service system, which are capable of improving convenience of a user when using a plurality of printers as one virtual printer. Further, the present invention provides a mechanism for advancing the timing of notifying a user that the desired print settings are print settings with which printing is inexecutable when using a plurality of printers as one virtual printer.
In a first aspect of the present invention, there is provided a server system that causes one of a plurality of printers to print an image received from an information processing apparatus, comprising a determination unit configured to determine whether or not a printer capable of performing printing to which both of a first print setting and a second print setting are applied is included in the plurality of printers, and a storage unit configured to store, in a case where it is determined that the printer is not included in the plurality of printers, information indicating that the first print setting and the second print setting conflict with each other, wherein the print settings are controlled based on the stored information.
In a second aspect of the present invention, there is provided a print controller that is capable of communicating with an information processing apparatus and a plurality of printers via a network, and functions as a virtual printer for providing a print service to the information processing apparatus by using the plurality of printers, comprising a registration acquisition unit configured to acquire, from the plurality of printers, capabilities information of the printers, a request unit configured to request each of the plurality of printers to validate whether printing with a combination of print settings is executable thereby based on the acquired capabilities information of the plurality of printers, and a storage unit configured to store, in a case where it is determined based on a response from each of the plurality of printers that processing with the combination of print settings is executable by none of the plurality of printers, the combination of print settings as information indicative of a combination of print settings conflicting with each other between the plurality of printers.
In a third aspect of the present invention, there is provided an information processing apparatus that communicates with a print controller, wherein the print controller is capable of communicating with the information processing apparatus and a plurality of printers via a network, and functions as a virtual printer for providing a print service to the information processing apparatus by using the plurality of printers, the print controller including a registration acquisition unit configured to acquire, from the plurality of printers, capabilities information of the printers, a request unit configured to request each of the plurality of printers to validate whether printing with a combination of print settings is executable thereby based on the acquired capabilities information of the plurality of printers, a storage unit configured to store, in a case where it is determined based on a response from each of the plurality of printers that processing with the combination of print settings is executable by none of the plurality of printers, the combination of print settings as information indicative of a combination of print settings conflicting with each other between the plurality of printers, a second reception unit configured to receive a request from the information processing apparatus, for acquiring the information indicative of a combination of print settings conflicting with each other, and a transmission unit configured to transmit, in a case where the acquisition request is received, the information indicative of a combination of print settings conflicting with each other, stored in the storage unit, to the information processing apparatus, the information processing apparatus comprising an acquisition unit configured to acquire the information indicative of a combination of print settings conflicting with each other in a print service provided by the virtual printer, by transmitting the acquisition request, a display unit configured to display a print settings screen for a user to configure print settings of a print job to be transmitted to the virtual printer, and a restriction unit configured to restrict the combination of print settings conflicting with each other from being set, via the print settings screen, based on the acquired information.
In a fourth aspect of the present invention, there is provided a print service system that includes an information processing apparatus, a print controller, and a plurality of printers, which are capable of communicating with each other via a network, and causes the print controller to function as a virtual printer that provides a print service to the information processing apparatus by using the plurality of printers, comprising a first request unit configured to transmit a registration request from each of the plurality of printers to the print controller when a registration instruction is received from a user, a second request unit configured to register the plurality of printers in the print controller as output destinations in response to the registration request, and transmit, from the print controller, a request for acquiring capabilities information to the printers to be registered, a first response unit configured to transmit the capabilities information from each of the plurality of printers to the print controller as a response to the capabilities information request, a third request unit configured to request each of the plurality of printers from the print controller to validate whether or not printing with a combination of print settings determined based on the capabilities information of the plurality of printers is executable, a second response unit configured to transmit a result of the validation from each of the plurality of printers to the print controller as a response to the validation request, and a storage unit configured to interpret the result of the validation from each of the plurality of printers, and store, in a case where it is determined that printing with the combination of print settings is executable by none of the plurality of printers, the combination of print settings in the print controller as information indicative of a combination of print settings conflicting with each other between the plurality of printers.
According to the present invention, it is possible to improve the convenience of a user when using a plurality of printers as one virtual printer. Further, even when using the plurality of printers as one virtual printer, it is possible to advance the timing of notifying the user that the desired print settings are print settings with which printing is inexecutable.
Further features of the present invention will become apparent from the following description of exemplary embodiments (with reference to the attached drawings).
The present invention will now be described in detail below with reference to the accompanying drawings showing embodiments thereof.
Referring to
More specifically, the printers 110a, 110b, and 110c and an AP (access point) 101 are connected to a LAN 100 (Local Area Network) such that they can communicate with each other. Further, the printers 110a, 110b, and 110c, and the information processing apparatuses 130 are capable of communicating with the virtual printer 120 implemented by a cloud server which provides cloud services via the Internet 103.
The printers 110a, 110b, and 110c are different in printer capabilities. In a case where these printers are distinguished from each other hereinafter, the printers are described as the printers 110a, 110b, and 110c, whereas in a case where these printers are not distinguished from each other, the printer(s) is/are described as the printer(s) 110.
Here, the information processing apparatus 130 and the printer 110 can communicate with each other on the LAN 100 via the AP 101.
When a print job request is received from the information processing apparatus 130, the printer 110 performs a printing process.
Although in the present embodiment, as an example of the print service system, the print service system 1 configured as above is described, the present invention is not limited to this. That is, the print service system is only required to have at least one information processing apparatus and at least two printers, which are different in printer capabilities, communicably connected via a network. Further, the network may be either wireless or wired.
In the print service system 1 of the present embodiment, print data is not passed from the information processing apparatus 130 directly to the printer 110, but is once transmitted to the virtual printer 120 via the Internet 103, and stored in the virtual printer 120. Then, the print data stored in the virtual printer 120 is pulled to the printer 110 and is printed.
Next, the printer 110 will be described. The printer 110 has a print function for printing an image on a sheet (recording medium). The printer 110 is capable of executing the printing process based on print data received via a network.
Referring to
The controller 2100 includes a CPU (Central Processing Unit) 2101, a ROM (Read Only Memory) 2102, and a RAM (Random Access Memory) 2103. Further, the controller 2100 includes a storage 2104, an image processor 2105, a console section interface 2106, a print section interface 2108, a sheet processor interface 2110, and a communication section interface 2112, and controls the overall operation of the printer 110.
The CPU 2101 loads programs stored in the ROM 2102 or the storage 2104 into the RAM 2103, and performs various control, such as print control and reading control, by executing the loaded programs.
The ROM 2102 stores control programs which can be executed by the CPU 2101, a boot program, and so forth.
The RAM 2103 is a main storage memory for the CPU 2101 and is used as a work area and a temporary storage area for loading the various control programs.
The storage 2104 stores print data, image data, various programs, and various setting information. Although in the present embodiment, an auxiliary storage device, such as an HDD (Hard Disk Drive), is assumed as the storage 2104, a nonvolatile memory, such as an SSD (Solid State Drive), may be used.
Although in the printer 110 of the print service system 1 according to the present embodiment, the one CPU 2101 executes processes, described hereinafter with reference to illustrated flowcharts, using one memory (the RAM 2103), any other form may be employed. For example, the processes may be executed according to the flowcharts, described hereinafter, by causing a plurality of CPUs, RAMs, ROMs, and storages to operate in cooperation. Further, part of the processes may be executed using a hardware circuit, such as an ASIC (Application Specific Integrated Circuit) or an FPGA (Field-Programmable Gate Array).
The console section interface 2106 connects between the console panel 2107 and the controller 2100. The console panel 2107 is provided with a display section having a touch panel function, various hard keys, and so forth, and functions as a display section for displaying information and a reception section for receiving user instructions.
The print section interface 2108 connects between the print section (printer engine) 2109 and the controller 2100. Image data generated by analyzing a print job received from the information processing apparatus 130 (to be exact, the virtual printer 120, in the case of the present embodiment) is transferred from the controller 2100 to the print section 2109 via the print section interface 2108. The print section 2109 receives a control command and the print job to be printed via the controller 2100, and prints an image on a sheet fed from a sheet feeding cassette (not shown) based on the received print job. Note that the printing method used by the print section 2109 may be either an electrophotographic method or an inkjet method. Further, any other printing method, such as a thermal transfer method, may also be applied.
The communication section interface 2112 is connected to the information processing apparatus 130 via the LAN 100, and further connected to the virtual printer 120 provided by a cloud service via the Internet 103. With this connection, the communication section interface 2112 transmits various information to the virtual printer 120, and receives a print job and the print settings of the received print job from the information processing apparatus 130 on the LAN 100 via the virtual printer 120.
The image processor 2105 has an RIP (Raster Image Processor) function for rasterizing a print job received from the information processing apparatus 130 via the virtual printer 120 provided by the cloud service, to thereby generate image data used for printing. Further, the image processor 2105 is also capable of performing resolution conversion and correction processing on the image data generated by the RIP function. Although in the present embodiment, it is assumed that the image processor 2105 is realized by a hardware circuit (an ASIC, an FPGA, or the like), this is not limitative. For example, the printer 110 may be additionally provided with a processor used for image processing, and the processor may execute image processing programs to thereby realizing the image processing and the processing for conversion into print data. In this case, it is regarded that this processor and the CPU 2102 cooperate to realize the processes, described hereinafter with reference to the flowcharts. Further, the configuration may be such that the CPU 2102 executes the programs for performing image processing, and thereby perform the image processing and conversion into print data. Further, the image processing may be performed by combining the above-mentioned methods.
The sheet processor interface 2110 connects between the controller 2100 and the sheet processor 2111. The sheet processor 2111 receives a control command from the controller 2100, and performs post-processing on a sheet printed by the print section 2109 according to the received control command.
The printer 110 includes a UI controller 3101, a print job generation section 3102, a data reception controller 3104, a PDL analysis section 3105, a job controller 3106, a RIP controller 3112, an engine controller 3113, and an IPP-Proxy controller 3117.
The IPP-Proxy controller 3117 includes a printer capabilities notification section 3116 and a job settings storage and validation section 3103.
The job controller 3106 includes a job attributes storage section 3107, and a page controller 3108 including a page storage section 3109 and a print control section 3111. Further, the page storage section 3109 includes a page attributes storage section 3110.
Upon receipt of an inquiry about the printer capabilities from the virtual printer 120 to the printer 110, the printer capabilities notification section 3116 notifies the virtual printer 120 of information on the printer capabilities of the self-apparatus. This information is comprised of information on supported numbers of copies (copies-supported), supported document formats (document-format-supported), an optimum sheet feeding direction (feed-orientation-supported), and so forth.
Upon acquisition of the information on the printer capabilities from the printer 110, the virtual printer 120 generates a print job adapted to the printer capabilities of the printer 110, and transmits the generated print job to the printer 110. Receipt of the print data of this print job is also performed by the IPP-Proxy controller 3117.
The print job generation section 3102 receives the print job transmitted by the virtual printer 120 from the IPP-Proxy controller 3117 and generates a new job based on rendering data contained in the print job, and transmits the generated new job to the job controller 3106.
The job settings storage and validation section 3103 performs attribute processing for validating job attributes specified by IPP attributes contained in the print job transmitted from the virtual printer 120 and writes a result of the processing into the job attributes storage section 3107. Examples of the processing result to be written include the number of copies to be printed, information on finishing, and PDL format information. The IPP-Proxy controller 3117 transfers the rendering data contained in the print job transmitted from the virtual printer 120 to the data reception controller 3104 via the print job generation section 3102 to temporarily store the same therein, in parallel with the above-mentioned attribute processing performed by the job settings storage and validation section 3103. The data reception controller 3104 is a buffer area for storing rendering data contained in a print job received by the print job generation section 3102, and stores rendering data in the storage 2104 on a print job-by-print job basis.
The PDL analysis section 3105 is compatible with a PWG-Raster format and requests the data reception controller 3104 to send one of items of the rendering data stored in the storage 2104 on a print job-by-print job basis according to an instruction received from the job controller 3106. Then, the PDL analysis section 3105 performs page analysis processing on the item of the rendering data acquired by this request. The page controller 3108 causes the page storage section 3109 and the page attributes storage section 3110 to store image data and page attributes information, respectively, of the page data acquired as a result of the page analysis processing performed by the PDL analysis section 3105.
The page storage section 3109 transmits the stored image data to the RIP controller 3112 according to an instruction from the page controller 3108 and causes the RIP controller 3112 to perform RIP processing. When the rasterized image data is generated, the RIP controller 3112 causes the page storage section 3109 to store the rasterized image data.
The page controller 3108 controls the page analysis processing performed by the PDL analysis section 3105, the RIP processing performed by the RIP controller 3112, and print control processing performed by the print control section 3111. The print control section 3111 acquires the rasterized image data from the page storage section 3109 and transfers the acquired data to the engine controller 3113 after decomposing the same into RGB color components. The engine controller 3113 receives the RGB color components from the print control section 3111 on a page-by-page basis, and controls the print control section 3111 to print each page. The UI controller 3101 acquires information on a status of the print job being executed from the job controller 3106, and displays the processing status of the print job on a UI screen.
Referring to
The CPU 2201 loads programs stored in the ROM 2203 or the storage 2204 into the RAM 2202, and performs various control, such as control of generation of print data and control of transfer of a print job, by executing the loaded programs.
The ROM 2203 stores control programs which can be executed by the CPU 2201, a boot program, and so forth.
The RAM 2202 is a main storage memory for the CPU 2201, and is used as a work area and a temporary storage area for loading the various programs.
The storage 2204 stores program data of an OS and a print service, print jobs stored in the cloud, and settings information of various cloud services. Although in the present embodiment, an auxiliary storage device, such as an HDD, is assumed as the storage 2204, a nonvolatile memory, such as an SSD, may be used.
The communication section interface 2205 is connected to the Internet 103 via a LAN 2210, and transmits and receives a print job and information to and from the information processing apparatus 130 and the printer 110 via the LAN 100 connected to the Internet 103 as shown in
The virtual printer 120 includes a virtual printer management section 3210, a job management section 3220, and a data communication controller 3259.
The virtual printer management section 3210 includes a client DB 3213, a client information acquisition section 3211, a printer DB 3214, and a printer information acquisition section 3212. Further, the virtual printer management section 3210 includes a virtual printer prohibited settings generation section 3217, a virtual printer capabilities generation section 3216, and an event notification controller 3218.
The client information acquisition section 3211 stores client information received using an IPP protocol in the client DB 3213.
The printer information acquisition section 3212 stores printer information received using the IPP protocol in the printer DB 3214.
The virtual printer prohibited settings generation section 3217 generates information indicative of combinations of print settings conflicting with each other between the printers 110a, 110b, and 110c (hereinafter also referred to as the prohibited settings information). Further, the virtual printer prohibited settings generation section 3217 generates the prohibited settings information of the virtual printer 120 by combining this generated information and the functions supported by the information processing apparatus 130 as the client.
The virtual printer capabilities generation section 3216 generates the capabilities information of the virtual printer by combining not only the respective capabilities information sets of the printers 110a, 110b, and 110c, but also the prohibited settings information generated by the virtual printer prohibited settings generation section 3217.
When the capabilities of the virtual printer are updated or when the status of the printer 110 is changed, the event notification controller 3218 notifies a client of the update of the capabilities or the change of the status.
The virtual printer capabilities generation section 3216 generates the capabilities information of the virtual printer 120 based on the capabilities information of the printers 110, stored in the printer DB 3214, and notifies the information processing apparatus 130 of the generated capabilities information.
In a case where the virtual printer capabilities generation section 3216 reconfigures the capabilities information of the virtual printer 120, the event notification controller 3218 notifies the information processing apparatus 130 of the update of the capabilities information of the virtual printer 120. Upon receipt of the notification, the information processing apparatus 130 requests the virtual printer 120 again to transmit the capabilities information of the virtual printer 120.
The job management section 3220 is comprised of a host job controller 3230, a host job storage section 3240, and a print job controller 3250.
Further, the host job controller 3230 includes a host job generation section 3231 and a host data reception controller 3232, and processes a print job received from the information processing apparatus 130. Further, the print job controller 3250 includes a job conversion section 3260.
The host job generation section 3231 stores a job received from the information processing apparatus 130 using the IPP protocol in cooperation with the host data reception controller 3232, in the host job storing section 3240, after separating the job into IPP print settings information and print data described in PDL (Page Description Language).
The print job controller 3250 prints the stored job using one of the printers 110a, 110b, and 110c, which have already been registered in the virtual printer 120 as output destinations. In doing this, upon receipt of a print job transmission request from the printer 110 using the IPP protocol, the data format of the job stored in the host job storage section 3240 and the data format which can be processed by the printer 110 are compared, and the job conversion section 3260 determines whether or not data format conversion is required.
The job conversion section 3260 includes a job attributes analysis section 3261, a job attributes conversion section 3262, a page attributes analysis section 3263, a page attributes conversion section 3264, a PDL analysis section 3265, a PDL generation section 3266, an IPP information generation section 3267, and a converted job storage section 3268.
If it is determined as a result of the determination performed by the job conversion section 3260 that data format conversion is required, the PDL analysis section 3265 analyzes the page data based on the job attributes and document attributes of the IPP acquired via the job attributes analysis section 3261. After that, the PDL generation section 3266 converts the data format to an image format adapted to the printer 110 having requested the print data. The page attributes of the new image format are generated by combining the page attributes of the original data and the page attributes of the converted data. The page attributes of the original data are acquired by the page attributes analysis section 3263, and the page attributes of the converted data are generated by the page attributes conversion section 3264 by combining the old and new page attributes. Further, the job attributes of the converted data are generated by the job attributes conversion section 3262 combining the old job attributes and the new page attributes. Finally, the IPP information generation section 3267 converts the job attributes and the document attributes to those of the IPP format. Further, the page data converted by the PDL generation section 3266 is stored in the converted job storage section 3268. When all of the job attributes and document attributes of the IPP and the converted PDL data have been prepared in the converted job storing section 3268, the print data is transmitted in response to the print data request received from the printer 110.
Referring to
The controller 2300 includes a CPU 2301, a RAM 2302, a storage 2303, a ROM 2304, a console section interface 2305, a wireless operation section interface 2307, and a communication section interface 2309, and controls the overall operation of the information processing apparatus 130.
The CPU 2301 loads programs stored in the ROM 2304 or the storage 2303 into the RAM 2302, and performs various control, such as control of a print settings screen, control of generation of print data, and control of transfer of a print job, by executing the loaded programs.
The ROM 2304 stores control programs which can be executed by the CPU 2301, a boot program, and so forth.
The RAM 2302 is a main storage memory for the CPU 2301, and is used as a work area and a temporary storage area for loading the various control programs.
The storage 2303 stores program data of an OS, data of a print application, an OS print frame work, a print job generated by the OS print frame work, and various setting information. Although in the present embodiment, an auxiliary storage device, such as an HDD, is assumed as the storage 2303, a nonvolatile memory, such as an SSD, may be used.
The touch panel 2306 is connected to the console section interface 2305, and is configured not only to display a screen for each application and the print settings screen, but also to notify an application operating on the CPU 2301 of a user touch operation.
The mouse and keyboard 2308 is connected to the wireless operation section interface 2307 implemented e.g. by Bluetooth (registered trademark), and notifies an application operating on the CPU 2301 of a user operation.
The communication section interface 2309 is connected to the printer 110 via the LAN 100 and is further connected to the virtual printer 120 via the Internet 103. With this connection, the communication section interface 2309 transmits and receives image data and information to and from the printer 110 and the virtual printer 120.
The information processing apparatus 130 includes an application 3301, an OS print frame work 3302, a data communication controller 3310, a print screen controller 3311, and an OS rendering engine 3314.
The application 3301 is an application installed on the information processing apparatus 130 as desired by a user, which is any of general applications, such as a word processor, a spreadsheet application, a database, a mail application, and a web browser.
The OS print frame work 3302 is comprised of an IPP client controller 3303 and a print spooler 3309. Further, the IPP client controller 3303 is comprised of a printer information management section 3304 and a print job generation section 3305.
The printer information management section 3304 transmits an inquiry to the virtual printer 120 via the data communication controller 3310, and acquires and stores the capabilities information of the virtual printer 120. Examples of the acquired information include not only the above-mentioned information on supported numbers of copies, but also information on the finishing capability of the printer 110, an optimum orientation of a generated image (feed-orientation-supported), and so forth, and the print job generation section 3305 refers to these information items.
The print screen controller 3311 displays the print settings screen in response to a call from the application 3301. The user configures the print settings on the print settings screen, and performs printing. The items of the print settings displayed on the print settings screen are set within a range of print settings which can be provided based on the capabilities information of the virtual printer 120. Print settings to be applied to a print job are temporarily stored in a setting management section 3312 included in the print screen controller 3311.
The print job generation section 3305 is comprised of a job attributes generation section 3306, a page generation section 3307, and a PDL generation section 3308, and generates a print job according to an instruction received from the print screen controller 3311.
The job attributes generation section 3306 generates job attributes and document attributes of an IPP job based on the items of the print settings configured on the print settings screen.
The page generation section 3307 cooperates with the PDL generation section 3308 to convert rendering data generated by the application 3301 through the OS rendering engine 3314 to PDL data supported by the virtual printer 120, and transmits the PDL data to the virtual printer 120. In doing this, the PDL format supported by the virtual printer 120 and an orientation of an image are acquired from the printer information management section 3304, and the data is generated according to the specified PDL format and image orientation.
The OS rendering engine 3314 renders print page data in the rendering format of the OS standard according to a request from the application 3301, and passes the rendered data to the page generation section 3307 of the OS print frame work 3302.
The data communication controller 3310 transmits and receives communication for managing the printer and messages for job transmission and job management, which are generated by the IPP client controller 3303, to and from the virtual printer 120. For example, in a case where the printer 110 registered in the virtual printer 120 supports only the PWG-Raster format, the support format notified from the virtual printer 120 to the information processing apparatus 130 is PWG-Raster. Therefore, in this case, the PDL generation section 3308 generates PWG-Raster format data by optimizing the orientation of the image to an orientation designated by the virtual printer 120.
Referring to
In the step S4002, the printer 110a transmits a printer registration request (Register-Output-Device) to the virtual printer 120 by IPP communication.
In a step S4003, the virtual printer 120 transmits a capabilities information request (Get-Printer-Attributes Request) to the printer 110a by IPP communication.
In a step S4004, the printer 110a transmits the capabilities information of the printer 110a (Get-Printer-Attributes Response) to the virtual printer 120 by IPP communication in response to the capabilities information request from the virtual printer 120.
In a step S4005, the virtual printer 120 registers the capabilities information transmitted from the printer 110a in the step S4004 in a state associated with the printer 110a as a registered printer. After that, the virtual printer 120 reads out the respective capabilities information sets of the printers 110b and 110c already registered in the virtual printer 120 before starting the present process and prohibited settings information indicative of combinations of print settings with which printing by each of the printers 110b and 110c is inexecutable.
In a step S4006, the virtual printer 120 generates and stores logical product information indicative of capabilities which all the printers registered in the virtual printer 120 have for processing. More specifically, this logical product information is generated from the capabilities information of the printer 110a, which was received in the step S4004, and the capabilities information sets of the printers 110b and 110c, which were read in the step S4005.
In a step S4007, the virtual printer 120 generates and stores logical sum information indicative of capabilities which any one of the printers registered in the virtual printer 120 have for processing. Similar to the logical product information, more specifically, from the capabilities information of the printer 110a, which was received in the step S4004, and the capabilities information sets of the printers 110b and 110c, which were read in the step S4005, this logical sum information is generated. Further, the virtual printer 120 generates combinations of print settings, from the generated logical sum information, on each of which validation is to be performed in the following step S4008 et seq., for validating whether printing with the combination of print settings is executable by any one of the printers registered in the virtual printer 120.
In the step S4008, the virtual printer 120 transmits a validation request to all of the registered printers by IPP communication, for requesting each of them to validate each of the combinations of print settings generated in the step S4007 as to whether printing with the combination of print settings is executable by the printer (Validate-Job Request). That is, this validation request is transmitted to all of the printer 110a, which is newly registered, and the printers 110b and 110c, which have already been registered.
In a step S4009, the printer 110a validates each combination of print settings as to whether or not printing with the combination of print settings is executable by the printer 110a, in response to the request for validation (Validate-Job Request) received from the virtual printer 120 in the step S4008. Note that although not shown in
In a step S4010, the printer 110a transmits a result of the validation (Validate-Job Response) by IPP communication as a response to the print settings validation request received in the step S4008. Note that as described in the step S4009, the printers 110b and 110c also perform the same validation in response to the print settings validation request transmitted in the step S4008, and hence although not shown in
In a step S4011, the virtual printer 120 determines, based on the validation results received from the printers 110a, 110b, and 110c in the step S4010, whether or not it is required to update the prohibited settings information read in the step S4005. That is, the virtual printer 120 checks whether or not the prohibited settings information read in the step S4005 is information indicative of combinations of print settings with which printing is inexecutable even by the printer 110a which is newly registered.
If it is determined in the step S4011 that it is required to update the prohibited settings information, in a step S4012, the virtual printer 120 updates and stores the prohibited settings information.
In a step S4013, the virtual printer 120 notifies the printer 110a of a result of registration of the printer 110a (Register-Output-Device Response) by IPP communication. The printer 110a notifies the user that the printer 110a has been registered in the virtual printer 120 by displaying the notified contents on the console panel 2107. After that, the present process is terminated.
Next, with reference to
Referring to
In the step S5002, the information processing apparatus 130 transmits a request (Get-Printer-Attributes Request) to the virtual printer 120 by IPP communication, for requesting the virtual printer 120 to transmit the logical product information of the capabilities (the AND capabilities) of the printers 110.
Then, in a step S5003, the virtual printer 120 reads out the logical product information of the capabilities of all the printers registered in the virtual printer 120, which was generated and stored in the step S4006 in
In a step S5004, the virtual printer 120 transmits the logical product information read in the step S5003 to the information processing apparatus 130 by IPP communication as a response (Get-Printer-Attributes Response) to the request received in the step S5002.
In a step S5005, the information processing apparatus 130 forms a print settings screen in the RAM 2302, which is adapted to the logical product information transmitted from the virtual printer 120 in the step S5004.
In a step S5006, the information processing apparatus 130 transmits a request (Get-Printer-Attributes Request) to the virtual printer 120 by IPP communication, for requesting the virtual printer 120 to transmit the logical sum information of the capabilities (the OR capabilities) of the printers 110.
In a step S5007, the virtual printer 120 reads out the logical sum information of the capabilities of all the printers registered in the virtual printer 120, which was generated and stored in the step S4007 in
In a step S5008, the virtual printer 120 transmits the logical sum information read in the step S5007 to the information processing apparatus 130 by IPP communication as a response (Get-Printer-Attributes Response) to the request received in the step S5006.
In a step S5009, the information processing apparatus 130 transmits a request (Get-Printer-Attributes Request) to the virtual printer 120 by IPP communication, for requesting the virtual printer 120 to transmit the prohibited settings information of the printers 110.
In a step S5010, the virtual printer 120 reads out the prohibited settings information, which was updated and stored in the step S4012 in
In a step S5011, the virtual printer 120 transmits the prohibited settings information read in the step S5010 to the information processing apparatus 130 by IPP communication as a response (Get-Printer-Attributes Response) to the request received in the step S5009.
In a step S5012, the information processing apparatus 130 forms a print settings screen in the RAM 2302, which is adapted to the logical sum information transmitted from the virtual printer 120 in the step S5008. More specifically, the print settings screen formed in the step S5005 is updated based on the prohibited settings information received in the step S5011 such that the user is made incapable of setting the combinations of print settings with which printing is executable by none of the printers registered in virtual printer 120.
In a step S5013, the information processing apparatus 130 displays the print settings screen formed in the step S5012 on the touch panel 2306.
In a step S5014, when the user operates the touch panel 2306 or the mouse and keyboard 2308 to set the print settings and instruct the start of printing for a print job on the print settings screen displayed in the step S5013, the information processing apparatus 130 proceeds to a step S5015. Note that the print job to be printed with the print settings set in this step is input to the information processing apparatus 130 by the user either in the step S5001 or in the step S5014.
In the step S5015, the information processing apparatus 130 generates a print job with the print settings set in the step S5014, and then transmits a request (Validate-Job Request) to the virtual printer 120 by IPP communication, for requesting the virtual printer 120 to validate whether or not printing is executable with the set print settings.
In a step S5016, the virtual printer 120 validates whether or not printing with the print settings set in the step S5014 is executable by any one of the printers registered in the virtual printer 120, in response to the validation request received from the information processing apparatus 130. The validation includes confirming whether no prohibited settings are included in the print settings.
In a step S5017, the virtual printer 120 transmits a validation result (Validate-Job Response) to the information processing apparatus 130 by IPP communication as a response to the print settings validation request received in the step S5015.
In a step S5018, the information processing apparatus 130 determines whether or not a validation result indicating that printing with the print settings set in the step S5014 is executable has been received from the virtual printer 120. If the validation result indicates that printing is executable, the information processing apparatus 130 transmits a print job (Create-Job Request) generated with the print settings in the step S5015 to the virtual printer 120 by IPP communication.
In a step S5019, upon receipt of the print job (Create-Job Request) from the information processing apparatus 130, the virtual printer 120 stores the received print job in the storage 2204 of the virtual printer 120.
In a step S5020, the printer 110 receives a print instruction from the user. For example, the printer 110 receives a print instruction for the print job associated with the user by prompting the user to input an ID and a user name from the console panel 2107. Note that the method of receiving a print instruction is not limited to this. Login of a user into the printer so as to use the printer 110 may be used as a trigger, whereby a print instruction for a print job associated with the user may be issued.
In a step S5021, the printer 110 transmits a request (Fetch-Job) to the virtual printer 120 by IPP communication, for requesting the virtual printer 120 to transmit the print job corresponding to the print instruction received in the step S5020.
In a step S5022, the virtual printer 120 transmits the print job stored in the step S5019 to the printer 110 by IPP communication as a response to the print job transmission request (Fetch-Job) received from the printer 110. Here, it is assumed that the print job associated with the user is transmitted to the printer 110.
In a step S5023, the printer 110 receives the print job transmitted from the virtual printer 120, and executes the printing process, followed by terminating the present process.
Note that
Next, a description will be given of a printer registration process according to the present embodiment with reference to
In a step S7001, when a printer registration request is received from the printer 110a, the CPU 2201 proceeds to a step S7002, wherein the CPU 2201 transmits a capabilities information request to the printer 110a and acquires the capabilities information from the printer 110a as a response to the request. Further, the CPU 2201 newly registers the acquired capabilities information of the printer 110a in the virtual printer 120 and stores the same in the storage 2204.
In a step S7003, the CPU 2201 updates the logical product information of the capabilities (the AND capabilities) of the printers 110 which have already been registered in the virtual printer 120 and stores the updated logical product information in the storage 2204.
In a step S7004, the CPU 2201 updates the logical sum information of the capabilities (the OR capabilities) of the printers 110 which have already been registered in the virtual printer 120 and stores the updated logical sum information in the storage 2204.
In a step S7005, the CPU 2201 performs a prohibited settings information update and storage process for updating the prohibited settings information of the printers 110 registered in the virtual printer 120 and storing the updated prohibited settings information in the storage 2204. Details of this process will be described hereinafter with reference to
In a step S7006, the CPU 2201 notifies the printer 110a of a result of registration of the printer 110a, followed by terminating the present process.
Next, the prohibited settings information update and storage process according to the first embodiment, executed in the step S7005, will be described with reference to
In a step S8001, the CPU 2201 determines a combination of print settings, about which each printer 110 registered in the virtual printer 120 is to be inquired whether printing is executable therewith in a step S8002 (validation request). This determination is performed based on the logical sum information of the capabilities (the OR capabilities) of the printers 110 registered in the virtual printer 120, which was updated in the step S7004.
In the step S8002, the CPU 2201 transmits a validation request for requesting validation of whether or not printing with the combination of print settings determined in the step S8001 is executable by the printer 110 to one of the printers 110 already registered in the virtual printer 120 (the printer 110a is assumed here).
In a step S8003, upon receipt of a result of the validation from the printer 110a as a response to the validation request transmitted in the step S8002, the CPU 2201 interprets the received validation result. Then, the CPU 2201 determines, based on a result of the interpretation, whether or not printing with the combination of print settings determined in the step S8001 is executable by the printer 110a. If it is determined that printing is executable, the CPU 2201 proceeds to a step S8006, whereas if it is determined that printing is inexecutable, the CPU 2201 proceeds to a step S8004.
In the step S8004, the CPU 2201 determines whether or not transmission of the validation request in the step S8002 is completed for all of the printers 110 registered in the virtual printer 120. If it is determined that transmission of the validation request is completed, the CPU 2201 proceeds to a step S8005. If it is determined that transmission of the validation request is not completed, the CPU 2201 returns to the step S8002, and transmits the validation request to one of the printers 110 registered in the virtual printer 120, to which the validation request has not been transmitted yet.
In the step S8005, it is determined that printing with the combination of print settings (OR capabilities) determined in the step S8001 is executable by none of the printers 110 registered in the virtual printer 120. Then, the CPU 2201 stores and registers the combination of print settings in the storage 2204 as prohibited settings information associated with a job to be input to the virtual printer 120.
In the step S8006, the CPU 2201 determines whether or not transmission of the validation request is completed for all of the combinations of print settings (the OR capabilities) which can be determined based on the logical sum information of the capabilities. If it is determined that transmission of the validation request is completed for all of the combinations of print settings, the present process is terminated. If it is determined that transmission of the validation request is not completed for all of the combinations of print settings, the CPU 2201 returns to the step S8001, and determines, out of all combinations of print settings, which can be determined based on the logical sum information of the capabilities, one combination of print settings for which the validation request has not been transmitted yet, as one for which the validation request is to be made.
Next, with reference to
In a step S9001, the CPU 2201 waits for reception of a command from the information processing apparatus 130, and upon receipt of the command, the CPU 2201 proceeds to the next step S9002.
In the step S9002, the CPU 2201 interprets the command received from the information processing apparatus 130 and determines whether or not the command is a prohibited settings information acquisition request. If it is determined that the command is a prohibited settings information acquisition request, the CPU 2201 proceeds to a step S9003, whereas if it is determined that the command is another command, the CPU 2201 proceeds to a step S9005. In the step S9005, the CPU 2201 performs processing associated with the other command, followed by terminating the present process.
In the step S9003, the CPU 2201 reads out the prohibited settings information registered and stored in the step S8005.
In a step S9004, the CPU 2201 transmits the prohibited settings information read in the step S9003 to the information processing apparatus 130, followed by terminating the present process.
A message 1010 shown in
The message 1010 is formed by header information of an HTTP layer and IPP message data 1011 of HTTP. Description of “ipp://XXXX.local.:631/ipp/print” in the IPP message data 1011 is an identifier indicative of one of the printers 110a, 110b, and 110c. The virtual printer 120 transmits the capabilities information acquisition request in the step S4003 to one of the printers 110a, 110b, and 110c, to which the identifier in the IPP message data 1011 applies, and notifies the printer of a result of the registration process in the step S4013.
A message 1020 shown in
The message 1020 is an example of a message transmitted to the printer 110 when the virtual printer 120 permits registration of the printer 110. Description of “status-code: Successful (successful-ok)” in IP message data 1021 in the message 1020 shows an attribute indicating that registration is permitted.
A message 1030 shown in
IPP message data 1031 in the message 1030 includes attributes 1031a to 1031d each indicative of a type of capability to be inquired to the printer 110.
More specifically, the attribute 1031a is an attribute for inquiring about whether or not color printing is supported as a print mode, and the attribute 1031b is an attribute for inquiring about whether or not finishing is supported. Further, the attribute 1031c is an attribute for inquiring about whether or not double-sided printing is supported, and the attribute 1031d is an attribute for inquiring about supported sheet types.
Messages 1040 and 1050 shown in
IPP message data 1041 in the message 1040 includes attributes 1041a to 1041d each indicative of a capability supported by the printer 110a.
More specifically, the attribute 1041a is an attribute indicating that monochrome is supported as a color setting, and the attribute 1041b is an attribute indicating that stapling and punching are supported as finishing settings.
Further, the attribute 1041c is an attribute indicating that long-side binding and short-side binding are supported as double-sided print settings, and the attribute 1041d is an attribute indicating that A4, LETTER, LEGAL, A3, and LEDGER are supported as sheet size settings.
IPP message data 1051 in the message 1050 includes attributes 1051a to 1051d each indicative of a capability supported by the printer 110b.
More specifically, the attribute 1051a is an attribute indicating that color is supported as a color setting, and the attribute 1051b is an attribute indicating that no finishing settings are supported. Further, the attribute 1051c is an attribute indicating that no double-sided print settings are supported, and the attribute 1051d is an attribute indicating that A4, LETTER, and LEGAL are supported as sheet size settings.
A message 1060 shown in
IPP message data 1061 in the message 1060 indicates an attribute indicative of an inquiry about the capabilities supported by all of the printers registered in the virtual printer 120.
A message 1070 shown in
IPP message data 1071 in the message 1070 includes attributes 1071a to 1071d each indicative of a capability supported by all of the printers registered in the virtual printer 120.
More specifically, the attribute 1071a is an attribute indicating that monochrome is supported as a color setting, and the attribute 1071b is an attribute indicating that no finishing settings are supported. The attribute 1071c is an attribute indicating that no double-sided print settings are supported, and the attribute 1071d is an attribute indicating that A4, LETTER, and LEGAL are supported as sheet size settings.
A message 1080 shown in
IPP message data 1081 in the message 1080 indicates an attribute indicating that the message is an inquiry about the capabilities supported by one of the printers registered in the virtual printer 120.
A message 1090 shown in
IPP message data 1091 in the message 1090 includes attributes 1091a to 1091d each indicative of a capability supported by one of the printers registered in the virtual printer 120.
More specifically, the attribute 1091a is an attribute indicating that color is supported as a color setting, and the attribute 1091b is an attribute indicating that stapling and punching are supported as finishing settings. The attribute 1091c is an attribute indicating that long-side binding and short-side binding are supported as double-sided print settings, and the attribute 1091d is an attribute indicating that A4, LETTER, LEGAL, A3, and LEDGER are supported as sheet size settings.
A message 1092 shown in
IPP message data 1093 in the message 1092 indicates an attribute indicating that the message is an inquiry about combinations of print settings supported by none of the printers 110 registered in the virtual printer 120.
A message 1094 shown in
IPP message data 1095 in the message 1094 includes attributes 1095a and 1095b each indicative of a combination of print settings supported by none of the printers 110 registered in the virtual printer 120.
More specifically, the attribute 1095a is an attribute indicative of a combination of print settings: a color print setting and a sheet size setting of A3, and a combination of print settings: the color print setting and a sheet size setting of LEDGER. The attribute 1095b is an attribute indicative of a combination of print settings: the color print setting and a finishing setting of stapling, and a combination of print settings: the color print setting and a finishing setting of punching.
Next,
UI screens 1110 and 1120, shown in
As displayed on the UI screens 1110 and 1120, in a case where Printer (1) is selected by a user on the printer selection section 1102, printer functions provided to the information processing apparatus 130 by the virtual printer 120 are displayed in an abstracted state.
Further, as displayed on the UI screen 1110, in a case where AND (logical product) is selected from selectable items, as denoted by reference numeral 1111, on the print support selection section 1104 by the user, there is displayed a screen for setting functions which can be set to all of the printers registered in the virtual printer 120. On the other hand, as displayed on the UI screen 1120, in a case where OR (logical sum) is selected from the selectable items, as denoted by reference numeral 1121, on the print support selection section 1104, there is displayed a screen for setting functions which can be set to at least one of the printers registered in the virtual printer 120.
Although on the UI screen 1110, the user can set a desired number of copies on the number-of-copies setting section 1103, only the two items of a color setting item 1112 and a sheet size-setting item 1113 are displayed as the selection items of the option setting section 1105. Here, only monochrome can be selected by the user for the color setting item 1112, and one of A4, LEGAL, and LETTER can be selected by the user for the sheet size-setting item 1113.
On the other hand, on the UI screen 1120, the user can set a desired number of copies on the number-of-copies setting section 1103. Further, as the selection items of the option setting section 1105, a color setting item 1122, a sheet size-setting item 1123, a double-sided-print (Duplex) setting item 1124, a stapling setting item 1125, and a punching setting item 1126 are displayed. Here, the user can select one of monochrome and color for the color setting item 1122, and select one of A4, A3, LETTER, LEGAL, and LEDGER for the sheet size-setting item 1123. Further, the user can select one of ON and OFF for each of the double-sided-print setting item 1124, the stapling setting item 1125, and the punching setting item 1126. However, in a case where ON is selected on the double-sided-print setting item 1124, the settings are fixed to OFF for the stapling setting item 1125 and the punching setting item 1126, and are prevented from being changed.
Further, the prohibited settings corresponding to the prohibited settings information, described hereinafter with reference to
Further, as shown in
Prohibited settings information 1201 indicates that a combination of the color setting of color and the sheet size setting of A3 are prohibited settings, and prohibited settings information 1202 indicates that a combination of the color setting of color and the sheet size setting of LEDGER are prohibited settings. Further, prohibited settings information 1203 indicates that a combination of the color setting of color and the double-sided print setting of long-side binding are prohibited settings, and prohibited settings information 1204 indicates that a combination of the color setting of color and the double-sided print setting of short-side binding are prohibited settings.
Next, a description will be given of a second embodiment of the present invention. In the first embodiment, the description is given of the case where, to generate the prohibited settings information of the virtual printer when additionally registering a printer, executability of printing with each of all combinations of the logical sum functions is inquired to all printers using a diallel method. On the other hand, in the second embodiment, control for reducing the number of times of inquiries to the printers is added to the control performed in the first embodiment. Further, a method for efficiently updating the capabilities information in a case where a registered printer is deleted will be described in the present embodiment. Note that the hardware configuration in the second embodiment is the same as that described in the first embodiment, and hence description thereof is omitted.
Here, for explanation of the registration process, the description is given of a case where the printers 110a and 110b have already been registered under the control of the virtual printer 120 and the printer 110c is further registered under the control of the same.
In a step S1301, upon receipt of a printer registration request from the printer 110c, the CPU 2201 of the virtual printer 120 proceeds to a step S1302, wherein the CPU 2201 transmits a capabilities information request to the printer 110c and acquires the capabilities information from the printer 110c as a response to the request. Further, the CPU 2201 newly registers the acquired capabilities information of the printer 110c in the virtual printer 120 and stores the same in the storage 2204.
In a step S1303, the CPU 2201 determines whether or not there is any other printer which has already been registered in the virtual printer 120. If there is any other registered printer, the CPU 2201 proceeds to a step S1304. If there is no other registered printer, the CPU 2201 proceeds to a step S1313. In the step S1313, the CPU 2201 stores the capabilities of the printer 110c, acquired in the step S1302, as the logical product information of the capabilities (the AND capabilities), and updates the logical product information. Next, in a step S1314, the CPU 2201 stores the capabilities of the printer 110c, acquired in the step S1302, as the logical sum information of the capabilities (the OR capabilities), and updates the logical sum information, followed by terminating the present process.
On the other hand, in the step S1304, the CPU 2201 updates the logical product information of the capabilities (the AND capabilities) of the printers 110 registered in the virtual printer 120, and stores the updated information in the storage 2204.
In a step S1305, the CPU 2201 updates the logical sum information of the capabilities (the OR capabilities) of the printers 110 registered in the virtual printer 120, and stores the updated information in the storage 2204. Note that the logical sum information of the capabilities (the OR capabilities) of the registered printers 110 before the update is referred to in a step S1307, and hence the information before the update is stored in the RAM 2202.
In a step S1306, the CPU 2201 performs a prohibited settings information update and storage process for updating the prohibited settings information of the printers 110 registered in the virtual printer 120 and storing the updated information in the storage 2204. Details of this process will be described with reference to
In the step S1307, the CPU 2201 compares the logical sum information of the capabilities (the OR capabilities) of the registered printers 110, updated in the step S1305, and the logical sum information of the capabilities (the OR capabilities) of the registered printers 110 before the update, stored in the RAM 2202. Next, the CPU 2201 acquires logical sum information of the capabilities (the OR capabilities), which was added in the step S1305, from a result of the comparison. Further, based on the acquired logical sum information of the capabilities (the OR capabilities), the CPU 2201 determines a combination of print settings, about which the printer 110c is to be inquired whether printing is executable therewith (validation request).
Here, for convenience of explanation, an example of the update process in a case where a request for further adding the printer 110c is received in a state in which the printers 110a and 110b have been registered in advance will be described.
Referring to
Referring to
Referring to
Referring again to
In a step S1309, upon receipt of a result of the validation from the printer 110c as a response to the validation request transmitted in the step S1308, the CPU 2201 interprets the received validation result. Then, the CPU 2201 determines whether or not printing with the combination of print settings determined in the step S1307 is executable by the printer 110c. If it is determined that printing with the combination of print settings is executable, the CPU 2201 directly proceeds to a step S1311. If it is determined that printing is inexecutable, the CPU 2201 proceeds to a step S1310.
In the step S1310, the CPU 2201 stores and registers the combination of print settings determined in the step S1307 in the storage 2204 as prohibited settings information associated with a job to be input to the virtual printer 120.
In the step S1311, the CPU 2201 determines whether or not transmission of the validation request is completed for all of the combinations of print settings (the OR capabilities), which can be determined based on the logical sum information of the capabilities added in the step S1305. If it is determined that transmission of the validation request is completed, the CPU 2201 proceeds to the step S1312. If it is determined that transmission of the validation request is not completed, the CPU 2201 returns to the step S1307, and determines, out of all combinations of print settings, which can be determined based on the logical sum information of the capabilities added in the step S1305, one combination of print settings for which the validation request has not been transmitted yet, as one on which validation is to be performed.
In the step S1312, the CPU 2201 notifies the printer 110c of a result of registration of the printer 110c, followed by terminating the present process.
Next, the prohibited settings information update and storage process according to the second embodiment, which is executed in the step S1306 in
In a step S1401, the CPU 2201 determines, from the prohibited settings information of the virtual printer 120, a combination of print settings (prohibited settings combination (X)) based on which whether to update the prohibited settings information is determined in a step S1402 et seq.
In the step S1402, the CPU 2201 determines whether or not the printer 110c to be registered has all functions supporting the print settings of which the combination is determined in the step S1401. For example, in a case where the prohibited settings information 1201 shown in
Next, in the step S1403, the CPU 2201 transmits a validation request to the printer 110c to be registered, for requesting the printer 110c to validate whether or not printing with the combination of print settings determined in the step S1401 is executable.
In a step S1404, upon receipt of a result of the validation from the printer 110c as a response to the validation request transmitted in the step S1403, the CPU 2201 interprets the received validation result. Then, the CPU 2201 determines whether or not printing with the combination of print settings, determined in the step S1401, is inexecutable by the printer 110c, i.e. whether or not the printer 110c as a printer to be registered has the same prohibited settings combination as the prohibited settings combination (X), based on the interpretation result. If it is determined that printing with the combination of print settings is executable, i.e. if it is determined the printer 110c does not have the same prohibited settings combination, the CPU 2201 proceeds to a step S1405. On the other hand, if it is determined that printing with the combination of print settings is inexecutable, i.e. if it is determined the printer 110c has the same prohibited settings combination, the CPU 2201 proceeds to the step S1407.
In the step S1407, the CPU 2201 leaves the combination of print settings (prohibited settings combination (X)), determined in the step S1401, as the prohibited settings information of the print settings of the virtual printer 120.
In the step S1405, the CPU 2201 deletes the combination of print settings (prohibited settings combination (X)), determined in the step S1401, from the prohibited settings information of the print settings of the virtual printer 120.
In a step S1406, the CPU 2201 determines whether or not the update determination of the prohibited settings is completed for all of the combinations of print settings, set as the prohibited settings of the virtual printer 120. If it is determined that the update determination of the prohibited settings is completed, the CPU 2201 terminates the present process. If it is determined that the update determination of the prohibited settings is not completed, the CPU 2201 returns to the step S1401, and determines one combination of print settings out of all of the combinations of print settings set as the prohibited settings of the virtual printer 120, on which update determination of the prohibited settings has not been performed yet, as one to be subjected to the determination.
Note that although in the present embodiment, validation is sequentially requested in the step S1308 with respect to each of all the combinations of print settings acquired in the step S1307, this is not limitative. For example, validation may be requested in the step S1308 with respect only to print settings which do not correspond to the prohibited settings included in the prohibited settings information obtained after completion of the process in
Next, a description will be given of a sequence of operations performed between the virtual printer 120 and the printer 110 when a printer 110 having its capabilities information registered in the virtual printer 120 is deleted from the virtual printer 120 in the second embodiment with reference to
Referring to
In the step S1502, the printer 110a transmits a printer registration deletion request (Deregister-Output-Device) to the virtual printer 120 by IPP communication.
In a step S1503, upon receipt of the registration deletion request, the virtual printer 120 deletes the printer 110a from the registration. Further, the virtual printer 120 reads out the capabilities information sets of the printers 110b and 110c, which have already been registered in the virtual printer 120 other than the printer 110a before starting the present process, and the prohibited settings information indicative of combinations of print settings with which printing is inexecutable by the printers 110b and 110c.
In a step S1504, the virtual printer 120 generates and stores logical product information indicative of capabilities which all the printers registered in the virtual printer 120 have for processing. More specifically, the logical product information is generated from the capabilities information sets of the printers 110b and 110c, read in the step S1503.
In a step S1505, the virtual printer 120 generates and stores logical sum information indicative of capabilities which any one of the printers registered in the virtual printer 120 has for processing. Similar to the logical product information, more specifically, from the capabilities information sets of the printers 110b and 110c, read in the step S1503, the logical sum information is generated.
In a step S1506, the virtual printer 120 compares the logical sum information generated in the step S1505, and the original logical sum information which was generated and stored based on the capabilities information sets of the printers 110a, 110b and 110c before registration of the printer 110a is deleted by the present process. Next, the virtual printer 120 extracts logical sum information deleted from the original logical sum information, based on a result of the comparison. If any combination of print settings of the deleted logical sum information is included in the prohibited settings of the print settings of the virtual printer 120, the virtual printer 120 deletes the combination of print settings from the prohibited settings. Further, the virtual printer 120 generates combinations of print settings, which do not correspond to the prohibited settings after the deletion, and are included in the logical sum information generated in the step S1505.
In a step S1507, the virtual printer 120 transmits a validation request for requesting all the printers remaining registered to validate whether or not printing with the combinations of print settings, generated in the step S1506, are executable (Validate-Job Request) to all the printers by IPP communication. That is, this validation request is transmitted to each of the registered printers 110b and 110c other than the printer 110a deleted from the registration.
In a step S1508, the printer 110b validates whether or not printing with the combination of print settings is executable thereby, in response to the validation request (Validate-Job Request), transmitted from the virtual printer 120 in the step S1507. Similarly, the printer 110c also validates whether or not printing with the combination of print settings is executable thereby in response to the validation request transmitted from the virtual printer 120 in the step S1507.
In a step S1509, the printer 110b transmits a result of the validation (Validate-Job Response) by IPP communication as a response to the print settings validation request received in the step S1507. Note that as mentioned in the step S1508, since the printer 110c also performs the same validation in response to the print settings validation request received in the step S1507, the validation result is also transmitted from the printer 110c.
In a step S1510, the virtual printer 120 determines whether or not the combinations of print settings, generated in the step S1506, has turned out to be prohibited settings, based on the validation results received from the printers 110b and 110c in the step S1509. That is, the virtual printer 120 checks whether or not each combination of print settings, generated in the step S1506, is information indicative of the print settings with which printing is executable by neither the printer 110b nor 110c remaining registered.
In a step S1511, if it is determined that any combination of print settings, generated in the step S1506, has turned out to be prohibited settings based on a result of the check in the step S1510, the virtual printer 120 registers the combination(s) of print settings as the prohibited settings information (prohibited settings combinations) of the print settings of the virtual printer 120.
In a step S1512, the virtual printer 120 notifies the printer 110a of a result of the process for deleting the printer 110a from registration (Deregister-Output-Device Response) by IPP communication. The printer 110a displays the notified contents on the console panel 2107 to thereby notify the user of completion of deletion of the printer 110a from registration in the virtual printer 120. Then, the present process is terminated.
Next, a description will be given of a process from the step in which the virtual printer 120 receives a registration deletion request from the printer 110a (step S1502) to the step in which the virtual printer 120 notifies the printer 110a of the processing result (step S1512) in the registration deletion process in
In a step S1601, the CPU 2201 determines whether or not the number of printers remaining registered after the printer 110a having transmitted the registration deletion request has been deleted from the registration in the virtual printer 120 is larger than one. If it is determined that the number of the registered printers is larger than one, the CPU 2201 proceeds to a step S1602, whereas if it is determined that the number of the registered printers is not larger than one, the CPU 2201 proceeds to a step S1612.
In the step S1602, the CPU 2201 updates the logical product information of the capabilities (the AND capabilities) based on the capabilities of the plurality of printers 110 remaining registered after the printer 110a has been deleted from the registration, and stores the updated information in the storage 2204.
In a step S1603, the CPU 2201 updates the logical sum information of the capabilities (the OR capabilities) based on the capabilities of the plurality of printers 110 remaining registered after the printer 110a has been deleted from the registration, and stores the updated information in the storage 2204. Note that the logical sum information of the capabilities (the OR capabilities) of the printers 110 registered before the update is to be referred to in a step S1604, and hence this information is stored in the RAM 2202.
In the step S1604, the CPU 2201 compares the logical sum information of the capabilities (the OR capabilities), updated in the step S1603, and the logical sum information of the capabilities (the OR capabilities) before the update, stored in the RAM 2202, and extracts combinations of print settings, deleted from the original logical sum information of the capabilities (the OR capabilities).
In a step S1605, the CPU 2201 determines whether or not any combination of print settings extracted in the step S1604 is included in the prohibited settings information of the print settings of the virtual printer 120. If it is determined that there is any combination of print settings is included, the CPU 2201 proceeds to a step S1606, whereas if not, the CPU 2201 proceeds to a step S1607.
In the step S1606, if it is determined in the step S1605 that any combination of print settings is included in the prohibited settings information of the print settings of the virtual printer 120, the CPU 2201 deletes the combination of print settings from the prohibited settings information of the print settings of the virtual printer 120.
In the step S1607, the CPU 2201 determines one (print settings combination (Y)) of combinations of print settings generated from the logical sum information of the capabilities updated in the step S1603, on which validation is to be requested in a step S1608, described hereinafter.
In the step S1608, the CPU 2201 transmits a validation request to all of the printers 110 remaining registered in the virtual printer 120 (the printers 110b and 110c in the present example), for requesting them to validate whether or not printing with the print settings combination (Y) determined in the step S1607 is executable by the printer 110.
In a step S1609, upon receipt of a result of the validation from each of the printers 110b and 110c as a response to the validation request transmitted in the step S1608, the CPU 2201 interprets the received validation results. Then, the CPU 2201 determines whether or not printing with the print settings combination (Y) determined in the step S1607 is executable by any of the printers 110 remaining registered in the virtual printer 120, based on the interpreted results. If it is determined that printing is executable by neither the printers 110b nor 110c, the CPU 2201 proceeds to a step S1610. On the other hand, if it is determined that printing is executable by at least one of the printers 110 remaining registered in the virtual printer 120, the CPU 2201 returns to the step S1607. That is, the CPU 2201 determines one of the combinations of print settings, on which the validation has not been requested yet, as a print settings combination about which each printer 110 registered in the virtual printer 120 is to be inquired whether printing is executable therewith (validation request) in the step S1608, and continues the present process.
In the step S1610, the CPU 2201 additionally stores and registers the print settings combination determined in the step S1607, in the storage 2204, as prohibited settings information of the print settings of the virtual printer 120.
In a step S1611, the CPU 2201 determines whether or not the validation in the step S1608 has been performed for all of the combinations of print settings generated from the logical sum information of the capabilities updated in the step S1603. If it is determined that the validation is completed, the present process is terminated. If it is determined that the validation is not completed, the CPU 2201 returns to the step S1607, and continues the present process.
On the other hand, in the step S1612, the CPU 2201 determines whether or not the number of printers 110 remaining registered after the printer 110a having transmitted the registration deletion request has been deleted from the registration is equal to one. If it is determined that one printer is remaining registered, the CPU 2201 proceeds to a step S1613, whereas if it is determined that no printer is remaining registered, the CPU 2201 proceeds to a step S1616.
In the step S1613, the CPU 2201 stores and registers the capabilities of the one printer 110 remaining registered in the storage 2204 as the logical product information of the capabilities (the AND capabilities) of the virtual printer 120.
In a step S1614, the CPU 2201 stores and registers the capabilities of the one printer 110 remaining registered in the storage 2204 as the logical sum information of the capabilities (the OR capabilities) of the virtual printer 120.
In a step S1615, the CPU 2201 stores and registers combinations of print settings, with which printing is inexecutable by the one printer 110 remaining registered, in the storage 2204, as the prohibited settings information of the print settings of the virtual printer 120, followed by terminating the present process.
In the step S1616, since no printer 110 is remaining registered in the virtual printer 120, the CPU 2201 updates the capabilities of the virtual printer 120 to “no printing capabilities”. More specifically, the CPU 2201 registers information indicative of “no printing capabilities” in both of the logical product information of the capabilities (the AND capabilities) and the logical sum information of the capabilities (the OR capabilities) of the printer 120, followed by terminating the present process.
A message 1710 shown in
The message 1710 is formed by header information of an HTTP layer and IPP message data 1711 of HTTP. Description of “ipp://XXXX.local.:631/ipp/print” in the IPP message data 1711 indicates an identifier identifying a printer of the printers 110a, 110b, and 110c, which has transmitted the registration deletion request. The virtual printer 120 transmits the print settings validation request in the step S1507 to printers other than the one of the printers 110a, 110b, and 110c registered in the virtual printer 120, which is identified by the identifier in the IPP message data 1711. Further, the virtual printer 120 notifies the printer identified by this identifier of a result of the registration deletion process in the step S1512.
A message 1720 shown in
The message 1720 is an example of the message transmitted when the virtual printer 120 permits deletion of registration of the printer 110. Description of “status-code: Successful (successful-ok)” in IPP message data 1721 in the message 1720 shows an attribute indicating that deletion of registration is permitted.
Note that in the first embodiment, the description is given of the case where conflict resolution is performed by the information processing apparatus 130 by displaying the prohibited settings information indicative of combinations of print settings conflicting with each other between the printers 110a, 110b, and 110c, on the information processing apparatus 130. However, the present invention is not limited to this. For example, execution of the steps S5009 and S5010 may be omitted. In this case, in the validation process in the step S5016, validation is performed as to whether or not the print settings transmitted from the information processing apparatus 130 include any combination of print settings conflicting with each other between the printers 110a, 110b, and 110c.
Embodiment(s) of the present invention can also be realized by a computer of a system or apparatus that reads out and executes computer executable instructions (e.g., one or more programs) recorded on a storage medium (which may also be referred to more fully as a ‘non-transitory computer-readable storage medium’) to perform the functions of one or more of the above-described embodiment(s) and/or that includes one or more circuits (e.g., application specific integrated circuit (ASIC)) for performing the functions of one or more of the above-described embodiment(s), and by a method performed by the computer of the system or apparatus by, for example, reading out and executing the computer executable instructions from the storage medium to perform the functions of one or more of the above-described embodiment(s) and/or controlling the one or more circuits to perform the functions of one or more of the above-described embodiment(s). The computer may comprise one or more processors (e.g., central processing unit (CPU), micro processing unit (MPU)) and may include a network of separate computers or separate processors to read out and execute the computer executable instructions. The computer executable instructions may be provided to the computer, for example, from a network or the storage medium. The storage medium may include, for example, one or more of a hard disk, a random-access memory (RAM), a read only memory (ROM), a storage of distributed computing systems, an optical disk (such as a compact disc (CD), digital versatile disc (DVD), or Blu-ray Disc (BD)™), a flash memory device, a memory card, and the like.
While the present invention has been described with reference to exemplary embodiments, it is to be understood that the invention is not limited to the disclosed exemplary embodiments. The scope of the following claims is to be accorded the broadest interpretation so as to encompass all such modifications and equivalent structures and functions.
This application claims the benefit of Japanese Patent Application No. 2018-172539 filed Sep. 14, 2018, and No. 2019-024683 filed Feb. 14, 2019, which are hereby incorporated by reference herein in their entirety.
Number | Date | Country | Kind |
---|---|---|---|
2018-172539 | Sep 2018 | JP | national |
2019-024683 | Feb 2019 | JP | national |