Patent Publication Number: US-4651175-A

Title: Printer

Description:
This application is a continuation of application Ser. No. 553,126 filed Nov. 18, 1983, now abandoned. 
    
    
     BACKGROUND OF THE INVENTION 
     1. Field of the Invention 
     The present invention relates to graphic printing in a multi-color printer. 
     2. Description of the Prior art 
     It has been a common practice to display a calculation result by a graph in order to facilitate visual recognition the status. Some of office computers, personal computers and desk-top calculators with printers have graph printing functions. Many office computers and personal computers use multi-color CRT displays to display the graphs in a readily recognisable way. Multi-color printers for color-printing the multi-color graphs have been developed. 
     Usually, red, green and blue are the basic colors used in the CRT display, and yellow, magenta, cyan and white are additionally used to display the graph. However, when a yellow pattern which is clearly visible on the CRT display is printed on white paper, it is very unclear and hard to distinguish. When seven-color printing is made by the printer, cyan, magenta and yellow are used as basic colors and those colors are mixed to print red, green, blue and black patterns. (Sometimes, black ink is separately provided.) 
     Because the yellow print is hard to distinguish, it may be modified to a color tone which is easier to distinguish. However, the colors which are synthesized by yellow and other colors are affected. Therefore, the color tone cannot be changed significantly and the print remains hard to distinguish. Particularly in the graph printing, a boundary with other color printing is hard to distinguish, or it is hard to determine whether the area is printed or blank. 
     SUMMARY OF THE INVENTION 
     It is an object of the present invention to provide a color printer which color-prints a graph with a pattern of a hard-to-distinguish color being encircled by a pattern of other color. 
    
    
     BRIEF DESCRIPTION OF THE DRAWINGS 
     FIGS. 1A and 1B are a schematic diagram of one embodiment of the present invention, 
     FIG. 1C is a schematic depiction of a conventional ink jet nozzle. 
     FIG. 2 illusrates a a principle of printing, 
     FIG. 3 shows a memory content, and 
     FIG. 4 shows a print example. 
    
    
     DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS 
     FIG. 1 shows a block diagram of a configuration for printing a bar graph in accordance with input pattern data. Printing a yellow zig-zag pattern graph is explained as an example. 
     The graph print consists of aggregation of dots, 126 dots horizontal by 7 dots vertical. Pattern memories PCM 1 and PCM 2 in FIG. 1 each has a 126-byte memory capacity with each byte having a 1×7-dot data. In order to print a yellow pattern and a pattern of other color, for example a black framing pattern to provide contrast for the yellow pattern; PCM 1 is used as a yellow pattern memory and PCM 2 is used as a black pattern memory. 
     When a yellow graph pattern a 50-horizontal dot zig-zag pattern is to be printed, a controller CC discriminates that it is a designated, pattern of a hard-to-distinguish color, that is, which provides low contrast with the color of the recording medium, and stores the graph dot pattern of yellow 50-dot zig-zag pattern as well as a 76-dot space dot pattern in the yellow pattern memory PCM 1, and stores a 51-dot black dot pattern for the frame as well as a space dot pattern, a reference line and a number for identifying an item, for example, &#34;5&#34; in the black pattern memory PCM 2. This is carried out in the following manner. In FIG. 1, a signal l PR  is supplied to a dot register PR to set &#34;125&#34; therein and a dot counter PC and a line counter LC are cleared by a signal line l C . An output signal l Ad  of the dot counter PC is an address signal to the two pattern memories PCM 1 and PCM 2. A signal line l Al  is set to &#34;1&#34; to open an AND gate AD 1 so that a character data on a data signal line DB 1 appears on a line DB 2, a yellow read/write signal line l Rw  is set to &#34;0&#34; to write the first dot data of the 50-dot yellow zig-zag pattern in the yellow pattern memory PCM 1. The content of the dot register PR and the content of the dot counter PC are compared by a comparator CO, and if they are not equal, the content of the dot counter PC is incremented by one through the signal line l PC  and the next 1×7-dot yellow pattern data is written into the memory PCM 1. The above The above operation is repeated until the contents of the counter PC and the register PR coincide so that the 126-byte yellow pattern data consisting of the yellow zig-zag pattern and the space pattern of the black-framed yellow zig-zag pattern is written into the memory PCM 1. To write the data into the black pattern memory PCM 2, the dot counter PC is cleared by the signal line l C , the signal line l A2  is set to &#34;1&#34; (l A1  is set to &#34;0&#34; so that the AND gate AD 1 is closed) to open the AND gate AD 2 so that the data on the data signal line DB 1 appears on a signal line DB 3, and a black read/write signal line l RW2  is set to &#34;0&#34; to write the data into the black pattern memory PCM. The contents of the dot register PR and the dot counter PC are compared, and if they are not equal, the content of the dot counter PC is incremented by one and the next 1×7-dot black pattern data is written into the memory PCM 2. The above operation is repeated until the contents of the counter PC and the register PR coincide so that the 126-byte black pattern data consisting of the black frame pattern, the reference line, the number &#34;5&#34; indicating the item and the space pattern, of the black-framed yellow zig-zag pattern is written into the memory PCM 2. 
     As described above, the data in the pattern memories PCM 1 and PCM 2 are stored by byte consisting of 1×7-dot data. They are dot pattern data converted by a character generator CG in the controller CC. The graph pattern is represented by the continuation of the 1×7-dot matrix and a character is represented by a 5×7-dot matrix. For example, FIG. 2 shows a 10-dot yellow graph pattern, a black frame, a reference line (the leftmost 1×7 dots) and a character R. When the 1×7-dot pattern is expressed by a hexadecimal notation with the lowermost bit being assigned to the least significant bit, the black dot pattern is expressed as FE, 82, 82, . . . 82, FE, the yellow dot pattern is expressed as 00, 54, 28, 54, 28, . . . 54, 28, 00, and the character R is expressed as 62, 94, 98, 90, F4. The solid circles in FIG. 2 indicate the black dots and hatched circles indicate the yellow dots. 
     In the illustrated example, the black-framed yellow zig-zag pattern, the reference line and the item number &#34;5&#34; are printed. The contents of the yellow pattern memory PC 1 and the black pattern memory PC 2 are shown in FIG. 3. Those data are transferred to the printer controller CC to print out the data. The print operation is explained below. 
     The printer feeds a paper by a pulse motor PM and has two, for example, yellow and black on-demand type piezo ink jet nozzles mounted on a carriage. The carriage is reciprocated by a DC motor DM. A piezo nozzle drive circuit PZD is activated by a carriage position sensor FDP to print the patterns or characters. The pizeo nozzle drive circuit activates piezo element PE through elecrodes EL of conventional ink jet nozzles such as the nozzle N shown in FIG. 1C. 
     When the pattern data have been stored in the pattern memories PCM 1 and PCM 2, the controller CC sets the black and yellow read/write signal lines sets the signal line l C  to &#34;0&#34; to clear the dot counter PC and the line counter LC and initialize the addresses of the pattern memorise PCM 1 and PCM 2. The controller l RW1  and l RW2  to &#34;1&#34; (read) and confirms that a busy signal line l BSY  from the printer controller PCC is 1&#34; (non-busy state) and sets the signal line l PF  to &#34;1&#34; and the signal line l PB  to &#34;0&#34; to instruct the printer controller PCC to carry out the printing. In response thereto, the printer controller PCC sets the busy signal line l BSY  to &#34;0&#34; (busy) and sets a drive signal line l F  of the DC motor DM to &#34;1&#34; and sets the signal line l B  to &#34;0&#34; to move the carriage from a home position (left position as viewed toward a print paper P) in a forward direction (right). During this period, a timing pulse from the carriage position sensor FDB is detected, and at a timing pulse immediately preceding to a print start position, the signal line l BSY  is set to &#34;1&#34; to inform to the controller CC that the pattern data can be received. The controller CC sets a signal line l REQ  to &#34;0&#34; to inform that the data on the data lines DP 1 and DP 2 are valid. In response to the signal l REQ , the printer controller PCC again sets the signal line l BSY  to &#34;0&#34; (busy), reads in the data of the pattern PCM 1 and PCM 2, and at the next timing pulse, memories drives the piezo nozzle drive circuit PZD by the signal lines l B1  and l Y1  and the nozzle carry out the black yellow printing in accordance with the most significant bit state 1×7 dots. In the present example, since the yellow and black data are both &#34;0&#34; as shown in FIG. 3 the space is printed. After the printing, the signal line l BSY  is printed. After the printing, the signal line l BSY  is set to &#34;1&#34; to inform to the controller CC that the next pattern data can be received. The controller CC increments the dot counter PC by one of the signal line l PC  to increment the address to the pattern memories by one so that the next data are read out to DP 1 and DP 2. It also sets the signal line l REQ  to &#34;0&#34; to inform that the data on the data lines DP 1 and DP 2 are valid. The printer controller PCC reads in the data of the pattern memories PCM 1 and PCM 2 and prints them out at the next timing pulse. 
     In a similar manner, the data of FIG. 3 printed in the direction of the arrow for the most significant dot of the 1×7-dot yellow and black pattern data (because only one yellow nozzle and only one black nozzle are provided). The content of the dot counter PC which is incremented by one for each printing and the content of the dot register PR are compared by the comparator CO, and when they coincide, the controller CC determines the end of the 126-dot print and resets the dot registor PR to &#34;0&#34; by the signal line l PR , sets the signal line l PF  to &#34;0&#34; and sets the signal line l PB   
     PF to &#34;1&#34;. 
     The printer controller PCC sets the busy signal line l BSY  to &#34;0&#34;, the DC motor signal line l f  to &#34;0&#34; and the signal line l B  to &#34;1&#34; to drive the carriage in the reverse direction to start the printing in the reverse direction. It also drives the paper feed pulse motor PM to feed the paper by one dot pitch. As in the forward printing, the busy signal line l BSY  is set to &#34;1&#34; at the timing pulse immediately preceding to the print position to inform to the controller CC that the pattern data can be received. The controller CC sets the signal line l REQ  to &#34;0&#34; to inform that the first data or the 126th dot data in the reverse printing is valid. The printer controller PCC receives the pattern data and prints it out at the next timing pulse and sets the busy signal line l BSY  to &#34;1&#34; to inform that the next pattern data can be received. The controller CC decrements the dot counter PC by one by the signal line l BC  because the printing is now in reverse direction, and decrements the memory address by one to read out the 125th data on the data lines PD 1 and PD 2, and sets the signal line l REQ  to &#34;0&#34; and prints the data at the next timing pulse. In a similar manner, the second line dot data of the 1×7-dot yellow and black data are reverse-printed until the first dot data is printed. When the comparator CO detects the coincidence of the number of dots, the controller CC increments the line counter LC by one by the signal line l 1 . The output signal line l 2  of the line counter LC is used to detect the end of four times of reciprocation of the carriage. Since one time of reciprocation has just finished, no signal is produced on the signal line l 2 . The content of the dot register PR is set to &#34;125&#34; and the signal line l PF  is set to &#34;1&#34; and the signal line l PB  is set to &#34;0&#34; to instruct the printing of the third line of the 1×7 dots. The printer controller PCC sets the busy signal line l BSY  to &#34;0&#34;, feeds the paper by one dot pitch by the paper feed pulse motor PM, sets the drive signal line l F  of the DC motor DM to &#34;1&#34; and sets the signal line l B  to &#34;0&#34; to carry out the forward printing. When the comparator CO detects the coincidence, the reverse printing is started. 
     In a similar manner, four times of reciprocative printing is carried out. At the end of the four times of reciprocation, the line counter LC produces the output on the signal line l 2  to inform that the 126 1×7-dot patterns have been printed. Thus, the printing of the black-framed yellow zig-zag pattern, the reference line and the item number &#34;5&#34; has been completed. The printout is shown in FIG. 4. 
     As described hereinabove, by framing the graph pattern of a hard-to-distinguish color by the pattern of other color, the graph pattern can be readily distinguished and hence business efficiency and productivity can be improved.