PRINTING APPARATUS, PRINTING APPARATUS CONTROL METHOD, AND PROGRAM
The printing device enables direct job cancellation via IPP communication, addressing the inefficiency of IPP-Infra restrictions by allowing users to cancel jobs from the device itself, enhancing user convenience.
Patent Information
- Application Number
- JP2023093755
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2023-06-07
- Publication Date
- 2024-09-17
- Estimated Expiration
- 2038-05-31
AI Technical Summary
In the IPP-Infra configuration, printing devices are restricted from sending job cancellation commands to the print service, necessitating users to either start their client terminal or request the print service administrator to cancel jobs, which is time-consuming and inefficient.
A printing device equipped with display control means to list print jobs, reception means for user instructions, and print control units to communicate with the print service using IPP to cancel selected jobs directly, bypassing the Cancel-Job operation restrictions.
This solution allows users to efficiently cancel print jobs from the printing device without needing to access their client terminal or administrator intervention, reducing effort and time in the job deletion process.
Smart Images

Figure 0007551845000005 
Figure 0007551845000011 
Figure 0007551845000014
Abstract
Description
[Technical field]
[0001] The present invention relates to a printing apparatus, a control method for a printing apparatus, and a program. [Background technology]
[0002] In recent years, in addition to a method in which a client directly sends image data to a printing device, a printing method in which the printing device prints by downloading print data from a printing service provided by a printing server on a network such as the cloud has become widespread. Specifically, a client terminal such as a mobile device sends print data to a printing service, which converts the print data into print data in the format of the printing device, and the printing device downloads the converted print data to perform printing. For example, in FIG. 1, 102 is a client terminal, 101 is a printing service, and 100 is a printing device. In such a configuration, the printing service may be either cloud or on-premise.
[0003] When using pull printing with the configuration shown in Figure 1, for example, a user comes to the printing device, logs in to the printing device using their user ID and password, and asks the print service if there are any jobs for that user. When a list of the user's jobs is displayed on the printing device's operation panel based on the response from the print service, the user can select the job they want to print and press the "Print" button, which causes the printing device to obtain the job from the print service and print it.
[0004] On the other hand, if a user wants to cancel printing, they can select the job they want to delete from the user's job list and issue a cancel command, which will send a cancel command from the printing device to the printing service, and the printing service will delete the job in question (Patent Document 1).
[0005] As an example of a printing system with such a network configuration, PWG5100.18 proposes a configuration called IPP-Infra, which uses the Internet Printing Protocol (IPP) as the printing protocol. IPP is a printing protocol that uses the HTTP protocol used on the Internet to exchange print data between a computer in a remote location and a printing device. (https: / / ftp.pwg.org / pub / pwg / candidates / cs-ippinfra10-20150619-5100.18.pdf) In IPP-Infra, a Client that sends image data, an Infrastructure that holds image data, a Proxy that acquires image data, and an Output Device that prints image data are defined. Here, the Proxy and Output Device may be the same terminal. If we apply the IPP-Infra configuration to Figure 1, the Infrastructure corresponds to the print service 101, the Proxy / Output Device to the printing device 100, and the Client to the client terminal 102. [Prior art documents] [Patent documents]
[0006] [Patent Document 1] JP 2017-170895 A Summary of the Invention [Problem to be solved by the invention]
[0007] However, in the IPP-Infra configuration, when a user wants to cancel (delete) a print job, there is a restriction in that the printing device cannot send a job cancel command to the print service.
[0008] Figure 3 shows the operations defined in the IPP-Infra specification and the entities that should support them. MUST means "must be implemented", MUST NOT means "must not be implemented", and MAY means "it is optional whether to implement it or not". For example, an operation "Create-Job" means an operation for generating a print job, and this operation must be implemented by Client and Infrastructure, but must not be implemented by Proxy.
[0009] According to this, it is stipulated that a Proxy equivalent to a printing device must not (MUST NOT) execute a Cancel-Job operation to cancel a job.
[0010] Therefore, even if a user wants to cancel a job by coming directly to the printing device, the user cannot cancel the job, and must either launch a client terminal to cancel the job or ask the administrator of the printing service to cancel the job. This causes a problem in that it is time-consuming for the user to cancel a job.
[0011] The present invention aims to reduce the user's effort in deleting a print job in a printing device that is capable of receiving and printing print data from a printing service using IPP (Internet Printing Protocol). [Means for solving the problem]
[0012] A printing device according to an embodiment of the present invention is a printing device capable of receiving a print job from a printing service using IPP (Internet Printing Protocol) and executing printing, and includes a display control means for displaying a list of print jobs held in the printing service, a receiving means for receiving a print instruction for a print job selected from the displayed list, and a print control means for communicating with the printing service and requesting the printing service to print the print job selected as the target of the print instruction when the print instruction is received, and for causing the printing means to print the print job, and when an instruction to cancel a print job selected from the displayed list is received, the print control means communicates with the printing service using IPP regarding the print job selected as the target of the cancel instruction. No IPP operation is used to cancel the job, and The print job selected as the target of the cancel instruction is not printed. Effect of the Invention
[0013] According to the present invention, in a printing device that is capable of receiving and printing print data from a printing service using IPP (Internet Printing Protocol), it is possible to reduce the effort required for a user to delete a print job. [Brief description of the drawings]
[0014] [Figure 1] FIG. 1 is a diagram illustrating a network configuration according to an embodiment of the present invention. [Diagram 2] 1 is a diagram illustrating a hardware configuration of a printing device according to an embodiment of the present invention. [Diagram 3] This is an example of an operation defined by the PWG. [Figure 4] FIG. 1 is a sequence diagram of inputting print data in the first embodiment; [Diagram 5] FIG. 1 is a sequence diagram of job printing in the first embodiment. [Figure 6] FIG. 11 is a sequence diagram of job cancellation in the first embodiment. [Figure 7]FIG. 11 is a sequence diagram showing how a cloud administrator cancels a job in the first embodiment. [Figure 8] FIG. 11 is a sequence diagram of canceling a job from a client terminal in the first embodiment. [Figure 9] FIG. 11 is a sequence diagram for canceling a job during printing in the first embodiment. [Figure 10] 1 is a flowchart showing a job list display in the first embodiment; [Figure 11] 1 is a flowchart showing a job printing process according to the first embodiment. [Figure 12] 1 is a flowchart showing a process for canceling a job in the first embodiment. [Figure 13] 1 is a screen example of an operation panel of a printing device according to the first embodiment. [Figure 14] 1 is a screen example of a cloud operation panel in the first embodiment. [Figure 15] 11 is a flowchart of a job cancellation process according to the second embodiment. [Figure 16] FIG. 11 is a sequence diagram of job cancellation in the second embodiment. [Figure 17] 1 is a software configuration diagram of a printing device according to an embodiment of the present invention; [Figure 18] FIG. 13 is a sequence diagram of job cancellation in the third embodiment. [Figure 19] FIG. 13 is a sequence diagram of a printing process in the fourth embodiment. [Figure 20] FIG. 13 is a sequence diagram of job cancellation in the fourth embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0015] The best mode for carrying out the present invention will be described below with reference to the drawings. Note that the following embodiment does not limit the invention according to the claims, and all of the combinations of features described in the embodiment are not necessarily essential to the solution of the invention.
[0016] (Embodiment 1) In this embodiment, an example will be described in which print data is acquired from a print service on a cloud using IPP (Internet Printing Protocol)-Infra and printed.
[0017] <Hardware configuration> FIG. 1 shows an example of a cloud print system according to the present embodiment. 100 is a printing device. 101 is a printing service provided on the Internet. 102 is a client terminal as a user's operation terminal. The printing device 100 is registered in advance in the printing service 101 by the owner of the printing device 100. The user selects the printing device 100 registered in the printing service 101 from the client terminal 102 and transmits print data to the printing service 101 via an access point or a mobile base station. The printing device 100 receives the print data transmitted by the user via the printing service 101 and performs printing. Although not shown, the client terminal operated by the user can use the printing service 101 from multiple client terminals such as a general-purpose personal computer or a smartphone, in addition to the client terminal 102. The printing device 100 and the client terminal 102 are connected to the printing service 101 via the Internet. As described above, the printing system in FIG. 1 employs an IPP-Infra configuration, with the printing device 100 corresponding to a Proxy and Output Device, the printing service 101 corresponding to an Infrastructure, and the client terminal corresponding to a Client.
[0018] Next, the configuration of the printing device 100 will be described with reference to FIG.
[0019] The CPU 201 reads out a control program stored in the ROM 203 and executes various processes for controlling the operation of the printing device 100. The ROM 203 stores the control program. The RAM 202 is used as a temporary storage area such as a main memory and a work area for the CPU 201. The HDD 204 stores various data such as print data and scanned images.
[0020] In the case of the printing device 100, one CPU 201 executes each process shown in the flowcharts described later, but other configurations are also possible. For example, multiple CPUs may cooperate to execute each process shown in the flowcharts described later.
[0021] In the printing device 100, a print process is executed by the printer 206 based on print data received from an external device and a scanned image generated by the scanner 213. The scanner 213 reads an original and generates a scanned image. The scanned image generated by the scanner 213 is printed by the printer 206 or stored in the HDD 204.
[0022] The operation unit 209 includes a liquid crystal display unit with a touch panel function and a keyboard, and displays various screens described below. A user can input instructions and information to the printing apparatus 100 via the operation unit 209.
[0023] The wireless LAN chip 211 realizes communication with an external device through wireless LAN communication, and has connection types such as wireless infrastructure and wireless direct as the connection types of the wireless LAN.
[0024] A wired LAN interface 214 executes communication with an external device such as a PC terminal via a wired LAN chip 215 over a wired LAN.
[0025] <Software configuration> FIG. 17 is a simplified diagram showing an example of the software configuration of the printing device 100 in this embodiment, and is a software configuration that is realized by loading a program stored in the ROM 203 into the RAM 202 and having the CPU 201 execute the program. Reference numeral 1701 denotes a UI processing unit, which generates images for displaying a job list display screen and a job history screen as shown in FIG. 14. The UI processing unit 1701 also notifies a job processing unit 1703 and a network communication processing unit 1702 of an event in which a user presses a "print" button or a "cancel" button. Furthermore, the UI processing unit 1701 receives a notification regarding a change in the job status from the job processing unit 1703, and reflects the change in the job list display screen and the job history screen. Reference numeral 1702 denotes a network communication processing unit, which controls network communication such as IPP through a wireless LAN or a wired LAN with an external terminal such as a server that provides the print service 101. For example, it performs processing to obtain a print job from a print service and transfer the received image data to the job processing unit 1703. Reference numeral 1703 denotes a job processing unit, which interprets the received image data and executes printing processing. It also notifies the UI processor 1701 of job completion and error events.
[0026] Although not shown, the client terminal 102 is provided with a Web browser that transmits an HTML request and displays a screen based on the HTML received in the response. The print service 101 also has a function of registering the printing device 100 and a function of converting print data designated for printing from the client terminal 102 into a print job and providing the print job to a printing device 100 selected from the multiple registered printing devices 100. Furthermore, the print service 101 has a Web server function and provides a user interface for referring to and setting the job status and the load status of the print service stored in the print service 101 via a Web browser. These functions are also provided by a software configuration, and the software configuration is realized by loading a program stored in a ROM into a RAM and executing the program by a CPU.
[0027] <Job submission procedure> FIG. 4 shows a sequence diagram of inputting print data from the client terminal 102 to the print service 101. A web browser compatible with the print service 101 is installed on the client terminal 102, and a printing device registered in the print service 101 can be selected from the print menu of the web browser. The user selects image data to be printed from the client terminal 102 (401), and selects "Print" from the property screen of the image data (402), so that the print data is sent from the client terminal to the print service 101 (403). In IPP, print data is sent by the Print-Job operation or Create-Job operation. The Requesting-user-name of this operation contains user information for identifying the user operating the client terminal 102. This allows the print service 101 to identify which user is making a print request from the client terminal 102. The print service that receives the print data generates a print job, saves it in a storage area within the print service, and holds the job processing status as Pending (waiting) (404).
[0028] 14 is an example of a screen that displays the processing status in the print service 101. As described above, the print service 101 is equipped with a WEB server, and an administrator can log in from the WEB server and refer to and set the job status stored in the print service 101 and the load status of the print service via a browser. When a print job is received from the client terminal 102, the state transitions from (A) where there is no print job to (B) where two print jobs have been received from the client. At this time, the time the job was received is displayed in the Date area, the job status in the Status area, the Requesting-user-name of the IPP attribute included in the job in the Owner area, and the Job-name of the IPP attribute in the JobName area.
[0029] <Job list display procedure> Next, a process in which a user operates the printing device 100 to display a list of print jobs stored in the print service 101 will be described with reference to the flowchart of FIG. 10. First, in S1001, the user logs in to the printing device 100. For example, the user can log in by inputting a user ID and password from the operation unit 209 of the printing device 100 as shown in FIG. 13A, or by touching a card on which the user ID and password are stored to the printing device 100. If the user is successful in logging in, the operation icons permitted for the user are displayed on the operation unit 209 as shown in FIG. 13B, and the user can select any icon to perform a desired operation. The cloud print of this embodiment can be operated by selecting the "CloudPRINT" icon in FIG. 13B. When "CloudPRINT" is pressed, the screen transitions to a job list display screen in FIG. 13C. Here, a list of print jobs of the logged-in user is displayed.
[0030] Internally, the CPU 201 of the printing device 100 sends a job list acquisition request to the print service 101 in S1002. The job list acquisition request is realized by the IPP Get-Jobs operation or Get-Documents operation. In this operation, the My-Jobs attribute is set to True, and user information of the logged-in user is stored in the Requesting-user-name and Requesting-uri attributes. Only print jobs whose attribute values match the user attribute values of the print jobs stored in the print service 101 are sent from the print service 101 to the printing device 100.
[0031] If the list of print jobs can be acquired in S1003, in S1004 the CPU 201 displays the acquired job list on the operation unit 209 as shown in FIG. 13C. Here, a job list of the user "Alice" currently logged in to the printing device 100 is displayed. Then, in S1005, the CPU 201 waits for a user operation. If the user selects an arbitrary job and selects "Print", the process proceeds to the flowchart in FIG. 11, and if the user selects "Cancel", the process proceeds to the flowchart in FIG. 12. Note that in S1003, if a print job corresponding to the logged-in user of the printing device 100 is not registered in the print service 101 and the list of print jobs has not been sent, or if "Back" is selected on the job list screen in FIG. 13C, the process ends.
[0032] <Printing procedure> FIG. 5 shows a sequence diagram of the process in which the printing device 100 acquires a job from the print service 101 and prints it.
[0033] When the user logs in to the printing device 100 (500) and selects "CloudPRINT" from the menu screen shown in FIG. 13(B), a request to obtain a job list is sent to the printing service 101 (502). In response to the received request to obtain a job list, the printing service 101 sends to the printing device 100 a list of print jobs linked to the logged-in user of the printing device 100 (503). Based on the received information, the printing device 100 displays a job list screen shown in FIG. 13(C) (504). As will be described later, the job list screen in FIG. 13(C) is a screen on which a print instruction and a cancel instruction for a print job can be received from the user. The above process is realized by performing the processes in S1001 to S1004 in FIG. 10 described above.
[0034] When "Print" is pressed with a job to be printed selected from the job list screen in Fig. 13(C) (505), the printing device 100 changes the status of the job on the job list display screen to "Processing" (506). The screen at this time is Fig. 13(G), and of the two print jobs, only the print job with JobName "AA.pdf" has its status changed from "pending" to "processing."
[0035] Next, the printing device 100 sends a job status update notification to the print service 101 so that JobStatus = Processing (processing) (507). This operation is realized by sending an Update-Job-Status operation. Upon receiving this operation, the print service 101 changes the status of the job to "Processing" as shown in Fig. 14(C) (508).
[0036] Next, the printing device 100 transmits a job acquisition request to the printing service 101 to acquire the print job selected by the user for printing (509). In IPP, the job acquisition request is made using operations such as Fetch-Job, Acknowledge-Job, Feteh-Document, and Acknowledge-Document.
[0037] The print service 101 that has received the job acquisition request sends the job data to the printing device 100 (510), and the printing device 100 starts print processing based on the received print data (511). If the print processing is completed normally, the printing device 100 changes the status of the job on the job list display screen to "Completed" (512) as shown in Fig. 13(H). It also saves the time when the print processing was completed, the result, the user name, and the job name as a job history, and updates the job history screen as shown in Fig. 13(I) (513).
[0038] Finally, the printing device 100 sends an Update-Job-Status operation to the print service 101 so that JobStatus = Completed (514). Upon receiving this operation, the print service 101 changes the status to "Completed" as shown in Fig. 14(D) (515).
[0039] Through the above process, the printing device 100 can acquire the print data sent from the client terminal 102 to the print service 101 and perform printing.
[0040] <Job Cancellation Procedure Proposed in This Invention> Fig. 6 shows a sequence diagram for canceling (deleting) a print job registered in the print service 101 without starting printing in the printing apparatus 100. Steps 601 to 604 in Fig. 6 are the same as steps 501 to 504 in Fig. 5, and therefore description thereof will be omitted.
[0041] When at least one job is selected from the job list screen of FIG. 13(C) and “Cancel” is pressed (605), the printing device 100 changes the processing status of the corresponding job on the job list display screen to “Cancelling” (606). The screen at this time is shown in FIG. 13(D), and of the two print jobs, only the print job with JobName "AA.pdf" has its status changed from "pending" to "Cancelling."
[0042] Next, the printing device 100 sends an Update-Job-Status operation to the print service 101 so that the JobStatus becomes Processing (607). Upon receiving this operation, the print service 101 changes the status of the job to "Processing" as shown in FIG. 14C (608).
[0043] Next, the printing device 100 transmits a job acquisition request to the printing service 101 to acquire print data corresponding to the print job selected as the print job to be canceled (609). In IPP, the job acquisition request is made using operations such as Fetch-Job, Acknowledge-Job, Feteh-Document, and Acknowledge-Document.
[0044] The print service 101 that has received the job acquisition request transmits the job data to the printing device 100 (610). The printing device 100 reads and discards the received print data at the network layer without executing print processing based on the data (611). Internally, the network communication processing unit 1702 discards the received image data, and does not transfer the image data to the job processing unit 1703. Then, the printing process erases the job from the job status screen as shown in FIG. 13(E). At this time, the job history is also made so that no trace of the job's print processing has been performed at all as shown in FIG. 13(F).
[0045] Finally, the printing device 100 sends an Update-Job-Status operation to the print service 101 so that the JobStatus becomes Cancelled (cancellation completed) (612). Upon receiving this operation, the print service 101 changes the status of the job to "Cancelled" as shown in FIG. 14(E) (613).
[0046] As described above, when cancel is selected before printing is executed on the printing device 100, the job on the printing service 101 can be virtually cancelled by obtaining the corresponding job from the printing service 101 and internally discarding it. Therefore, even with a protocol such as IPP-Infra in which the Cancel-Job operation on the printing device is prohibited, it is possible to cancel using the same operating procedure as with a protocol in which the cancel operation is permitted.
[0047] <Other job cancellation procedures> There are other methods of job cancellation procedures besides those proposed in the present invention. For example, as shown in Fig. 7, an administrator of the print service 101 can access the print service 101 and directly specify and delete a job stored in the print service 101. In this case, any user with administrator authority can operate the method.
[0048] Specifically, the administrator logs in to the Web server of the print service 101 using a Web browser on a PC or the like (701) and displays a list of jobs (702). The screen at this time is shown in FIG. 14(B). Then, when the administrator selects the job to be canceled from the job list displayed as shown in FIG. 14(B) and presses "Cancel" (703), a cancellation process is performed on the print service 101 (704). Then, the print service 101 changes the status of the job to "Cancelled" (705), as shown in FIG. 14(F).
[0049] There is also another method of canceling a job from the client terminal 102 as shown in FIG. 8. Specifically, the client terminal 102, operated by the user who submitted the job, checks the job status stored in the print service 101 using a spooler or the like (801, 802, 803). The user then selects the job he or she wants to cancel and issues a cancel instruction (804), causing the client terminal 102 to send a Cancel-Jobs operation to the print service 101 (805). The client terminal 102 changes the status of the job to "Cancelling" (806), and the print service 101 performs a cancellation process (807). When the client terminal 102 receives a notification of the completion of the cancellation from the print service 101 (808), it changes the status of the job to "Cancelled". Furthermore, when the print service 101 completes the cancellation process, it also changes the status of the job to "Cancelled". As described above, the IPP-Infra regulations permit a cancellation operation from a client, so this operation is possible. Also, the operation does not have to be a Cancel-Jobs operation, but may be a cancellation operation such as Cancel-My-Jobs or Cancel-Job. Upon receiving the cancel operation, the print service 101 changes the status of the job to "Cancelled" as shown in FIG. 14F.
[0050] <Procedure for canceling a job after printing has started> 6 to 8 have described an example in which a print job stored in the print service 101 is cancelled before printing starts. Fig. 9 shows a sequence in which printing is cancelled (stopped) midway through the printing process after printing has started by the printing device 100. Note that steps 901 to 911 before printing starts are similar to steps 501 to 511 in Fig. 5, and therefore will not be described here.
[0051] After starting print processing (911) on the printing device 100, the user selects "Cancel" (912) from the operation unit 209 for the job being printed as shown in FIG. 13(G). The printing device 100 changes the status of the job to "Cancelling" (913) and performs cancellation processing (914). Internally, job cancellation is executed in the job processing unit 1703 for the image data transferred from the network communication processing unit 1702 to the job processing unit 1703. When the cancellation processing is completed, the printing device 100 changes the status of the job to "Cancelled" (915) as shown in FIG. 13(J). In addition, the time when the cancellation processing was completed, the result, the user name, and the job name are recorded as job history, and the job history screen is updated (916) as shown in FIG. 13(K).
[0052] Finally, the printing device 100 sends an Update-Job-Status operation to the print service 101 so that JobStatus = Cancelled (917). Upon receiving this operation, the print service 101 changes the status to "Cancelled" (918), as shown in FIG. 14(E).
[0053] In this operation, there is a possibility that several sheets may be printed and ejected before the cancellation. In addition, there are problems such as a cancellation history remaining in the job history and the hassle involved in canceling multiple jobs at the same time, so this operation may not be appropriate if the purpose is to delete jobs on the print service 101 side.
[0054] Therefore, in the present invention, by adopting the method as shown in FIG. 6 described above, it is possible to cancel a job on the print service 101 from the printing device 100 without causing the above problems.
[0055] <Print job execution flow in the printing device 100> A flow chart of the printing apparatus 100 when executing a print job selected by the user from the job list screen shown in FIG. 13C will be described with reference to FIG.
[0056] In S1101, the CPU 201 detects that "Print" has been selected from the job list screen and changes the status of the job on the job list screen to "Processing" (see FIG. 13G). Then, in S1102, the CPU 201 sends an Update-Job-Status operation to the print service 101 so that JobStatus=Processing.
[0057] Next, in S1103, the CPU 201 transmits a job acquisition request to the print service 101. In IPP, a job acquisition request is made using operations such as Fetch-Job, Acknowledge-Job, Feteh-Document, and Acknowledge-Document. If job acquisition fails in S1104 due to line instability or disconnection, the CPU 201 resends the job acquisition request. Although not shown, if job acquisition is not successful even after sending the job acquisition request a predetermined number of times, the process of this flowchart ends with an error.
[0058] If the job acquisition is successful in step S1104, the CPU 201 starts print processing in step S1105. Internally, image data is transferred from the network communication processing unit 1702 to the job processing unit 1703, and the job processing unit 1703 starts print processing.
[0059] If the print processing is completed normally in S1106, the CPU 201 changes the status of the job on the job list screen to "Completed" in S1107 as shown in Fig. 13(H). The CPU 201 also saves the time when the print processing was completed, the result, the user name, and the job name as a log in S1108. Then, in S1109, the CPU 201 sends an Update-Job-Status operation to the print service 101 to set JobStatus=Completed.
[0060] In S1106, when the CPU 201 detects that the user has selected "Cancel" from the operation unit 209 for the job being printed on the screen of FIG. 13(G), the CPU 201 executes a cancellation process for the job (S1114). Internally, the job processing unit 1703 executes a job cancellation for the image data transferred from the network communication processing unit 1702 to the job processing unit 1703. In S1115, the CPU 201 changes the status of the job to "Cancelled" as shown in FIG. 13(J). In addition, in S1116, the CPU 201 records the time when the cancellation process was completed, the result, the user name, and the job name in the job history as a log. Then, in S1117, the CPU 201 sends an Update-Job-Status operation to the print service 101 so that JobStatus becomes Cancelled.
[0061] Furthermore, if a drawing error or the like occurs during print processing and the processing ends abnormally in S1106, the CPU 201 performs error processing in S1110. In S1111, the CPU 201 changes the status of the job to "Aborted" as shown in FIG. 13(L). In addition, in S1112, the CPU 201 records the time when the cancellation processing is completed, the result, the user name, and the job name as a log in the job history. Then, in S1113, the CPU 201 sends an Update-Job-Status operation to the print service 101 so that JobStatus becomes Cancelled. In this case, the error is logged in the history on both the print service 101 side and the printing device 100 side.
[0062] <Print job cancellation flow in the printing device 100> A flow chart of the printing apparatus 100 when canceling a print job selected by the user from the job list screen shown in FIG. 13C will be described with reference to FIG.
[0063] First, in S1201, when CPU 201 detects that "Cancel" has been selected from the job list screen, it changes the status of the job on the job list screen to "Cancelling" (see FIG. 13(D)). Note that when selecting a job to cancel from the job status list, one job may be selected, or multiple jobs may be selected at the same time.
[0064] Next, in S1202, the CPU 201 sends an Update-Job-Status operation to the print service 101 so that JobStatus becomes Processing. Next, in S1203, the CPU 201 sends a job acquisition request for the job to be canceled to the print service 101. In IPP, a job acquisition request is made using operations such as Fetch-Job, Acknowledge-Job, Feteh-Document, and Acknowledge-Document. If image data transfer fails in S1204 due to line instability or disconnection, the CPU 201 resends the job acquisition request. Although not shown, if the job acquisition is not successful even after sending the job acquisition request a predetermined number of times, the process of this flowchart ends with an error.
[0065] If the job acquisition is successful in S1204, the CPU 201 reads and discards the received image data at the network layer without printing it in S1205. Internally, the image data received in the network communication processing unit 1702 is deleted. In other words, the image data is not transferred from the network communication processing unit 1702 to the job processing unit 1703. Then, in S1206, the CPU 201 erases the job from the job list screen as shown in Fig. 13(E). At this time, the job history is also made so that no trace of the job having been printed remains as shown in Fig. 13(F).
[0066] Finally, in step S1207, the CPU 201 sends an Update-Job-Status operation to the print service 101 so that JobStatus becomes Cancelled.
[0067] Note that if the job is not deleted on the print service 101 side even when Cancelled is sent in the Update-Job-Status operation, Aborted may be sent. It may also be possible to switch the status to be sent depending on which status causes the job on the print service 101 side to be deleted.
[0068] As described above, if cancellation is selected before printing begins on the printing device 100, the job on the printing service 101 can be virtually canceled by obtaining the corresponding print data from the printing service 101 and discarding it in the network communication processing unit 1702. Therefore, even in a protocol such as IPP-Infra in which a Cancel-Job operation from a printing device is prohibited, it is possible to delete a job on the print service 101 from the printing device before starting print processing.
[0069] (Embodiment 2) Next, a second embodiment will be described. In this embodiment, the description will be made on the assumption that the print service 101 is equipped with a function for canceling a job when the print service 101 receives a job status of cancellation. FIG. 15 is a flowchart of the printing device 100 in this embodiment. FIG. 16 shows a sequence diagram in this embodiment. The processes from 1601 to 1604 are the same as those from 501 to 504 in FIG. 5, 610 to 604 in FIG. 6, and 901 to 904 in FIG. 9, and therefore description thereof will be omitted.
[0070] When a job is selected from the job list screen and "Cancel" is pressed (1605), the CPU 201 detects this and changes the status of the job on the job list screen to "Cancelling" (S1501, 1606). After a predetermined time, the CPU 201 changes the status of the job on the job list screen to "Cancelled" (S1502, 1607).
[0071] Next, in step S1503, the CPU 201 sends an Update-Job-Status operation to the print service 101 to set JobStatus=Cancelled (1608). Upon receiving this operation, the print service 101 determines that the job has been canceled by the printing device 100, and cancels and deletes the job from the storage area on the print service side (1609). The print service 101 then changes the status of the job to "Cancelled."
[0072] According to this embodiment, the printing device 100 does not need to acquire a job from the print service 101 as in the first embodiment, but only needs to notify the job status, thereby reducing the processing load on the printing device side.
[0073] (Embodiment 3) Next, a third embodiment will be described with reference to Fig. 18. In the first embodiment, when a cancellation instruction is received from a user before printing starts, the image data received by the network communication processing unit 1702 is internally discarded, and the image data is not transferred to the job processing unit 1703. In this embodiment, an example will be described in which the image data received by the network communication processing unit 1702 is not discarded, but is transferred to the job processing unit 1703 and then canceled by the job processing unit 1703.
[0074] Fig. 18 shows a sequence diagram in this embodiment. The processes of 1801 to 1810 are similar to the processes of 601 to 610 in Fig. 6, so the explanation will be omitted.
[0075] When the CPU 201 successfully acquires image data from the print service 101 in 1810, the CPU 201 starts print processing, but immediately executes cancellation processing. Internally, the image data is transferred from the network communication processing unit 1702 to the job processing unit 1703, and the job processing unit 1703 executes print processing and cancellation processing.
[0076] The printing device 100 starts printing processing based on the received image data (1811), and changes the status of the job on the job list screen to "Cancelling" (1812). The printing device 100 then performs cancellation processing for the job (1813). When the cancellation processing is complete, the printing device 100 changes the status of the job on the job list screen to "Cancelled" (1814), and logs the job as a canceled job in the job history (1815). Finally, the printing device 100 sends an Update-Job-Status operation to the printing service 101 so that JobStatus becomes Cancelled (1816). The printing service 101, which has received this operation, changes the status of the job to "Cancelled" (1817).
[0077] According to this embodiment, as in the first embodiment, even in a protocol such as IPP-Infra in which job cancellation from a printing device is prohibited, it is possible to erase a job on the print service 101 from the printing device before starting the printing process.
[0078] <Job cancellation in push printing> In the above-described first to third embodiments, an example of "pull printing" has been described in which, when a user issues a print instruction at the printing device 100, print data is obtained from the printing service 101 and printed. Here, a job cancellation in "push printing" will be described in which print data is automatically obtained from the printing service 101 and printed without the user issuing a print instruction at the printing device 100. In the case of push printing, when a user inputs print data from the client terminal 102 to the printing service 101, the printing device 100 is instantly notified of the job input and the printing process is executed. Therefore, unlike pull printing, instant printing is possible.
[0079] 19 shows a sequence diagram of push printing. Processes 1901 to 1903 until print data is input from the client terminal 102 to the print service 101 are the same as processes 401 to 403 in FIG.
[0080] When the print service 101 receives print data from the client terminal 102, it generates a print job and sends a push notification to the printing device 100 that the print job has been submitted (1904). Note that, since the print service 101 sends a push notification to the printing device 100 in an office or home, it is assumed that a protocol that establishes a continuous session, such as a constant connection or long polling, is used. Upon receiving the print job notification, the printing device 100 changes the status of the corresponding job on the job list display screen to "Processing" (1905).
[0081] Next, the printing device 100 sends a job status update notification to the print service 101 so that JobStatus=Processing (1906). This operation is realized by sending an Update-Job-Status operation. Upon receiving this operation, the print service 101 changes the status of the job to "Processing" (1907).
[0082] Next, the printing device 100 transmits a job acquisition request to the printing service 101 to acquire the submitted print job for printing (1908). In IPP, a job acquisition request is made using operations such as Fetch-Job, Acknowledge-Job, Feed-Document, and Acknowledge-Document.
[0083] The print service 101 that has received the job acquisition request transmits the job data to the printing device 100 (1909), and the printing device 100 starts print processing based on the received print data (1910). If the print processing is completed normally, the printing device 100 changes the status of the job on the job list display screen to "Completed" (1911). In addition, the time when the print processing was completed, the result, the user name, and the job name are saved as a job history (1912).
[0084] Finally, the printing device 100 sends an Update-Job-Status operation to the print service 101 so that JobStatus=Completed (1913). Upon receiving this operation, the print service 101 changes the status of the job to "Completed" (1914).
[0085] The above process enables push printing using the IPP-Infra configuration.
[0086] Next, the sequence for canceling a job in push printing is shown in Fig. 20. In the case of push printing, printing begins without a print instruction from the user on the printing device 100, so it is not possible to cancel before printing begins. Therefore, similar to the process in Fig. 9, printing is canceled after it has begun. Steps 2001 to 2010, which are the processes before printing begins, are the same as steps 1901 to 1910 in Fig. 19.
[0087] After starting print processing (2010) on the printing device 100, the user selects "Cancel" from the operation unit 209 for the job being printed (2011). The printing device 100 changes the status of the job to "Cancelling" (2012) and performs cancellation processing (2013). Internally, job cancellation is executed in the job processing unit 1703 for the image data transferred from the network communication processing unit 1702 to the job processing unit 1703.
[0088] When the cancellation process is complete, the printing device 100 changes the status of the job to "Cancelled" (2014), and records the time when the cancellation process was completed, the result, the user name, and the job name as job history (2015).
[0089] Finally, the printing apparatus 100 sends an Update-Job-Status operation to the print service 101 so that JobStatus=Cancelled (2016). Upon receiving this operation, the print service 101 changes the job status to "Cancelled" (2017).
[0090] Note that whether to perform pull printing or push printing can be set in advance by the user in the printing device 100. If pull printing is set, any of the sequences in the above-mentioned embodiments 1 to 3 is executed, and if push printing is set, the sequences in Figures 19 and 20 are executed.
[0091] As described above, according to each of the above embodiments, when a user issues a cancel instruction in a printing device that obtains print data from a printing service using IPP and prints, the printing device obtains the corresponding print data from the printing service and deletes it. This makes it possible to cancel a print job using the same operation procedure as a protocol in which the cancel operation is permitted, even in a protocol in which the Cancel-Job operation is prohibited in a printing device, such as IPP-Infra. Therefore, when there is an unnecessary print job, the user's effort in deleting the print job can be reduced without having to go through the trouble of starting up a client terminal to delete the print job or asking the administrator of the printing service to delete the print job.
[0092] <Other embodiments> The present invention can also be realized by a process in which a program for implementing one or more of the functions of the above-described embodiments is supplied to a system or device via a network or a storage medium, and one or more processors in a computer of the system or device read and execute the program. The present invention can also be realized by a circuit (e.g., ASIC) that implements one or more of the functions.
Claims
1. A printing device capable of receiving a print job from a printing service using IPP (Internet Printing Protocol) and executing printing, a display control means for displaying a list of print jobs held in the print service; a receiving unit for receiving a print instruction for a print job selected from the displayed list; a print control means for, when the print instruction is accepted, communicating with the print service, requesting the print service to print a print job selected as a target of the print instruction, and causing a print means to print the print job; When a cancel instruction for a print job selected from the displayed list is received, The printing control means communicates with the printing service using IPP regarding the print job selected as the target of the cancellation instruction, but an IPP operation to instruct the cancellation of a job is not used, and the print job selected as the target of the cancellation instruction is not printed.
2. A printing device capable of receiving a print job from a printing service using IPP (Internet Printing Protocol) and executing printing, a display control means for displaying a list of print jobs held in the print service; a receiving unit for receiving a print instruction for a print job selected from the displayed list; a print control means for, when the print instruction is accepted, communicating with the print service, requesting the print service to print a print job selected as a target of the print instruction, and causing a print means to print the print job; When a cancel instruction for a print job selected from the displayed list is received, A printing device characterized in that the status in the printing service for the print job selected as the target of the cancellation instruction is set to a canceled state using an IPP operation, the IPP operation for instructing the cancellation of a job is not used, and the print job selected as the target of the cancellation instruction is not printed.
3. 3. The printing apparatus according to claim 1, wherein the print job is a print job that has been sent by requesting the print service to print the print job for which the print instruction has been accepted.
4. 4. The printing apparatus according to claim 1, wherein the cancel instruction is an instruction to erase the print job.
5. A method for controlling a printing device capable of receiving a print job from a printing service using IPP (Internet Printing Protocol) and executing printing, comprising: a display control step of displaying a list of print jobs held in the print service; a receiving step of receiving a print instruction for a print job selected from the displayed list; a print control step of, when the print instruction is accepted, communicating with the print service, requesting the print job selected as the target of the print instruction from the print service, and causing a print control means to execute printing of the print job; When a cancel instruction for a print job selected from the displayed list is received, The control method is characterized in that the print control means communicates with the print service using IPP regarding the print job selected as the target of the cancellation instruction, but an IPP operation that instructs the cancellation of the job is not used and printing is not performed.
6. A method for controlling a printing device capable of receiving a print job from a printing service using IPP (Internet Printing Protocol) and executing printing, comprising: a display control step of displaying a list of print jobs held in the print service; a receiving step of receiving a print instruction for a print job selected from the displayed list; a print control step of, when the print instruction is accepted, communicating with the print service, requesting the print job selected as the target of the print instruction from the print service, and causing a print control means to execute printing of the print job; When a cancel instruction for a print job selected from the displayed list is received, A control method characterized in that a status in the printing service for a print job selected as the target of the cancel instruction is changed to a canceled state using an IPP operation, an IPP operation for instructing the cancellation of a job is not used, and the print job selected as the target of the cancel instruction is not printed.
7. 7. The control method according to claim 5, wherein the print job is a print job transmitted by requesting the print service to transmit the print job for which the print instruction has been accepted.
8. 8. The control method according to claim 5, wherein the cancel instruction is an instruction to erase the print job.
9. 9. A program for causing a printing device to execute the control method according to claim 5.
Citation Information
Patent Citations
Communication equipment
JP2008035062A
Information processing device, information processing method, information processing system, and program
JP2015036860A
Image output system, image processing device, image output device and method and program thereof
JP2016200934A
Printing control apparatus and method, printing system and control method therefor, and program
JP2017154434A
Image formation device and control method thereof, and program
JP2017170895A
