Output apparatus

Abstract: An output apparatus which can output image data at a plurality of resolutions comprises: a circuit to decide a presumed execution time according to the resolution on the basis of the input data to be generated; and a circuit to set an output resolution on the basis of the presumed execution-time determined. With the apparatus, an image can be printed at the highest resolution which can be reproduced within the set print execution time.

Description: BACKGROUND OF THE INVENTION Field of the Invention The present invention relates to an output apparatus and, more particularly, to an output apparatus which can output at a plurality of resolutions. Related Background Art In such a kind of recording apparatus, generally, the user himself designates a recording resolution. The recording apparatus produces a print pattern (character pattern, graphic pattern, etc.) corresponding to the designated resolution. In the above conventional example, therefore, in the case where the user wants to produce a printed matter in a short time like a trial print of a printed matter, the resolution is previously reduced to a proper value and print data is subsequently transmitted. In the above case, however, there are problems such that the resolution is reduced to a low value than it is needed or a quality of the printed matter remarkably drops. Further, there is also a drawback such that the resolution is reduced in spite of the fact that the print execution time is not so largely influenced even if the resolution is reduced. SUMMARY OF THE INVENTION The invention is made in consideration of the drawbacks in the conventional technique as mentioned above and it is an object of the invention to provide an output apparatus for executing the optimum image recording in a desired time. The invention is set forth in independent claims 1 and 6. BRIEF DESCRIPTION OF THE DRAWINGS Fig. 1 is a block constructional diagram of a printer of an embodiment; Fig. 2 is a flowchart showing an operation processing procedure in the embodiment; and Fig. 3 is a diagram showing a structure of the printer. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT An embodiment according to the invention will be described in detail hereinbelow with reference to the drawings. Fig. 1 is a block constructional diagram of a printer of the embodiment. In the diagram, reference numeral 1 denotes a printer main body of the embodiment. The printer 1 can print at two high and low resolutions. Reference numeral 2 denotes a host computer to supply print data to the printer 1. The print data in the specification denotes a command train and it is assumed that a mode to print one character and a mode to draw a line are all instructed by each command. Reference numeral 3 denotes a CPU to control the whole printer; 4 a reception buffer to temporarily store data which is sent from the host computer 2; and 5 an ROM in which an operation processing procedure (refer to a flowchart of Fig. 2) of the CPU 3 has been stored. Execution-time tables 5a and 5b have been stored in the ROM 5. The relations between each command in the case where the printing apparatus of the embodiment records at a high resolution and the execution time in the case where the command has been executed are stored in the execution-time table 5a. The relations between each command at a low resolution and the execution time are stored in the execution-time table 5b. Reference numeral 6 denotes an RAM which is mainly used as a work area of the CPU 3. The RAM 6 has therein an execution-time calculation value memory area (for a high resolution) 6a, an execution-time calculation value memory area (for a low resolution) 6b, a command memory area 6c, and a frame memory 6d to develop image data of one page. The above execution-time is not limited to a strict time. For instance, in the case of drawing a triangle of a figure by a size of 12 inches, a time factor is set to "10" or the like. In this manner, the execution-time may be schematic information as mentioned above. It is sufficient that such information has been stored in the above table. Various commands which have been supplied through the reception buffer 4 are stored in the command memory area 6c by an amount of one page. The total value of presumed times which will be required to execute each command in the case of a high resolution which have been obtained by referring to the execution-time table 5a is stored in the execution-time calculation value memory area 6a. Similarly, the total time of the execution times in the case of a low resolution which have been obtained by referring to the execution-time table 5b is stored in the execution-time calculation value memory area 6b. Reference numeral 7 denotes a printer output section to record an image developed in the frame memory 6d onto a recording medium (recording sheet). In the embodiment, the image is recorded at two resolutions. Reference numeral 8 denotes a font ROM in which data of the coordinates format to generate a character pattern or the like has been stored. Although its detailed description is omitted, as a method of generating a character pattern in the embodiment, an outline font method for generating a high fine character pattern irrespective of the size is used. When a diagram or the like is drawn, a drawing command indicative of such a drawing is analyzed and the diagram or the like is produced in the frame memory 6d. A laser beam printer is used as a printer output section 7. A change in resolution is accomplished by changing a frequency of reference clocks when an image signal is supplied to a printer engine section (not shown) and a rotational speed of a polygon mirror. Since the principle of the image formation is based on the well-known electrophotographic technique, its detailed description is omitted here. The operation of the embodiment with the above structure will now be described with reference to a flowchart of Fig. 2. First, in step S1, one command to the printer and parameters (set value for a set command and the like) associated with the command which have been sent from the host computer are read out of the reception buffer 4. In the next step S2, a check is made to see if the read command is a command to set a limit value of the execution-time or not. If YES, step S3 follows and the set data is stored at a special address position in the RAM 6. In the case of the printer of the embodiment, to raise a print processing speed, a limit time which is required for one recording sheet is set by the host computer 2. In the printer of the embodiment, if it is determined that a recording process of a high resolution can be realized within the limit time, the recording is performed at a high resolution. It is assumed that a practical absolute time is set as a limit time value. However, the limit time value can be also set by sensual levels such as "large, middle, small". If it is determined in step S2 that the command is a command other than the execution-time limit value setting command, the processing routine advances to step S4 and a check is made to see if the data is a delivery command or not. If NO, it is decided that the data is a drawing command and step S5 follows. In step S5, the read command is stored into the command memory area 6c in the RAM 6. In the next step S6, the execution time of the command at each resolution is obtained by referring to the execution-time tables 5a and 5b and those execution times are stored into the execution-time calculation value memory areas 6a and 6b. By repetitively processing a loop which is branched from step S4 to step S5, the print commands are sequentially stored into the command memory area 6c. The total times which are required when executing the processes at respective resolutions are stored into the memory areas 6a and 6b. If it is determined that the data fetched from the reception buffer 4 is the delivery command, the processing routine advances from step S4 to step S7. In step S7, on the basis of the total values (values stored in the memory areas 6a and 6b) of the execution times which have been calculated at respective resolutions and the set execution time limit value, the printer output section 7 is set so as to obtain the highest resolution among the resolutions at which the image data can be printed within the limit value. As already described above, the setting of the printer output section 7 is accomplished by changing the number of reference clocks of a pixel signal (video signal) output to the engine section of the laser beam printer and the rotational speed of the polygon mirror. After that, the processing routine advances to step S8, the command stored in the command memory area 6c is analyzed and a figure or the like is drawn in the frame memory 6d in accordance with the analyzed command. At this time, it is needless to say that a drawing process is executed on the basis of the resolution which has already been decided before. After the image data of one page was produced in the frame memory 6d, the printing process is actually started in step S9 and the printed sheet is delivered to the outside. To print the next page, the processing routine is returned to step S1. When a power source of the printing apparatus is turned on and if the sheet delivery process has been executed in step S9, the contents in the execution-time calculation value memory areas 6a and 6b are cleared to 0. As described above, according to the embodiment, it is possible to print at the highest resolution at which image data can be printed within the limit value of the execution time, so that an image of the highest quality can be reproduced within the time required by the operator. In the above embodiment, the execution time has been limited on a page unit basis of the print sheet. However, the execution time can be also limited for the entire print data (in this case, a command indicative of the end of print data is provided) consisting of a plurality of pages in a lump. Further, the execution time can be also limited on a unit basis of a printing speed of one character. Although the embodiment has been described with respect to an example of an apparatus which can switch the resolution to two levels, the number of resolutions can be also set to three or more levels. Although the embodiment has been described with respect to the case of using the laser beam printer as an apparatus to execute the printing process, the invention is not limited to such an example. This is because the embodiment can be also applied to any other recording system which can record an image at different resolutions. Further, the print execution time can be also set by an operation panel which is provided for the apparatus. As described above, according to the invention, since an image is printed at the highest resolution which can be reproduced within the set time, a drawback such that the printing quality is too reduced by too decreasing the resolution is eliminated. Fig. 3 is a cross sectional view showing an internal structure of a laser beam printer (herein-after, abbreviated to an LBP) as an example of the printer output section 7 in Fig. 1. The LBP can register a character pattern from a data source (not shown) and can register form data and the like. In the diagram, reference numeral 100 denotes an LBP main body. Character data (character codes), form data, macro commands, etc. which are supplied from the host computer (2 in Fig. 1) connected to the outside are transmitted and stored into the LBP main body 100. In accordance with those data, the LBP 100 forms a corresponding character pattern, form pattern, or the like and forms an image onto a recording sheet as a recording medium. Reference numeral 300 denotes an operation panel in which switches to operate, 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 character data or the like which is supplied from the host computer. The printer control unit 101 mainly converts the character data into the video signal of the corresponding character pattern and supplies to a laser driver 102. The laser driver 102 is a circuit to drive a semiconductor laser 103 and switches the on/off operations of a laser beam 104 which is emitted from the semiconductor laser 103 in accordance with an input video signal. The laser beam 104 is oscillated to the right and left by a rotary polygon mirror 105 and scans on an electrostatic drum 106. Thus, an electrostatic latent image of a character pattern is formed on the drum 106. The latent image is developed by a developing unit 107 around the drum 106 and, thereafter, it is copy transferred onto the recording sheet. A cut sheet is used as a recording sheet. Cut recording sheets are enclosed in a sheet cassette 108 attached in the LBP 100 and are fed one by one into the apparatus by a feed roller 109 and conveying rollers 110 and 111. The recording sheet is subsequently conveyed to the drum 106. An output apparatus which can output image data at a plurality of resolutions comprises: a circuit to decide a presumed execution time according to the resolution on the basis of the input data to be generated; and a circuit to set an output resolution on the basis of the presumed execution-time determined. With the apparatus, an image can be printed at the highest resolution which can be reproduced within the set print execution time.

Claims: A drawing method carried out in a printing apparatus which draws a pattern based on a drawing command input from an external apparatus and causes a print unit to print the drawn pattern, comprising the steps of: deriving a time required to draw a pattern in a memory referring to a table which stores relations between input drawing commands and execution times for respective drawing commands; determining, based on the derived time, whether the pattern can be drawn in the memory in a predetermined time with a first quality; and drawing the pattern in the memory with the first quality if said determining step determines that the pattern can be drawn with the first quality. A method according to claim 1, wherein said drawing step draws the pattern with a high resolution. A method according to claim 1, further comprising the step of printing the pattern drawn in the memory. A method according to claim 1, wherein said drawing step draws the pattern in the memory with a second quality if said determining step determines that the pattern cannot be drawn in the memory with the first quality. A method according to claim 4, wherein said drawing step draws the pattern with a low resolution. A printing apparatus which draws a pattern based on a drawing command input from an external apparatus and causes a print unit to print the drawn command, said printing apparatus comprising: means for deriving a time required to draw a pattern in a memory referring to a table which stores relations between input drawing commands and execution times for respective drawing commands; means for determining, based on the derived time, whether the pattern can be drawn in the memory in a predetermined time with a first quality; means for drawing the pattern in the memory with the first quality if said determining means determines that the pattern can be drawn with the first quality; and means for printing the pattern drawn in the memory. An apparatus according to claim 6, wherein said drawing means draws the pattern with a high resolution. An apparatus according to claim 6, wherein said drawing means draws the pattern in the memory with a second quality if said determining means determines that the pattern cannot be drawn in the memory with the first quality. An apparatus according to claim 8, wherein said drawing means draws the pattern with a low resolution.

Inventors: TANAKA FUMIHIRO, TANAKA, FUMIHIRO, Tanaka, Fumihiro, c/o Canon K.K.
Applicants: CANON KK, CANON KABUSHIKI KAISHA
Application year: 1991
Main classification: G06K15
IPC codes: B41J29, G06K15, H04N1, B41J2, G06F3