The invention itself, as well as a preferred mode of use, further objects, and advantages thereof, will best be understood by reference to the following detailed description of an illustrative embodiment when read in conjunction with the accompanying drawings, wherein:
Referring now to the drawings, and specifically to
Computer 100 is coupled to a disk subsystem 110 and a printer 115. Disk subsystem 110 is connected to I/O interface 112 via a spooling cable 111. Printer 115 is connected to I/O interface 112 via a printer cable 109. Printer 115 is also connected to disk subsystem 110 via a disk access cable 114. Spooling cable 111, printer cable 109 and disk access cable 114 may be Universal Serial Bus (USB) cables, serial I/O cables, or the like. The data transmission rate of disk access cable 114 is preferably higher than that of printer cable 109.
According to the present embodiment, printer cable 109 is utilized for transmitting control data instead of print data. Disk subsystem 110 includes one or more volumes, each of which is subdivided into multiple data blocks, and each of the data blocks has a specific address or index.
With reference now to
Next, the print manager generates a set of indexes, and each block of the print data is associated with one of the indexes; as depicted in block 210. The print data blocks are then stored within the disk subsystem along with the control data, as shown in block 215. The indexes can be kept by the print manager or can be stored in a disk subsystem. The indexes enable the printer to efficiently identify and access the data blocks within the disk subsystem via a disk access cable, such as disk access cable 114 from
Subsequently, the print manager reads the indexes and the control data from a disk subsystem and transmits the control data to a processor, such as processor 105 from
The printer utilizes the disk access cable to access the disk subsystem and reads the specified indexed data blocks directly from the disk subsystem, as depicted in block 230. The printer then prints the indexed data blocks, as shown in block 235, and sends status information to the print manager after the printing has been completed.
As has been described, the present invention provides a method and apparatus for performing print spooling within a computer system. The present invention allows print data to be transmitted directly from a disk subsystem to a printer via a high-capacity disk access cable without routing the print data through a spooling cable, a computer and a printer cable, thereby increasing the speed of the printing process.
While an illustrative embodiment of the present invention has been described in the context of a fully functional computer system with installed software, those skilled in the art will appreciate that the software aspects of an illustrative embodiment of the present invention are capable of being distributed as a program product in a variety of forms, and that an illustrative embodiment of the present invention applies equally regardless of the particular type of signal bearing media used to actually carry out the distribution. Examples of signal bearing media include recordable type media such as floppy disks, hard drives, compact discs, and transmission type media such as digital and analog communication links.
While the invention has been particularly shown and described with reference to a preferred embodiment, it will be understood by those skilled in the art that various changes in form and detail may be made therein without departing from the spirit and scope of the invention.