1. Field of the Invention
The invention relates to a mechanism for an end notification of a job which is executed in an output device for outputting on the basis of print data.
2. Related Background Art
In recent years, use of SOAP, XML, or the like having ease in programming, expandability, and flexibility has been widespread owing to the improvement of performance of a CPU and the improvement of a network speed. A print system in which an unspecified large number of users search for a print device via the Internet or Intranet and print by using the SOAP (Simple Object Access Protocol)/XML (eXtensible Markup Language) which has been progressed together with a Web technique has been proposed.
The SOAP/XML is also used in a printing apparatus in a local area network (LAN).
The SOAP denotes a protocol to access an object in a remote environment by using the XML. According to the XML, not only a fixed markup method like an HTML (Hyper Text Markup Language) but also a markup method that is unique to a document can be defined.
In such a print system, even in the print end notification, a function of notifying the job user or the administrator of the print end notification by using the SOAP/XML has also been developed. It is presumed that such a print system solution will be spread more and more in future.
Hitherto, as a method of enabling a session to be started from an external network side, there is a method called a static NAT (Network Address Translation) or static masquerade.
In a system including a host computer and a print device which are connected through a communication line irrespective of such a print system as mentioned above, a technique of notifying the host computer of the end of the printing in the printing device has been known.
However, among print applications, there is an application which, when the printing is performed for a number of print copies, transmits the same number of print jobs. If the printing is performed by using such an application, since a printing apparatus cannot distinguish whether or not the print jobs have been issued separately by the user, print end notifications of the number corresponding to the number of print copies are sent from the printing apparatus to the host computer.
Although it is sufficient that the user can recognize the end of all jobs whose printing has initially been requested, the host computer receives the print end notification from the printing apparatus each time the printing of one sheet is finished and is notified of events of the number corresponding to the number of print copies. Consequently, a print job management utility which is not easy to handle is obtained.
The invention is, therefore, made in consideration of the drawbacks of the conventional technique as mentioned above and it is an object of the invention to solve troublesomeness of the user side without sending a plurality of output end notifications corresponding to the number of output copies to the user in the case where the specific application data mentioned above is printed and outputted.
To accomplish the above object, according to the invention, there is provided an output end notifying method in a system including an output device and a computer, comprising: receiving a print job including an identifier of a transmitting source; and controlling in such a manner that in the case where a plurality of same print jobs from the same transmitting source identifier are received in the receiving step, an end notification of the print job other than the print job which was received lastly among the plurality of same print jobs is not displayed to a display unit of the computer but an output end notification corresponding to the print job which was received lastly is displayed to the display unit of the computer.
According to the invention, since the user is not notified of the output end notifications of the number corresponding to the number of output copies, the troublesomeness of the user side can be eliminated.
Accordingly, the present invention is conceived as a response to the above-described disadvantages of the conventional art.
Other features and advantages of the present invention will be apparent from the following description taken in conjunction with the accompanying drawings, in which like reference characters designate the same or similar parts throughout the figures thereof.
A preferred embodiment of the present invention will now be described in detail with reference to the drawings. It should be noted that the relative arrangement of the components, the numerical expressions and numerical values set forth in these embodiments do not limit the scope of the present invention unless it is specifically stated otherwise.
Preferred embodiments of an output end notifying method, an output control apparatus, a control program, and a storing medium of the invention will now be described with reference to the drawings.
It is an essence of the invention that, for example, a discrimination is made to see if a job is a job to output same contents by a plurality of print sheets of or a job to output a plurality of different contents and, in the case of the job to output a plurality of different contents, an output end notification is sent to the user at a point of time when all print jobs are finished.
First, the first embodiment will be described with reference to FIGS. 1 to 13.
Although the embodiment will be described on the assumption that a network system having an output device and a computer is used, the invention is not limited only to such a network system but can be widely applied to an arbitrary system so long as it includes an output device and a computer.
In
When a plurality of same print jobs are received from the same transmitting source identifier showing the transmitting source of the print job are received, an end notification of the print job other than the print job which was received lastly among the plurality of same print jobs is not displayed but an output end notification of the print output corresponding to the print job which was received lastly is displayed to display units of the PCs 101 and 102.
The transmitting source identifier and print job identifier such as print job name, file name, or the like are included in the print job. When the transmitting source identifier and the print job identifier receive a plurality of same print jobs, the end notification of the print job other than the last print job is not displayed but the output end notification of the print output corresponding to the last print job is displayed to the display units of the PCs 101 and 102.
When the print job formed on the basis of a predetermined application is not continuously received by a predetermined discriminating method, the output end notification of the print output of the last-received print job is displayed to display units of the PCs 101 and 102. As a predetermined discriminating method, for examples it is presumed to use a method whereby an inquiry to see if the printing is printing using the predetermined application and a response sequence are provided between the host computer and the printing apparatus.
The output device 103 receives an output data starting instruction and the output data from the PCs 101 and 102, and when the output is finished, notifies the PCs 101 and 102 of the end of the output. When the output device 103 does not receive the output starting instruction of the same print job identifier from the same transmitting source identifier for a predetermined time, the device 103 notifies the PCs 101 and 102 of the end of the output.
The user updates a numerical value showing the predetermined time and holds it into the output device 103.
When the PCs 101 and 102 are notified of the end of the output, output end notification data which is formed at the time of the output end is notified every output data as a list as shown in
Whether or not the notifying method is selected by a discrimination result about whether or not an identifier indicative of the kind of application serving as a reference of the print job accompanied by a print job identifier is a specific kind of identifier is discriminated.
The user adds, deletes, or changes the identifier indicative of the kind of specific print job and holds it into the print device 103.
With respect to the discrimination about the same transmitting source identifier, whether or not the PCs are the same PCs 101 and 102 is discriminated on the basis of the address of the same transmitting source identifier or the user name.
Further, the transmitting source identifier is an identifier which can discriminate the PC 101 or 102 or a user identifier such as a name of login to the host computer in the PC 101 or 102 or the like. For example, the file name can be applied as a print job identifier.
As for the PCs 101 and 102 and the output device 103, the PCs and output devices of the numbers different from those shown in
In
The CPU 201 executes programs stored in the ROM 203 and integratedly controls each device connected to the system bus 211. When notifying that the output has been finished, the CPU 201 controls so that output end notification data formed every output data at the end of the output is notified as a list. The RAM 202 functions as a main memory, a work area, or the like of the CPU 201. Application identification (ID) information (extension or the like) showing from which application the print job has been formed in the PC 101 or 102 or the like, a print management table, a timer, print job information, and a job are stored in the RAM 202. A backup RAM to store system information is also constructed.
The keyboard controller 204 controls an instruction input from the keyboard 208. The display controller 205 controls the displaying operation of the display 209. The user can edit application information and a timer set value by using the keyboard 208 and the display 209. The output engine controller 206 controls the output engine 210 such as a printer printing unit or the like. The network interface card 207 bidirectionally transmits and receives data to/from another network apparatus or another PC (personal computer) through the LAN 212.
In the embodiment, the LAN 212 is substantially the same as the LAN 104 in
The Application ID information, the print management table, the print job information, and the job can be stored in another storing device such as a hard disk or the like. A virtual keyboard can be also used by using a touch panel or the like comprising a liquid crystal panel in place of the keyboard 208.
The application ID information which is used in the output device 103 in the embodiment is not limited to that shown in
The user can change (update), add, or delete the foregoing application ID information by using input means such as a keyboard or the like on the output device 103 and display output means such as a liquid crystal panel or the like.
A keyword (for example, “_multi”) of the file name can be also held instead of the extension (for example, “xls”) as shown in
In
For example, a value of 1 second (default) or 3 seconds (default) is held as a timer set value which is written in a timer column. The timer set value is sequentially decremented by monitoring a timer.
In the invention, since a plurality of jobs inputted to the output device 103 at intervals within the timer set value are handled as a bundle of jobs, an identifier to identify each of the jobs which are handled as a bundle of jobs is provided and such an identifier is a job ID written in the job ID column.
As for the print management table shown in
Although the timer set value has been set to 1 second or 3 seconds in the embodiment, it can be set to another value. The user can change or add the timer set value by using the input means such as a keyboard or the like on the output device 103 and the display output means such as a liquid crystal panel or the like.
The CreateJob packet data shown in
In the example shown in
“CreateJob” shown in
A URI “http://192.168.1.4/job001” is shown in the example shown in
The operation of the printing apparatus (output device 103) which is controlled by the print control apparatus according to the embodiment will be described hereinbelow with reference to
First, for example, when the CreateJob packet data as shown in
After the forming process of the CreateJob response data is finished in step S704, step S705 follows and the CreateJob response data is transmitted to the host computer 101 or 102 by using the SOAP. After that, the host computer 101 or 102 transmits the print data to the printing apparatus 103 by using a POST method of the HTTP to the URI designated by the <data-sink-uri> tag.
When the CreateJob response data is transmitted to the host computer 101 or 102 in step S705, the print data is sent from the host computer 101 or 102 to the printing apparatus 103. In step S706, the printing apparatus 103 receives the print data which was sent from the host computer 101 or 102 and reached the printing port. The print data which is received in step S706 corresponds to the print data which is received by the printing apparatus 103 in step S1201 in
While a proper process is being executed to the print data received in step S706, the printing apparatus 103 prints the processed data onto paper as a recording medium by the output engine 210.
When the reception of the print data is normally finished in step S706, the printing apparatus 103 transmits an HTTP response packet to the host computer 101 or 102 in step S707, deletes (closes) the printing port, and thereafter, finishes the printing operation.
If it is determined in step S702 that the error exists in the analysis result of the XML data in step S701, step S708 follows and an error response is formed. Thereafter, step S705 follows.
After the execution of steps S705 and S706, when the printing apparatus 103 transmits the error response to the host computer 101 or 102 in step S707, the host computer 101 or 102 finishes the processing operation without transmitting the print data.
The Notification packet data is a command which is sent to the client by using the end or cancellation of the job (printing) as an event and constructed by: an event (<trigger-event> tag) serving as a trigger of the event such as a job end or the like; a relative time (<trigger-timer> tag) from the timing of turn-on of a power source of a device in which the event has occurred; numerical values (<notification-id> tag) which are sequentially allocated in the event notification device; an id (<notification-subscription-id> tag) notified from the device at the time of registration of “Notification” which has been associated at the time of input of the job; a name of the user (<subscriber-user-name> tag) who registered “Notification”; a (<job-id> tag) indicative of the specific job; a URI (<server-uri> tag) which is making a job service; a job name (<job-name> tag) serving as a target of the event; a name of the user (<job-originating-user-name> tag) who sent the job; a state of the job (<job-state> tag) such as pending, job-completed, or the like; and detailed information of the job state (<job-state-reasons> tag) such as job-completed-successfully or the like.
Portions 1101 and 1102 in
Subsequently, the main section processing operation for discriminating, for example, whether the job is a job to print the same contents to a plurality of print sheets or a job to print a plurality of different contents in the output device 103 as a printing apparatus in the embodiment or the like will now be described with reference to
In
In
Subsequently, in step S1202, the printing apparatus 103 extracts the IP address and the print file name from the print data received in step S1201 and searches for the print job in which an extension of the extracted print file name is equal to the application ID information registered in
The extension (refer to
In step S1203, discrimination is made to see if the application ID information searched and extracted in step S1202 is the name having the extension registered in
If it is determined that the print job whose name has the extension registered in the application ID information in
In step S1204, the timer set value in the print management table (refer to
If the receiving process of the print data which is subsequently transmitted in step S1201 is executed during the processes of steps S1205 and S1206 (before the time-up), the processes of steps S1205 and S1206 are continued and the processes of steps S1202 and S1203 are executed in parallel therewith. If YES in step S1203 in this processing routine, an identifier peculiar to the job which was newly inputted is added to the item portion of the job ID of the corresponding record (line) in
If NO in step S1203, the print management table is added in step S1210 (the lines in
When the time-up is normally finished, in step S1207, the HTTP response packet as shown in
In step S1210, as a new default of the timer, the timer set value of, for example, 3 seconds is set and the host address, user name, and file name are also registered into the print management table as shown in
The Notification operation of the output device 103 as a printing apparatus according to the embodiment will now be described with reference to
In
The last lines in 1101 and 1102 in
In step S1303, “Notification” in
Although the default value of the timer has been set to 3 seconds, it can be set to any value other than 3 seconds or the user can also set it from the panel. Although the discrimination about the plurality of print copies has been made by checking whether or not the print job has the same host address and file name, the discrimination about the plurality of print copies can be also made by checking whether or not the print job has the same host address, user name, and file name. Further, the discrimination about the plurality of print copies can be also made by checking whether or not the print job has the same user name and file name. Moreover, an integration result in which the <notification> tags in
The transmitting source identifier is not limited to the IP address of the host or the login user name but, for example, it is also possible to use an identifier (ID) of a print request unit of a plurality of sheets which is uniquely issued by the host computer (PC 101 or 102).
Although the notification of the end of the print job has been made by the process on the printing apparatus (the output device 103) side in the embodiment, it is also possible to construct in such a manner that the printing apparatus 103 notifies the host computer (PC 101 or 102) at random that all of the jobs have been finished, a print job management utility on the host computer side is allowed to make a discrimination, and the end notification of only the last job is displayed to the display unit.
More specifically speaking, if the print job management utility searches for the job ID (<job-id>) in the information in
Although the preferred embodiments have been described above, the invention is not limited to the embodiments but can be also applied to an arbitrary construction so long as it can accomplish the functions shown by the scope of claims of the invention or the functions which the constructions of the embodiments have.
Naturally, the objects of the invention is accomplished by a method whereby a storing medium in which program codes of software to realize the functions of the foregoing embodiments have been stored is supplied to a system or an apparatus, a computer (or a CPU, an MPU, or the like) of the system or apparatus reads out the program codes stored in the storing medium, and executes them. In this case, the program codes themselves read out from the storing medium realize the novel functions of the invention. The storing medium in which the program codes have been stored and the programs construct the invention.
As a storing medium to supply the program codes, for example, a flexible disk, a hard disk, an optical disk, a magnetooptic disk, a CD-ROM, a CD-R, a magnetic tape, a non-volatile memory card, a ROM, or the like can be used.
Naturally, the invention incorporates not only the case where the computer executes the read-out program codes, so that the functions of the embodiments mentioned above are realized but also the case where the an OS (operating system) or the like which is operating on the computer executes a part or all of actual processes on the basis of instructions of the program codes and the functions of the embodiments mentioned above are realized by those processes.
Further, naturally, the invention also incorporates the case where the program codes read out from the storing medium are written into a memory provided for a function expanding board inserted in a computer or a function expanding unit connected to the computer, after that, a CPU or the like provided for the function expanding board or the function expanding unit executes a part or all of actual processes on the basis of instructions of the program codes and the functions of the embodiments mentioned above are realized by those processes.
As described above, in the case where a plurality of print jobs of the same name are received from the same transmitting source identifier, the end notification of the print job other than the print job which was received lastly among the plurality of same print jobs is not displayed to the display unit of the host computer but the output end notification corresponding to the print job which was received lastly is displayed to the display units of the host computer, so that the print job management utility of high ease of use can be provided.
This application claims priority from Japanese Patent Application No. 2004-199388 filed Jul. 6, 2004, which is hereby incorporated by reference herein.
Number | Date | Country | Kind |
---|---|---|---|
2004-199388 | Jul 2004 | JP | national |