Print server, system, and computer program
The print server system addresses printer errors by generating and transmitting alternative print data, ensuring complete and correct reprinting after error detection and resolution.
Patent Information
- Application Number
- JP2020095129
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2020-05-29
- Publication Date
- 2024-08-15
- Estimated Expiration
- 2040-05-29
AI Technical Summary
Existing systems fail to appropriately handle errors in printers, leading to incomplete or incorrect printing when errors occur.
A print server system that generates and transmits alternative print data to a printer after detecting an error, ensuring complete and correct reprinting by canceling the original print job and sending new data based on error resolution notifications.
Ensures complete and correct reprinting by generating and transmitting alternative print data after error detection and resolution, preventing incomplete or incorrectly printed pages.
Smart Images

Figure 0007534707000001 
Figure 0007534707000010 
Figure 0007534707000003
Abstract
Description
[Technical field]
[0001] This specification relates to a print server that transmits print data to a printer. [Background technology]
[0002] Patent Document 1 discloses a printer device that automatically resumes printing from an appropriate position when recovering from a fault and resuming printing. The control means of this printer device includes a control code indicating the position where printing should be resumed after recovery from the fault, i.e., the recovery start position, at a specified position in the print data when creating the print data. When recovering from the fault and resuming printing, the control means resumes printing from the recovery start position before the fault occurred and closest to the location where the fault occurred, based on the control code. [Prior art documents] [Patent documents]
[0003] [Patent Document 1] Japanese Patent Application Publication No. 07-232460 Summary of the Invention [Problem to be solved by the invention]
[0004] Systems that use printers and print servers are currently in use. Various configurations can be used for such systems. In such a situation, there is room for improvement in terms of appropriate printing when an error occurs in the printer.
[0005] This specification discloses a technique for performing appropriate printing when an error occurs in a printer. [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 print server, comprising: a first print data generating unit that generates first print data; a first position data transmitting unit that transmits first position data addressed to a first printer, the first position data being position data indicating a position of the first print data on a network; a first print data transmitting unit that transmits the first print data to the first printer in response to a first data request from the first printer, the first data being a request for data indicated by the first position data; and an error notification unit that receives an error notification indicating that an error has occurred in the first printer that requires printing based on the first print data to be interrupted and a first error page print number being a number indicating the printing order of the page in which the error occurred. a print data generating unit that generates second print data for reprinting using the first error page print number in response to receiving the error notification; an error resolution notification receiving unit that receives an error resolution notification indicating that the error has been resolved; a second position data transmitting unit that transmits second position data addressed to the first printer, which is position data indicating a position of the second print data on the network, in response to receiving the error resolution notification; and a second print data transmitting unit that transmits the second print data to the first printer in response to a second data request from the first printer, which is a request for data indicated by the second position data.
[0008] According to this configuration, the print server generates second print data for reprinting using the error page printing number in response to receiving an error notification, and the print server sends second location data addressed to the first printer, which is location data indicating the location of the second print data on the network, in response to receiving an error resolution notification. Therefore, the print server can have the first printer perform appropriate printing when an error occurs in the printer. [Application example 2] The print server according to application example 1, further comprising: a cancel instruction sending unit that sends a cancel instruction to the first printer to cancel printing based on the first print data in response to receiving the error notification; Print server. [Application example 3] The print server according to application example 2, the second print data generating unit generates the second print data when the error notification is received, and stores the second print data in a storage area; the cancel instruction transmission unit transmits the cancel instruction when the error notification is received; the second position data transmission unit transmits the second position data indicating a position of the second print data in the storage area when the error resolution notification is received. Print server. [Application example 4] A print server according to any one of application examples 1 to 3, the second print data transmission unit transmits the second print data in accordance with a first transmission method; the print server includes a third print data transmission unit that transmits print data to a second printer according to a second transmission method different from the first transmission method; Print server. [Application example 5] The print server according to application example 4, the second transmission method is a method of transmitting any requested portion of the print data, the third print data transmission unit transmits to the second printer a portion of the print data requested by the second printer; Print server. [Application Example 6] A print server according to any one of application examples 1 to 5, The second print data generating unit is If the first print data is data for double-sided printing, determining whether the first error page print number is an even number; if the first error page print number is an even number, generating the second print data indicating a printout starting from the page immediately preceding the first error page print number in the printing order. Print server. [Application Example 7] A print server according to any one of application examples 1 to 6, the print server is connected to the first printer via the Internet; the print server is capable of communicating with a management server capable of communicating with the first printer and with a terminal device; the first position data transmission unit transmits the first position data to the first printer via the management server in response to a print instruction from the terminal device; Print server.
[0009] [Application Example 8A system comprising a print server and a first printer, wherein the print server comprises a first print data generation unit which generates first print data, and a first position data transmission unit which transmits first position data addressed to the first printer, which is position data indicating a position of the first print data on a network, the first printer comprises a first data request transmission unit which transmits a first data request to the print server, which is a request for data indicated by the first position data, the print server comprises a first print data transmission unit which transmits the first print data to the first printer in response to the first data request from the first printer, and the first printer comprises an error notification transmission unit which, when an error requiring printing based on the first print data occurs in the first printer, transmits an error notification addressed to the print server indicating that the error has occurred in the first printer and a first error page print number which is a number indicating the printing order of the page in which the error has occurred, and the print server comprises a second print data generating unit that generates second print data for reprinting using the first error page printing number in response to receiving the error notification, wherein the first printer has an error resolution notification sending unit that sends an error resolution notification addressed to the print server indicating that the error has been resolved when the error has been resolved, the print server has an error resolution notification receiving unit that receives the error resolution notification and a second position data sending unit that sends second position data addressed to the first printer, which is position data indicating the position of the second print data on the network, in response to receiving the error resolution notification, the first printer has a second data request sending unit that sends a second data request to the print server, which is a request for data indicated by the second position data, and the print server has a second print data sending unit that sends the second print data to the first printer in response to the second data request from the first printer.
[0010] According to this configuration, the system including the print server and the first printer can perform appropriate printing even if an error occurs.
[0011] [Application Example 9 ]Application example 8 a third data request transmission unit that transmits to the print server a third data request that is a request for first target partial data that is at least a part of a portion of data that is not yet printed that is indicated by the third position data, and the print server transmits to the second printer a third data request that is a request for first target partial data that is at least a part of data that is not yet printed that is indicated by the third position data, and the print server transmits to the second printer a third data request that is a request for first target partial data that is at least a part of data that is not yet printed that is indicated by the third position data, and the print server transmits to the second printer a third data request that is a request for first target partial data that is at least a part of data that is not yet printed that is indicated by the third position data, in response to the third data request from the second printer. a third print data transmission unit that transmits target portion data, the second printer comprising: a target portion identification unit that identifies, when an error that requires printing based on the first target portion data occurs in the second printer, second target portion data that is to be requested next, using the page on which the error occurred; and a fourth data request transmission unit that transmits a fourth data request, which is a request for the second target portion data of the third print data, to the print server, and the print server comprising a fourth print data transmission unit that transmits the second target portion data of the third print data to the second printer in response to the fourth data request from the second printer.
[0012] According to this configuration, the print server can use the portion of the third print data requested by the second printer as data to be transmitted.
[0013] The technology disclosed in this specification can be realized in various forms, such as a printing method, a printing device, a system, a computer program for realizing the functions of those methods or devices, a recording medium on which that computer program is recorded (e.g., a non-transitory recording medium), etc. [Brief description of the drawings]
[0014] [Figure 1] FIG. 1 is a block diagram showing the configuration of a system 1000. [Diagram 2] 13A-13C are explanatory diagrams of tables T41, T42, and T51. [Diagram 3] FIG. 11 is a sequence diagram illustrating an embodiment of a process of a print service. [Figure 4] FIG. 11 is a sequence diagram illustrating an embodiment of a process of a print service. [Diagram 5] FIG. 2 is an explanatory diagram showing an example of a printed matter represented by print data PD1 and PD2. [Figure 6] FIG. 11 is a sequence diagram showing another embodiment of the process of the print service. [Figure 7] FIG. 11 is a sequence diagram showing another embodiment of the process of the print service. [Figure 8] 13 is an explanatory diagram showing an example of the relationship between third print data PD3, target partial data PDP, and pages. FIG. [Figure 9] 10 is a flowchart showing another embodiment of the process of the print service. [Figure 10] FIG. 2 is an explanatory diagram showing an example of a printed matter represented by print data PD1 and PD2. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0015] A. First Example: A-1. System 1000 Configuration: 1 is a block diagram showing the configuration of a system 1000. The system 1000 includes multifunction peripherals 100A and 100B, a terminal device 200, a print server 400, and a management server 500. The print server 400 and the management server 500 are connected to the Internet IT. The print server 400 can communicate with the management server 500 via the Internet IT. The multifunction peripherals 100A and 100B and the terminal device 200 are connected to a local area network LN. The local area network LN is connected to the Internet IT. The multifunction peripherals 100A and 100B and the terminal device 200 can communicate with the servers 400 and 500 via the local area network LN and the Internet IT.
[0016] The print server 400 and the management server 500 provide a print service to a client device such as the terminal device 200. The print service is a service that causes a printer such as the multifunction peripherals 100A and 100B to print an image via a network such as the Internet IT. In this embodiment, the print service causes a printer to print an image indicated by image data included in an email sent by a client device. Such a print service is also called email printing. In this embodiment, the management server 500 functions as an XMPP (short for Extensible Messaging and Presence Protocol) server. The management server 500 establishes an XMPP session with the printer. When an XMPP session is established between the management server 500 and the printer, the management server 500 can transmit data to the printer beyond the firewall of the network to which the printer belongs (for example, a local area network LN). The servers 400 and 500 cooperate to provide a print service. Such a print server 400 and management server 500 are provided on the Internet IT by the manufacturer of the printers (here, the multifunction peripherals 100A and 100B).
[0017] The print server 400 includes a CPU 410, a storage device 415, and a communication interface 480. These elements are connected to each other via a bus. The storage device 415 includes a volatile storage device 420 and a non-volatile storage device 430.
[0018] The communication interface 480 is an interface for communicating with other devices (for example, a wired LAN interface, or an IEEE802.11 wireless interface). In this embodiment, the communication interface 480 is connected to the Internet IT.
[0019] The CPU 410, also called a processor, is an example of a data processing device that processes data. The volatile storage device 420 is, for example, a DRAM, and the non-volatile storage device 430 is, for example, a flash memory. The non-volatile storage device 430 stores a program PG4, a device table T41, and a job table T42. The CPU 410 executes the program PG4 to execute processing for providing a print service. The CPU 410 temporarily stores various intermediate data used in the execution of the program PG4 in a storage device 415 (for example, the volatile storage device 420 or the non-volatile storage device 430). The processing executed by the CPU 410 and the tables T41 and T42 will be described in detail later.
[0020] The management server 500 includes a CPU 510, a storage device 515, and a communication interface 580. These elements are connected to each other via a bus. The storage device 515 includes a volatile storage device 520 and a non-volatile storage device 530.
[0021] The communication interface 580 is an interface for communicating with other devices (for example, a wired LAN interface, or an IEEE802.11 wireless interface). In this embodiment, the communication interface 580 is connected to the Internet IT.
[0022] The CPU 510 is an example of a data processing device. The volatile storage device 520 is, for example, a DRAM, and the non-volatile storage device 530 is, for example, a flash memory. The non-volatile storage device 530 stores a program PG5 and a management table T51. The CPU 510 executes the program PG5 to execute processing for providing a print service. The CPU 510 temporarily stores various intermediate data used in the execution of the program PG5 in a storage device 515 (for example, the volatile storage device 520 or the non-volatile storage device 530). The processing executed by the CPU 510 and the management table T51 will be described in detail later.
[0023] The first multifunction device 100A and the second multifunction device 100B are different models of multifunction devices. However, the multifunction devices 100A and 100B have the same configuration. Hereinafter, when there is no need to distinguish between the multifunction devices 100A and 100B, the alphabetic characters at the end of the reference numerals will be omitted and they will simply be referred to as the multifunction device 100.
[0024] The multifunction device 100 includes a CPU 110, a storage device 115, a display unit 140, an operation unit 150, a print execution unit 160, a read execution unit 170, and a communication interface 180. These elements are connected to each other via a bus. The storage device 115 includes a volatile storage device 120 and a non-volatile storage device 130.
[0025] The display unit 140 is a device that displays images, and is, for example, a liquid crystal display. The operation unit 150 is a device that receives operations by a user, and includes, for example, a touch panel that is superimposed on the display unit 140. The user can input various instructions to the multifunction device 100 by operating the operation unit 150.
[0026] The print execution unit 160 is a device that prints an image on paper (one example of a print medium) using a printing material in a predetermined method (for example, a laser method or an inkjet method). The read execution unit 170 optically reads an object such as a document using a photoelectric conversion element such as a CCD or a CMOS, and generates scan data that represents the read image (called a "scanned image").
[0027] The communication interface 180 is an interface for communicating with other devices (for example, a wired LAN interface, or an IEEE802.11 wireless interface). In this embodiment, the communication interface 180 is connected to a local area network LN.
[0028] The CPU 110 is an example of a data processing device. The volatile storage device 120 is, for example, a DRAM, and the non-volatile storage device 130 is, for example, a flash memory. The non-volatile storage device 130 stores a program PG1 and device information D1. The CPU 110 executes various processes by executing the program PG1. The CPU 110 temporarily stores various intermediate data used in the execution of the program PG1 in a storage device 115 (for example, the volatile storage device 120 or the non-volatile storage device 130). Details of the processes executed by the CPU 110 and the device information D1 will be described later. In this embodiment, the program PG1 and the device information D1 are stored in advance in the non-volatile storage device 130 as firmware by the manufacturer of the multifunction device 100.
[0029] The terminal device 200 is a device for using a print service (for example, a smartphone, a tablet computer, etc.). The terminal device 200 includes a CPU 210, a storage device 215, a display unit 240, an operation unit 250, and a communication interface 280. These elements are connected to each other via a bus. The storage device 215 includes a volatile storage device 220 and a non-volatile storage device 230.
[0030] The display unit 240 is a device that displays images, and is, for example, a liquid crystal display. The operation unit 250 is a device that receives operations by a user, and includes, for example, a touch panel that is superimposed on the display unit 240. The user can input various instructions to the terminal device 200 by operating the operation unit 250.
[0031] The communication interface 280 is an interface for communicating with other devices (for example, a wired LAN interface, an IEEE802.11 wireless interface), and in this embodiment, the communication interface 280 is connected to a local area network LN.
[0032] The CPU 210 is an example of a data processing device. The volatile storage device 220 is, for example, a DRAM, and the non-volatile storage device 230 is, for example, a flash memory. The non-volatile storage device 230 stores a program PG2. The CPU 210 executes various processes for using the print service by executing the program PG2. The CPU 210 temporarily stores various intermediate data used in executing the program PG2 in a storage device (for example, the volatile storage device 220 or the non-volatile storage device 230). Details of the processes executed by the CPU 210 will be described later. In this embodiment, the program PG2 is an application program and is provided by a server (not shown). Alternatively, the program PG2 may be provided by a portable recording medium such as a memory card.
[0033] 2(A)-2(C) are explanatory diagrams of tables T41, T42, and T51. The device table T41 (FIG. 2(A)) is a table for registering information related to a printer. The device table T41 stores a plurality of pieces of information including a printer identifier UID, a management identifier MID, and an email address MA in association with each other. The printer identifier UID is information for identifying an individual printer. In this embodiment, the printer identifier UID is included in the device information D1 (FIG. 1) of the multifunction device 100. Hereinafter, it is assumed that the printer identifier UID of the first multifunction device 100A is "u01" and the printer identifier UID of the second multifunction device 100B is "u02". The management identifier MID is an identifier associated with the printer identifier UID and is determined by the management server 500. The email address MA is an email address used for email printing and is determined by the print server 400. In this embodiment, the email address MA is expressed using a "local part" before the "@" and a "domain" after the "@", such as "mail@example.com". In the above example, the local part is "mail" and the domain is "example.com". Note that the first information I1 in FIG. 2(A) indicates information associated with the first multifunction device 100A, and the second information I2 indicates information associated with the second multifunction device 100B.
[0034] The job table T42 (FIG. 2B) is a table used for managing print jobs. The job table T42 stores a plurality of pieces of information including a printer identifier UID, a management identifier MID, a job identifier JID, a file name FN, and a URL (short for Uniform Resource Locator) in association with each other. The job identifier JID is information for identifying a print job. The file name FN is the file name of the image data for printing. The URL is an example of location data for accessing print data. Hereinafter, the URL indicating the print data is also referred to as a location data URL. In this embodiment, the location data URL is expressed using a "scheme" before ":", a "host" following " / / ", and a "path" following the "host", such as "http: / / example.com / pdir / data1". In the above example, the scheme is "http", the host is "example.com", and the path is " / pdir / data1". The path may include the file name of the print data in the print server 400. The scheme may be other schemes such as "https", "ftps", and "sftp". The information JID, IMD, and URL are determined by the print server 400. The third information I3 in FIG. 2B indicates a print job for the first multifunction device 100A. The fourth information I4 indicates a reprint job that is generated when an error occurs in printing based on the third information I3 (details will be described later). The fifth information I5 indicates a print job used in the second embodiment described later.
[0035] The management table T51 (FIG. 2(C)) is a table used for managing printers. The management table T51 stores a plurality of pieces of information including a printer identifier UID, a management identifier MID, model information MD, and an access token ATK in association with each other. The model information MD is information indicating the model of each printer. In this embodiment, the model information MD is included in the device information D1 (FIG. 1) of the multifunction device 100. Hereinafter, it is assumed that the model information MD of the first multifunction device 100A is "MD1" and the model information MD of the second multifunction device 100B is "MD2". The access token ATK is information used for establishing an XMPP session, and is determined by the management server 500. Note that the sixth information I6 in FIG. 2(C) indicates information associated with the first multifunction device 100A, and the seventh information I7 indicates information associated with the second multifunction device 100B.
[0036] A-2.Printing process: A-2-1. Establishing a session: Fig. 3 and Fig. 4 are sequence diagrams showing an embodiment of the print service process. Fig. 3 and Fig. 4 show an example of the process when the first multifunction device 100A is used for printing. Fig. 3 shows the processes of the terminal device 200, the first multifunction device 100A, the print server 400, and the management server 500.
[0037] In S110, the CPU 110 of the multifunction peripheral 100A establishes a communication session with the management server 500. In this embodiment, an XMPP session is established. The method for establishing the XMPP session may be any method. In this embodiment, the establishment method is as follows.
[0038] In response to a user's instruction, the CPU 110 of the multifunction device 100A transmits a registration request to the print server 400. The registration request includes data indicating the printer identifier u01 of the multifunction device 100A (FIG. 2(A)). In response to the registration request, the CPU 410 of the print server 400 generates an email address MA1 for email printing using the multifunction device 100A. The CPU 410 also requests a management identifier MID from the management server 500. The CPU 510 of the management server 500 generates a new management identifier m01 and transmits data indicating the management identifier m01 to the print server 400. The CPU 410 of the print server 400 registers the first information I1 including the printer identifier u01, the management identifier m01, and the email address MA1 in the device table T41.
[0039] Furthermore, the CPU 410 of the print server 400 requests the management server 500 for a PIN (short for Personal Identification Number) associated with the management identifier m01. The CPU 510 of the management server 500 generates a new PIN, and stores data indicating the generated PIN in the storage device 515 (for example, the volatile storage device 520) in association with the management identifier m01. The CPU 510 also transmits data indicating the generated PIN to the print server 400. The CPU 410 of the print server 400 transmits data indicating the PIN to the first multifunction device 100A. The CPU 110 of the first multifunction device 100A transmits a session establishment request to the management server 500. The establishment request includes data indicating the printer identifier u01 and model information MD1 of the first multifunction device 100A, and data indicating the PIN. If the PIN from the first multifunction device 100A is the same as the PIN already generated by the management server 500, the CPU 510 of the management server 500 determines that the authentication of the establishment request has been successful and proceeds with the process. If the PIN included in the establishment request is different from the already generated PIN, the CPU 510 ends the process without establishing an XMPP session.
[0040] The CPU 510 of the management server 500 generates a new access token ATK1 for the management identifier m01 associated with the PIN (FIG. 2(C)). Then, the CPU 510 registers the sixth information I6 including the printer identifier u01, the management identifier m01, the model information MD1, and the access token ATK1 in the management table T51. Then, the CPU 510 transmits data indicating the access token ATK1 to the first multifunction device 100A. The CPU 110 of the first multifunction device 100A establishes an XMPP session with the management server 500 using the access token ATK1. The first multifunction device 100A maintains the XMPP session between the first multifunction device 100A and the management server 500 until the first multifunction device 100A is powered off. When the session between the printer and the management server 500 is established, email printing is available.
[0041] Furthermore, the CPU 110 of the first multifunction device 100A requests information from the device table T41 from the print server 400. This request includes data indicating the printer identifier u01 of the first multifunction device 100A. The CPU 410 of the print server 400 identifies information (including the email address MA1) associated with the printer identifier u01 from the device table T41. The CPU 410 transmits data indicating the identified information to the first multifunction device 100A. The CPU 110 of the first multifunction device 100A provides information for email printing (including the email address MA1) to the user in response to an instruction from the user. For example, the CPU 110 displays the email address MA1 on the display unit 140. The CPU 110 may also transmit information for email printing to the terminal device 200.
[0042] The configuration for transmitting data from the management server 500 to the printer may be any other configuration instead of the configuration using the XMPP session. For example, a session according to HTTPS (Hypertext Transfer Protocol Secure) may be established between the management server 500 and the printer.
[0043] A-2-2. Email printing: In S120 (FIG. 3), the user inputs an instruction for printing an email to the terminal device 200. This instruction includes a printer designation and image data designation corresponding to the image to be printed. Here, it is assumed that the user designates the first multifunction device 100A. In response to the user's instruction, the CPU 210 of the terminal device 200 transmits an email EM addressed to the email address MA1 associated with the first multifunction device 100A to the print server 400. The email EM includes image data IND corresponding to the image to be printed (the image data IND is also called input data IND). Such email EM indicates a print instruction. The CPU 410 of the print server 400 stores the received input data IND in the storage device 415 (for example, the non-volatile storage device 430).
[0044] In S130, the CPU 410 of the print server 400 refers to the device table T41 (FIG. 2(A)) and identifies the management identifier m01 associated with the email address MA1 of the email EM. The CPU 410 requests the management server 500 for the model information MD associated with the management identifier m01. In S140, the CPU 510 of the management server 500 refers to the management table T51 (FIG. 2(C)) and identifies the model information MD1 associated with the management identifier m01. The CPU 510 transmits data indicating the identified model information MD1 to the print server 400.
[0045] In S210, the CPU 410 of the print server 400 uses the input data IND to generate print data PD1 suitable for the model information MD1 (hereinafter, the print data PD1 is also referred to as the first print data PD1). The print data PD1 has a data format that can be interpreted by the printer associated with the model information MD1. The CPU 410 stores the generated first print data PD1 in a storage device (in this embodiment, the non-volatile storage device 430).
[0046] In S215, the CPU 410 stores job information in the job table T42 (FIG. 2B). This job information is information related to a print job that uses the print data PD1. Here, it is assumed that the third information I3 in FIG. 2B is stored in S215. In S215, the CPU 410 generates a new job identifier J01. The CPU 410 also identifies URL1, which is a URL indicating the location of the print data PD1 on the network. Hereinafter, the identified URL1 is also referred to as the first location URL1. The first location URL1 indicates the location of the first print data PD1 on the non-volatile storage device 430. Then, the CPU 410 stores job information I3, which includes the printer identifier u01, the management identifier m01, the job identifier J01, the file name FN1, and the URL1, in the job table T42. The file name FN1 is the file name of the input data IND. The printer identifier u01 and the management identifier m01 are associated with the email address MA1 by the device table T41 (FIG. 2(A)).
[0047] In S220, the CPU 410 of the print server 400 submits information on the print job to the management server 500. Specifically, the CPU 410 transmits data indicating the printer identifier u01 and data indicating the URL1 to the management server 500. In S225, the CPU 510 of the management server 500 transmits data indicating the URL1 to the first multifunction device 100A associated with the printer identifier u01, using the XMPP session. In this way, the data indicating the URL1 is sent from the print server 400 to the first multifunction device 100A via the management server 500. Therefore, it can be said that the print server 400 transmits data indicating the URL1 and addressed to the first multifunction device 100A in S220. In addition, in S230, the CPU 510 of the management server 500 notifies the print server 400 that the print submission has been completed.
[0048] In S335, the CPU 110 of the first multifunction device 100A requests print data from the print server 400. This request includes data indicating URL1. In this embodiment, the CPU 110 requests the print data represented by URL1. In S340, the CPU 410 of the print server 400 transmits the requested print data PD1 to the first multifunction device 100A. The CPU 110 of the first multifunction device 100A stores the received first print data PD1 in the storage device 115 (for example, the non-volatile storage device 130). In S345, the CPU 110 of the first multifunction device 100A controls the print execution unit 160 according to the received print data PD1 to cause the print execution unit 160 to print an image corresponding to the print data PD1. In S350, the CPU 110 determines whether an error has occurred that should interrupt printing based on the print data PD1. An example of such an error is a paper jam. If printing based on the print data PD1 is completed without an error (S350: No), the email printing process (and thus the process in FIG. 3) ends. If an error occurs during printing (S350: Yes), CPU 110 proceeds to S415 (FIG. 4).
[0049] 4 shows an example of processing when an error occurs, in which the first MFP 100A, the print server 400, and the management server 500 perform their respective processes.
[0050] In S415, the CPU 110 of the first multifunction device 100A identifies the error page print number PN1, which is the page print number where the error occurred (hereinafter, the "error page print number PN1" is also simply referred to as the "error number PN1"). Here, the page print number indicates the order in which the pages are printed. Usually, the page print number is the same as the page number assigned to the page in the printed matter. The print data may be configured to print multiple pages of the printed matter in order starting from the last page (such printing is also called reverse order printing). In this case, the order of the page print numbers may be the opposite to the order of the page numbers assigned to the pages in the printed matter. The CPU 410 of the print server 400 may determine whether or not to employ reverse order printing when generating print data, based on the model information MD.
[0051] In S420, the CPU 110 of the first multifunction device 100A transmits an error notification to the management server 500. The error notification includes data indicating that an error has occurred in the first multifunction device 100A and data indicating the error number PN1. In S425, the CPU 510 of the management server 500 transmits an error notification to the print server 400. This error notification also includes data indicating that an error has occurred and data indicating the error number PN1. In this way, the error notification is sent from the first multifunction device 100A to the print server 400 via the management server 500. Therefore, it can be said that the first multifunction device 100A transmits an error notification addressed to the print server 400 in S420. The error notification may further include data indicating information identifying the print job (for example, the first location URL1).
[0052] In S430, the CPU 410 of the print server 400 uses the input data IND to generate print data PD2 for reprinting (hereinafter, the print data PD2 is also referred to as second print data PD2). Then, the CPU 410 stores the generated second print data PD2 in a predetermined storage device (in this embodiment, the non-volatile storage device 430). The second print data PD2 indicates a printout starting from the page of the error number PN1.
[0053] FIG. 5 is an explanatory diagram showing an example of a printed matter represented by print data PD1 and PD2. In the upper part of the figure, a printed matter represented by the first print data PD1 is shown. In the example of FIG. 5, the first print data PD1 represents six pages from the first page P1 to the sixth page P6. The printing order is the first page P1 to the sixth page P6. Here, it is assumed that an error occurs during printing of the third page P3. In this case, printing of the first page P1 and the second page P2 is properly completed, and printing stops during the third page P3. The error number PN1 is 3. In the lower part of the figure, a printed matter represented by the second print data PD2 is shown. The second print data PD2 represents a printed matter consisting of the pages after the error number PN1. In the example of FIG. 5, the second print data PD2 represents four pages from the third page P3 to the last sixth page P6.
[0054] In S435 (FIG. 4), the CPU 410 of the print server 400 deletes the information of the print job associated with the error from the job table T42. In this embodiment, the third information I3 in the job table T42 (FIG. 2(B)) is deleted. Here, the CPU 410 deletes the first print data PD1 from the storage device 415.
[0055] In S440, the CPU 410 of the print server 400 transmits a cancel instruction for the print job to the management server 500. The cancel instruction includes data indicating information for identifying the target printer (for example, the printer identifier u01). In S445, the CPU 510 of the management server 500 transmits the cancel instruction to the target printer, the first multifunction device 100A. In this manner, the cancel instruction is sent from the print server 400 to the first multifunction device 100A via the management server 500. Therefore, it can be said that the print server 400 transmits the cancel instruction addressed to the first multifunction device 100A in S440.
[0056] In S450, the CPU 110 of the first multifunction device 100A cancels the print job being executed in response to the cancel instruction. This cancels the printing based on the first print data PD1. In this manner, the cancel instructions in S440 and S445 are instructions for canceling the printing based on the first print data PD1. Furthermore, in this embodiment, the CPU 110 deletes the first print data PD1 from the storage device 115.
[0057] In S455, the error in the first multifunction device 100A is resolved. The error may be resolved by the user. For example, the user resolves the error by removing the jammed paper from the first multifunction device 100A. Alternatively, the first multifunction device 100A may include a device for resolving the error. For example, the first multifunction device 100A may include a device for removing the jammed paper.
[0058] Since the print job was canceled in S450, CPU 110 does not print based on the first print data PD1 after the error is resolved. In the example of Fig. 5, CPU 110 does not print pages 4 to 6 based on the first print data PD1 even if the error is resolved.
[0059] In S460 (FIG. 4), CPU 110 of first MFP 100A transmits an error resolution notification to management server 500 in response to the resolution of the error. In S465, CPU 510 of management server 500 transmits the error resolution notification to print server 400. In this manner, the error resolution notification is sent from first MFP 100A to print server 400 via management server 500. Therefore, it can be said that first MFP 100A transmits an error resolution notification addressed to print server 400 in S460.
[0060] In S515, the CPU 410 of the print server 400 stores job information related to the print job using the second print data PD2 in the job table T42 (FIG. 2B). The fourth information I4 in FIG. 2B is an example of the job information stored in S515. The process of S515 is the same as the process of S215 (FIG. 3) except that the second print data PD2 is used instead of the first print data PD1. The CPU 410 generates a new job identifier J02 and identifies URL2, which is a URL indicating the location of the second print data PD2. Hereinafter, the identified URL2 is also referred to as the second location URL2. The CPU 410 stores job information I4, which includes the printer identifier u01, the management identifier m01, the job identifier J02, the file name FN1, and the URL2, in the job table T42. The input data IND is common between the original print job and the reprint job. Therefore, the file name FN1 of the reprint job information I4 is the same as the file name FN1 of the original job information I3.
[0061] S520, S525, and S530 (FIG. 4) are the same as S220, S225, and S230 in FIG. 3, respectively, except that job information I4 for reprinting is used instead of original job information I3. In S520, CPU 410 of print server 400 submits information on the print job for reprinting (including data indicating second location URL2) to management server 500. In S525, CPU 510 of management server 500 transmits data indicating URL2 for reprinting to first multifunction device 100A. The data indicating URL2 is sent from print server 400 to first multifunction device 100A via management server 500. Therefore, it can be said that print server 400 transmits data indicating URL2 and addressed to first multifunction device 100A in S520. Also, in S530, the CPU 510 of the management server 500 notifies the print server 400 that the print submission has been completed.
[0062] S535, S540, and S545 are the same as S335, S340, and S345 in FIG. 3, respectively, except that URL2 for reprinting and second print data PD2 are used instead of original URL1 and first print data PD1. In S535, CPU 110 of first MFP 100A requests second print data PD2 represented by URL2. In S540, CPU 410 of print server 400 transmits requested second print data PD2 to first MFP 100A. In S545, CPU 110 of first MFP 100A controls print execution unit 160 according to received second print data PD2, thereby causing print execution unit 160 to print an image corresponding to second print data PD2. In the example of FIG. 5, four pages, from third page P3 to sixth page P6, are printed based on second print data PD2. In this way, if an error such as a paper jam occurs during printing of the third page P3, the third page P3 is printed again based on the second print data PD2, thereby preventing missing pages due to the error.
[0063] After starting printing based on the second print data PD2, the CPU 110 proceeds to S350 in FIG. 3. If printing based on the second print data PD2 is completed without an error that would interrupt printing (S350: No), the mail print process (and thus the process in FIG. 3) ends. If an error occurs during printing (S350: Yes), the CPU 110 proceeds to S415 (FIG. 4). Then, the current print job is canceled, and a new print job for reprinting is processed. When printing is completed, the CPU 110 of the first multifunction device 100A may send a completion notification indicating that printing is completed to the print server 400 or the management server 500. Then, the CPU 410 of the print server 400 may delete information about the print job from the storage device 415 in response to the completion notification. For example, the CPU 410 deletes the input data IND and the print data from the storage device 415. Furthermore, CPU 410 deletes information about the completed print job from job table T42 (FIG. 2(B)).
[0064] The above describes the process when the first multifunction device 100A is used. In this embodiment, the process is similar when the second multifunction device 100B is used.
[0065] As described above with reference to FIGS. 3 and 4, the print server 400 executes the following processes. (S210) The first print data PD1 is generated. (S220) The first location data indicating the first location URL1 of the first print data PD1 on the network, which is addressed to the first MFP 100A, is transmitted. (S340) In response to a first data request which is a request for data indicated by the first location data (URL1) and is a request from the first MFP 100A, the first print data PD1 is transmitted to the first MFP 100A. (S425) An error notification is received indicating that an error has occurred in first MFP 100A that requires printing based on first print data PD1 to be interrupted, and indicating error number PN1, which is a number indicating the printing order of the page on which the error occurred. (S430) In response to receiving the error notification, second print data PD2 for reprinting is generated using the error number PN1. (S465) An error resolution notice is received, which indicates that the error has been resolved. (S520) In response to receiving the error resolution notification, second location data indicating a second location URL2 of the second print data PD2 on the network, the second location data being addressed to the first multifunction device 100A, is transmitted. (S540) In response to a second data request which is a request for data indicated by the second location data (URL2) and is a request from the first MFP 100A, the second print data PD2 is transmitted to the first MFP 100A.
[0066] In this way, the print server 400 generates the second print data PD2 for reprinting using the error number PN1 in response to receiving the error notification. Then, the print server 400 transmits the second location data indicating the second location URL2 of the second print data PD2 on the network, addressed to the first multifunction device 100A, in response to receiving the error resolution notification. Therefore, when an error occurs in the first multifunction device 100A, the print server 400 can cause the first multifunction device 100A to perform appropriate printing.
[0067] Furthermore, in response to receiving the error notification, the print server 400 transmits a cancel instruction to the first multifunction device 100A in S440 (FIG. 4) to cancel printing based on the first print data PD1. As a result, after the error is resolved, printing based on the first print data PD1 of pages in the printing order after the error number PN1 is suppressed.
[0068] In this embodiment, the second print data PD2 includes the data of the page with the error number PN1. The first multifunction device 100A can print the page with the error number PN1 based on the second print data PD2. Therefore, missing pages due to errors are suppressed.
[0069] In this embodiment, the second print data PD2 indicates the page following the error number PN1, so the first multifunction device 100A can print the page following the error number PN1 based on the second print data PD2.
[0070] As described with reference to FIG. 4, the print server 400 executes the following processes. (S430) If an error notification is received, second print data PD2 is generated and the second print data PD2 is stored in a storage area (in this embodiment, the non-volatile storage device 430). (S440) If an error notification is received, a cancel instruction is sent. (S520) If an error resolution notification is received, second location data indicating the second location URL2 of the second print data PD2 in the storage area (in this embodiment, the non-volatile storage device 430) is transmitted.
[0071] This allows the print server 400 to appropriately proceed with the process for printing using the second print data PD2 when printing based on the first print data PD1 is canceled. Note that the transmission of the cancellation instruction (S440) may be performed before the start of the generation of the second print data PD2 (S430).
[0072] As described in FIG. 1, the print server 400 is connected to the first multifunction device 100A via the Internet IT. The print server 400 can communicate with the management server 500, which can communicate with the first multifunction device 100A, and the terminal device 200. In response to a print instruction (in this embodiment, an email EM) from the terminal device 200, the print server 400 transmits first location data indicating the first location URL1 to the first multifunction device 100A via the management server 500. In this way, the print server 400 can transmit the first location data to the first multifunction device 100A appropriately via the management server 500. For example, even if the first multifunction device 100A is protected by a firewall of the network, the print server 400 can transmit data to the first multifunction device 100A via the management server 500.
[0073] As described with reference to FIGS. 3 and 4, the first multifunction device 100A executes the following processes. (S335) A first data request, which is a request for the first print data PD1 indicated by the first location data (URL1), is sent to the print server 400. (S420) If an error occurs in first multifunction device 100A that requires printing based on first print data PD1 to be interrupted (S350: Yes), an error notification is sent to print server 400 indicating that an error has occurred in first multifunction device 100A and an error number PN1, which is a number indicating the printing order of the page on which the error occurred. (S460) When the error is resolved, an error resolution notice indicating that the error has been resolved is sent to the print server. (S535) A second data request, which is a request for second print data PD2 indicated by the second location data (URL2), is sent to the print server 400.
[0074] The system 1000 includes the first multifunction device 100A. The system 1000 also includes a print server 400 that executes the processes of S210, S220, S340, S425, S430, S465, S520, and S540 as described above. Therefore, the system 1000 can perform appropriate printing even if an error occurs in the first multifunction device 100A. For example, if the second print data PD2 indicates images of one or more pages including the page with error number PN1, the system 1000 can properly print the page with error number PN1.
[0075] B. Second Example: 6 and 7 are sequence diagrams showing another embodiment of the print service process. FIG. 7 shows the process continued from FIG. 6. The difference from the embodiment of FIG. 3 and FIG. 4 is the method of transmitting print data by the print server 400. In S335 and S340 of FIG. 3 and S535 and S540 of FIG. 4, the print server 400 receives a data request indicating a URL and transmits the entire print data specified by the URL (hereinafter, this transmission method is called the first transmission method). In the embodiment of FIG. 6 and FIG. 7, the print server 400 receives a request for an arbitrary part of the print data and transmits the requested part of the print data (hereinafter, this transmission method is called the second transmission method).
[0076] In this embodiment, as in the first embodiment, the system 1000 in FIG. 1 is used for the print service. The print server 400 can execute both transmission by the first transmission method and transmission by the second transmission method. The print server 400 transmits print data according to the transmission method selected by the printer. The second multifunction device 100B requests the second transmission method when the print server can use both the first transmission method and the second transmission method. FIGS. 6 and 7 show an example of processing when the second multifunction device 100B is used for printing. FIGS. 6 and 7 show the processing of the terminal device 200, the second multifunction device 100B, the print server 400, and the management server 500, respectively. Hereinafter, the elements of the second multifunction device 100B will be referred to by the same reference numerals as the corresponding elements of the first multifunction device 100A. For example, the CPU of the second multifunction device 100B will be called CPU 110.
[0077] In S110a, the second multifunction device 100B and the management server 500 establish an XMPP session. The process of S110a is the same as the process of S110 in Fig. 3. The second information I2 in Fig. 2(A) and the seventh information I7 in Fig. 2(C) are examples of information related to the second multifunction device 100B stored in S110a. The printer identifier UID is "u02", the management identifier MID is "m02", the email address MA is "MA2", the model information MD is "MD2", and the access token ATK is "ATK2".
[0078] In S120a (FIG. 6), the terminal device 200 transmits an email EMa to the print server 400. The only difference between S120a and S120 in FIG. 3 is that in S120a, the user designates the second multifunction device 100B instead of the first multifunction device 100A. The only difference between the email EMa of this embodiment and the email EM in FIG. 3 is that the destination of the email EMa is the email address MA2 for the second multifunction device 100B instead of the email address MA1.
[0079] The processes of S130a-S215a are performed in the same manner as the processes of S130-S215 in FIG. 3. In S130a, the CPU 410 of the print server 400 identifies the management identifier m02 associated with the email address MA2, and requests the management server 500 for the model information MD associated with the management identifier m02. In S140a, the CPU 510 of the management server 500 transmits data indicating the model information MD2 associated with the management identifier m02 to the print server 400. In S210a, the CPU 410 of the print server 400 generates print data PD3 suitable for the model information MD2 (hereinafter, the print data PD3 is also referred to as third print data PD3). The CPU 410 stores the generated third print data PD3 in a storage device (in this embodiment, the non-volatile storage device 430).
[0080] In S215a, the CPU 410 stores job information for the print job using the third print data PD3 in the job table T42 (FIG. 2(B)). Fifth information I5 in FIG. 2(B) is an example of information stored in S215a. The CPU 410 generates a new job identifier J03 and identifies URL3, which is a URL indicating the location of the third print data PD3. Hereinafter, the identified URL3 is also referred to as the third location URL3. The CPU 410 stores job information I5, which includes the printer identifier u02, management identifier m02, job identifier J03, file name FN2, and URL3, in the job table T42. The file name FN2 is the file name of the input data (here, input data IND).
[0081] In S220a (FIG. 6), the CPU 410 of the print server 400 submits information related to the print job to the management server 500. In this embodiment, the CPU 410 transmits data indicating the function information FI to the management server 500 in addition to data indicating the printer identifier u02 and data indicating the URL 3. The function information FI indicates transmission methods available to the print server 400. In this embodiment, the function information FI indicates that a first transmission method and a second transmission method are available.
[0082] In S225a (FIG. 7), the CPU 510 of the management server 500 uses the XMPP session to transmit data indicating URL3 and data indicating function information FI to the second MFP 100B associated with the printer identifier u02. In this manner, the data indicating URL3 is sent from the print server 400 to the second MFP 100B via the management server 500. Therefore, it can be said that the print server 400 transmits data indicating URL3 and addressed to the second MFP 100B in S220a (FIG. 6). Also, in S230, the CPU 510 of the management server 500 notifies the print server 400 that the print submission has been completed.
[0083] In S610, the CPU 110 of the second multifunction device 100B refers to the function information FI to determine whether the second transmission method is available. If the second transmission method is not available (S610: No), the CPU 110 proceeds to S335 (FIG. 3). Then, the email printing process is performed in the same manner as in the embodiments of FIGS. 3 and 4.
[0084] In this embodiment, the second transmission method is available (S610: Yes). In this case, the CPU 110 acquires the entire third print data PD3 by making a data request for a portion of the third print data PD3 multiple times. The CPU 110 acquires the third print data PD3 portion by portion from the beginning. In S615, the CPU 110 of the second multifunction device 100B determines portion identification information 50. The portion identification information 50 indicates target portion data that is the portion of the print data to be acquired by the next data request. At least a portion of the portion of the third print data PD3 for which printing has not yet been completed is adopted as the target portion data.
[0085] The format of the part specification information 50 may be any format. In this embodiment, the part specification information 50 is composed of an offset OFS and a length LEN. The offset OFS indicates the start position of the target part data in the print data, and the length LEN indicates the data length of the target part data. The units of the offset OFS and the length LEN are, for example, bytes. In this embodiment, the CPU 110 sets the length LEN to a predetermined value. The CPU 110 also sets the offset OFS to the position of the part of the print data that is closest to the beginning of the print data among the unacquired parts. For example, the offset OFS for the first data request is set to "1 (i.e., the beginning of the print data)". The offset OFS for the second data request is set to "1+LEN". The length LEN may be a variable value. For example, the CPU 110 may adjust the length LEN according to other parameters (for example, the size of the third print data PD3).
[0086] In S620, the CPU 110 requests the print server 400 for the target partial data. This request includes data indicating URL3 and data indicating the part specification information 50 (in this embodiment, the offset OFS and the length LEN). In S625, the CPU 410 of the print server 400 transmits the target partial data PDP, which is specified by the part specification information 50, of the third print data PD3 specified by URL3, to the second multifunction device 100B. The CPU 110 of the second multifunction device 100B stores the received target partial data PDP in the storage device 115 (for example, the non-volatile storage device 130).
[0087] In S630, the CPU 110 of the second MFP 100B controls the print execution unit 160 in accordance with the received target partial data PDP, thereby causing the print execution unit 160 to print an image corresponding to the target partial data PDP.
[0088] In S635, the CPU 110 judges whether an error that should interrupt printing based on the target partial data PDP has occurred. If no error has occurred and printing based on the target partial data PDP has been completed (S635: No), in S655, the CPU 110 judges whether printing of the entire third print data PD3 has been completed. The judgment method in S655 may be any method. For example, tail data indicating the tail of the print data may be provided at the tail of the third print data PD3. When tail data is detected from the printed target partial data PDP, the CPU 110 can judge that printing of the entire third print data PD3 has been completed. In addition, the CPU 110 may inquire the print server 400 about the data size of the third print data PD3. Then, when the total size (excluding overlapping parts) of one or more printed target partial data PDP is the same as the data size of the third print data PD3, the CPU 110 can judge that printing of the entire third print data PD3 has been completed.
[0089] When printing of the entire third print data PD3 is completed (S655: Yes), the email printing process (and thus the processes of FIGS. 6 and 7) ends. When printing is completed, the CPU 110 of the second MFP 100B may send a completion notification indicating that printing is completed to the print server 400 or the management server 500. Then, in response to the completion notification, the CPU 410 of the print server 400 may delete information related to the print job from the storage device 415.
[0090] If an unprocessed portion remains in the third print data PD3 (S655: No), the CPU 110 of the second MFP 100B proceeds to S615 and executes the process for the next target partial data PDP.
[0091] FIG. 8 is an explanatory diagram showing an example of the relationship between the third print data PD3, the target partial data PDP, and pages. In the diagram, the third print data PD3 is shown as one rectangle. In this rectangle, the left end indicates the beginning and the right end indicates the end. As shown in the diagram, in the third print data PD3, the data of the first page P1 to the sixth page P6 are arranged in order from the beginning to the end of the third print data PD3. Start positions DSP1 to DSP6 indicate the start positions of the data of the first page P1 to the sixth page P6, respectively. End positions DEP1 to DEP6 indicate the end positions of the data of the first page P1 to the sixth page P6, respectively.
[0092] In the figure, multiple target partial data PDP1-PDP4 acquired by multiple data requests (FIG. 7: S620) are shown. The number following "PDP" in the code indicates the order in which the target partial data PDP was acquired. The first target partial data PDP1 is data acquired in response to the first data request, and the second target partial data PDP2 is data acquired in response to the second data request. In the example of FIG. 8, the first target partial data PDP1 indicates the data from the beginning to the middle of the first page P1. The second target partial data PDP2 indicates the data from the middle of the first page P1 to the middle of the second page P2. Here, it is assumed that an error Err occurs in the middle of printing the second page P2 based on the second target partial data PDP2.
[0093] If an error that requires printing to be interrupted occurs (FIG. 7: S635: Yes), the error in the second MFP 100B is resolved in S640. The error is resolved in the same manner as in S455 of FIG.
[0094] In S645 (FIG. 7), the CPU 110 of the second multifunction device 100B identifies the start position DSP of the data of the page where the error occurred. When the error Err occurs during printing of the second page P2 as shown in FIG. 8, the CPU 110 adopts the second start position DSP2 of the second page P2. The CPU 110 can identify the start position DSP of the data of the page where the error occurred by analyzing the acquired target portion data.
[0095] In S650 (FIG. 7), CPU 110 determines portion identification information 50. In this embodiment, offset OFS is determined to be the start position DSP identified in S645. In the example of FIG. 8, offset OFS is determined to be the second start position DSP2. CPU 110 also determines length LEN (in this embodiment, length LEN is determined to a predetermined value).
[0096] After S650, the CPU 110 proceeds to S620. Then, the CPU 110 acquires the target partial data PDP based on the new part identification information 50 (S620, S625) and prints based on the target partial data PDP (S630). In the example of FIG. 8, an error Err occurs during printing of the second page P2 based on the second target partial data PDP2. After the error Err occurs, in S650 (FIG. 7), the offset OFS is determined to be the second start position DSP2. Therefore, the third target partial data PDP3 acquired by the third data request starts from the beginning of the second page P2 (note that in the example of FIG. 8, the third target partial data PDP3 indicates the portion from the beginning to the middle of the second page P2). After that, the CPU 110 repeats the acquisition of the target partial data PDP (S620, S625) and the printing based on the target partial data PDP (S630) until printing is completed. In the example of Fig. 8, the fourth target partial data PDP4 indicates the remaining part of the second page P2 and a part of the third page P3. The second page P2 is printed based on the target partial data PDP3, PDP4. In this way, if an error such as a paper jam occurs during printing of the second page P2, the second page P2 is printed again based on one or more target partial data PDP including the third target partial data PDP3, so that missing pages due to the error are suppressed. Note that the third target partial data PDP3 may indicate the entire second page P2.
[0097] The above describes the process when the second MFP 100B is used. The first MFP 100A requests the first transmission method even if the print server can use both the first and second transmission methods. For example, when the CPU 110 of the first MFP 100A receives the location data (URL) from the management server 500 in S225a (FIG. 7), the process may proceed to S335 (FIG. 3) regardless of the function information FI.
[0098] As described above, in this embodiment, the print server 400 can use the second transmission method different from the first transmission method in addition to the first transmission method. In S540 (FIG. 4), the print server 400 transmits print data to the first multifunction device 100A according to the first transmission method. The same applies to S340 (FIG. 3). Also, in S625 (FIG. 7), the print server 400 transmits print data to the second multifunction device 100B according to the second transmission method. In this way, the print server 400 can transmit print data to the first multifunction device 100A and the second multifunction device 100B using transmission methods different from each other.
[0099] The second transmission method is a method of transmitting any requested portion of the print data. Then, in S625 (FIG. 7), the print server 400 transmits the portion of the third print data PD3 requested by the second MFP 100B to the second MFP 100B. Therefore, the print server 400 can use the portion of the third print data PD3 requested by the second MFP 100B as the data to be transmitted. Even if an error occurs during printing, the generation of print data for reprinting can be omitted.
[0100] As described above with reference to FIGS. 6 and 7, the print server 400 and the second multifunction device 100B execute the following processes. (S210a) The print server 400 generates third print data PD3. (S220a) The print server 400 transmits third location data indicating the third location URL3 of the third print data PD3 on the network, the third location data being addressed to the second multifunction peripheral 100B. (S620) The second MFP 100B sends a third data request to the print server 400, which is a request for target partial data PDP2, which is at least a part of the incompletely printed portion of the third print data PD3 indicated by the third location data (URL3). (S625) In response to the third data request from the second MFP 100B, the print server 400 transmits the target partial data PDP2 of the third print data PD3 to the second MFP 100B. (S645, S650) When an error occurs in the second multifunction device 100B that requires printing based on the target partial data PDP2 to be interrupted, the second multifunction device 100B identifies the target partial data PDP3, which is the next target partial data to be requested, using the page on which the error occurred. (S620) The second MFP 100B transmits to the print server 400 a fourth data request which is a request for the target partial data (PDP3) of the third print data PD3. (S625) In response to the fourth data request from the second MFP 100B, the print server 400 transmits the target partial data PDP3 of the third print data PD3 to the second MFP 100B.
[0101] In this way, the print server 400 can use the portion of the third print data PD3 requested by the second MFP 100B as the data to be sent. Even if an error occurs during printing, the generation of print data for reprinting can be omitted.
[0102] Furthermore, if a printing error occurs, the second multifunction device 100B uses the portion of the third print data PD3 starting from the data position corresponding to the beginning of the page where the error occurred as the target partial data to be requested next. In the example of Fig. 8, the third target partial data PDP3 starting from the second start position DSP2 of the second page P2 is used. Therefore, the second multifunction device 100B can properly print the page where the error occurred.
[0103] C. Third Example: FIG. 9 is a flow chart showing another embodiment of the process of the print service. In this embodiment, the processes of S426-S428 shown in FIG. 9 are inserted between S425 and S430 in FIG. 4. In this embodiment, the system 1000 in FIG. 1 is used for the print service. Here, the print mode of the first multifunction device 100A can be selected from "single-sided printing" and "double-sided printing". "Single-sided printing" is a printing method in which an image is printed only on one side of a sheet of paper. "Double-sided printing" is a printing method in which an image is printed on both one side and the opposite side of a sheet of paper. The print execution unit 160 of the first multifunction device 100A is configured to be able to execute "single-sided printing" and "double-sided printing". In S120 in FIG. 3, the user selects a print mode. The CPU 210 of the terminal device 200 sends an email EM including data indicating the selected print mode to the print server 400. In S210 and S430 (FIG. 4), the CPU 410 of the print server 400 generates print data suitable for the print mode. The print data includes data indicating whether the print should be "single-sided printing" or "double-sided printing." If an error occurs, the CPU 410 adjusts the first page of the print data to be reprinted according to the print mode by executing the process of FIG. 9.
[0104] In S426, the CPU 410 determines whether the first print data PD1 is data for double-sided printing. In this embodiment, the CPU 410 determines that the first print data PD1 is data for double-sided printing when the print mode is "double-sided printing." Note that the determination method may be any other method. For example, the CPU 410 may determine whether the first print data PD1 is data for double-sided printing by analyzing the first print data PD1.
[0105] If the first print data PD1 is data for single-sided printing (S426: No), the CPU 410 proceeds to S430. The processing in this case is the same as that in the first embodiment.
[0106] If the first print data PD1 is data for double-sided printing (S426: Yes), the CPU 410 determines whether the error number PN1 is an even number in S427. If the error number PN1 is an even number (S427: Yes), the CPU 410 subtracts 1 from the error number PN1 in S428 and proceeds to S430.
[0107] FIG. 10 is an explanatory diagram showing an example of a printed matter represented by the print data PD1 and PD2. Here, the print mode is assumed to be "double-sided printing". The upper part of the figure shows a printed matter represented by the first print data PD1. The first print data PD1 represents six pages from the first page P1 to the sixth page P6. The first page P1 is printed on the front side of the first sheet SH1, and the second page P2 is printed on the back side of the same first sheet SH1. The third page P3 is printed on the front side of the second sheet SH2, and the fourth page P4 is printed on the back side of the same second sheet SH2. Similarly, it is assumed that the fifth page P5 and the sixth page P6 are printed on the same sheet. Here, it is assumed that an error occurs during printing of the fourth page P4. In this case, the second sheet SH2 has a defect. To eliminate the error, the second sheet SH2 can be removed. Also, the error number PN1 notified in S425 (FIG. 9) is "4". In S427, the CPU 410 determines that the error number PN1 is an even number (S427: Yes), and in S428 subtracts 1 from the error number PN1. The adjusted error number PN1 is "3." In this case, in S430 (FIG. 4), the CPU 410 generates second print data PD2 that indicates printed matter starting from the third page P3, based on the adjusted error number PN1 (=3).
[0108] The lower part of FIG. 10 shows a printed matter represented by the second print data PD2. The second print data PD2 shows a printed matter consisting of pages after the adjusted error number PN1. In the example of FIG. 10, the second print data PD2 shows four pages from the third page P3 to the last sixth page P6. In S545 of FIG. 4, the first multifunction device 100A performs printing based on the second print data PD2. As shown in FIG. 10, the third page P3 is printed on the front side of a new third sheet SH3, and the fourth page P4 is printed on the back side of the same third sheet SH3. The fifth page P5 is printed on the front side of the fourth sheet SH4, and the sixth page P6 is printed on the back side of the same fourth sheet SH4. In this way, the appropriate combination of the front and back pages of one sheet is maintained. If the error number PN1 is not adjusted, the second print data PD2 shows a printed matter starting from the fourth page P4. In this case, the fourth page P4 and the fifth page P5 are printed on the same sheet of paper. Such a combination of pages is unintended. In this embodiment, such unintended combinations are suppressed.
[0109] If the error number PN1 notified in S425 is an odd number (S427: No), the CPU 410 proceeds to S430 without adjusting the error number PN1. For example, if the error number PN1 is "3," in S430 (FIG. 4), the CPU 410 generates second print data PD2 indicating a printout starting from the third page P3 based on the error number PN1 (=3). In this case, too, the appropriate combination of the front and back pages of one sheet of paper is maintained.
[0110] As described above, in this embodiment, the print server 400 executes the following process to generate the print data PD2 for reprinting. (S426, S427) If the first print data PD1 is data for double-sided printing, it is determined whether the error page print number PN1 is an even number. (S428, S430) If the error page print number PN1 is an even number, second print data PD2 is generated which indicates a printout starting from the page immediately before the error page print number PN1 in the printing order. This allows the print server 400 to prevent an erroneous combination of a front page and a back page from being printed on the same print medium.
[0111] The process of FIG. 9 may be applied to the embodiments of FIG. 6 and FIG.
[0112] D. Variations: (1) An error that requires printing to be interrupted is not limited to a paper jam, but may be a variety of other errors, such as a lack of printing material.
[0113] (2) The print data for reprinting used when an error occurs may be various data prepared using the error number PN1. For example, in the embodiment of FIG. 4, it is preferable that the second print data PD2 for reprinting generated in S430 indicates at least the page with error number PN1. This prevents the page with error number PN1 from being missing. It is also preferable that the second print data PD2 indicates the page with error number PN1 and all unprinted pages. In other words, it is preferable that the second print data PD2 indicates all pages with page print numbers after error number PN1. This allows proper printing even when an error occurs.
[0114] Also, in the embodiment of FIG. 7, after the error is resolved, it is preferable that one or more target partial data PDP indicating at least the page with error number PN1 is used for printing. This prevents the page with error number PN1 from being missing. Also, after the error is resolved, it is preferable that one or more target partial data PDP indicating the page with error number PN1 and all unprinted pages are used for printing. This allows proper printing even if an error occurs.
[0115] (3) The print process is not limited to the processes in Figs. 3 and 4, 6 and 7, and 9, but may be various other processes. For example, in the embodiment of Figs. 3 and 4, the CPU 110 of the first multifunction device 100A may cancel printing when an error occurs, even without an external cancel instruction. In this case, too, it is preferable that the CPU 110 of the first multifunction device 100A transmits an error resolution notification when the error is resolved (Fig. 4: S460). This allows the print server 400 to provide the second print data PD2 to the first multifunction device 100A after the error is resolved.
[0116] In the embodiment of FIG. 6 and FIG. 7, the print mode of the second multifunction device 100B may be selectable from "single-sided printing" and "double-sided printing". Then, in S650 (FIG. 7), the CPU 110 of the second multifunction device 100B may adjust the part specification information 50 according to the print mode. For example, if the page print number of the page on which the error occurred is an even number, the CPU 110 may determine the offset OFS as the start position DSP of the page in the print order immediately before the page on which the error occurred. This allows the print server 400 to prevent an erroneous combination of the front page and the back page from being printed on the same print medium, as in the embodiment of FIG. 10. If the page print number of the page on which the error occurred is an odd number, the CPU 110 may determine the offset OFS as the start position DSP of the page on which the error occurred.
[0117] 6 and 7, the print server 400 may determine whether to use the second transmission method. For example, the CPU 410 of the print server 400 may inquire of the printer whether it can transmit a data request suitable for the second transmission method. If the printer can transmit a data request suitable for the second transmission method, the CPU 410 may accept a data request suitable for the second transmission method, and if the printer cannot transmit a data request suitable for the second transmission method, the CPU 410 may accept a data request suitable for the first transmission method. Alternatively, the CPU 410 of the print server 400 may transmit print data to the printer according to a transmission method that is previously associated with the printer model information MD.
[0118] (4) The method of transmitting the print instruction including the image data to the print server 400 may be any method other than the method using email. For example, the print server 400 may provide an API (short for Application Programming Interface) for receiving the print instruction. The terminal device 200 may use this API to transmit the print instruction.
[0119] (5) The method of acquiring print data from the print server 400 may be any method other than using a URL. For example, the print server 400 may provide an API for transmitting print data. The printer may acquire the print data using this API.
[0120] (6) The configuration of the printer used for printing may be various other configurations instead of the configuration of the multifunction device 100 (FIG. 1). For example, the reading execution unit 170 may be omitted. That is, the printer may be a single-function printing device. In addition, the print medium used for printing is not limited to paper, and may be various sheets such as resin sheets.
[0121] (7) The configuration of the print server may be various other configurations instead of the configuration of the print server 400 in FIG. 1. For example, a plurality of devices (e.g., computers) capable of communicating with each other via a network may provide the function of the print server 400 as a whole. In this case, a system including these devices corresponds to the print server. For example, a first device may generate print data, and a second device may transmit the print data. In addition, the configuration of the management server may be various other configurations instead of the configuration of the management server 500 in FIG. 1. For example, a plurality of devices (e.g., computers) capable of communicating with each other via a network may provide the function of the management server 500 as a whole. In this case, a system including these devices corresponds to the management server. In addition, one server device may provide the function of the print server 400 and the function of the management server 500. In this case, communication between the print server 400 and the management server 500 is omitted.
[0122] In each of the above embodiments, a part of the configuration realized by hardware may be replaced by software, and conversely, a part or all of the configuration realized by software may be replaced by hardware. For example, the function of generating print data in S210 in FIG. 3 may be realized by a dedicated hardware circuit.
[0123] Furthermore, when some or all of the functions of the present invention are realized by a computer program, the program can be provided in a form stored in a computer-readable recording medium (e.g., a non-transitory recording medium). The program can be used in a state stored in the same or a different recording medium (computer-readable recording medium) from when it was provided. The "computer-readable recording medium" is not limited to portable recording media such as memory cards and CD-ROMs, but may also include internal storage devices within a computer, such as various ROMs, and external storage devices connected to a computer, such as a hard disk drive.
[0124] Although the present invention has been described above based on examples and modifications, 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 of the invention, and equivalents thereof are included in the present invention. [Explanation of symbols]
[0125] 50...partial identification information, 100...multifunction device, 100A...first multifunction device, 100B...second multifunction device, 110, 210, 410, 510...CPU, 115, 215, 415, 515...storage device, 120, 220, 420, 520...volatile storage device, 130, 230, 430, 530...non-volatile storage device, 140, 240...display unit, 150, 250...operation unit, 160...print execution unit, 170...read execution unit, 180, 280, 480, 580...communication interface, 200...terminal device, 400...print server, 500...management server, 1000...system, LN...local area network, IT...Internet
Claims
1. 1. A print server comprising: a first print data generating unit that generates first print data; a first position data transmission unit that transmits first position data addressed to a first printer, the first position data being position data indicating a position of the first print data on a network; a first print data transmission unit that transmits the first print data to the first printer in response to a first data request from the first printer, the first data request being a request for data indicated by the first position data; an error notification receiving unit that receives an error notification indicating that an error that should interrupt printing based on the first print data has occurred in the first printer and a first error page print number that is a number indicating the printing order of the page in which the error occurred; a second print data generating unit that generates second print data for reprinting by using the first error page print number in response to receiving the error notification; an error resolution notification receiving unit that receives an error resolution notification indicating that the error has been resolved; a second position data transmission unit that transmits second position data, which is position data indicating a position of the second print data on the network, to the first printer in response to receiving the error resolution notification; a second print data transmission unit that transmits the second print data to the first printer in response to a second data request from the first printer, the second data request being a request for data indicated by the second position data; A print server comprising:
2. 2. The print server of claim 1, further comprising: a cancel instruction sending unit that sends a cancel instruction to the first printer for canceling printing based on the first print data in response to receiving the error notification; Print server.
3. 3. A print server according to claim 2, the second print data generating unit generates the second print data when the error notification is received, and stores the second print data in a storage area; the cancel instruction transmission unit transmits the cancel instruction when the error notification is received; the second position data transmission unit transmits the second position data indicating a position of the second print data in the storage area when the error resolution notification is received. Print server.
4. A print server according to any one of claims 1 to 3, the second print data transmission unit transmits the second print data in accordance with a first transmission method; the print server includes a third print data transmission unit that transmits print data to the second printer according to a second transmission method different from the first transmission method; Print server.
5. 5. A print server according to claim 4, the second transmission method is a method of transmitting any requested portion of the print data; the third print data transmission unit transmits a portion of the print data requested by the second printer to the second printer; Print server.
6. A print server according to any one of claims 1 to 5, The second print data generating unit If the first print data is data for double-sided printing, determining whether the first error page print number is an even number; if the first error page print number is an even number, generating the second print data indicating a printout starting from the page immediately preceding the first error page print number in the printing order. Print server.
7. A print server according to any one of claims 1 to 6, the print server is connected to the first printer via the Internet; the print server is capable of communicating with a management server capable of communicating with the first printer and with a terminal device; the first position data transmission unit transmits the first position data to the first printer via the management server in response to a print instruction from the terminal device; Print server.
8. A system including a print server and a first printer, The print server includes: a first print data generating unit that generates first print data; a first position data transmission unit that transmits first position data addressed to the first printer, the first position data being position data indicating a position of the first print data on a network; Equipped with the first printer includes a first data request sending unit configured to send a first data request, which is a request for data indicated by the first position data, to the print server; the print server includes a first print data transmission unit configured to transmit the first print data to the first printer in response to the first data request from the first printer; the first printer includes an error notification sending unit that, when an error that requires interruption of printing based on the first print data occurs in the first printer, sends an error notification addressed to the print server, indicating that the error has occurred in the first printer and a first error page print number that is a number indicating the printing order of the page in which the error has occurred; The print server includes: an error notification receiving unit that receives the error notification; a second print data generating unit that generates second print data for reprinting by using the first error page print number in response to receiving the error notification; Equipped with the first printer includes an error resolution notification sending unit that sends an error resolution notification addressed to the print server, when the error is resolved, indicating that the error has been resolved; The print server includes: an error resolution notification receiving unit for receiving the error resolution notification; a second position data transmission unit that transmits second position data, which is position data indicating a position of the second print data on the network, to the first printer in response to receiving the error resolution notification; Equipped with the first printer includes a second data request sending unit configured to send a second data request, which is a request for data indicated by the second position data, to the print server; the print server includes a second print data transmission unit that transmits the second print data to the first printer in response to the second data request from the first printer; system.
9. 9. The system of claim 8, further comprising: A second printer is provided, The print server includes: a third print data generating unit that generates third print data; a third position data transmission unit that transmits third position data addressed to the second printer, the third position data being position data indicating a position of the third print data on the network; Equipped with the second printer includes a third data request sending unit configured to send to the print server a third data request, the third data request being a request for unacquired first target portion data among the data indicated by the third position data, the first target portion data being at least a part of a portion that has not been acquired and therefore has not been printed; the print server includes a third print data transmission unit configured to transmit the first target portion data of the third print data to the second printer in response to the third data request from the second printer; The second printer is a target portion specifying unit that, when an error that requires interruption of printing based on the first target portion data occurs in the second printer, specifies second target portion data, which is target portion data to be requested next, by using the page on which the error occurred; a fourth data request sending unit that sends a fourth data request, which is a request for the second target portion data of the third print data, to the print server; Equipped with the print server includes a fourth print data transmission unit that transmits the second target portion data of the third print data to the second printer in response to the fourth data request from the second printer; system.
10. A computer program for a print server, comprising: a first print data generating function for generating first print data; a first position data transmission function for transmitting first position data addressed to a first printer, the first position data being position data indicating a position of the first print data on a network; a first print data transmission function for transmitting the first print data to the first printer in response to a first data request from the first printer, the first data request being a request for data indicated by the first position data; an error notification receiving function for receiving an error notification indicating that an error that should interrupt printing based on the first print data has occurred in the first printer and a first error page print number that is a number indicating the printing order of the page in which the error occurred; a second print data generating function for generating second print data for reprinting by using the first error page print number in response to receiving the error notification; an error resolution notification receiving function for receiving an error resolution notification indicating that the error has been resolved; a second position data transmission function that transmits second position data, which is position data indicating a position of the second print data on the network, to the first printer in response to receiving the error resolution notification; a second print data transmission function of transmitting the second print data to the first printer in response to a second data request from the first printer, the second data request being a request for data indicated by the second position data; A computer program that enables a computer to realize the above.
Citation Information
Patent Citations
Printer
JP1995232460A
Printer controller and print system
JP2000020273A
Print relay system, image forming apparatus, control method of system, and program
JP2012108620A
Server, data processor, data processing method
JP2013061836A
Printer
JP2017118406A
