BRIEF DESCRIPTION OF THE DRAWINGS
The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate embodiments of the invention and, together with the description, serve to explain the principles of the invention.
FIG. 1 is a block diagram of a system that realizes a peripheral apparatus control system including an information processing apparatus and a peripheral apparatus according to the present embodiment in a network environment.
FIG. 2A is a block diagram of a peripheral apparatus control system including an information processing apparatus and a peripheral apparatus according to the present embodiment.
FIG. 2B is a view for explaining a printer pool function according to the embodiment.
FIG. 3 is a block diagram for explaining a structure example of a personal computer (PC) as an information processing apparatus according to the present embodiment.
FIG. 4 is a block diagram for explaining a structure example of a printer as a peripheral apparatus according to the present embodiment.
FIG. 5 is a block diagram of a software function example of a peripheral apparatus control system that includes an information processing apparatus and a peripheral apparatus according to the present embodiment.
FIG. 6 is a flowchart showing an example of a process that determines which method a status monitor uses to perform communication with a LM, according to the present embodiment.
FIG. 7 shows an example of a queue when a plurality of peripheral apparatuses is allocated thereto, according to the present embodiment.
FIG. 8 shows a method whereby a LM manages port information, according a first embodiment.
FIG. 9 is a flowchart showing a process whereby a LM creates a port information management structure, with an InitializePrintMonitor2( ), according to the first embodiment.
FIG. 10 is a flowchart showing a process whereby a LM creates a port information structure, with an OpenPortEx( ), according to the first embodiment.
FIG. 11 shows a schema that a status monitor uses when requesting a status of a printer from a LM, according to the first embodiment.
FIG. 12 is a conceptual view showing a binary data example wherein the printer status obtained by the schema shown in FIG. 11 is stored.
FIG. 13 is a flowchart showing a process sequence example wherein a status monitor and a LM use a spooler interface to perform communication, and display a status of a plurality of peripheral apparatuses that is allocated to a queue.
FIG. 14 shows a printer status storage location within a registry, according to a second embodiment.
FIG. 15 shows an example of a printer status that is stored within the registry shown in FIG. 14.
FIG. 16 is a flowchart showing a process sequence example wherein a status monitor obtains a printer status that is stored within a registry, according to second embodiment.
FIG. 17 is a flowchart showing a process sequence example wherein a LM stores an obtained printer status in a registry, according to second embodiment.