Printer, computer program and method
By storing print data in the printer's memory and resending it to the server if printing fails, the system ensures complete printing even after errors, addressing incomplete printing issues in existing systems.
Patent Information
- Application Number
- JP2023036986
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-03-09
- Publication Date
- 2024-09-20
AI Technical Summary
Existing printer systems do not account for errors occurring in the image forming apparatus after print job data transmission from the cloud print server, potentially leading to incomplete printing.
The printer includes a storage mechanism to store print data in memory and a transmission mechanism to resend the data to the server if printing cannot be completed, ensuring that printing is completed even if the data is deleted from the server.
This approach ensures that printing is completed using the stored print data, preventing incomplete printing due to errors in the image forming apparatus and enhancing user convenience by allowing alternative printers to finish the job.
Smart Images

Figure 2024127648000001
Abstract
Description
[Technical field]
[0001] This specification relates to a printer, a computer program for the printer, and a method executable by the printer. [Background technology]
[0002] In the printer system disclosed in Patent Document 1, a client terminal transmits print job data to a cloud print server. The cloud print server transmits the received print job data to the image forming device in response to a periodic confirmation request from the image forming device, and erases the print job data. The image forming device performs printing using the received print job data. When an error occurs in the image forming device, the image forming device does not make a periodic confirmation request. For this reason, when an error occurs in the image forming device, the cloud print server does not transmit the print job data received from the client terminal to the image forming device. This is said to prevent communication bandwidth from being wasted and to prevent the cloud print server from erasing the print job data. [Prior art documents] [Patent documents]
[0003] [Patent Document 1] JP 2020-192730 A Summary of the Invention [Problem to be solved by the invention]
[0004] However, the above technology does not take into consideration a case where an error occurs in the image forming device after the print job data is transmitted from the cloud print server to the image forming device, and therefore, in the image forming device of the above technology, there is a possibility that printing based on the print job data received from the cloud print server is not executed.
[0005] This specification discloses a technique that can suppress a problem in which printing based on print data received from a server is not executed. [Means for solving the problem]
[0006] The technology disclosed in this specification can be realized in the following application examples.
[0007] [Application Example 1] A printer comprising: a receiving unit that receives print data from a server based on a print instruction sent from a terminal device to the server; a storage processing unit that stores the print data in a memory; a print processing unit that executes a print process using the print data; and a print data sending unit that sends the print data stored in the memory to the server if the print process cannot be completed.
[0008] According to the above configuration, when the printer is unable to complete printing, the printer transmits the print data received from the server to the server. Therefore, even after the print data is deleted from the server, the printer can complete printing using the print data transmitted from the printer to the server. As a result, it is possible to prevent problems such as printing not being performed based on the print data.
[0009] The technology disclosed in this specification can be realized in various forms, such as a printer, a printing system, a method executable by a printer, a computer program for realizing these devices, systems, and methods, a recording medium on which the computer program is recorded, and the like. [Brief description of the drawings]
[0010] [Figure 1] FIG. 1 is a block diagram showing the configuration of a system 1000. [Diagram 2] FIG. 13 is a sequence diagram of a registration process. [Diagram 3] FIG. 13 is a diagram showing an example of an authentication screen W1. [Figure 4] FIG. [Diagram 5]FIG. 11 is a first sequence diagram of the process during printing. [Figure 6] FIG. 2 is a second sequence diagram of the process during printing. [Figure 7] FIG. [Figure 8] 4 is a flowchart of a printing process according to an embodiment. [Figure 9] 10 is a flowchart of a printing process according to a modified example. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0011] A. Working Example A-1. Configuration of System 1000 1 is a block diagram showing the configuration of a system 1000. The system 1000 includes printers 100A and 100B, a terminal device 200, and a print server 300. The system 1000 realizes a print service in which the printers 100A and 100B execute printing by transmitting print data from the print server 300 to the printers 100A and 100B based on an instruction from the terminal device 200.
[0012] The printer 100A is a device that consumes ink as a printing material to perform printing. The printer 100A includes a CPU 110 as a controller of the printer 100A, a volatile storage device 120 such as a DRAM, and a non-volatile storage device 130 such as a hard disk or a flash memory. The printer 100A also includes a display unit 140 such as a liquid crystal display for displaying images, an operation unit 150 such as buttons or a touch panel for acquiring operations by the user, a printing mechanism 170, and a communication interface (IF) 180.
[0013] The communication IF 180 is an interface for connecting to the Internet IT, for example, a wired interface conforming to Ethernet (registered trademark) or a wireless interface conforming to the Wi-Fi standard.
[0014] The CPU 110 is a calculation device (processor) that performs data processing. The volatile storage device 120 provides a buffer area for temporarily storing various intermediate data generated when the CPU 110 performs processing. The non-volatile storage device 130 stores a computer program PGp for controlling the printer 100A and a setting information database SD in which various setting information described later is recorded.
[0015] In this embodiment, the computer program PGp is provided by being stored in advance in the non-volatile storage device 130 when the printer 100A is manufactured. Alternatively, the computer program PGp may be provided, for example, in a form downloaded from a server connected via the Internet IT, or in a form recorded on a CD-ROM or the like.
[0016] The CPU 110 executes various processes for controlling the printer 100A by executing the computer program PGp. For example, the CPU 110 executes a print process (described later) for controlling the print mechanism 170 to print an image. The CPU 110 also executes the computer program PGp to communicate with the print server 300 and the terminal device 200 and executes processes related to the print service (for example, a registration process and a printing process described later). For example, in communication with the terminal device 200, the printer 100A functions as a WEB server and communicates with the terminal device 200 functioning as a WEB browser.
[0017] The printing mechanism 170 executes printing under the control of the CPU 110. The printing mechanism 170 of this embodiment is an inkjet printing mechanism that prints an image on a recording medium using a plurality of types of ink, for example, four types of ink: cyan (C), magenta (M), yellow (Y), and black (K). Alternatively, the printing mechanism 170 may be an electrophotographic printing mechanism that prints an image on a recording medium using toner contained in a toner cartridge as a coloring material.
[0018] The printer 100B is a different printer owned by the user of the printer 100A described above. The printer 100B includes components 110 to 180 (not shown) similar to those of the printer 100A. A description of the configuration of the printer 100B will be omitted.
[0019] The printers 100A and 100B are connected, for example, to a local area network LN, and are connected to the Internet IT via the local area network LN.
[0020] The terminal device 200 is a computer of a user of the printers 100A and 100B, such as a personal computer or a smartphone. The terminal device 200 includes a CPU 210 as a controller of the terminal device 200, a volatile storage device 220 such as a RAM, and a non-volatile storage device 230 such as a hard disk drive or a flash memory. The terminal device 200 also includes a display unit 240 such as a liquid crystal display for displaying images, an operation unit 250 such as a mouse or keyboard for acquiring operations by the user, and a wired or wireless communication IF 280 for connecting to the Internet IT.
[0021] The CPU 210 is an arithmetic unit (processor) that performs data processing. The volatile storage device 220 provides a buffer area for temporarily storing various intermediate data generated when the CPU 210 performs processing. The non-volatile storage device 230 stores a browser program BP.
[0022] The CPU 210 executes the browser program BP to function as a Web browser. The CPU 210 functioning as a Web browser accesses the print server 300 and the printer 100A to execute processing related to the print service described below.
[0023] The terminal device 200 is connected to, for example, a local area network LN and connected to the Internet IT via the local area network LN. Alternatively, the terminal device 200 may be connected to the Internet IT by wireless communication according to a mobile communication standard such as 4G or 5G.
[0024] The print server 300 is, for example, a computer operated by a printing service provider, such as a cloud server. The print server 300 includes a CPU 310 as a controller of the print server 300, a volatile storage device 320 such as a DRAM, a non-volatile storage device 330 such as a hard disk or a flash memory, and a wired or wireless communication IF 380 for connecting to the Internet IT. The print server 300 is connected to the Internet IT, and is communicatively connected to each of the printers 100A and 100B and the terminal device 200 via the Internet IT.
[0025] The CPU 310 is a computing device (processor) that performs data processing. The volatile storage device 320 provides a buffer area for temporarily storing various intermediate data generated when the CPU 310 performs processing. The non-volatile storage device 330 stores computer programs PGs and a management database DB.
[0026] The computer programs PGs are provided, for example, in a form of being uploaded by a business operator who operates the print server 300. The CPU 310 of the print server 300 executes the computer programs PGs to provide a print service. Specifically, the CPU 110 cooperates with the printers 100A and 100B and the terminal device 200 to execute processes related to the print service, which will be described later.
[0027] The management database DB stores various data necessary for providing a printing service, such as print data sent from the terminal device 200 and registration information for the printers 100A and 100B.
[0028] 1, only the printers 100A, 100B and the terminal device 200 are shown, but the print server 300 provides a print service by communicating with a large number of devices such as multifunction peripherals and printers, and with the terminal devices of the users of the devices. The following describes the processing between the printers 100A, 100B and the terminal device 200, but these processing are executed independently for each of the multiple devices that are the targets of the print service.
[0029] A-2. Registration process In order for a user to use the printing service provided by the print server 300 using the printers 100A and 100B, a registration process is executed in advance to register information about the printers 100A and 100B in the print server 300. The registration process for the printer 100A will be described below, but a similar registration process is also executed for the printer 100B.
[0030] 2 is a sequence diagram of the registration process. The terminal device 200 starts a web browser in response to a user operation. The terminal device 200 (web browser) accesses the printer 100A functioning as a web server, and in response to the user operation, transmits a registration instruction to the printer 100A in S2.
[0031] When the printer 100A receives the registration instruction, in S4 it transmits to the print server 300 a registration request including a device ID which is identification information for identifying the printer 100A.
[0032] Upon receiving the registration request, the print server 300 generates a PIN code in S6. In S7, the print server 300 records the device ID included in the registration request and the generated PIN code in the management database DB (FIG. 1) in association with each other. In S8, the print server 300 transmits the PIN code and a registration URL (short for Uniform Resource Locator) to the printer 100A. The registration URL is information indicating the location of authentication screen data (described later) stored in the print server 300.
[0033] Upon receiving the PIN code and the registration URL, the printer 100A transmits the received PIN code and registration URL to the terminal device 200 in S10.
[0034] When the terminal device 200 receives the PIN code and the registered URL, in S12, the terminal device 200 displays the received PIN code and registered URL on the display unit 240 of the terminal device 200. The user selects the registered URL displayed on the display unit 240 by operating a pointing device such as a mouse. When the registered URL is selected, in S14, the terminal device 200 transmits an authentication request including the registered URL to the print server 300.
[0035] When the print server 300 receives the authentication request, in S16, the print server 300 transmits to the terminal device 200 authentication screen data identified by the registered URL included in the authentication request.
[0036] When the terminal device 200 receives the authentication screen data, in S20, it uses the authentication screen data to display an authentication screen W1 for printer registration on the display unit 240. Fig. 3 is a diagram showing an example of the authentication screen W1. The authentication screen W1 for printer registration includes a PIN code input field IB, a check box CB for inputting whether or not to permit retransmission of a print job (described later) by the printer to be registered (e.g., printer 100A), and a registration button Bt.
[0037] The user inputs the PIN code displayed in S12 into the input field NB of the authentication screen W1. The user further inputs a setting for whether or not to permit retransmission of the print job by the printer 100A (also referred to as retransmission permission or not). For example, if the user permits retransmission of the print job, the user checks the check box CB, and if the user does not permit retransmission of the print job, the user does not check the check box CB. Here, it is assumed that the user permits retransmission of the print job (i.e., checks the check box CB). After the user inputs the PIN code and the retransmission setting, the user presses the registration button Bt, and the terminal device 200 acquires the PIN code and information indicating the input retransmission permission or not (hereinafter also referred to as retransmission permission or not information).
[0038] When the terminal device 200 acquires the PIN code and the resend permission information, it transmits the PIN code and the resend permission information to the print server 300 in S22.
[0039] When the print server 300 receives the PIN code and the resend permission information, it executes authentication of the PIN code in S24. Specifically, the print server 300 judges whether the PIN code has been recorded in the management database DB. If the PIN code has been recorded in the management database DB, that is, if the authentication is successful, the print server 300 generates a normal access token (hereinafter also referred to as a normal AT) in S26. The normal AT is used as authentication information when the printer 100A receives a print job from the print server 300 in the printing process described later. The normal AT is, for example, a unique character string that is randomly generated. Note that if the PIN code has not been recorded in the management database DB, that is, if the authentication fails, for example, the print server 300 transmits an authentication failure notification to the terminal device 200 and requests the terminal device 200 to enter a correct PIN code (not shown). In this case, the terminal device 200 displays an input screen for re-entering the PIN code on the display unit 240 and requests the user to enter a correct PIN code (not shown).
[0040] If the resend permission information received in S22 indicates that resending of the print job is permitted, the print server 300 generates a resend access token (hereinafter also referred to as a resend AT) in S30. The resend AT is used as authentication information when the printer 100A receives a print job from the print server 300 and then transmits (resends) the print job to the print server 300 in the printing process described below. The resend AT is, for example, a unique character string that is generated randomly, and is a character string that is different from the normal AT. Note that, if the resend permission information indicates that resending of the print job is not permitted, S30 is not executed. That is, in this case, only the normal AT is generated, and no resend AT is generated.
[0041] In S32, the print server 300 records the generated AT. That is, if both the normal AT and the resent AT are generated, the print server 300 records the normal AT and the resent AT, and if the normal AT is generated but the resent AT is not generated, the print server 300 records the normal AT. The generated AT is recorded in the management database DB in association with the device ID associated with the PIN code received in S22.
[0042] In S34, the print server 300 transmits a registration notification including the generated AT and a URI (Uniform Resource Identifier) indicating the printer 100A to the printer 100A. The URI indicating the printer 100A is used as a URI indicating the printer 100A when the printer 100A resends the print job to the print server 300 (described later).
[0043] When the printer 100A receives the registration notification, it records the AT included in the registration notification in the setting information database SD. This enables the printer 100A to communicate with the print server 300 using the normal AT. The printer 100A then communicates with the print server 300 and performs processes such as sending information about the printer 100A (printer name, printer capability information, etc.) to the print server 300, but illustrations and descriptions of these processes are omitted.
[0044] A-3. Retransmission setting process If the user permits printer 100A to resend the print job in the registration process, resend setting processing can be executed. Resending a print job is processing executed when printer 100A is unable to complete printing due to an error that occurs when printing based on a print job received from print server 300 is executed by printer 100A. When resending a print job, printer 100A transmits the print job to print server 300 again to have the print job executed by printer 100A or printer 100B (details will be described later). The resend setting processing is processing for setting whether or not to resend the print job, and whether the resent print job is to be executed by printer 100A or printer 100B.
[0045] Fig. 4 is an explanatory diagram of the retransmission setting process. Fig. 4(A) is a sequence diagram of the retransmission setting process. The terminal device 200 starts a WEB browser in response to a user operation. The terminal device 200 (WEB browser) accesses the printer 100A functioning as a WEB server, and in response to a user operation, sends a retransmission setting screen request to the printer 100A in S40.
[0046] When the printer 100A receives the retransmission setting screen request, in S42, it transmits retransmission setting screen data indicating the retransmission setting screen W2 to the terminal device 200. When the terminal device 200 receives the retransmission setting screen data, in S44, it displays the retransmission setting screen W2 on the display unit 240 of the terminal device 200.
[0047] FIG. 4(B) shows an example of the resend setting screen W2. The resend setting screen W2 includes radio buttons RB1 to RB3, a URI input field UB, and a setting button Bn. The radio button RB1 is an input element for specifying not to resend the print job. The radio button RB2 is an input element for specifying to resend the print job to be printed by the printer 100A. The radio button RB3 is an input element for specifying to resend the print job to be printed by another printer (e.g., printer 100B) different from the printer 100A. The input field UB is an input field for inputting a URI indicating the other printer when the radio button RB3 is selected.
[0048] The user selects one of the radio buttons RB1 to RB3, and when selecting the radio button RB3, the user further inputs a URI indicating the printer 100B in the input field IB and presses the set button Bn. The URI indicating the printer 100B was transmitted from the print server 300 to the printer 100B during the registration process of the printer 100B. The user can know the URI indicating the printer 100B by accessing the printer 100B using the terminal device 200 (WEB browser).
[0049] When the setting button Bn is pressed, the terminal device 200 acquires retransmission setting information. The retransmission setting information is information based on an input to the retransmission setting screen W2. The retransmission setting information includes information indicating whether to retransmit the print job, and, if the print job is to be retransmitted, information indicating whether the print job is to be retransmitted to the printer 100A or the printer 100B. When the print job is to be retransmitted to the printer 100B, the retransmission setting information further includes a URI indicating the printer 100B. When the terminal device 200 acquires the retransmission setting information, it transmits the retransmission setting information to the printer 100A in S46. When the printer 100A receives the retransmission setting information, it records the retransmission setting information in the setting information database SD. This ends the retransmission setting process.
[0050] A-4. Processing at the time of printing The printing process executed after the registration process and the retransmission setting process will be described. Fig. 5 and Fig. 6 are sequence diagrams of the printing process. The terminal device 200 starts a WEB browser in response to a user operation. The terminal device 200 (WEB browser) accesses a portal site of a printing service provided by the print server 300, and transmits a printer information request to the print server 300 in S52 in response to a printer search instruction from the user. The communication between the print server 300 and the printer 100A in the printing process of Figs. 5 and 6 is executed according to, for example, IPP (Internet Printing Protocol).
[0051] When the print server 300 receives the printer information request, it transmits to the terminal device 200 information about the printer registered by the user of the terminal device 200, such as the printer name, the printer capability information, and the URI indicating the printer.
[0052] When the terminal device 200 receives the printer information, in S56, it displays a list of printers indicated by the printer information, for example, a list of printers including printers 100A and 100B, on the display unit 240. The user selects one or more printers to be used (hereinafter also referred to as printers to be used) from the printer list. When a printer to be used is selected, the terminal device 200 registers the selected printer to be used in its own memory (for example, non-volatile storage device 230). This makes it possible for the user to specify a printer to be used when inputting a print instruction from an application such as a document creation application on the terminal device 200, for example.
[0053] After registering the printer to be used, the user inputs a print instruction from an application such as a word processing application to the terminal device 200. The print instruction includes a designation of image data showing an image to be printed and a designation of a printer to be used for printing. In this example, it is assumed that the printer 100A is designated as the printer to be used for printing.
[0054] When the terminal device 200 acquires the print instruction, in S62, the terminal device 200 generates a print job using the image data specified in the print instruction. Specifically, the terminal device 200 generates print data indicating an image to be printed by converting the specified image data into a format for the print job. The print data in this embodiment is data in PWG-Raster format or PDF (Portable Document Format). The PWG-Raster format is a format of raster data for printing established by the PWG (Printer Working Group). The terminal device 200 generates a print job by adding various additional data to the generated print data. Note that the print job transmitted from the terminal device 200 to the print server 300 is also called a normal print job in order to distinguish it from a retransmission print job retransmitted from the printer 100A to the print server 300.
[0055] FIG. 7 is an explanatory diagram of a print job. A normal print job JD1 in FIG. 7(A) includes the above-mentioned print data, a destination printer URI, user identification information, and print setting information. The destination printer URI is a URI indicating a printer to which the print job is to be sent, that is, a printer that should execute printing based on the print job. Here, the printer URI used is a URI indicating the above-mentioned printer 100A. The user identification information is information identifying a user who has issued a print instruction. The user identification information is, for example, a user ID indicating a user who uses a print service. The print setting information is information indicating print settings such as color / monochrome settings and paper size settings, and is specified by, for example, a user.
[0056] In S64, the terminal device 200 transmits the generated print job to the print server 300. When the print server 300 receives the print job, in S66, it converts the print data included in the print job as necessary. For example, if the print data included in the print job is not in the above-mentioned predetermined format (PWG-Raster format or PDF), the print data is converted to the predetermined format. In S68, the print server 300 registers the print job in the management database DB in association with the job ID.
[0057] Here, printer 100A periodically transmits an event confirmation request to print server 300. When a print job for printer 100A is registered, print server 300 transmits an event confirmation response to printer 100A indicating that the print job has been registered. When a print job for printer 100A is not registered, print server 300 transmits an event confirmation response to printer 100A indicating that the print job has not been registered.
[0058] Since the print job for printer 100A has been registered in S68, when print server 300 receives an event confirmation request from printer 100A in S70, print server 300 sends an event confirmation response indicating that the print job has been registered to printer 100A in S72. The event confirmation response includes the job ID of the registered print job.
[0059] When the printer 100A receives the event confirmation response, in S74 it transmits a job request for requesting transmission of a print job to the print server 300. The job request includes the job ID contained in the event confirmation response.
[0060] When the print server 300 receives the job request, in S76, it updates the job status of the print job having the job ID included in the job request to "printing." In S78, the print server 300 transmits the print job having the job ID included in the job request to the printer 100A.
[0061] When the printer 100A receives the print job, in S80, the printer 100A stores the print job including the print data in the non-volatile storage device 130. In S81, the printer 100A transmits to the print server 300 a reception completion notification indicating that reception of the print job has been completed.
[0062] When the print server 300 receives the reception completion notification, in S82, it deletes the print job that was sent to the printer 100A from the management database DB.
[0063] Note that the printer 100A uses the normal AT received in S34 of the registration process in Fig. 2 as authentication information when communicating with the print server 300 to receive the above-mentioned print job. For example, the normal AT is included in the event confirmation request (S70), job request (S74), reception completion notification (S81), and job status update request (S86 described below). This allows the print server 300 to recognize that the printer 100A is a registered printer.
[0064] In S84, the printer 100A executes a print process to print an image using the received print job. FIG. 8 is a flowchart of the print process. In S205, the printer 100A starts printing using the print job. For example, when the print data included in the print job is in PDF format, the printer 100A executes, for example, rasterization processing, color conversion processing, and halftone processing on the print data to generate dot data representing the image to be printed. The printer 100A supplies the dot data to the printing mechanism 170 and prints the image on paper. Note that the print data and dot data temporarily stored in the buffer area of the volatile storage device 120 are sequentially erased from the buffer area each time one sheet of paper is printed using the data, but the print job (including the print data) stored in the non-volatile storage device 130 in S80 is not erased.
[0065] In S210, the printer 100A determines whether printing using the print job is complete. If printing is complete (S210: YES), the printer 100A ends the print process. If printing is not complete (S210: NO), the printer 100A determines in S215 whether the printer itself is in an error state. For example, an error state includes out of ink, clogged nozzles, paper jams, damaged parts, an abnormality in the electrical system, etc.
[0066] If the printer 100A itself is not in an error state, that is, if the printer 100A is executing printing normally (S215: NO), the printer 100A returns to S210.
[0067] If the printer 100A itself is in an error state (S210: YES), the printer 100A identifies the type of error that has occurred in S220. For example, the printer 100A can identify the type of error when an error occurs based on signals from various sensors.
[0068] In S230, the printer 100A judges whether the identified error is an error that can be immediately restored to a printable state. For example, a paper jam is classified as an error that can be immediately restored because the printer 100A can easily be restored to a printable state by the user removing the jammed paper. For example, a broken part, a clogged nozzle, and an abnormality in the electrical system are classified as an error that cannot be immediately restored because they require repair or maintenance. In this embodiment, an error that is out of paper or ink is classified as an error that cannot be immediately restored because it requires work such as replenishing paper or replacing an ink cartridge, and spare paper or ink cartridges are not always prepared. Whether a specific error is classified as an error that cannot be immediately restored or an error that can be immediately restored may vary depending on the design concept. For example, an error that is out of paper or ink may be classified as an error that can be immediately restored.
[0069] If the identified error is an error that cannot be recovered from immediately (S230: YES), the printer 100A determines in S235 whether a cancel instruction to cancel printing has been input via the operation unit 150. If a cancel instruction has been input (S235: YES), it is considered that printing based on the received print job is unlikely to be completed. In this case, the printer 100A sets the job resend flag to ON in S240 and ends the print process.
[0070] If a cancel instruction is not input (S235: NO), the printer 100A returns to S210. In this case, for example, the user can deal with the error, so that the printer 100A can return to a printable state and complete printing based on the received print job.
[0071] If the identified error is an error from which it is not possible to immediately recover (S230: NO), printer 100A sets the job resend flag to ON in S240 without waiting for a cancel instruction to be input, and ends the print process.
[0072] When the printing process is completed, regardless of whether the printing process ended with the completion of printing based on the print job or ended without completing printing based on the print job due to an error, printer 100A sends a job status update request indicating the completion of printing to print server 300 in S86 of FIG. 5.
[0073] When the print server 300 receives the job status update request, in S88 of FIG. 5, it updates the job status to "print completed."
[0074] Fig. 6 shows the process during printing following S88 in Fig. 5. When the printer 100A finishes the printing process, it determines whether the job resend flag is ON or not in S102 in Fig. 6. If the job resend flag is OFF (S102: NO), the printer 100A finishes the process during printing.
[0075] If the job retransmission flag is ON (S102: YES), printer 100A identifies the printer that will perform printing based on the resent print job in S104. The printer that will perform printing based on the resent print job is set based on the user's instruction in the retransmission setting process of FIG. 4 (FIG. 4(B)). Then, retransmission setting information indicating the printer that will perform printing based on the resent print job is recorded in the setting information database SD in S58 of FIG. 4(A). Printer 100A refers to the retransmission setting information to identify the printer that will perform printing based on the resent print job. In this embodiment, the printer that will perform printing based on the resent print job is either printer 100A or printer 100B.
[0076] 5. In S104, the printer 100A reads out the print job stored in the nonvolatile storage device 130 in S80 of FIG. 5 from the nonvolatile storage device 130 to the buffer area of the volatile storage device 120. This print job was received from the print server 300 in S78 of FIG.
[0077] In S108, printer 100A generates a resend print job using the read print job. Figure 7(B) shows resend print job JD2. This print job JD2 includes the print data included in the read print job (normal print job JD1 in Figure 7) as is. That is, if the print data included in normal print job JD1 is print data in PWG-raster format, resend print job JD2 includes print data in PWG-raster format. If the print data included in normal print job JD1 is PDF print data, resend print job JD2 includes PDF print data.
[0078] The resent print job JD2 further includes a resent access token (resent AT). This resent AT is received from the print server 300 in S34 of the registration process in Fig. 2 and is recorded in the setting information database SD of the printer 100A. In this way, the printer 100A uses the resent AT acquired in the registration process as authentication information for communication with the print server 300 to transmit the print job. This allows the print server 300 to recognize that the printer 100A is a registered printer that is permitted to transmit print jobs.
[0079] The resend print job JD2 further includes a destination printer URI indicating the printer to which the print job is to be sent, i.e., the printer that is to execute printing based on the print job. If the printer specified in S104 is printer 100A, this destination printer URI is a URI indicating printer 100A. The URI indicating printer 100A is received from print server 300 in S34 of the registration process in FIG. 2 and is recorded in the setting information database SD of printer 100A. If the printer specified in S104 is printer 100B, the destination printer URI is a URI indicating printer 100B. The URI indicating printer 100B is input by the user to resend setting screen W2 displayed on terminal device 200 in the resend setting process in FIG. 4 (FIG. 4(B)). The URI indicating the printer 100B is transmitted from the terminal device 200 to the printer 100A (S46 in FIG. 4A) and is recorded in the setting information database SD of the printer 100A (S58 in FIG. 4B).
[0080] The resent print job JD2 further includes user identification information and print setting information, which are the same as the user identification information and print setting information included in the normal print job JD1.
[0081] As described above, the resent print job JD2 in this embodiment can be said to be print data in which the destination printer URI, user identification information, print setting information, and the like are associated with the print data.
[0082] When the print job for retransmission is generated, printer 100A transmits the print job to print server 300 in S110 of Fig. 6. When print server 300 receives the print job for retransmission, it processes the print job for retransmission in the same manner as when it receives a normal print job. Specifically, in S112, print server 300 converts the print data included in the print job as necessary, similar to S66 of Fig. 5. In S114, print server 300 registers the print job for retransmission in the management database DB in association with the job ID, similar to S68 of Fig. 5.
[0083] After the resent print job is registered in the management database DB, it is processed in the same manner as a normal print job (not shown). Specifically, when the resent print job includes a URI indicating the printer 100A as the destination printer URI, the same processing as S70 to 88 in FIG. 5 is performed. That is, the resent print job is sent to the printer 100A in response to a job request from the printer 100A from which an error has been resolved, and the printer 100A executes printing processing using the resent print job. When the resent print job includes a URI indicating the printer 100B as the destination printer URI, the printer 100B and the print server 300 execute the processing performed by the printer 100A and the print server 300 in S70 to 88 in FIG. That is, the printer 100B periodically transmits an event confirmation request to the print server 300 in order to confirm whether the print job is registered, similar to the printer 100A. Then, when a print job is registered, printer 100B transmits a job request to print server 300 in the same manner as printer 100A. The resent print job is transmitted to printer 100B in response to the job request from printer 100B, and printer 100B executes print processing using the resent print job. As a result, even if printer 100A cannot complete printing based on a normal print job, printer 100A or printer 100B performs printing using the resent print job, and the user can obtain the desired print result.
[0084] According to the embodiment described above, the printer 100A receives the print job (including print data) transmitted from the terminal device 200 to the print server 300 from the print server 300 (S78 in FIG. 5). The printer 100A stores the print job (including print data) in its own memory (non-volatile storage device 130) (S80 in FIG. 5). The printer 100A executes the print process using the print data included in the print job (S84 in FIG. 5). When the printer 100A cannot complete the print process, it transmits a retransmission print job including the print data stored in the non-volatile storage device 130 to the print server 300 (S110 in FIG. 6). As a result, when the printer 100A cannot complete the print process due to an error or the like, even if the received print data is erased from the print server 300, for example, the printing can be completed using the print data transmitted by the printer 100A to the print server 300 in S110 in FIG. 6. As a result, the problem that printing based on the print data received by the printer 100A from the print server 300 is not executed can be suppressed.
[0085] For example, in general, even if the printer 100A has not completed all printing based on the print data received from the print server 300, the printer 100A may delete the part of the print data that has already been printed from the buffer area of the volatile storage device 120. If an error occurs in the printer 100A when all printing is not completed, the user may restart the printer 100A or turn off the power of the printer 100A. In this case, the print data received from the print server 300 may be erased from the volatile storage device 120 of the printer 100A. After transmitting a print job including the print data to the print server 300, the print server 300 erases the print job (S82 in FIG. 5). For this reason, if the printer 100A does not transmit a print job including the print data to the print server 300 again, the print data may not be stored in the printer 100A or the print server 300 even though the printing is not completed due to an error. In this case, even if the error is resolved and the printer 100A returns to a printable state, it cannot complete printing after recovery. In this case, printer 100B also has no means of receiving print data, and cannot complete printing on behalf of printer 100A. In this case, for example, the user must use terminal device 200 to send the print job to print server 300 again, which places a heavy burden on the user. In this embodiment, when printer 100A cannot complete the print process, printer 100A can complete the printing by sending a resend print job including the print data to print server 300.
[0086] Furthermore, according to this embodiment, printer 100A transmits a resend print job to print server 300, in which the print data is associated with a destination printer URI that specifies another printer (e.g., printer 100B) that should use the print data to perform printing (FIGS. 4(A) and (B), S104 and S108 in FIG. 6). Print server 300 transmits the resend print job to the other printer (e.g., printer 100B). As a result, even if printer 100A cannot recover from an error, for example, printer 100B can complete the printing desired by the user instead of printer 100A. Therefore, the user can quickly obtain the print results, improving user convenience.
[0087] Furthermore, according to this embodiment, the printer 100A transmits a reception completion notification to the print server 300 in response to receiving the print job including the print data (S81 in FIG. 5), and the print server 300 erases the print job including the print data from the memory of the print server 300 in response to receiving the reception completion notification (S82 in FIG. 5). In this case, the print data is erased from the memory of the print server 300 before the print process is completed. In such a case, even if an error occurs that prevents the printer 100A from completing the print process after the print data is erased from the memory of the print server 300, the printing can be completed using a resent print job including the print data that the printer 100A transmitted to the print server 300.
[0088] Furthermore, according to this embodiment, printer 100A identifies the type of error that has occurred in itself (S220 in FIG. 8), and if the printing process cannot be completed due to a first type of error (an error that cannot be recovered from immediately in this embodiment) (NO in S230 in FIG. 8), it transmits a print job including the print data to print server 300 (S240 in FIG. 8). As a result, if the printing process cannot be completed due to a first type of error, printing can be completed using a resent print job including the print data that printer 100A transmitted to print server 300.
[0089] Furthermore, according to this embodiment, when the printer 100A is unable to complete the print process due to a first type of error (an error that cannot be recovered from immediately in this embodiment), the printer 100A transmits a resend print job including print data to the print server 300 at a first timing (the timing when the error is identified in this embodiment) (NO in S230 in FIG. 8, S240). When the printer 100A is unable to complete the print process due to a second type of error (an error that can be recovered from immediately in this embodiment) different from the first type of error, the printer 100A transmits a resend print job to the print server 300 at a second timing (the timing when an error occurs and a cancel instruction is input in this embodiment) different from the first timing (YES in S235 in FIG. 8, S240). As a result, the printer 100A can transmit a resend print job to the print server 300 at an appropriate timing according to the type of error that has occurred.
[0090] More specifically, if the printing process cannot be completed due to an error that cannot be recovered immediately, a resend print job is sent at the timing when the error is identified. If an error that cannot be recovered immediately occurs, it is expected that it will take time for the printer 100A to recover, and it is highly necessary to send a resend print job to the print server 300. In this case, if the resend print job is to be sent while waiting for a cancel instruction to be input, for example, if the printer 100A is turned off without a cancel instruction being input, the resend print job may not be sent. In this embodiment, if the printing process cannot be completed due to an error that cannot be recovered immediately, a resend print job is sent at the timing when the error is identified without waiting for a cancel instruction to be input, so that the resend print job can be sent to the print server 300 more reliably.
[0091] Also, if the printing process cannot be completed due to an error that can be recovered from immediately, a resend print job is sent at the timing when a cancel instruction is input. When an error that can be recovered from immediately occurs, there is a relatively high possibility that the printer 100A can recover from the error and complete printing using a normal print job received from the print server 300. In this case, if a resend print job is sent to the print server 300 before a cancel instruction is input, the printer 100A may recover from the error and complete printing using a normal print job after sending the resend print job. In this case, sending the resend print job is useless. Alternatively, the printers 100A and 100B may perform printing in duplicate using the resend print job. For this reason, when an error that can be recovered from immediately occurs, it is preferable to send the resend print job to the print server 300 after confirming that a cancel instruction has been input, that is, that printing using a normal print job will not be performed. This can prevent the resend print job from being sent in vain, and can prevent duplicate printing from being performed using the resend print job.
[0092] Furthermore, according to this embodiment, if the print data included in the received normal print job is PWG-Raster format data, the printer 100A transmits a resend print job including the PWG-Raster format data to the print server 300 (FIG. 7). Also, if the print data included in the received normal print job is PDF data, the printer 100A transmits a resend print job including the PDF data to the print server 300 (FIG. 7). This ensures that the printing using the resend print job will be the same as the printing that should be performed using the normal print job.
[0093] Furthermore, according to this embodiment, before the terminal device 200 transmits a print job to the print server 300, the printer 100A communicates with the print server 300 based on a user's operation to obtain a normal AT and a retransmission AT from the print server 300 (registration process, S34, etc. in FIG. 3). The printer 100A communicates with the print server 300 using the normal AT to receive a normal print job from the print server 300, and communicates with the print server 300 using the retransmission AT to transmit a print job for retransmission to the print server 300. As a result, the printer 100A can receive and transmit print jobs using two types of access tokens as authentication information.
[0094] As can be seen from the above explanation, the normal AT in this embodiment is an example of the first authentication information, and the retransmission AT is an example of the second authentication information.
[0095] B. Modifications (1) In the print instruction of the above embodiment, depending on the type of error, the printer 100A transmits a print job for retransmission to the print server 300 either when a cancel instruction is input or when the type of error is identified. This is not limiting, and the printer 100A may transmit a print job for retransmission to the print server 300 at another timing.
[0096] Fig. 9 is a flowchart of a printing process according to a modified example. In the printing process of Fig. 9, steps S220C to S240C are executed instead of steps S220 to S235 of Fig. 8.
[0097] In S220C, the printer 100A displays a resend confirmation screen (not shown) on the display unit 140 of the printer 100A. The resend confirmation screen includes, for example, a first button for inputting a resend instruction to perform resend, and a second button for instructing not to perform resend.
[0098] In S230C, the printer 100A judges whether a resend instruction has been input. The printer 100A judges that a resend instruction has been input when the first button has been pressed on the resend confirmation screen, and judges that an instruction not to resend has been input when the second button has been pressed.
[0099] If a resend instruction is input (S230C: YES), the printer 100A sets the job resend flag to ON in S240C and ends the print process. If an instruction not to resend is input (S230C: NO), the printer 100A skips S240C and ends the print process. In this case, the job resend flag is not set to ON.
[0100] According to this modification, when a resend instruction is input by the user, the printer 100A transmits the print job for resend to the print server 300 at the timing when the resend instruction is input. When an instruction not to resend is input, the printer 100A does not transmit the print job for resend to the print server 300. This makes it possible to prevent the print job for resend from being transmitted to the print server 300 against the user's intention.
[0101] (2) Printer 100A may send a resend print job to print server 300 only when an error that cannot be recovered from immediately occurs during the printing process, and may not need to send a resend print job to print server 300 when an error that can be recovered from immediately occurs. Also, printer 100A may always send a resend print job to print server 300 when an error occurs during the printing process, regardless of the type of error.
[0102] (3) Printer 100A may change the information indicating the printer that will print using the resent print job depending on the type of error that has occurred. For example, when an error that cannot be recovered from immediately occurs during printing, printer 100A may send a resent print job to print server 300 that includes a URI indicating printer 100B as the destination printer URI, and when an error that can be recovered from immediately occurs, printer 100A may send a resent print job to print server 300 that includes a URI indicating printer 100A as the destination printer URI.
[0103] (4) In the above embodiment, the retransmission setting process in Fig. 4 sets whether printing based on a print job to be resent is to be performed by printer 100A or printer 100B. For example, if printing based on a print job to be resent is to be performed by a predetermined printer (e.g., printer 100A or printer 100B), the retransmission setting process in Fig. 4 does not need to be executed.
[0104] (5) It can be said that a print job is a print instruction including print data. The print instruction sent from the terminal device 200 to the print server 300 may be a print instruction that does not include print data. For example, when a user saves an image file such as a PDF file in a cloud storage that can communicate with the print server 300, the printer 100A may send a print instruction including information specifying the image file in the cloud storage from the terminal device 200 to the print server 300. In this case, the print server 300 acquires the image file from the cloud storage based on the print instruction, generates print data using the image file, and generates a print job including the print data. The print server 300 sends the generated print job to the printer 100A.
[0105] (6) In the above embodiment, the printer 100A uses a normal AT for receiving a normal print job from the print server 300 and a retransmission AT for transmitting a print job for retransmission to the print server 300. Alternatively, the printer 100A may use one type of access token (AT) to both receive a normal print job from the print server 300 and transmit a print job for retransmission to the print server 300.
[0106] (7) In the above embodiments, part of the configuration realized by hardware may be replaced by software, and conversely, part or all of the configuration realized by software may be replaced by hardware.
[0107] The present invention has been described above based on examples and modifications, but the above-described embodiments of the invention are intended to facilitate understanding of the present invention and are not intended to limit the present invention. The present invention may be modified or improved without departing from the spirit and scope of the claims, and equivalents thereof are included in the present invention. [Explanation of symbols]
[0108] 1000...system, 100A, 100B...printer, 110...CPU, 120...volatile storage device, 130...non-volatile storage device, 140...display unit, 150...operation unit, 170...printing mechanism, 180...communication IF, 200...terminal device, 210...CPU, 220...volatile storage device, 230...non-volatile storage device, 240...display unit, 250...operation unit, 280...communication IF, 300...print server, 310...CPU, 320...volatile storage device, 330...non-volatile storage device, 380...communication IF, BP...browser program, DB...management database, PGp, PGs...computer program, SD...setting information database
Claims
1. 1. A printer comprising: a receiving unit that receives print data from the server based on a print instruction transmitted from the terminal device to the server; A storage processing unit that stores the print data in a memory; a print processing unit that executes a print process using the print data; a print data transmission unit that transmits the print data stored in the memory to the server when the print process cannot be completed; A printer comprising:
2. 2. The printer of claim 1, the print data transmission unit transmits, to the server, designation information for designating another printer that is to execute printing using the print data in association with the print data; The server transmits the print data received from the printer to the other printer.
3. 2. The printer of claim 1, further comprising: a notification sending unit that sends a reception completion notification to the server in response to the reception unit receiving the print data; The server erases the print data from a memory of the server in response to receiving the reception completion notification.
4. 2. The printer of claim 1, an error identification unit that identifies a type of error that has occurred in the printer; The print data transmission unit transmits the print data to the server when the print process cannot be completed due to a first type error.
5. 5. The printer according to claim 4, The print data transmission unit When the printing process cannot be completed due to the first type error, the printing data is transmitted to the server at a first timing; When the printing process cannot be completed due to a second type of error different from the first type of error, the printer transmits the print data to the server at a second timing different from the first timing.
6. 2. The printer of claim 1, When the print data received by the receiving unit is data in a PWG-Raster format, the print data sending unit sends the data in the PWG-Raster format to the server.
7. 2. The printer of claim 1, When the print data received by the receiving unit is data in Portable Document Format (PDF), the print data sending unit sends the data in Portable Document Format (PDF) to the server.
8. 2. The printer of claim 1, an authentication information acquisition unit that communicates with the server based on a user's operation and acquires first authentication information and second authentication information from the server before the terminal device transmits the print instruction to the server; the receiving unit communicates with the server using the first authentication information and receives the print data from the server; The print data transmission unit communicates with the server using the second authentication information and transmits the print data to the server.
9. A computer program comprising: a receiving function for receiving print data from the server based on a print instruction transmitted from the terminal device to the server; A storage function for storing the print data in a memory; A printing function for executing a printing process using the print data; a print data transmission function of transmitting the print data stored in the memory to the server when the print process cannot be completed; A computer program that causes a computer installed in the printer to realize the above.
10. 1. A method relating to printing, comprising: The terminal device transmits a print instruction to the server, The server transmits print data based on the print instruction to a printer; The printer stores the print data in a memory; The printer executes a printing process using the print data, The method further comprising the step of: if the printer is unable to complete the printing process, transmitting the print data already stored in the memory to the server.
Citation Information
Patent Citations
Image forming device, image forming device control method and program
JP2020192730A
