Outputting method and apparatus

Abstract: There are disclosed outputting method and apparatus of a document in which a character area and an image area mixedly exist, wherein the character area and the image area are discriminated and a document is outputted in a manner such that the smoothing process is automatically executed to the character area and the smoothing process is not performed to the image area on the basis of the result of the discrimination in the case where the resolution is changed. Thus, the document can be generated at a high quality by the smoothing process as if the document were generated at an output resolution which is equal to or higher than the present output resolution.

Description: The present invention relates to a method and apparatus for outputting data. Hitherto, in a printing apparatus, there occurs a problem such that, for instance, when the resolution of 300 d.p.i. is raised to 600 d.p.i., a character balance is not obtained as shown in Fig. 3A or 3B. As shown in Fig. 3C, therefore, the above problem is solved by the smoothing function to keep the character balance by automatically adding supplementary dots. Such a smoothing function is a necessary technique in order to also obtain an output result of a high quality such that it is regarded as if it were outputted at a higher resolution without raising the resolution. When dark/light states are expressed and generated in the printing apparatus, a binary method or a multi-value method exists. There is a density pattern method in the binary method for a gradation expression. For instance, assuming that ten kinds of density patterns exist for an input image signal as shown in Figs. 4-1 to 4-10, this means that ten kinds of densities (0 to 9) exist. Therefore, when a smoothing process is executed to image information whose gradation expression is performed by the density pattern method of the binary method mentioned above, there occurs a disadvantage such that the image information is deformed as shown in Fig. 5. US-A-4437122 describes a method of enhancing the resolution and quality of characters in a raster image by storing at least three successive lines of video data in successive parallel connected shift registers and using a decoder to compare the pixels on the same line as well as in preceding and succeeding lines with each specific input pixel to generate printer head driving signals according to whether straight or curved line segments are to be formed. According to the present invention there is provided a method for processing character data and half tone image data in accordance with claim 1. The present invention also provides apparatus for processing character data and half tone image data in accordance with claim 8. An embodiment of the invention provides a method and apparatus having a function such that where character date and image data exist together on the same page a smoothing process is executed in a printing apparatus which smoothing process, by properly performing a memory management, is automatically executed for the character data but not for the image data. An embodiment of the invention provides an outputting method and apparatus in which an area where the smoothing function is made operative and an area where the smoothing function is not operative are discriminated by address information to thereby make the smoothing function operative, practically speaking, a start address, an end address, and the like of the area where the smoothing process is not executed are held, thereby discriminating the on/off operation of the smoothing process. Embodiments of the present invention will now be described, by way of example, with reference to the accompanying drawings, in which: Fig. 1 is a block diagram of a printing apparatus; Fig. 2 is an explanatory diagram of a memory area in a page memory; Figs. 3A to 3C are explanatory diagrams of a character in the cases where a smoothing function is turned on and off; Figs. 4-1 to 4-10 are explanatory diagrams of density patterns; Fig. 5 is a comparison explanatory diagram before and after the smoothing of image data; Fig. 6 is a flowchart of an explanatory diagram; Fig. 7 is an explanatory diagram of processes corresponding to the case of changing a resolution; Fig. 8 is a diagram showing a structure of a laser beam printer; and Fig. 9 is a diagram showing a structure of an ink jet printer. A preferred embodiment of the invention will be described in detail hereinbelow with reference to the drawings. The invention can be applied to an outputting apparatus which is constructed by one or a plurality of apparatuses. Further, the invention also incorporates the case where the invention is accomplished by supplying a program to those apparatuses. Fig. 1 is a block diagram showing an outline of a printing apparatus according to a preferred embodiment of the invention. Fig. 6 is a control flowchart by an input controller 2, a main controller 5, a read controller 8, and the like in Fig. 1. The embodiment will now be described hereinbelow with reference to Figs. 1 and 6. In Fig. 1, reference numeral 2 denotes the input controller which receives character data or image data from an external apparatus such as a host computer 1 or the like. The image data or the like supplied from the external apparatus through the input controller 2 is stored into a page memory 3 having a capacity of at least one page. The data which is stored into the page memory 3 includes image information, character information, control codes to designate an emphasized character, etc., and the like. In the input controller 2, a start address and an end address of image data which doesn't need the smoothing are stored into an address data memory 4 by judging on the basis of a code system of the data which is sent from the host computer (step S1 in Fig. 6). Reference numeral 5 denotes the main controller to control the whole printing apparatus. The main controller 5 has a CPU such as a microprocessor or the like, an ROM in which control programs and data are stored, an RAM for a work area, a TTL for a hard logic or a gate array, and the like. Data which is read out of the page memory 3 is supplied to the main controller 5 (step S2). When the data supplied to the main controller 5 is the character data, a character image is generated from a character pattern generator 6 and supplied to the main controller. When the input data is the image data, the image data is transferred to a scan buffer 7, which will be explained hereinlater. The discrimination between the character data and the image data can be also performed on the basis of a command of a page describing language. Reference numeral 7 denotes the scan buffer to store pattern data of one scanning line which is scanned by a laser beam in the pattern data of one line to be printed (steps S3, S4, S5). When the pattern data of one scan is stored into a scan buffer 7-1, the data in the scan buffer 7-1 is read out and is sent as a video signal to a printer engine, by which an image is formed. At the same time, the next pattern data of one scan is stored into a scan buffer 7-2. Similarly, when a video signal is generated from the scan buffer 7-2, the data is stored into the scan buffer 7-1. The operations are repetitively executed as mentioned above. Reference numeral 8 denotes the read controller to control the reading operation from the scan buffer. In response to a reading signal 12 from the main controller 5, the read controller 8 starts to read out the data from the corresponding scan buffer and supplies the data to a corresponding parallel-to-serial (P/S) converter 10 synchronously with a horizontal sync signal 14 of an image forming unit 11. Reference numeral 9 denotes a smoothing circuit to execute the smoothing process (steps S3, S4, S5). Since the detailed description of the smoothing process itself is not essential in the invention, it is omitted here. An address of the data supplied from the page memory 3 to the main controller 5 is compared with a value in the address data memory 4 by an address comparator 60 through a data bus. When the address lies within a range in the address data memory, that is, when it indicates the image data or the like which doesn't need the smoothing process, a smoothing on/off line of a signal line 13 is set to the smoothing off mode, thereby automatically turning off the smoothing circuit (S6, S7, S8, S9). The on/off mode of the smoothing can be determined by the above operations. In Fig. 2, as a memory of one page, the data of one scan assumes 80000h, a start address of the image data area here is set to 820000h, an end address thereof is set to 87ffffh, and those of the next scan are set to 890000'h and 8ffffh, respectively. By holding the above address range and comparing, the on/off mode of the smoothing is decided. For instance, in the case of page memory data as shown in Fig. 2, the start addresses are set to 820000h, 890000h, 920000h, ..., d90000h and the end addresses are set to 87ffffh, 97ffffh, ..., dfffffh. The ranges are set to 820000h - 87ffffh, 890000h - 8fffffh, 920000h - 97ffffh, ..., d90000h - dfffffh. In the case of the above address range, the smoothing is set to off. It will be obviously understood that the control procedure of Fig. 6 is properly repeated in accordance with each scanning line. [Another embodiment] In the above embodiment, the addresses are compared by the address comparator 60, thereby making the smoothing on/off signal line operative. However, it is also possible to construct in a manner such that the data is directly sent from the address data memory 4 to the main controller 5 and the address range is judged by a software and the smoothing on/off mode is determined. In the case where the host computer side has, for example, a WP or DTP function, when the attributes such as a fixed frame and the like which are provided in one page include image data, the main controller 5 in Fig. 1 recognizes as position information of such a frame and smoothing-on information and the comparing process by the address comparator 60 is controlled. Fig. 7 is a diagram for explaining a flow (control flow) of the processes in the case of executing the processes shown in Fig. 6 when a resolution of the printer is changed. When a change in resolution is instructed by an operation panel 300 in Fig. 8, which will be explained hereinlater, or the like (S1 in Fig. 7), step S2 follows and the processes in Fig. 6 are executed. When NO in step S1, the data in the memory 3 is directly generated (S3). Thus, a visual deterioration of, particularly, a character portion in the case where the resolution is changed can be suppressed. [Description of laser beam printer] A structure of a laser beam printer is shown as an example of a printer which can be applied to the invention. A construction of the laser beam printer to which the embodiment is applied will now be described with reference to Fig. 7. Fig. 8 is a cross sectional view showing an internal structure of the laser beam printer (hereinafter, abbreviated to an LBP) of the embodiment. The LBP can register a character pattern from a data source (not shown), a standard format (form data), and the like. Although not shown, the LBP has the page memory 3. In the diagram, reference numeral 100 denotes an LBP main body. The LBP main body 100 receives an stores character data (character codes), form data, macro instructions, etc. which are supplied from a host computer (1 in Fig. 1) connected to the outside. On the basis of those data, the LBP main body makes a corresponding character pattern, form pattern, etc. and forms an image onto a recording paper as a recording medium. Reference numeral 300 denotes the operation panel on which operation switches, an LED display, and the like are arranged. Reference numeral 101 denotes a printer control unit for controlling the whole LBP 100 and for analyzing the character data or the like supplied from the host computer. The printer control unit 101 mainly converts the character data into the video signal of a corresponding character pattern and supplies to a laser driver 102. The laser driver 102 is a circuit to drive a semiconductor laser 103 and on/off switches a laser beam 104 which is emitted from the semiconductor laser 103 in accordance with the input video signal. The laser beam 104 is swung to the right and left by a rotary polygon mirror 105 and scans on an electrostatic drum 106. Thus, an electrostatic latent image of the character pattern is formed on the drum 106. The latent image is developed by a developing unit 107 arranged around the drum 106 and, after that, the developed image is copy transferred onto the recording paper. A cut sheet is used as a recording paper. The cut recording sheets are enclosed in a sheet cassette 108 attached to the LBP 100 and are picked up and conveyed one by one into the apparatus by a feed roller 109 and carrying rollers 110 and 111 and are supplied to the drum 106. A frequency of the laser beam is changed by the laser driver 102 or a rotational speed of the drum 106 is controlled, thereby enabling a resolution of the printer to be varied. [Description of ink jet printer] Fig. 9 shows an example of a construction of an ink jet printer using bubbles which can be applied to the invention. Reference numeral 809 denotes a head cartridge having an ink jet recording head; 811 a carriage for mounting the head cartridge 809 thereon and for scanning the directions shown by arrows S in the diagram; 813 a hook to attach the head cartridge 809 to the carriage 811; and 815 a lever to operate the hook 813. A marker 817 is formed on the lever 815 in order to indicate a scale provided on a cover, which will be explained hereinlater, thereby enabling a printing position, a set position, and the like by the recording head of the head cartridge to be read. Reference numeral 819 denotes a supporting plate to support an electric connecting portion to the head cartridge 809. Reference numeral 821 denotes a flexible cable to connect the electric connecting portion and the control units of the main body. Reference numeral 823 denotes a guide shaft to guide the carriage 811 in the S directions. The guide shaft is pierced into a bearing 825 of the carriage 811. Reference numeral 827 denotes a timing belt to which the carriage 811 is fixed and which transfers a motive power to move the carriage 811 in the S directions. The timing belt is rove between pulleys 829A and 829B arranged on both side portions of the apparatus. A driving force is transferred to the pulley 829B from a carriage motor 831 through a transferring mechanism such as gears and the like. Reference numeral 833 denotes a platen roller for restricting a recording surface of a recording medium (hereinafter, also referred to as a recording paper) such as a paper or the like and for conveying it upon recording or the like. The platen roller is driven by a carrying motor 835. Reference numeral 837 denotes a paper pan to lead the recording medium to the recording position from a paper feed tray side; 839 a feed roller, arranged on the way of the feeding path of the recording medium, for depressing the recording medium to the platen roller 833 and for carrying it; 841 a discharge roller, arranged on the downstream side than the recording position in the carrying direction of the recording medium, for discharging the recording medium toward a discharge port (not shown); and 842 a spur, provided in correspondence to the discharge roller 841, for pressing the discharge roller 841 through the recording medium and for causing a carrying force of the recording medium by the discharge roller 841. Reference numeral 843 denotes a release lever for cancelling pressing forces of the feed roller 839, a pressing plate 845, and the spur 842 when the recording medium is set or the like. Reference numeral 845 denotes the pressing plate for suppressing the floating or the like of the recording medium at a position near the recording position and for assuring an adhering state to the platen roller 833. In the embodiment, an ink jet recording head to record by emitting an ink is used as a recording head. Therefore, a distance between the ink emitting port forming surface of the recording head and the recording surface of the recording medium is relatively very small and must be severely managed so as to avoid the contact between the recording medium and the emitting port forming surface. Therefore, the arrangement of the pressing plate 845 is effective. Reference numeral 847 denotes a scale formed on the pressing plate 845. Reference numeral 849 denotes a marker provided for the carriage 811 in correspondence to the scale. The printing position and set positions of the recording head can be also read by the above scale and marker. Reference numeral 851 denotes a cap made of an elastic material such as a rubber or the like which faces the ink emitting port forming surface of the recording head at the home position. The cap 851 is supported to as to be come into contact with and be detachable from the recording head. The rubber cap 851 is used to protect the recording head in the non-recording mode and is also used when an emitting recovery process of the recording head is executed. The emitting recovery process denotes a process (pre-emission) such that the inks are emitted from all of the emitting ports by driving energy generating elements which are provided in the inside of the ink emitting ports and are used to emit the inks, thereby eliminating the factors of the defective emission such as air bubbles, dusts, inks which are improper to record due to an increased viscosity, and the like. The emitting recovery process also denotes a process such that the above defective emission factors are eliminated by forcedly discharging the inks from the emitting ports. Reference numeral 853 denotes a pump which is used for making an attracting force operative to forcedly drain the inks and for sucking the inks collected to the cap 851 when the emitting recovery process by such a forced discharge or the emitting recovery process by the pre-emission is performed. Reference numeral 855 denotes a drain ink tank to store the drain inks sucked by the pump 853. Reference numeral 857 denotes a tube to communicate the pump 853 with the drain ink tank 855. Reference numeral 859 denotes a blade to wipe the emitting port forming surface of the recording head. The blade 859 is supported so as to be movable to the position to perform the wiping operation during the movement of the recording head by projecting to the recording head side and the backward position where the blade is not come into engagement with the emitting port forming surface. Reference numeral 861 denotes a recovery system motor and 863 indicates a cam device which receives the transmission of a motive force from the recovery system motor and 863 indicates a cam device which receives the transmission of a motive force from the recovery system motor 861 and functions so as to drive the pump 853 and to move the cap 851 and blade 859, respectively. Although not shown, the apparatus has a memory of a few lines or the page memory 3 in a manner similar to Fig. 1. As for the process of the supplementary dots in Fig. 3 in the smoothing, it is sufficient to make the applying timing of the thermal energy and the amount to emit the ink droplet variable. As described above, according to the invention, in the case of outputting a document in which characters and images mixedly exist, the smoothing can be turned on for the character and the smoothing can be turned off for the image, so that the printing can be properly executed. As described in detail above according to the invention, with respect to a document in which characters and images mixedly exist, the smoothing can be turned on for the character portion. Therefore, even in the case of a document in which characters and images mixedly exist, it is possible to execute a high quality output as if the image were generated at a resolution which is equal to or higher than the resolution of the printer unit. As described in detail above, according to the invention, in the case of outputting a document in which characters and images mixedly exist, when the resolution of the printer is changed, the smoothing process is executed to the character portion and the document can be always generated at a high quality.

Claims: A method for processing character data and half tone image data, the method comprising the steps of: discriminating an area in which characters exist from an area in which a half tone image exists; performing smoothing in the character area but not in the half tone image area; and outputting the smoothed characters and the half tone image. A method according to claim 1, wherein the output is supplied to a laser beam printer. A method according to claim 1, wherein the output is supplied to an ink jet printer. A method according to claim 2, wherein the characters are smoothed if the resolution is changed. A method according to claim 2, 3, or 4, wherein the image area is based on frame data relating to a document. A method according to any one of claims 1 to 5, wherein discrimination between a character area and an image area is performed on the basis of a command by a page describing language. An apparatus for processing character data and half tone image data, the apparatus comprising: discriminating means for discriminating an area in which characters exist from an area in which an image exists; smoothing means for performing smoothing in the character area but not in the half tone image area; and means for outputting the smoothed characters and the half tone image. An apparatus according to claim 7, further comprising a laser beam printer for receiving data from the outputting means. An apparatus according to claim 7, further comprising an ink jet printer for receiving data from the outputting means. An apparatus according to claim 8, wherein the smoothing means is operable to perform smoothing of characters if the resolution is changed. An apparatus according to claim 7, 8, 9 or 10, wherein the image area is based on frame data relating a document. An apparatus according to any one of claims 7 to 12, wherein the discriminating means is arranged to discriminate between a character area and an image area on the basis of a command by a page describing language.

Inventors: OHYAMA NAOKI, OHYAMA, NAOKI, Ohyama, Naoki, c/o Canon Kabushiki Kaisha
Applicants: CANON KK, CANON KABUSHIKI KAISHA
Application year: 1991
Main classification: H04N1
IPC codes: G06K15, H04N1, B41J2, G09G5