Output apparatus

Abstract: There is provided an output apparatus in which an output resolution can be changed and a memory medium including character information of printing dot patterns is detachable. The memory medium has holding means for storing and holding output density information of dot patterns of characters stored in the memory medium. The apparatus comprises: reading means for reading out the output density information from the memory medium; and changing means for changing the output resolution on the basis of the output density which was read out by the reading means. When the output density information which was read out by the reading means differs from the printing resolution of the apparatus itself in the reading mode, the character information of the dot pattern in the memory medium is not used. With the apparatus, even if the number of dots constructing a character was changed, the character pattern can be automatically output at the optimum output resolution.

Description: BACKGROUND OF THE INVENTION Field of the Invention The present invention relates to an output apparatus which can change an output resolution. Related Background Art Hitherto, in a printing apparatus which handles dot pattern characters, when a printing resolution is changed, the apparatus copes with such a change in printing resolution by handling the dot pattern characters as a character size different from the character size which has been used so far (for instance, a character of the 10-point size when the resolution is set to 400 dpi is regarded as a character of the 20-point size when the resolution is set to 200 dpi) or by executing a correction to thin out the dots or the like. However, in the above conventional example, since a priority has been given to the display resolution, there is an inconvenience such that if the resolution is slightly changed, no corresponding dot pattern character exists. On the contrary, when dot pattern characters are changed, the resolution becomes improper and the unfit printing is executed. On the other hand, in recent years, although a printing apparatus using vector fonts (outline fonts) has been put into practical use, in such an apparatus, since upon printing and outputting, a process to generate character patterns every time of the printing operation is executed, it inevitably leads to slower throughput of the apparatus. Hitherto, there has been proposed a printing apparatus constructed in a manner such that when an image is printed onto a recording paper, its printing density can be changed. Upon setting of the printing density of such a printing apparatus, it is predetermined by an initial value or is changed by a designation of a command or the like. However, in the above conventional example, since the printing density has been set irrespective of a memory capacity, for example there is a case where in spite of the fact that an enough large memory capacity is provided, the printing is executed at a low density, so that the result of the printing of a low quality is obtained or where although the capacity is small, the operator intends to execute the printing of a high density, so that the throughput deteriorates or an over-memory or the like occurs. Particularly, in such a printing apparatus, an apparatus which can expand the RAM also exists. In such a case, there frequently occurs a situation such that a set value of the printing density is improper for the capacity of the expanded auxiliary RAM. The present invention is made in consideration of the above problems and it is a concern of the invention to provide an output apparatus in which by obtaining the optimum output density from a usable memory size, the optimum printing quality and printing speed and the like can be obtained. In accordance with the present invention there is provided output control apparatus as set out in claim 1, and a method of controlling the resolution of an output apparatus as set out in claim 9. In order that the present invention may be more readily understood, an embodiment thereof will now be described by way of example and with reference to the accompanying drawings which also include other embodiments which do not include the present invention but provide assistance in the understanding of the present invention, in which: Fig. 1 is a block arrangement diagram of a printing apparatus included by way of example; Fig. 2 is a flowchart for explaining, a processing procedure of the CPU in the apparatus of Figure 1; Fig. 3 is a flowchart for explaining the processing procedure of a CPU in another apparatus; Fig. 4 is a block arrangement diagram of another embodiment of printing apparatus; Fig. 5 is a flowchart for explaining a processing procedure of the CPU in the apparatus of Figure 4; Fig. 6 is a block arrangement diagram of a further printing apparatus ; Fig. 7 is a diagram showing the content of a resolution table in the apparatus of Figure 6; Fig. 8 is a flowchart for explaining a processing procedure of the CPU in the apparatus of Figure 6; Fig. 9 is a flowchart for explaining details of a part of the flowchart of Fig. 8; Fig. 10 is a block arrangement diagram of a printing apparatus in accordance with the invention; and Fig. 11 is a flowchart showing a control procedure of the embodiment of Fig. 10. Fig. 1 is a block diagram of a printing apparatus as an output apparatus. In the diagram, reference numeral 1 denotes a printing apparatus main body; 2 indicates a CPU to control each of component elements in the printing apparatus main body 1; 3 an ROM in which not only a program regarding the print control but also programs based on a flowchart shown in Fig. 2, which will be explained hereinlater, are stored; 4 a built-in font memory in which character patterns corresponding to character codes are stored and which is provided as a standard equipment; and 5 an RAM which is used as a work area of the CPU 2 during the operation of the CPU 2. The RAM 5 has therein: an image resolution storage section 5a to store data indicative of the resolution in the present printing state; and a font cartridge information section 5b to store information to access character information in a font cartridge, which will be explained hereinlater. Reference numeral 6 denotes a font cartridge having a structure which is detachable to an external slot (not shown) of the printing apparatus main body 1. The font cartridge 6 has therein: a character font section (not shown) in which character patterns are stored; an image resolution information section 6a in which output resolution suitable for a group of character patterns stored are stored; and a character information section 6b in which information necessary to access actual character patterns (for instance, address information of each character pattern and the like) is stored. Reference numeral 7 denotes an output section to print by the output resolution instructed by the CPU 2. The output section 7 comprises a printing system by, for instance, a laser beam. Since the recording resolution can be controlled by controlling an output rate of a video signal which is output to the printing system and a conveying speed of a recording paper, the detailed explanation of the output section 7 is omitted here. The same shall also apply to the display. A processing procedure of the operation of the CPU 2 in this apparatus will now be described with reference to the flowchart of Fig. 2. When a power source of the printing apparatus is turned on, in step S1, the CPU 2 reads the content of the image resolution information section 6a in the font cartridge 6 connected to the external slot and stores the readout data into the image resolution storage section 5a in the RAM 5. In the next step S2, the CPU 2 reads out the character information from the character information section 6b in the font cartridge 6 and stores the readout information into the font cartridge information section 5b. In step S3, the CPU 2 instructs the switching of the resolution of the output section 7 so as to obtain the resolution of the value stored in the image resolution storage section 5a. After that, the character pattern corresponding to the character code which was input from the outside is read out of the font cartridge 6 on the basis of the information stored in the font cartridge information section 5b and the readout character pattern is output to the output section 7. As mentioned above, the apparatus can print at the output resolution written in the font cartridge 6 It is assumed that the processes in steps S1 to S3 mentioned above are executed not only when the power source was turned on but also when the font cartridge was exchanged to another font cartridge. It will be obviously understood that a switch to detect the loading/unloading state of the cartridge and the like are also provided in the apparatus. The same shall also apply to the case, which will be explained hereinlater. On the other hand, in addition to the font cartridge, other disk device CDROM, or the like can be also used. In the above description, when the font cartridge was loaded, the printing is executed at the resolution suitable for the font cartridge loaded. However, when a font cartridge in which dot patterns of the number of constructing dots which the apparatus cannot cope with are stored was connected, there occurs an inconvenience such that a character of a size which the user doesn't desire is printed. The content of the processes in such a case will now be described with reference to a flowchart of Fig. 3. It is now assumed that the construction of the apparatus in the case of Fig. 3 is the same as that in Fig. 1. First, when the power source of the printing apparatus main body is turned on, in step S11, the output resolution which has previously been stored in the program ROM 3 is stored into the image resolution storage section 5a and the output resolution is instructed to the output section 7. In step S12, the data in the image resolution information section 6a, in the font cartridge 6 is extracted. In step S13, a check is made to see if the extracted data and the present output resolution stored in the image resolution storage section 5a coincide or not. It YES in step 513, the data in the character information section 6b in the font cartridge 6 is fetched and stored into the font cartridge information section 5b in the RAM 5. Thus, the character pattern stored in the font cartridge 6 can be accessed. On the contrary, if NO in step S13, the data is not stored into the font cartridge information section 5. By the above processes, only the data in which the output resolution provided in the font cartridge and the present output resolution of the printing apparatus coincide is stored into the RAM and used as an output. On the other hand, it is assumed that the processes in steps S12 to S14 are executed not only when the power source was turned on but also when the output resolution was changed (for instance, such a change is instructed from an operation panel (now shown)) or when the font cartridge was changed (on the basis of the data from the detection switch). Fig. 4 shows a block arrangement diagram of another printing apparatus. In the diagram, reference numeral 41 denotes an apparatus main body; 42 a CPU; and 43 an NVRAM as a nonvolatile writable memory. The NVRAM 43 has therein: an image resolution storage section 43a in which an output resolutions upon initialization is stored; and a character size storage section 43b in which a character size (point number in the embodiment) to be formed upon initialization is stored. Reference numeral 44 denotes a program ROM. Not only a program regarding the printing process but also programs of a flowchart of Fig. 5, which will be explained hereinlater, are also stored in the program ROM 44. Reference numeral 45 indicates an RAM which is used as a work area of the CPU 42. The RAM 45 has therein: a scale storage section 45a to store a multiplying factor for a standardized character in a vector font section 46, which will be explained hereinlater, in accordance with the resolution and character size stored in the NVRAM 43; and a dot pattern character storage section 45b to store the dot pattern character generated at the multiplying factor of the scale. Reference numeral 46 denotes the vector font section (comprising an ROM or the like). Character data in which outlines of characters were defined in the standardized X-Y coordinates is stored in the vector font section 46. Reference numeral 47 indicates an output section which can print at an arbitrary resolution. The content of the processes in the third embodiment with the above construction will now be described with reference to the flowchart of Fig. 5. First, when the power source of the apparatus is turned on, in step S51, the output resolution information is read out of the image resolution storage section 43a in the NVRAM 43. In step S52, the logic character size (point number) is extracted from the character size storage section 43b. In step S53, the scale is calculated from the information extracted by the processes in steps S51 and S52. The scale is calculated by the following equation. Scale = resol x pts 72 x em where, em: fundamental size to specify the character size when the vector is standardized pts: point number (1 pts = 1/72 inch) resol: resolution (the number of output dots per inch) On the other hand, in step S53, further, the calculated scale is stored into the scale storage section 45a. In the next step S54, the vector data of one character is extracted from the vector font section 46. If no character data to be extracted exists in step S54, the processing routine advances to step S58. An example in which the vector data of one character was extracted will now be described. In this case, the processing routine advances to step S56. In step S56, the scale which has already been calculated is multiplied to the extracted vector data of one character, thereby converting the coordinate value in the standardized coordinate system into the coordinate value in the output coordinate system. The portions between the respective outline points are further connected by straight lines or the like. The inside of the outline is painted out. Thus, a dot pattern character is formed. Then, the formed character is stored into the dot pattern character storage section 45b in the RAM 45 and the processing routine is returned to step S54. In a manner similar to the above, there are repeated the processes such that the vector information of one character is sequentially read out of the vector font section 46 and the corresponding character pattern is formed and stored into the dot pattern character storage section 45b. After completion of the storage of the dot pattern based on the vector data of the last character, the answer in the discriminating step S55 becomes "NO". In this case, the processing routine advances to step S58 and the output resolution at that time is instructed to the output section 47. After that, as a character pattern corresponding to the received character code, by outputting the dot pattern stored in the dot pattern character storage section 45b in the RAM 45 to the output section 47, the printing is executed. By the above processes, by forming the dot pattern character of the resolution and logic character size instructed in the NVRAM upon initialization, it is prevented that a character of an unexpected size is printed and output. It is assumed that the processes in steps S51 to S58 are executed not only when the power source is turned on but also when resetting, when switching the resolution when changing the character size, or the like. In the above described apparatus, when the resolution was changed, it was necessary to form a dot pattern character which can cope with the resolution after it was changed and it is presumed that the throughput of the printing apparatus itself deteriorates due to the resolution change. In the fourth embodiment, therefore, an apparatus for solving such a problem will be described. Fig. 6 shows another construction of a printing apparatus. In the diagram, reference numeral 61 denotes an apparatus main body and 62 indicates a host computer which outputs data. The apparatus main body 61 has the following components therein. Reference numeral 63 denotes a CPU to control the whole apparatus main body; 64 a reception buffer to temporarily store the data received from the host computer 62; and 65 a program ROM in which a processing procedure of the operation of the CPU 63 is stored. Not only a program regarding the printing process but also programs regarding flowcharts shown in Figs. 8 and 9 are stored. Reference numeral 66 denotes a vector font section in which character data in which outlines of characters were defined in the standardized coordinate system is stored. Reference numeral 67 indicates a resolution table in which resolutions which can be output by the printing apparatus 61 are stored as shown in, for instance, Fig. 7. The number of kinds of resolutions which can be output by the printing apparatus is stored in a column 21 in the table shown in Fig. 7 and the resolutions are stored in columns 22. In the column showing each resolution, information which is enough to realize the resolution such as video signal output rate when printing at such a resolution, conveying speed of a recording paper, and the like is stored. Reference numeral 68 indicates an RAM which is used as a work area of the CPU. The RAM 68 has therein: a scale storage section 68a for storing a multiplying factor for the standardized character in the vector font section 66 in accordance with the character size and resolution which were designated by the host computer; and a dot pattern character storage section 68b to store a dot character pattern generated at the multiplying factor of the scale. Reference numeral 69 denotes an output section which can print and output at all of the resolutions in the resolution table 67. An operation processing procedure of the above apparatus will now be described with reference to the flowcharts of Figs. 8 and 9. First, in step S81, when the logic character size data is received from the host computer through the reception buffer 64, the processing routine advances to step S82 and the resolution table 67 is referred. In step S83, a check is made to see if the generation of the character patterns corresponding to all of the resolutions has been completed or not. If NO in step S83, step S84 follows and the resolution to be generated is extracted from the resolution table 67. Then, the dot character pattern is formed in step S85. The content of the process in step S85 will be further described in detail in accordance with the flowchart of Fig. 9. First, in step S91, a scale is calculated and stored into the scale storage section 68a. Since the calculating equation of the scale is the same as that in the third embodiment, it is omitted here. In the next step S92, a group of outline coordinates of one character are extracted from the vector font section 61. In step S93, a check is made to see if the generation of the outline of the character pattern based on the coordinate values has been completed or not. If NO in step S93, step S94 follows and the scale stored in the scale storage section 68a is extracted and multiplied with the coordinate values extracted by the process in step S92 and the result of the multiplication is temporarily stored into the RAM 68. Then, the processing routine is returned to step S92. On the contrary, if YES in step S93, step S95 follows. In step S95, the outline of the character expressed by the coordinate values which have temporarily been stored into the RAM 68 is formed and the inside of the character pattern is painted out. After that, the processing routine is returned to the flow of Fig. 8. After the character pattern was formed as mentioned above, step S86 follows and the character pattern formed by the above process is stored into the dot character pattern storage section 68b. Then, the processing routine is returned to step S82. On the other hand, if YES in step S83, the processing routine is finished. The apparatus controls the output section 69 so as to print by the character size and resolution which were instructed by the host computer and waits for the reception of data. By the above-described processes, the dot character patterns corresponding to the respective resolutions which can be output by the printing apparatus are stored into the dot character pattern storage section 68b. Therefore, even if a change in resolution and logic character size was instructed from the host computer 62 the apparatus can immediately cope with such a change. Fig. 10 is a block diagram showing an embodiment of the present invention. A printing apparatus 81 in the fifth embodiment comprises: a CPU 82; a program ROM 83; an RAM 85; an auxiliary RAM 86; an auxiliary RAM detector 100; and an output section 87. The CPU 82 controls the whole apparatus on the basis of program stored in the program ROM 83. Particularly, a program shown in a flowchart of Fig. 11, which will be explained hereinlater, is stored in the program ROM 83. The RAM 85 is provided as a standard equipment in the printing apparatus 81 and is used as a work area when the CPU 82 executes the program. The RAM 85 has therein: an image resolution storage section 84a to store data of the output resolution; and an RAM size storage section84b to store data of the RAM size which can be used. The auxiliary RAM 86 is detachable to/from the printing apparatus 81. The printing apparatus 81 can cope with the character patterns of plurality of kinds of RAM sizes. On the other hand, addresses in the auxiliary RAM 86 are continuous with addresses in the RAM 85. The auxiliary RAM detector 100 detects the size of RAM provided in the auxiliary RAM 86. The output section 87 outputs an image onto a recording paper. Fig. 11 is the flowchart showing a control procedure to be executed by the CPU 82. First, when a power source is supplied to the printing apparatus 81, the size of auxiliary RAM 86 is detected by the detector 100 (step S101). The total RAM size with the RAM sizes in the RAM 85 is calculated and stored into the RAM size storage section 84b (step S102). Then, the RAM size stored in the storage section 84b is extracted and the optimum output resolution is calculated (step S103). In the embodiment, a region T of all of the RAMS 85 and 86 is calculated by distributing to a data region D which depends on the display resolution and a data region I which does not depend on the display resolution. On the other hand, the region D linearly changes with an increase/decrease in output resolution R. Assuming that a change ratio is set to X, in the embodiment, the region D can be obtained by the equation D = R x X. Therefore, the maximum output resolution R which satisfies the relation R ≦ (T - I)/X can be obtained from the total RAM size T. Then, the output resolution R obtained in step S103 is stored into the image resolution storage section 84a (step S104). The output resolution can be instructed to the output section 87 (step S105). By the above procedure, the printing apparatus 81 can output an image by the proper resolution according to the RAM size. Although the embodiment has been described with respect to the case where the auxiliary RAM 86 comprises one slot, the invention can be also applied to the case where the auxiliary RAM is constructed by two or more slots. On the other hand, even in the case where the relation between the resolution and the necessary RAM size is not linear, the optimum resolution can be also calculated by properly defining the relation. As described above, according to the invention, by providing the optimum output resolution information for a memory medium in which the dot pattern characters were stored and by switching the output resolution in accordance with the memory capacity, it is possible to automatically print at the resolution suitable for the dot pattern characters provided. Thus, there is no need to designate the resolution each time the memory medium is exchanged. On the other hand, according to the invention, when actually printing, there is no need to generate the corresponding character pattern each time of the printing, so that the throughput of the apparatus itself can be improved. According to the invention, by obtaining the optimum output density from the usable memory size, the optimum printing quality, printing speed, and the like can be set.

Claims: An output control apparatus having memory means (85, 86) for storing dot pattern characters of an image to be output and means (82) for controlling the resolution of the image to be output, characterised in that said apparatus further comprises means (100, 82) for detecting a change in memory capacity of said memory means; and said control means controls the resolution of the image to be output on the basis of the result of the detection by said detecting means. An apparatus according to claim 1, wherein said detecting means further comprises means (100) for detecting whether the memory means include an auxiliary memory (86) which has been attached to the apparatus. An apparatus according to claim 1 or 2, wherein said detecting means further comprises means (82) for computing the memory capacity of said memory means. An apparatus according to any one of claims 1 to 3, wherein said detecting means further comprises means (82) for computing the highest possible output resolution. An apparatus according to any one of claims 1 to 4, further comprising a printer for printing the image in the resolution as set by said control means. An apparatus according to any one of claims 1 to 5, wherein said detecting means further comprises means for computing the memory capacity which can be used for data output. An apparatus according to any one of claims 1 to 6, wherein said detecting means detects the change in memory capacity of said memory means when power is supplied to said apparatus. An apparatus according to any one of claims 1 to 7, wherein said detecting means detects the memory capacity of said memory means. A method of controlling the resolution of an output apparatus having memory means (85, 86) which store dot pattern characters of an image to be output and means (82) for controlling the resolution of the image to be output, characterised in that the method comprises detecting a change in memory capacity of said memory means and controlling the resolution of the image to be output on the basis of the result of the detection. A method according to claim 9, including detecting whether the memory means include an auxiliary memory (86) which has been attached to the apparatus. A method according to claim 9 or 10, including computing the memory capacity of said memory means. A method according to any one of claims 9 to 11, including computing the highest possible output resolution. A method according to any one of claims 9 to 12 further comprising printing the image in the resolution as set by said control means. A method according to any one of claims 9 to 13, including computing the memory capacity which can be used for data output. A method according to any one of claims 9 to 14, including detecting the change in memory capacity whenever the apparatus has power supplied to it. A method according to any one of claims 9 to 15, including detecting the actual capacity of said memory means.

Inventors: SAKURAI MASAKATSU, SAKURAI, MASAKATSU
Applicants: CANON KK, CANON KABUSHIKI KAISHA
Application year: 1990
Main classification: G06K15
IPC codes: G06K15