The present disclosure relates to a printing apparatus, a control method, and a storage medium thereof in cloud print services.
In print services so far, printing has been achieved by a user transmitting a print job directly from a client terminal such as a personal computer (PC) to a printing apparatus. On the other hand, in recent years, a cloud print service using a cloud service provided on the Internet has been discussed.
A processing sequence of cloud printing which has been conventionally known will be described below with reference to
A user first uses the WebUI client of the client terminal 100 to transmit a cloud print service registration request 111 to the printing apparatus 101 through the WebUI. If receiving the request 111, the printing apparatus 101 transmits a cloud print service registration request 112 to the cloud print service 102. If receiving the request 112, the cloud print service 102 transmits, to the printing apparatus 101, a cloud print service registration request response 113 including a registration uniform resource locator (URL) 130 for cloud print registration. If receiving the response 113, the printing apparatus 101 transmits, to the client terminal 100 through the WebUI, registration URL displayed screen information 114 including the cloud print service registration URL.
If receiving the screen information 114, the client terminal 100 displays the registration URL on the WebUI client. The user operates the WebUI client of the client terminal 100 to access the displayed registration URL. Thus, the client terminal 100 transmits, to the cloud print service 102, a cloud print service registration approval request 115 including a cloud account 131. If receiving the registration approval request 115, the cloud print service 102 transmits, to the client terminal 100, a cloud print service registration approval response 116. The user authorized to use the cloud print service 102 is represented by the cloud account 131, and the user has registered the user account with the cloud print service 102 in advance.
The printing apparatus 101 transmits a cloud print service registration confirmation request 117 to the cloud print service 102. If receiving the registration confirmation request 117, the cloud print service 102 transmits, to the printing apparatus 101, a cloud print service registration confirmation response 118 including a cloud printer ID 132. At this stage, the printing apparatus 101 is brought into a state where the printing apparatus 101 is registered with the cloud print service 102, and accordingly brought into a state where the printing apparatus 101 is allowed to use the cloud print service.
The client terminal 100 transmits a printing request 119 including the cloud printer ID 132, print data 134, and the cloud account 131 to the cloud print service 102. The printing apparatus 101 transmits, to the cloud print service 102, a print job request 120. The cloud print service 102 transmits, to the printing apparatus 101, a print job response 121 including the print data 134 and the cloud account 131. The printing apparatus 101 prints the received print data.
The print job request 120 in the sequence of
A conventional technique related to a printing apparatus using a cloud service is discussed in, for example, Japanese Patent No. 5853996. In a printing apparatus using a plurality of cloud services, when a user desires to know information such as the usage fee of each of the cloud services, it is necessary for the user to log in to and confirm each of the cloud services individually. The printing apparatus discussed in Japanese Patent No. 5853996 saves account IDs and passwords of a plurality of cloud services in advance. When the user logs in to the printing apparatus, the printing apparatus logs in to the plurality of cloud services registered in advance, acquires the latest information, and displays the latest information on a display of its own device.
According to embodiments of the present disclosure, a printing apparatus includes a printing unit configured to acquire a print job from a cloud print service and perform printing based on the acquired print job. The printing apparatus includes a setting unit configured to perform a setting for associating a user account for the printing apparatus with a cloud account for the cloud print service, and a login unit configured to perform a process of logging in to the printing apparatus based on the user account. In the printing apparatus, the printing unit determines one method, based on a user setting, from among two methods of a first method of printing a print job for the cloud account associated with the user account under a condition that the process of logging in to the printing apparatus has been performed by the login unit, and a second method of printing a print job notified by a print job notification in response to receiving the print job notification from the cloud print service even when the process of logging in to the printing apparatus has not been performed by the login unit, and the printing unit prints a print job by the determined one method.
Further features of the present disclosure will become apparent from the following description of exemplary embodiments with reference to the attached drawings.
In a cloud print service, when a print job is transmitted to the cloud, a job reception event is notified to a registered printing apparatus. If receiving this job reception event, the printing apparatus acquires a print job from the cloud print service and performs printing based on the print job. On the other hand, printing apparatuses in recent years are required to prevent occurrence of information leakage caused by leaving a printed matter. Even in the cloud print service, when a printing apparatus acquires a print job and performs printing at the time of receiving a job reception event, information leakage may occur by leaving a printed matter.
Embodiments of the present disclosure are directed to a printing apparatus supporting a cloud print service to control a process of printing a print job depending on whether the printing apparatus is operated under a user management.
Exemplary embodiments of the present disclosure will be described below with reference to the drawings. The following exemplary embodiments do not limit the disclosure according to the claims, and all combinations of the features described in the exemplary embodiments are not necessarily essential to means to solve the issues.
To begin with,
A printer interface (I/F) 406 serves as an interface for outputting an image signal to a printer 407 (a printer engine). A scanner I/F 408 also serves as an interface for inputting a read image signal from a scanner 409 (a scanner engine). The CPU 402 processes the image signal input from the scanner I/F 408, and outputs the processed image signal to the printer I/F 406 as a recording image signal.
A console panel I/F 410 connects a console panel 411 and the control unit 401. The console panel 411 is provided with a liquid crystal display unit having a touch panel function, a keyboard, and the like. A network I/F 412 transmits information to external terminals such as the client terminal 100 and the cloud print service 102, and receives various types of information from such external apparatuses.
The blocks in the control unit 401 are connected to each other via a system bus 405. The cloud print service 102 is a normal information processing apparatus, and does not include any unit specific to the printing apparatus, such as the printer 407, the scanner 409, and the console panel 411 in
An operation control unit 500 controls the console panel 411. While an operation menu is displayed on the console panel 411, an instruction input from a user is awaited. The received content of the instruction is notified to another functional unit, and the instruction result is displayed on the console panel 411.
A cloud print service registration control unit 501 analyzes a cloud print service registration request 111 received from the client terminal 100, and transmits a cloud print service registration request 112 to a cloud print service 102. Thus, a cloud print service registration process is controlled.
A cloud-print print control unit 502 controls a process of transferring print data 134 received from the cloud print service 102 together with a print instruction to an image processing unit 506. A cloud print event control unit 508 controls a process of transmitting and receiving an event between the printing apparatus 101 and the cloud print service 102.
A storage unit 505 stores designated data into the ROM 404 or the HDD 414, or reads out the stored data in response to an instruction from another functional unit. An example of data managed by the storage unit 505 includes user management information of the printing apparatus.
The image processing unit 506 performs a process of rendering a print job into image data for printing. A print processing unit 507 transmits the image data rendered by the image processing unit 506 as an image signal to the printer 407 via the printer I/F 406 to perform a process of printing.
A user account control unit 503 manages user account information stored in the storage unit 505. A login control unit 504 controls a process of logging in to the printing apparatus 101 using the user account information managed by the user account control unit 503.
A user management control unit 509 controls a user management process for the printing apparatus 101. When the user management setting stored in the storage unit 505 is ON, the user management control unit 509 controls the operation control unit 500 to display a login screen. It is assumed that the software configuration of the cloud print service 102 is the same as any of the cloud print services conventionally known.
A button 602 is pressed when facsimile (FAX) is performed using the printing apparatus 101. Pressing this button causes a FAX operation screen to be displayed on the display panel 605. A button 603 is pressed when scanning is performed using the printing apparatus 101. Pressing this button causes a scan operation screen to be displayed on the display panel 605. A numeric keypad 608 is used to input numbers and the like.
An OK key 607 is used to determine the display content of the display panel 605, for example. Direction keys 606 are used to select a menu or the like displayed on the display panel 605. A monochrome copy key 609 and a color copy key 610 are used to execute monochrome copying and color copying, respectively. A stop key 611 is used to stop a process. A menu key 612 is used to display a menu screen for performing setting of the printing apparatus 101. A state check/cancel key 613 is used to check the state of the printing apparatus 101, including checking a list of print jobs received by the printing apparatus 101.
The user account 700 is ID information for uniquely identifying a user in the printing apparatus 101, and a user authorized to operate the printing apparatus 101 is represented by the user account 700. The authority 701 is information indicating the authority of the corresponding user. The cloud account 702 is information indicating a cloud account associated with the user account 700.
Here, one cloud account 702 is not necessarily to be associated with one user account 700 but a plurality of cloud accounts 702 may be set to be associated with one user account 700. For example, not only alice@qmail.com but also alice@conon.onmicrusoft.com may be associated with Alice. On the other hand, it is not necessary to associate the cloud account 702 with the user account 700, so the cloud account 702 may be blank. The password 703 is information indicating a password required when the user logs in to the printing apparatus 101 with the user account 700.
There are two methods for event notification of a print job: Pull type and Push type.
If receiving the acquisition request 201, the cloud print service 102 transmits, to the printing apparatus 101, an event response 202 including an event class 230 and a polling interval 231. Event information that has occurred is set to the event class. An example of the event information includes a job reception event indicating that a print job addressed to the printing apparatus 101 has been received. When no event has occurred, the event information is not included. The polling interval is used for the cloud print service 102 to notify the printing apparatus 101 of the interval until the printing apparatus 101 transmits a next event acquisition request.
If receiving the response 202, the printing apparatus 101 transmits an event acquisition request 203 including the cloud printer ID 132 and the cloud account 131 to the cloud print service 102 again after the time of the polling interval included in the response 202 elapses. Similarly to the previous time, if receiving the acquisition request 203, the cloud print service 102 transmits an event response 204 including the event class 230 and the polling interval 231 to the printing apparatus 101. Thereafter, the printing apparatus 101 repeats the same process according to the polling interval.
Event information that has occurred is set to the event class. An example of the event information includes a job reception event indicating that a print job addressed to the printing apparatus 101 has been received. When no event has occurred, the event information is not included.
The printing apparatus 101 continues to maintain the network connection to the cloud print service 102 still after receiving the event response 302. When an event occurs, the cloud print service 102 transmits the event responses 302 and 303 including the event class 330 via the network connection at the timing of occurrence of the event.
An operation of the printing apparatus 101 according to exemplary embodiments when a cloud print is executed will be described below. A second exemplary embodiment and the subsequent exemplary embodiments will be described focusing on differences from a first exemplary embodiment.
A first exemplary embodiment will be described.
In step S802, the login control unit 504 confirms whether the passed information is registered in the user accounts 700 and the passwords 703 in the user management information. If the registration cannot be confirmed (No in step S802), login failure is determined, and the processing ends. If the registration can be confirmed (Yes in step S802), login successful is determined, and the processing proceeds to step S803. If the login is successful, the user account control unit 503 reads the cloud account associated with the user account of a user logging in from the user management information stored in the storage unit 505 in step S803.
A plurality of cloud accounts may be associated with the user account. In that case, in step S803, the associated cloud accounts are read one by one. It is assumed that an inquiry in step S805 is the Pull type illustrated in
If the result of the inquiry indicates that there is no print job (No in step S806), the cloud-print print control unit 502 determines whether all of the cloud accounts associated with the user account of a user logging in have been read in step S809. If all of the cloud accounts have been read (Yes in step S809), the processing ends. If all of the cloud accounts have not been read (No in step S809), the processing returns to step S803 to read a next cloud account, acquire a job, and repeat the process of printing.
In step S806, if it is determined that there is a print job (Yes in step S806), the cloud-print print control unit 502 acquires the job from the cloud print service 102 in step S807. Then, the image processing unit 506 renders the acquired data. The print processing unit 507 prints the rendered image data. While the cloud-print print control unit 502 executes printing in step S807, the cloud print event control unit 508 determines whether a job reception event addressed to a cloud account that is being subjected to logging in has been received in step S808. If a job reception event has not been received (No in step S808), the processing proceeds to step S809.
If a job reception event has been received (Yes in step S808), the cloud-print print control unit 502 repeats the inquiry process of step S805. A print job acquisition resulting from reception of a job reception event is based on the Push type in
The printing apparatus 101 transmits a Get-Jobs request 901 to the cloud print service 102. At this time, ‘fetchable’ is set to a which-jobs attribute, and the cloud account associated with the user account of a user logging in is set to a requesting-user-uri attribute. This makes it possible to inquire whether there is a receivable print job addressed to the cloud account. If there is a receivable print job addressed to the inquired cloud account, the cloud print service 102 transmits a Success response 902 to the printing apparatus 101. At this time, a job-id is set to a job-fetchable attribute.
If no cloud account is associated with the user account, the inquiry of a print job is not performed. That is, since there is no cloud account, it is determined that a user logging in to the printing apparatus 101 does not use the cloud print service, and the Get-Jobs request 901 will not be transmitted accordingly. The sequence of the print job acquisition and the print process described in step S807 of
The printing apparatus 101 transmits a Fetch-Job request 903 to the cloud print service 102 to request print settings for the job. At this time, the job-id acquired in the Success response 902 is set to the job-id attribute. The cloud print service 102 transmits a Success response 904 to the printing apparatus 101. At this time, the print setting for the job is set to a job-template attribute.
If successfully receiving the print setting for the job by the Success response 904, the printing apparatus 101 transmits an Acknowledge-Job request 905 to the cloud print service 102. At this time, the job-id acquired in the Success response 902 is set to the job-id attribute. If receiving the Acknowledge-Job request 905, the cloud print service 102 transmits a Success response 906 to the printing apparatus 101.
If successfully receiving the print setting for the job by the Success response 904, the printing apparatus 101 transmits a Fetch-Document request 907 to the cloud print service 102. This makes a request for print data.
At this time, the job-id acquired in the Success response 902 is set to the job-id attribute. The cloud print service 102 transmits a Success response 908 to the printing apparatus 101. At this time, print data is simultaneously transmitted.
If successfully receiving the print data by the Success response 908, the printing apparatus 101 transmits an Acknowledge-Document request 909 to the cloud print service 102. At this time, the job-id acquired by the Success response 902 is set to the job-id attribute. If receiving the Acknowledge-Document request 909, the cloud print service 102 transmits a Success response 910 to the printing apparatus 101.
In step S1002, the user management control unit 509 determines whether the user management setting is ON, and if the user management setting is ON (Yes in step S1002), the processing proceeds to step S1006. In step S1006, the login control unit 504 confirms whether the user is in a state of logging in to the printing apparatus 101. If the user is in the state of logging in the printing apparatus 101 (Yes in step S1006), the processes of step S803 and the subsequent steps in
If the user management setting is OFF (No in step S1002), the cloud-print print control unit 502 acquires a job from the cloud print service 102 and performs printing in step S1003. If the printing apparatus 101 does not have the user management setting function itself, the process of step S1003 is performed as in the case where the user management setting is OFF. When the printing is complete, the cloud print event control unit 508 determines whether a job reception event has been received during the printing in step S1005. If a job reception event has not been received (No in step S1005), the processing ends.
If a job reception event has been received (Yes in step S1005), the operation returns to step S1003 to repeat the print process. The difference between step S1003 and step S1007 will be described just in case. In step S1003, printing is performed for the job of any user account. In step S1007, printing is performed only for the job corresponding to the user account of a user who is set to the printing apparatus 101 and who has logged in. In other words, if the user management setting is ON (Yes in step S1002), that is, the setting is enabled, the job carelessly input to the cloud print service 102 is not printed, thereby making it possible to maintain the confidentiality. The printing apparatus 101 according to the first exemplary embodiment has two methods, and acquires and prints a print job by any one of the methods.
Here, an example of a specific communication process between the printing apparatus 101 and the cloud print service 102 in step S1003 is the same as that described in
If the cloud printer of the cloud printer ID 132 is not yet registered (No in step S1101), the processing ends. If the cloud printer of the cloud printer ID 132 is already registered (Yes in step S1101), the cloud print service 102 determines whether the event notification type for the printer of the cloud printer ID 132 is the Push type or the Pull type in step S1102. If the type is the Push type (Yes in step S102), the cloud print service 102 transmits an event through the Push type transmission to the printer of the cloud printer ID 132 in step S1104.
If the type is not the Push type (i.e., in the case of the Pull type) (No in step S1102), the cloud print service 102 adds the job reception event to an event list for the printer of the cloud printer ID 132 in step S1103. An event managed in the event list is used as an event notified as the event response 202 when the cloud print service 102 receives the event acquisition request 201 from the client terminal 100.
In step S1202, the cloud print service 102 determines whether a cloud printer of the cloud printer ID 132 included in the event acquisition request 201 is a registered cloud printer. If a cloud printer of the cloud printer ID 132 is not yet registered (No in step S1202), the processing ends. If a cloud printer of the cloud printer ID 132 is already registered (Yes in step S1202), the cloud print service 102 determines whether there is an event in the event list for the printer of the cloud printer ID 132 in step S1203.
If there is no event (No in step S1203), the cloud print service 102 transmits the event response 202 not including an event to the printing apparatus 101 in step S1204. If there is an event (Yes in step S1203), the cloud print service 102 transmits the event response 202 including the event included in the event list to the printing apparatus 101 in step S1204. Then, the cloud print service 102 deletes the transmitted event from the event list for the printer of the cloud printer ID 132 in step S1205.
The above description is for the first exemplary embodiment, and the effects by the operations illustrated in
The second exemplary embodiment will be described. In the first exemplary embodiment, as described with reference to
If the result of the inquiry in step S806 indicates that there is no print job (No in step S806), the processing ends. If there is a print job (Yes in step S806), the cloud-print print control unit 502 acquires the job from the cloud print service 102 in step S1301. Then, the operation control unit 500 displays a cloud print job list on the display panel 605.
The job information acquisition process described here may not be executed at a timing at which the user logged in, but may be executed at a timing at which the user operates the console panel 411 of the printing apparatus 101 to display the cloud print job list. Furthermore, the job information acquisition process may be executed at a timing at which the printing apparatus 101 receives a job reception event, and the printing apparatus 101 may be configured to store the information in the storage unit 505. In this case, when the user operates the console panel 411 of the printing apparatus 101 to display the cloud print job list, the printing apparatus 101 displays the job information stored in the storage unit 505.
In step S1503, the cloud-print print control unit 502 determines whether printing of all the jobs selected by the user has been executed. If the printing of all the jobs has been executed (Yes in step S1503), the processing ends. If the printing of all the jobs has not been executed (No in step S1503), the operation returns to step S1502 to repeat the print process.
The second exemplary embodiment can deal with the case where the user does not desire to automatically execute the printing at the timing of logging in to the printing apparatus 101. The second exemplary embodiment has been described as an alternative to the first exemplary embodiment, but both may coexist. For example, if printing of a print job simultaneously with the login is set, the printing is performed by the method according to the first exemplary embodiment, and if printing of a print job in response to the user instruction for printing the job after the user logs in and selects the job is set, the printing is performed by the method according to the second exemplary embodiment.
A third exemplary embodiment will be described. In the first exemplary embodiment, as described with reference to
If the cloud-print print control unit 502 determines that the user is logging in to the printing apparatus 101 in step S1006 (Yes in step S1006), the cloud-print print control unit 502 displays a job reception message on the operation screen.
This operation screen is a screen displayed in S1301 of
On the pop-up screen, the job title of the corresponding cloud print job is displayed. Here, when the print button is pressed, the cloud-print print control unit 502 acquires the displayed job from the cloud print service 102 to print the job. When the close button is pressed, the pop-up screen is closed without performing printing.
The third exemplary embodiment may be in the form of coexistence with the first exemplary embodiment as in the second exemplary embodiment. In addition, the third exemplary embodiment can coexist with the second exemplary embodiment, for example, by the setting of switching the printing method between the methods according to the second exemplary embodiment and the third exemplary embodiment.
A fourth exemplary embodiment will be described. In the first exemplary embodiment, as described with reference to
If the user management setting is ON in step S1002 (Yes in step S1002), the cloud-print print control unit 502 inquires of the cloud print service 102 about jobs for all the cloud accounts in step S1801. In a specific example of the IPP, the inquiry is made by transmitting the Get-Jobs request 901 described with reference to
In step S1802, the cloud-print print control unit 502 inquires of the cloud print service 102 about the job attribute of the acquired job. In the specific example of the IPP, the inquiry is made by transmitting the Fetch-Job request 903 described with reference to
In step S1803, the cloud-print print control unit 502 confirms whether the job owner name of the acquired job attribute is included in the user management information about the printing apparatus 101 as a cloud account. If the job owner name is included (Yes in step S1803), then nothing is performed and it is determined whether all the job attributes of the acquired job have been read in step S1805.
If all the job attributes have not been read (No in step S1805), the operation returns to step S1802 to repeat the inquiry process for the job attribute. If all the job attributes have been read (Yes in step S1805), the processing proceeds to step S1006. If the job owner name of the job attribute acquired in step S1803 is not included in the user management information about the printing apparatus 101 as a cloud account (No in step S1803), the cloud-print print control unit 502 acquires the job from the cloud print service 102 to perform printing in step S1804. Next, the processing proceeds to step S1805.
In the fourth exemplary embodiment that is a modification of the first exemplary embodiment, a job is permitted to be printed as long as the job is for the cloud account not managed by the printing apparatus 101 even if the printing apparatus 101 is set not to perform printing when there is no login. As a result, while a confidential document of the user to be managed by the printing apparatus 101 is held, printing of a document of the user not to be managed by the printing apparatus 101 is performed, which improves the convenience as compared to the first exemplary embodiment.
Embodiment(s) of the present disclosure 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 disclosure includes exemplary embodiments, it is to be understood that the disclosure 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-185424, filed Sep. 28, 2018, which is hereby incorporated by reference herein in its entirety.
Number | Date | Country | Kind |
---|---|---|---|
2018-185424 | Sep 2018 | JP | national |