Abstract:
A scanner removably mountable on a printer output tray for scanning images on print media driven through a print media path in the printer. The scanner includes a hood with a light source which is mounted internally on the hood and directed toward the print media path to illuminate an image on the print media. A mirror reflects the image illuminated by the light source to a sensor which detects the reflected image and converts it to an electrical signal. The scanner is operable under the control of a scanner electronics cartridge which is inserted into a printer access port normally designated to receive font cartridges. The scanner electronics cartridge communicates the electrical signals to a host personal computer over an I/O cable that is connected between the scanner and the personal computer.

Description:
BACKGROUND OF THE INVENTION 
     1. Field of the Invention 
     This invention relates generally to optical scanners used to convert optical images into digital data for subsequent reproduction and/or manipulation, and more particularly to optical scanners used in conjunction with printers. 
     2. Description of the Related Art 
     Optical scanners have long been used to capture existing optical images so that they may be transferred, stored, or manipulated using a more convenient means, typically a digital computer. The scanner captures the image by illuminating the image with a light source and sensing reflected light. The presence or absence of reflected light at a particular point determines the image characteristics at that point. For a black and white image, the absence of reflected light indicates a black region, while the presence of reflected light indicates a white region. For gray scale images the intensity of the reflected light must also be measured to determine the intensity of the image. In the case of color, separate light sources are used to detect the presence or absence of each color component. 
     Although use of scanners has shown significant increase in the recent past, the commercial acceptance of the individual scanner has been limited by its cost and consumption of precious office space. Although not as expensive as many other computer peripherals, e.g., laser printers, the additional cost can be prohibitively expensive, especially if the device is used only by a single user. 
     In addition to the cost, the consumption of space by a scanner may also be prohibitive. The computer user already has a computer, a monitor, a printer, and possibly a fax machine. The computer user, faced with steadily shrinking office space, has been reluctant to include additional computer peripherals in the confines of the user&#39;s immediate office space, especially if the device is not used frequently. However, this is exactly what is required for commercial success of the scanner. Commonly, peripherals that are not in constant use are relegated to a common office area where the device is shared by all of the people in the office. The effect of relocating the peripheral away from the user produces a productivity loss, resulting from walking to and from the device, proportional to the number of times the user must use the device. Further productivity is lost when the device is currently in use by another person in the office. Recently, manufacturers have attempted to address these concerns by combining computer peripherals into so-called multi-function-peripherals (MFPs) incorporating one or more of the following: printer, copier, facsimile and scanner. Typically, these devices are based around an electrophotographic (EP) engine. The EP engine executes a process by which a polymer toner is transferred onto a print media and then fused onto the media. Electrophotographic engines are being used in black and white copiers, printers, and facsimiles and thus provide a good base for MFPs. Color EP engines are available but are considerably more expensive than black and white EP engines. As a result, color EP engines are used in only the most cost insensitive applications, e.g., color proofing, and, consequently, have not been used as a platform for MFPs. 
     The MFP has not been widely accepted by the marketplace. The primary reasons being, once again, cost and space. Although their cost is less than the combined cost of the devices purchased separately, the MFP is still too expensive for each computer user to own one, especially considering that most computer users already own one or more of the devices, most frequently a printer. In many cases, users own less expensive printers, such as an ink-jet printer, especially small business and/or home users who require color printing. In addition, the MFPs, because of their increased functionality, consume more space than any one of the devices separately. As a result, these devices, if purchased at all, are once again relegated to a large common area where the device is shared by the office at large, resulting in the aforementioned productivity losses. 
     Accordingly, a need remains for an inexpensive optical scanner that consumes a minimum amount of additional space which, moreover, can operate in conjunction with existing low-cost ink-jet printers. 
     SUMMARY OF THE INVENTION 
     It is, therefore, an object of the invention to disclose a method and corresponding apparatus for adding scanning capability an existing ink-jet printer with little or no additional space required. 
     Another object of the invention is to disclose an optical scanner which requires no alignment when operated in conjunction with an ink-jet printer mechanism. 
     A further object of the invention is to disclose an optical scanner which can accept cut-sheet and fan-fold paper. 
     A further object of the invention to provide an apparatus which can be incorporated into an ink-jet printer to provide scanning capability in addition to the printing capability of the printer. In the preferred embodiment, a scanner is contained in a housing which is mounted on a paper output tray which forms a part of the printer. 
     Another object of the invention is to describe a method of adding the optical scanning capability to an existing ink-jet printer. 
     The foregoing and other objects, features and advantages of the invention will become more readily apparent from the following detailed description of a preferred embodiment of the invention which proceeds with reference to the accompanying drawings. 
    
    
     BRIEF DESCRIPTION OF THE DRAWINGS 
     FIG. 1 is a prior art ink-jet printer mechanism of the type having a fixed output tray capable of supporting a scanner mechanism according to the invention. 
     FIG. 2 is a perspective view of the scanner assembly of the present invention. 
     FIG. 3 is a block level diagram of the control circuitry used to control the printing and scanning operations of the present invention. 
     FIG. 4 is a perspective view of the present invention. 
    
    
     DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT 
     Referring to FIG. 4, an ink-jet printer mechanism is indicated generally at 106. The mechanism includes of an internal frame which includes a transverse rod 112. The frame provides structure to the printer and defines a print media path 118, through which the print media passes. The frame is encased by an enclosure 108. Mounted on the frame is a carriage 110 which houses an ink-jet cartridge 120, commonly known as a printhead. The printer mechanism also contains a printer access port 114 for coupling additional electronics, such as read-only-memory (ROM) containing additional fonts, to the printer electronics (not shown in FIG. 4). 
     Neither a paper advancing means nor a carriage advancing means are explicitly shown. Both are housed within the printer enclosure 108. The ability to advance paper in a precise and controlled manner is known in the art. Typically, in ink-based printers, the paper is advanced by a predetermined amount after each pass of the printhead across the print media. The amount that the print media is advanced is determined by the amount of area covered by the pass of the printhead. One common approach is to grasp the media between two sets of pinch-rollers rotating in opposite directions with one or both driven by stepper motors. The printer electronics then pulse the stepper motors to advance the media by a fixed step. The carriage 110 is advanced by similar means with carriage movement being synchronized to firing ink nozzles on cartridge 120, as is known in the art. 
     The media is held in an input tray 122 prior to being advanced through the print media path. Because the media is only advanced in response to the movement of the printhead, ink-based printers have the ability to accept continuous feed paper, such as that used in dot-matrix printers. After the media is advanced through the print media path 118, the media is deposited in an output tray 116. According to the invention, the scanner mechanism, indicated generally at 126 in FIG. 2, is designed to be mountable on the output tray 116. Consequently, the scanner is precisely aligned to the print media by virtue of its position on the output tray. 
     The scanner is mounted directly over the print media as it passes through the print media path. This provides the scanner with an unimpeded view of the print media. Referring now to FIG. 2, three light sources 136,138,140 are mounted on the rectangular scanner enclosure, or hood, 128 and span the width of the print media. Each of the three light sources provides one of the color primitives required for full color reproduction, i.e., red-green-blue or cyan-yellow-magenta. The light sources are similar to those used in the Scan Jet IIc scanner manufactured by Hewlett Packard Co., which are of the florescent type. However, as would be apparent to someone skilled in the art, a variety of similar light sources could be used such as LED arrays, etc. The light emitted from the light sources is reflected from the print media 150 onto a mirror 142, which directs the light on a lens system (not shown) housed in a holder 144. A charge coupled device (CCD) for sensing reflected light is also received in holder 144. The light sources are designed so that the boundaries of the light rays, known as the optical spread 148, will narrow as they reflect off of the print media. The optical spread 148 will continue to narrow to a width corresponding to the width of the CCD array. The mirror 142 is attached to the enclosure 128 and is mounted parallel to the light sources and inclined with respect to the print media to allow the reflected light to be channeled onto the lens system housed in holder 144, as indicated by optical spread 148. 
     The lens system is designed to focus the light received from the mirror directly on the CCD. The design of a lens system to accomplish this objective is known in the art. Although the design of the lens requires a specific focal length based on the dimensions of the scanner, the lens itself may take on several different shapes, e.g., aspherical. It is desirable that the lens system focus the image onto the CCD in order to produce a one-to-one correspondence between the print media image pixel and the CCD sensor pixel. Once the distance between image pixels is known and the particular CCD is chosen, a lens system can be readily constructed according to the commonly known formulas of optics. 
     The CCD produces an analog output signal corresponding to the light intensity received thereon. The analog signals are converted to digital signals by an analog-to-digital converter (not shown in FIG. 2) housed in holder 144. The digital signals are routed from the holder 144 to a cable outlet 146 with conventional wiring (not shown in FIG. 4) contained in the enclosure 128. A cable 152 is attached to the cable outlet to receive the digital signals from the analog-to-digital converter as well as provide the necessary control signals to the CCD, the analog-to-digital converter, and the light sources 136, 138, 140. 
     The scanner electronics required to process the image and control the printer mechanism are enclosed in a scanner cartridge, pictured diagrammatically in FIG. 3 at 166. The scanner cartridge is designed to fit within the printer access port 114 (FIG. 4), which is used to accommodate font cartridges as indicated above. Within the scanner cartridge is a printed circuit board (PCB) on which all of the electronic components are mounted. The scanner cartridge encloses the entire PCB except for a male edge connector having a plurality of metal contacts which, when inserted into the printer access port 114, provide an electrical path between the printer data and control signals and the scanner electronics, as well as providing connections to power and ground. Once the scanner cartridge is inserted into the printer access port 114, the scanner cartridge has complete access to the printer electronics. In this manner, the scanner cartridge is able to communicate with all the printer electronics,including stepper motor 182. 
     In order to provide the needed computing and control capability for the scanner, the scanner cartridge has within it a complete microprocessor based system. The system includes: a general purpose microprocessor (CPU) 168, for executing program instructions; a read-only-memory (ROM) 170, for program storage; and a random-access-memory (RAM) 172, for temporary storage. In addition, the scanner cartridge includes a direct-memory-access (DMA) controller 176, for arbitrating with the printer controller for control of the printer electronics. The combination of these components to form a functioning control system is known in the art of digital electronics. 
     Since the scanner cartridge temporarily assumes control of the printer electronics when scanning is performed, the scanner cartridge also has a motor controller 174, able to control the stepper motor 182 through stepper control lines 175 for advancing the print media responsive to the scanner operation. In addition, a red-green-blue (RGB) clock generator 180 sequences the light sources 136,138,140 as well as controls the CCD 184 and the analog-to-digital converter 186 (both contained within holder 144 in FIG. 2) via control lines 154. The control lines 154 are contained within cable 152. The analog data is shifted out of the CCD 184 along signal line 156 under the control of the RGB clock generator 180 into the analog-to-digital converter 186. The analog data is convened to a digital format by the analog-to-digital converter 186 and is returned to the data formatter 178 via signal line 158 also contained within cable 152. The data formatter 178 formats the digital image into a format expected by the personal computer 190. In addition to formatting the data, in the preferred embodiment, the data formatter 178 also buffers the data in order to transfer multiple bytes of data to the PC 190. 
     The digital data received by the data formatter 178 from the analog-to-digital converter 186 is transferred to the host PC 190 via a host interface board 188. The host interface board 188 is an industry standard printed circuit board form factor capable of being inserted into the backplane of the PC 190. The board 188 contains the industry standard male edge connector which allows it to be inserted into the standard female connector receptacle included within all PCs. The host interface board 188 also includes the necessary logic and buffers to allow the scanner cartridge 166 to communicate with the PC 190 over the PC data bus 196. The host interface board also provides a scanner cartridge connector (not shown) for receiving the scanner control lines 195 and scanner data bus 194. The host interface board 188 acts as a gateway between the scanner cartridge 166 and the PC 190. The logic (not shown in FIG. 3) on the host interface board 188 receives a request to transfer data from the DMA controller 176 over scanner control lines 195 and translates the request to a format required by the PC control lines 193. The buffers (not shown in FIG. 3) on the host interface board 188 selectively enable the digital data on a scanner data bus 194 to be transferred to the PC data bus 196 upon the receipt of a DMA acknowledgement from the PC 190 over PC control lines 193. 
     The request to transfer the digital data from the scanner cartridge to the PC 190 is generated by the DMA controller 176. The DMA controller 176 handshakes the digital data over the scanner data bus 194 by the use of scanner control lines 193. The scanner control lines 195 encode a standard bus arbitration protocol, to coordinate the transfer with the PC CPU (not shown in FIG. 3). Once the DMA controller 176 has been granted control of the PC bus 196, the host interface board 188 enables the bus interface logic, thereby allowing the digital data to be transferred onto the PC data bus 196. This sequence continues until all of the digital data is buffered in data formatter 178 transferred over the PC bus 196. 
     The scanning sequence is operable under the control of a scanner driver program operating on the PC 190. The PC 190 issues a command to the printer over a normal communication channel (not shown) between the PC 190 and the printer, e.g., parallel or serial channel, to commence scanning. The command consists of a predetermined escape sequence which is parsed by the printer CPU to determine the purpose of the command. Once the command has been decoded, the printer CPU notifies the scanner CPU 168 to assume control of the printer electronics. The scanner CPU 168 will then execute the proper sequence of enabling light sources 136, 138,140, capturing the image data, converting the analog image data to d digital representation, formatting the data to be received over the PC 190, transferring the data to the PC over the PC data bus 196, advancing the print media, and then repeating the sequence until the entire image is scanned. 
     Having described and illustrated the principles of the invention in a preferred embodiment thereof, it should be apparent that the invention can be modified in arrangement and detail without departing from such principles.