Color recording apparatus and process therefor

Abstract: A process for setting colors on a specific type of data (overlay) where the colors are either set on a control panel (12) or specific command defining the colors are contained in the externally received command. The process combines the drawing data (33) and specific types of data, in color, generates a bit map image, and subsequent by outputs the bit map image for displaying.

Description: The present invention relates to a color recording process and color recording apparatus. A conventional color recording apparatus outputs a color document based on the color designation given by control commands sent by the host to the color printer. However, where overlay data is to be printed, there is no color designation by the application software, consequently, the printing of the overlay is limited to black. Furthermore, if the printout is to be made on colored paper, it will be necessary to print the overlays in a color different from the sheet color to ensure clear and ease in distinguishing lines, characters, and other features of the overlay. Japanese Patent Abstract No. JP-A-1206052 discloses a multi-color image output device in which overlay information can be stored in an overlay page buffer and then an output synthesised with character information stored in a character page buffer. Japanese Patent Abstract No. JP-A-3092364 discloses a printing control circuit for a two color laser printer in which overlay data can be printed in color which is different from the color of the main character data. French Patent Specification No. FR-A-2614124 discloses a color image forming apparatus which includes means for setting the color of an image to be formed, either by a computer or manually. None of these prior publications provides a solution to the above problem. In accordance with a first aspect of the present invention there is provided a color printing apparatus as set out in claim 1. In accordance with a second aspect of the present invention there is provided a method of printing as set out in claim 6. In the case of overlays when utilising the present invention, the color of an overlay can be predesignated at the printer side through a control panel. Color designation for each recording page is possible. Note that in many cases, the data is recorded on colored sheet. The only person who definitely is aware of the sheet color is the operator at the recording device. Therefore, to ensure that the recorded output is clearly readable, an appropriate color overlay should be used. This color can be assigned, for each page, by the operator through the control panel. In addition, by being able to assign overlay color at the control panel of the recording device, it is possible to print the overlay with a color that is difficult to reproduce. Thus, although the overlay is visible and readable in its original form, it will disappear when reproduced by a copying device. By this method, a certain degree of secrecy can be maintained since the data alone, without the overlay, may be rendered meaningless. In a preferred embodiment of the present invention, by providing color designating means through control panel switches or in the case of external control, by commands, form overlay data prepared by an application software which does not consider color, can be colored in a color recording apparatus for color recording. Further features and advantages of the present invention will become apparent from the following detailed description of embodiments of the present invention with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS The detailed description explanation will utilize the following figures: Fig. 1 illustrates a block diagram of a basic structure of the color recording apparatus of the preferred embodiment of this invention; Fig. 2 is a block diagram used to explain the hardware structure, memory and memory allocation of the embodiment; Fig. 3 is an explanatory view of the PCT's as used in the embodiment; Fig. 4 is a illustration to explain a memory linking system as used in this invention; Fig. 5 is an explanatory view of the color tables as used to show the relationship between color, overlay and data; Fig. 6 show a flow chart for illustrating communication between a host computer and printer; Fig. 7A and 7B are flowcharts for illustrating coloring process according to the first embodiment; Fig. 8 is a flow chart for illustrating a color mode setting process; Fig. 9 is a flow chart for illustrating a drawing object current color designation command process; Fig. 10 is a flow chart for illustrating an overlay registration initiating command process; Fig. 11 is a flow chart for illustrating an overlay registration and command process; Fig. 12 is a flow chart for illustrating an overlay initiation and/or termination command process; Fig. 13 shows color information table and drawing data according to the second embodiment; Fig. 14 and 15 show color information table and drawing data according to the third embodiment; and Fig. 16 and 17 show color information table and drawing data according to the fourth embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS [First Embodiment] The first embodiment is hereafter described with referring to the drawings. Fig.1 is a block diagram illustrating the basic structure of the color recording apparatus of the preferred embodiment of the invention. In Fig. 1, reference numeral 1 denotes an externally connected equipment, for example, a host computer, which is connected to transmit data to the recording apparatus and is used for executing application software. Number 2 is a data receiver which receives commands and data transmitted to the recording apparatus, the data being stored in a receiving buffer 3. Number 4 is a command analyzer which first reads out the received data from the buffer 3 and then analyzes the instruction commands to convert the received data into internal drawing data. The analyzer 4 discriminates and separates the overlay data from normal data. According to this discrimination process, a flag or parameter for managing overlay data is set. Number 5 is a registration unit for storing and managing the converted drawing data according to the parameter and flag set, which is used for controlling the overlay data. Here, the normal data which does not include overlay data is defined as a data for printing text data. Normal data is registered in a drawing information area 33 (refer to Fig. 5) and controlled by a page control table 14 hereinafter (referred to as normal PCT). Overlay data is also registered in the drawing information area 33 and controlled by a PCT (Page Control Table) 19. The entire drawing data controlled by the PCT is defined as page buffer 6. Number 7 is drawer for reading out drawing data from the page buffer 6 and developing the drawing data into bit map image which is stored in frame memory 8, in conformance to the color information. Number 9 is a printer for printing the bit map image data stored in the frame memory 8 onto color recording paper 10. Number 11 is a controller for controlling all of the recording apparatus and its main function is to control each element of the recording apparatus. In addition, the controller 11 is equipped with communication facility. Number 12 represents panel switches which are used to designate coloring of the overlay data for the analyzing means 4 via controller 11. Due to the manipulation of these switches, the overlay data of page 1 may, for example, be designated brown and the overlay data of page 2 may be designated red. Fig. 2 is a block diagram used to explain the hardware structure of the recording apparatus of the embodiment. With referring to a stored program in ROM 52, preparation of drawing data 33 with command analyzing 4, registration unit 5 and drawer 7, will be discussed below. As illustrated in Fig. 2, CPU 51 is connected to ROM 52, RAM 53 and the input/output interfaces (I/F) 54 and 55 via a bus. External equipment 1 and panel 12 are connected to the input interface 54 and color printer 56 is connected to output interface 55. The normal page PCT and the overlay page PCT are provided in the RAM 53. Where the data analyzed by the command analyzer 4 is considered normal data, the normal page PCT is prepared. Alternatively, when the data is for an overlay page, the overlay page PCT is prepared (refer to Fig. 3). Flag 13 is provided to indicate an overlay registration in processing. The color mode flag 23 is also provided. Fig. 3 is an explanatory view of the PCT for control of a page. In accordance with whether Registration flag 13 is set or not, preparation of normal page PCT 14 or overlay page PCT 19 is selected. In the arrangement of the normal page PCT 14, page number 15, color mode flag 16, drawing data link pointer 17, and overlay PCT pointer 18 are included. Overlay page number 20, color mode flag 21, drawing data link pointer 22 and etc. are also included in the overlay page PCT 19. Color mode flags 16 and 21 indicate whether the page is to be printed in multi color or single color, which are automatically set according to the set value of the current color mode flag 23. Drawing data link pointers 17 and 22 are the pointers for the management of drawing data 33. These pointers are used to refer to drawing data 33, when drawing data 33 is stored into the registration 5 and read out by the drawer 7. Further, there are provided in RAM 53 the drawing object color information, table 24, in which color information is set according to the control commands from the outside and an overlay color information table 29 which memorizes overlay color information. Using the two PCT's 14, 19 as well as the two color information tables 24, 29, drawing data 33 is prepared. Drawing data 33 is provided for each PCT. A link information 34 is provided so as to make reference to the other drawing data. Shown in Fig 4 is an example of memory cell linking system. In this diagram, three memory location 17A, 17B and 22A linked subsequently are shown. Link pointer 17 points to memory location 17A as its drawing data 33a. Link pointer 22 points to memory location 22A as its drawing data 33c. Usually, the last memory location is linked to the first memory location 17A. In similar manner, the links can be extended as long as necessary to hold the desired information. Fig. 5 illustrates a relation between color information and the drawing information, where in the drawing object color information table 24, color information for the drawing objects such as character 25, and ruled lines 26, are set by control command. 29 is an overlay color information table in which color of overlay for each page is set by the panel switches 12. In Fig. 5, the overlay color for page 1 to 3, items 30, 31 and 32 are registered. 33 is an example of a structure of the drawing data. One drawing data is comprised of link information 34, color information 35 on the drawing object and drawing information 36, including kind of drawing, printing position and attribute of drawing. With the above arrangements, procedure for coloring of the overlay data will be discussed with reference to flow charts shown in Fig. 6 to 12. Before color selection can be made, the host must notify the operator that one or more overlays will be sent and that the operator must select appropriate colors for these overlays. Appropriate means for notification, such as a display and an alarm, can be on the control panel 12 for this purpose. Fig. 6 illustrates a preferred flow chart observed from a printer device side. In step S100, a printer checks if a host computer asked to transmit printing data. If no is discriminated, it waits until the printer receives such request. If yes, a control goes to step S110 and checks if an overlay data is included in the received data. If the overlay data is included, the printer requests the operator to designate the overlay color (step S120). Color designation is confirmed in step S130, the printer becomes ready to receive printing data from the host computer (step S140). In Fig. 7A, before starting the processing of the recording, the flag for overlay processing is reset OFF(S2), other parameters are also initialized. If the overlay data not having color attribute is received from the external equipment with the data receiver 2, the data is stored in the receiving buffer 3. The stored received data is read and analyzed by the analyzing unit 4 (S3), and the received data is analyzed to determine if it is printing data (S4). If it is determined as non-recording data, the attribute of the data is judged as an instruction command and appropriate processing according to the command is performed. (S17 to S23 is discussed later). If the data is determined to be printing data, further discrimination is performed to determine if the data is the first data on the page (S5). If the data discriminated is the first data, the processing mode is checked with the status of the overlay registration processing flag 13 (S6). If OFF of the FLG is discriminated, a PCT for a normal page is prepared S9. Alternatively, if FLG is ON, an overlay page PCT 19 is prepared (S7), and also overlay page number is set (S8). Next, the current color mode FLG 23 is read and regardless of the status, the color mode FLG's 16 and 21 are accorded with the FLG 23 (S10). If the data is not the first data of the page, whether overlay registration processing is performed or not is discriminated. If the registration processing is discriminated, control goes to step S12 where the color mode FLG 21 in PCT 19 is referred to determine if multi color printing is required. If mono-printing (single color) is discriminated, the overlay page number 20 in PCT 19 is referred to so as to read the color information out from the overlay color table 29 (S13 and S14). Then the read out color information is used for drawing color information 35 which is one of the element of drawing data 33 (S15). If the overlay processing is not discriminated at step S11, as color designation is included in the data, a color information corresponding to the drawing object is read out from the drawing object color information table 24 and is taken as drawing color information 35 as one of the element of drawing data 33 (S16). The above discussion relates to control flow for drawing data preparation. Further detail discussion on control commands for setting necessary flags will be discussed with reference to Figs. 7B to 12. Regarding the process on the color mode setting command (S17), it is discriminated if a page is being preparing at that instance (S24 in Fig. 8). If the processing is discriminated, the step is not performed, in order to avoid change of color while in processing for the page (S28). If not in the processing, color designation is discriminated if mono color is set in the current color mode flag 23 (S26), multi color is set in the color mode flag 23 in case "multi color designation" (S27). In the drawing object color setting command processing (S18), color designation format and color information are read out from the command (S29 in Fig. 9). An external expression on the color information is converted into the printer color code (S30). If characters are included in the drawing object designated by the commands, internally converted color information is set in the character color information (S32). If ruled line (S33), internally converted color information is set for the ruled line color information in the drawing objection color information table by step (S34). If shading is designated (S35), an internally converted color information is set for the shading color information in the shade color information table by step (S36). If image is designated (S37), the appropriate color information is set in the image color information table by step (S38), then this routine is ended by step (S39). In the step for processing the overlay registration start command (S19), the overlay registration processing flag 13 is set to ON (S40 in Fig. 10) and ends (S41). In the step for processing the overlay registration end command (S20), the overlay registration processing flag 13 is set to OFF (S42 in Fig. 11) and ends (S43). In the step for processing the overlay start/end command (S22), the processing for initiation is first discriminated (S44 in Fig. 12) and if initiation thereof is discriminated, the page of the overlay is stored (S45) and then the processing ends (S48). If termination of the processing is discriminated, the overlay page number currently memorized is checked to see if it matches up with the designated page number (S46), the stored overlay page number is deleted if accordance (S47). In the case where there is no according the number, no processing is performed (S48). Regarding the one page end processing (S21), the address printing the overlay PCT 19 is set in the overlay PCT pointer 18 in the normal page PCT 14 currently being prepared by referring to the overlay page number stored for overlay start command process (S22). In process for outputting data, analyzing unit 4 first completes to create the one page data, the controller 11 receives a notice with the address information of the completed normal page PCT 14. Upon receipt of the notice, the controller 11 starts drawer 7. Drawer 7 draws the drawing data 33 of the normal page PCT 14 designated by the controller 11. Within the drawing, if the overlay PCT pointer is set, overlay page PCT 19 overlay designated is drawn before drawing of the drawing data 33 of the designated normal page PCT 14. As the color information 35 is included in the drawing data 33, bit map drawing 7 draws image (bit map developed) according to the color information in the conventional manner. After finishing the overlay PCT 19, the normal page PCT 14 is drawn. When the drawing for one page is completed, printer 9 puts out bit map memory data of the frame memory 8, for example, on with color OHP sheet, for example, with color. In the above embodiment, the overlay color designation set with panel 12 or control command is set for each drawing record as color information, in case the command analyzer 4 discriminates single color over page. However, memory size can be reduced if single color overlay data as a command is provided in the set of the commands. In this arrangement, the function of the drawer must be expanded to the extent that it may interpret the command for single color designation for overlay data. Thus, the drawer 7 is designed and drawer 7 becomes available to each drawing data according to the color information designated in the color, if in the single color overlay page. [Second Embodiment] In the above embodiment, overlay color information table 29 is provided with each page. The overlay color information table 29 may be designed to store color information corresponding to the drawing object, as drawing object color information 24 is being constituted. In this second embodiment, drawing object color related information table 24, overlay color information table 29' and drawing data 33' are changed, as indicated in Fig. 13, in the relation of drawing object color information table 24, overlay color information table 29 and drawing data 33'. A control step for performing setting of color information in view of overlay color information table can be provided in lieu of steps S13 and S14 in the control flow of Fig. 7A. [Third Embodiment] In the above embodiment, an arrangement for preparation of drawing data 33 by the drawer by employing the normal PCT 14, overlay PCT 19, drawing object color information table 24 and overlay color information table 29 is shown. However, it is possible to prepare drawing data 33 for each page by providing the drawing data for overlay may be provided by the overlay color information. In this embodiment, there is provided two kinds of drawing data as illustrated in Figs. 14 and 15, where Fig. 14 illustrates a relation between the drawing object color information table 24 and the drawing data 41 and Fig. 15 a relation between the overlay color information and an associated overlay data. According to this embodiment, steps S13 and S14 in the flow chart of Fig. 7A become unnecessary. Two overlay data of Fig. 14 and 15 are to be referred in the preparation process for preparing the bit map data. [Fourth Embodiment] In the third embodiment, the overlay color information table 29 is provided for each page. However, in this embodiment, the. overlay color information table 29 is designated to memorize color information corresponding to drawing object as found in drawing object color information table 24. Relation of drawing object color information table 24 and drawing data 41 according to this embodiment is illustration in Fig. 16. Relation of the overlay color information table 29 to the overlay data 45 is illustrated in Fig. 15. According to this embodiment, steps S13 and S14 of Fig. 7A become unnecessary, two drawing data of Fig. 15 and 16 are referred to in the preparation process of one frame of bit map data with drawer 7. The present invention may be applied to a system constituted by a plurality of apparatus or to a single apparatus. Further, it goes without saying that the invention is applicable also to a case where a program for implementing the invention is supplied to a system or apparatus. According to the present invention, when overlay data prepared by an application software not applicable to color application, the overlay data is printed with color. That is, by providing color designating means to an overlay data not having color designation command, the overlay data prepared by conventional application software become possible to be printed in color.

Claims: A color printing apparatus for printing data, comprising data receiving means (2, 3, 4) for receiving data in a series of pages manual color information setting means, and printing means (6, 7, 8, 9) for printing the received data in designated colors, characterized by said receiving means being adapted to receive (S17 of Fig 7B) a color mode setting command setting a color mode flag (23, 21, 16 of Fig 3) : said manual color information setting means (4, 5, 6, 11, 12, S120-S130 of Fig 6) manually setting in a color information table (29 of Fig 5) printing color information (30-32 of Fig 5) relating to the data to be received by said data receiving means; judging means (11, S12 of Fig 7A) for judging the state of the received color mode flag (23); and switching means (11, S12-S16 of Fig 7A) for switching the printing of the received data in a color designated by color information (25-28) included in the received data or in a color designated by color information (30-32) set in the color information table (29), in accordance with the state of the color mode flag (23) as determined by said judging means. Apparatus according to claim 1, wherein said manual color setting means sets the printing color information in page units. Apparatus according to claim 1, wherein said manual color setting means sets the printing color information in defined units. Apparatus according to any preceding claim, wherein for multiple pages of printout, each page color is defined, in advance, by setting color information by manual means. Apparatus according to any one of claims 1 to 3, wherein the multiple units of printout, each unit color is defined, in advance, by setting color information for each defined unit by manual means. A method of printing information data, comprising the steps of receiving data (S5-S9 of Fig 7A) and if a color mode setting command is received setting (S10,S17); a color mode flag (23, 21, 16) manually setting (S120-S130 of Fig 6) in a color information table (29 of Fig 5) printing color information (30-32 of Fig 5) relating to data to be received and printed; judging (S12 of Fig 7A) the state of the color mode flag (23); and switching (S12-S16 of Fig 7A) the printing of the received data in a color designated by color information (25-28 of Fig 5) included in the received data or in a color designated by color information (30-32 of Fig 5) set in the color information table (29), in accordance with the judged state of the color mode flag (23). A method according to claim 6, wherein said manually color information setting step includes a step of setting the color information in page units. A method according to claim 7, wherein said manually color information setting step includes a step of setting a manually set color information in defined units. A method according to claim 7 or claim 8, wherein said manually color information setting is performed by the step of actuating a panel switch. A method according to any one of claims 6 to 9, wherein for multiple pages of printout, each page color is defined, in advance, by setting color information by manual means. A method according to any one of claims 6 to 10, wherein for multiple units of printout, each unit color is defined, in advance, by setting color information by manual means.

Inventors: ANZAI KATSUHIKO, ANZAI, KATSUHIKO, Anzai, Katsuhiko, c/o Canon Kabushiki Kaisha
Applicants: CANON KK, CANON KABUSHIKI KAISHA
Application year: 1992
Main classification: G06K15
IPC codes: B41J2, B41J5, B41J21, G06F3, G06K15