Serial printer detecting set condition for image formation and method of controlling the same

Abstract: A serial printer includes a carriage (1) reciprocating in a main scanning direction, a reading sensor (8) mounted in carriage (1), a timing fence (5) arranged in the main scanning direction, a mechanism (1c, 1d, 7, 10) preventing movement of carriage (1) in the main scanning direction, and a controlling portion (9) detecting a set condition for image formation in accordance with read data of timing fence (5) from reading sensor (8) for controlling image formation. Controlling portion (9) detects the set condition for image formation only in accordance with the read data of timing fence (5), so that detection of the set condition for image formation is enabled without increasing the size of an apparatus and cost, or without decreasing a processing efficiency in image formation.

Description: Field of the Invention The present invention relates to a serial printer such as an ink-jet printer by moving a head forward and backward in main scanning directions with respect to a sheet of paper transported in a sub scanning direction for forming an image on the sheet of paper. Description of the Background Art Serial printers including an ink-jet printers move a head forward and backward in main scanning directions with respect to a sheet of paper transported in a sub scanning direction for forming an image on the sheet of paper. In an ink-jet printer, for example, ink is emitted from a plurality of nozzles arranged at a head against a sheet of paper. A predetermined space is ensured between a leading edge of the nozzle and the sheet of paper so that an image is properly formed on the sheet of paper by the emitted ink. In other words, if the head is too close to the sheet of paper, the sheet of paper may be brought into contact with the head, thereby causing head wearing or damage. On the other hand, if there is too much space between the head and the sheet of paper, an image may be marred by a so-called satellite phenomenon. The satellite phenomenon is caused when fine ink droplets emitted from the nozzles of the head following main droplets of the ink improperly adhere to the sheet of paper, at locations apart from the main droplets. More specifically, as shown in Fig. 1A, if the distance between head 101 and sheet of paper 102 is appropriate, fine ink droplets 111 to 113 are emitted against the location where main droplet 110 adheres. In this case, the image on the sheet of paper 102 is not marred. On the other hand, as shown in Fig. 1B, if the distance between head 101 and paper 102 is too long, fine ink droplets 111 to 113 are emitted against the portion other than where the ink main droplets 110 adhere, thereby marring the image on the sheet of paper 102. Then, in the conventional serial printer, a position of the head has been made adjustable in a direction vertical to the sheet of paper (in a direction of height), so that the position of the head can be adjusted in the height direction in accordance with a thickness of the sheet of paper on which the image is to be formed. Thus, a distance between the sheet of paper and the head is maintained at a constant value regardless of a thickness of the sheet of paper. Normally, such adjustment of the head is performed by an operating member such as a height adjustment lever, which is arranged for example at the side of the apparatus. In addition, in the serial printer, an image formation scope in the main scanning direction in which the head is to be moved changes with the size of paper on which the image is to be formed. Therefore, to increase the operating efficiency of the printer by reducing the time required for image formation, the head must be moved forward and backward only over the scope in the main scanning direction of the sheet of paper on which the image is to be formed. An example of this kind of printer is shown in JP-A-10 316 248. To this end, a means for detecting a length of the set sheet of paper in the main scanning direction should be provided. However, provision of a structure which is only used for detecting the length of the sheet of paper in the main scanning direction results in increase in size of the apparatus and cost. Thus, a relatively low-priced small serial printer is not provided with a structure for detecting the length of the sheet of paper in the main scanning direction and, the head is moved forward and backward in the main scanning directions over the entire scope corresponding to a maximum sized sheet of paper on which an image is to be formed. However, the conventional serial printer is not provided with a simple structure for detecting a set condition for image formation such as a position of the head in the height direction or a paper size. Thus, determination cannot be made as to whether the image forming conditions are properly set. As a result, degradation of the image quality as well as wearing and damage of the apparatus are caused. For example, an image formation process is performed even when the position of the head adjusted by a user does not correspond to a thickness of the printing sheet of paper, thereby resulting in head wearing or damage as well as degradation of the image quality. Further, if the head is to be moved forward and backward in the main scanning directions over the entire scope of the maximum sized paper during image formation regardless of a width of the sheet of paper on which the image is to be formed, the head is even moved over the scope with no sheet of paper. This disadvantageously increases image production time and decreases operating efficiency. In addition, the apparatus may be subjected to taint damage caused by insertion of a sheet of paper not corresponding to the image data size. SUMMARY OF THE INVENTION An object of the present invention is to provide a serial printer capable of detecting a set condition for image formation such as a position of a head or a size of a sheet of paper without increasing size of an apparatus and cost. An another object of the present invention is to provide a serial printer capable of detecting a set condition for image formation such as a position of a head or a size of a sheet of paper without decreasing a processing efficiency in image formation. Another object of the present invention is to provide a method of controlling a serial printer capable of detecting a set condition for image formation such as a position of a head or a size of a sheet of paper without increasing a size of an apparatus and cost. Another object of the present invention is to provide a method of controlling a serial printer capable of detecting a set condition for image formation such as a position of a head or a size of a sheet of paper without decreasing a processing efficiency in image formation. According to one aspect of the present invention, a serial printer includes a carriage moving forward and backward in main scanning directions, a reading sensor mounted on the carriage, a timing fence arranged in the main scanning direction, a mechanism preventing movement of the carriage in the main scanning directions in accordance with a set condition for image formation, and a controlling portion detecting the set condition for image formation in accordance with read data of the timing fence from the reading sensor for controlling image formation. Since the set condition for image formation is detected in accordance with the read data of the timing fence from the reading sensor, the problem associated with the increase in size of the apparatus and cost is alleviated and the processing efficiency in image formation is not decreased. According to another aspect of the present invention, a method of controlling a serial printer is provided. The serial printer includes a carriage moving forward and backward in main scanning directions, a reading sensor mounted on the carriage, a timing fence arranged in the main scanning direction and a mechanism preventing movement of the carriage in the main scanning direction in accordance with a set condition for image formation. The method includes a step of detecting the set condition for image formation in accordance with read data of the timing fence from the reading sensor, and a step of controlling image formation in accordance with the detection result. Since the set condition for image formation is detected in accordance with the read data of the timing fence from the reading sensor, the problem associated with the increase in size of the apparatus and cost is alleviated and the decrease in the processing efficiency in image formation is prevented. The foregoing and other objects, features, aspects and advantages of the present invention will become more apparent from the following detailed description of the present invention when taken in conjunction with the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS Figs. 1A and 1B are diagrams shown in conjunction with a satellite phenomenon caused by improper setting of a distance between a head of an ink cartridge and a sheet of recording paper in a conventional ink-jet printer. Fig. 2 is a view showing a serial printer according to an embodiment of the present invention. Fig. 3 is a schematic diagram showing the serial printer according to the embodiment of the present invention. Fig. 4 is a view showing a peripheral structure of an ink cartridge 3 of the serial printer according to the embodiment of the present invention. Fig. 5 is a view showing a structure of carriage 1 of the serial printer according to the embodiment of the present invention. Fig. 6 is a front view showing a timing fence 5 of the serial printer according to the embodiment of the present invention. Fig. 7 is a side view showing an operating lever 7 provided in the serial printer according to the embodiment of the present invention. Figs. 8A and 8B are views shown in conjunction with movement of the ink cartridge mounted on the carriage by operating lever 7. Fig. 9 is a front view showing a slide shaft 4 provided in the serial printer according to the embodiment of the present invention. Figs. 10A to 10F are diagrams shown in conjunction with upward and downward movements of carriage 1 by rotation of operating lever 7. Fig. 11 is a block diagram showing a structure of a controlling portion 9 of the serial printer according to the embodiment of the present invention. Fig. 12 is a flow chart showing a process of detecting a height of the ink cartridge according to the embodiment of the present invention. Fig. 13 is a diagram shown in conjunction with a mechanism for detecting a length of a sheet of recording paper in the main scanning direction. Figs. 14A and 14B are flow charts showing a process of detecting a length of the sheet of paper in the main scanning direction. DESCRIPTION OF THE PREFERRED EMBODIMENTS Referring to Fig. 2, a serial printer body 51 is provided on its front side a discharging tray 53 and a feeding tray 52 therebelow. A guide plate 54 is provided on an upper surface of feeding tray 52, which is movable over a prescribed range in a direction perpendicular to the feeding direction of paper. Guide plate 54 would be contact with a side surface of a plurality of sheets of paper placed on the upper surface of feeding tray 52 for aligning them. Referring to Fig. 3, provided inside serial printer body 51 are a feeding roller 55, transport roller 56, transport guide 57, resist roller 58, discharging roller 59, platen 60, ink cartridge 3, slide shaft 4 and holding shaft 6. Feeding roller 55 feeds sheets of paper P placed on feeding tray 52 by rotation, one sheet at a time, toward transport roller 56. Transport roller 56 guides the brought sheet of paper P on a transport path 57. Resist roller 58 guides sheet of paper P between platen 60 and ink cartridge 3 in synchronization with the movement of ink cartridge 3 in the main scanning direction. Discharging roller 59 discharges printed sheet of paper P onto discharging tray 53. Slide shaft 4 and holding shaft 6 guide ink cartridge 3 in the main scanning direction. Ink cartridge 3 emits ink against sheet of paper P from the head at a low end in accordance with image data during one forward movement in the main scanning directions. During that time, transportation of the sheet of paper in the sub scanning direction by resist roller 58 is suspended. Resist roller 58 transports sheet of paper P in the sub scanning direction by a distance corresponding to a number of nozzles provided in the sub scanning direction at the head during a backward movement of ink cartridge 3. Thus, sheet of paper P is repeatedly transported by a prescribed distance in the sub scanning direction by resist roller 58 during reciprocating movements of ink cartridge 3 in the main scanning directions, so that an image is formed over the entire sheet of paper P. Fig. 4 is a perspective view showing a peripheral structure of ink cartridge 3 in the above described serial printer. In serial printer body 51, ink cartridge 3 is mounted on carriage 1 together with an ink tank 2. Carriage 1 is guided by slide shaft 4 and holding shaft 6 that are arranged in parallel in the main scanning direction, and reciprocates in the main scanning directions. Timing fence 5 faces reading sensor 8 provided on the back of carriage 1. Fig. 5 is a view showing a structure of carriage 1 provided in the above described serial printer. Carriage 1 is hollow in shape and provided with ink cartridge 3 and ink tank 2 thereabove. Provided at the back lower end of carriage 1 is a bearing 1a. Slide shaft 4 on the back side is fitted into bearing 1a. A recess 1b is formed at a bottom front end portion of carriage 1. Holding shaft 6 on the front side abuts against recess 1b from below. Further, a protrusion 1c is provided at the front lower end portion on one side of carriage 1. Carriage 1 moves to the right end of the moving scope in the main scanning direction when a power source of the serial printer is turned on and at the start of an image formation process. When the start of the image formation process is instructed, carriage 1 moves to the left end of the scope, and then reciprocates over the image formation scope in the main scanning directions corresponding to a width of the sheet of paper on which image is to be produced. Fig. 6 is a front view showing a timing fence provided in the above mentioned serial printer. Timing fence 5 is provided in serial printer body 51 such that it faces the back surface of carriage 1 over the entire moving scope in the main scanning direction of carriage 1. A reading surface of timing fence 5 which faces reading sensor 8 of carriage 1 has a printing region 5a, a height detecting region 5b, and a region for detecting a width of a sheet of paper 5c (hereinafter referred to as paper width detecting region 5c), which are respectively formed at an intermediate portion, near the right end portion, and near the left end portion. Each of printing region 5a, height detecting region 5b and paper width detecting region 5c has alternate white and black portions at regular intervals in the main scanning direction. Like the timing fence provided in the conventional serial printer, printing region 5a is used for controlling constant-speed movement of carriage 1 during image formation. In other words, a length of printing region 5a in the main scanning direction corresponds to a length of a scope corresponding to a width of the maximum sized printing sheet of paper and lengths of accelerating regions which are provided at both ends of the scope and required for stationary carriage 1 to attain to a prescribed speed for image formation. Reading sensor 8 provided in carriage 1 reads an image in printing region 5a of timing fence 5 as carriage 1 moves for image formation. The moving speed of carriage 1 is controlled such that a period of change in images of white and black portions in the image read by reading sensor 8 matches a prescribed period. Height detecting region 5b and paper width detecting region 5c are used for detecting a height of ink cartridge 3 and a length of the sheet of paper in the main scanning direction by a structure and a process which will later be described. Fig. 7 is a side view showing a structure of an operating lever provided in the above described serial printer. An operating lever 7 is provided on one side of serial printer body 51. Operating lever 7 has an operating portion 7b, stopper 7c, engaging piece 7d, and gear portion 7e, which are all protruding from base 7a in a disc-like shape. Operating lever 7 is pivotally supported about a hole 7f at the center of base 7a inside serial printer 51 between a position shown in Fig. 8A and a position shown in Fig. 8B which is apart from the position shown in Fig. 8A by a prescribed angle in a direction of an arrow A. Operating portion 7b is exposed from the upper surface of serial printer body 51. Stopper 7c abuts against protrusion 1c of carriage 1 by rotation of operating lever 7. Engaging piece 7d engages with an elastic member 9. Elastic member 9 selectively stops operating lever 7 at one of the positions shown in Figs. 8A and 8B. When operating lever 7 is at the position shown in Fig. 8A, stopper 7c does not abut against protrusion 1c of carriage 1. When operating lever 7 is at the position shown in Fig. 8B, stopper 7c abuts against protrusion 1c of carriage 1. Therefore, carriage 1 cannot vertically move above the position allowing protrusion 1c to abut against stopper 7c. Gear portion 7e mates with an adjust gear 4a fixed to one end of a rotation shaft of slide shaft 4. Fig. 9 is a front view showing a structure of slide shaft 4 provided in the above described serial printer. Slide shaft 4 is cylindrical in shape, and fitted into bearing 1a on the back side of carriage 1 over the entire moving scope in the main direction of carriage 1 inside serial printer body 51. Slide shaft 4 is eccentrically fixed to rotation shaft 4b having one end fixed to adjust gear 4a. As described above, adjust gear 4a mates with gear portion 7e formed at operating lever 7. Accordingly, slide shaft 4 rotates eccentrically with respect to rotation shaft 4b by rotation of operating lever 7. Figs. 10A to 10F are diagrams shown in conjunction with upward and downward movements of carriage 1 by rotation of operating lever 7. It is noted that Figs. 10A, 10C, and 10E are side views when carriage 1 is viewed from the left side of the serial printer. Figs. 10A and 10B show positions of carriage 1 and states of slide shaft 4 when operating lever 7 is at the position shown in Fig. 8B. A center axis of slide shaft 4 is positioned above that of rotation shaft 4b, and the back side of carriage 1 is lifted from a normal position by about 0.5mm. Figs. 10C and 10D show positions of carriage and states of slide shaft 4 when operating lever 7 is between the positions shown in Figs. 8A and 8B. Rotation of rotation shaft 4b by 90° brings the center axis of slide shaft 4 at the same height as the center axis of rotation shaft 4b, so that the back surface of carriage 1 is positioned more or less below the position shown in Fig. 10A. Figs. 10E and 10F show positions of carriage 1 and states of slide shaft 4 when the operating lever 7 is at the position shown in Fig. 8A. The center axis of slide shaft 4 is positioned below the central axis of rotation shaft 4b and, the back surface of carriage 1 is at a normal position, i.e., at the position 0.5mm below the position of carriage 1 shown in Fig. 10A. Therefore, by selectively rotating operating lever 7 to positions shown in Figs 8A and 8B, the head of ink cartridge 3 mounted on carriage 1 can be reciprocated in the main scanning direction at the lower position corresponding to a plain sheet of paper or at the upper position corresponding to a thick sheet of paper. In addition, when the head of ink cartridge 3 mounted on carriage 1 is at the lower position corresponding to the plain sheet of paper, stopper 7c of operating lever 7 does not abut against protrusion 1c. On the other hand, when the head of ink cartridge 3 mounted on carriage 1 is at the upper position corresponding to the thick sheet of paper, stopper 7c of ink cartridge 3 abuts against protrusion 1c of carriage 1. Fig. 11 is a block diagram showing a structure of controlling portion 9 of the above mentioned serial printer. Controlling portion 9 of the serial printer includes a CPU(Central Processing Unit) 21 provided with a ROM (Read Only Memory) 22 and a RAM (Random Access Memory) 23, which CPU 21 is connected to an input/output apparatus such as a reading sensor 8, interface 24, image memory 25, motor driver 26, head driver 27, and operating panel controller 28. CPU 21 controls the input/output apparatus in accordance with a program that has preliminary been written to ROM 22. At the time, data which is input or output to or from CPU 21 is stored in a prescribed memory area of RAM 23. Reading sensor 8 inputs read data of timing fence 5 to CPU 21. Interface 24 receives input data from a host apparatus 29 such as a personal computer. Image memory 25 stores the image data input through interface 24. Motor driver 26 drives a motor 30 in accordance with driving data output from CPU 21. Rotation of motor 30 is transmitted to carriage 1 through a transmitting mechanism (not shown) as a moving force in the main scanning direction. Head driver 27 drives the head of ink cartridge 3 in accordance with the driving data output form CPU 21. Operating panel controller 28 inputs operating data of a key switch 31a provided in operating panel 31 to CPU 21, and displays display data output form CPU 21 onto a display 31b. Fig. 12 is a flow chart showing a process of detecting a height of the ink cartridge in the controlling portion of the above mentioned serial printer. CPU 21 forming the controlling portion of the serial printer according to the present invention detects an amount of movement of carriage 1 in the right end direction (the direction toward the right end of the apparatus) in accordance with read data of height detecting region 5b of timing fence 5, and determines whether protrusion 1c of carriage 1 abuts against stopper 7c formed at operating lever 7. Based on the determination result, it further determines to which one of the lower and upper positions, respectively corresponding to the plain sheet of paper and the thick sheet of paper, the head of ink cartridge 3 mounted on carriage 1 is set. CPU 21 compares the determination result with the data of the thickness of paper input from host apparatus 29, and determines if the position of the head of ink cartridge 3 is properly set by operating lever 7. More specifically, when image data including thickness data of paper is input from host apparatus 29 via I/F 24 (s1), motor 30 is driven to move carriage 1 to a prescribed position in the right end direction (s2). At the time, CPU 21 determines if protrusion 1c of carriage 1 abuts against stopper 7c of operating lever 7, i.e., if the head of ink cartridge 3 is set to the lower position corresponding to the plain paper or the upper position corresponding to the thick paper (s3 to s5). CPU 21 compares the determination result with the thickness data of paper input from host apparatus 29 (s6) and, if both do not match (s6, No), displays a message instructing switching of the operating lever on display 31b of operating panel 31 (s7), reverses motor 30 by a prescribed amount (s8) and returns to step s2. If the determination result matches the thickness data of paper in step s6 (s6, Yes), CPU 21 outputs driving data of the head corresponding to the image data input from host apparatus 29 to head driver 27 and performs an image formation process (s9). The set position of the head of ink cartridge 3 mounted on carriage 1 is detected using timing fence 5 and reading sensor 8 provided in the serial printer for detecting movement of carriage 1 in accordance with the above described process. Then, an image formation process is performed only when the detection result matches the thickness data of paper from host apparatus 29. The thickness data of paper input from host apparatus 29 to CPU 21 of the serial printer has been input to host apparatus 29 by an operator who sets sheets of paper to the serial printer, and the thickness data of paper input from host apparatus 29 generally corresponds to the thickness of the sheets of paper set on the feeding tray of the serial printer. Therefore, the above described process surely positions the head of ink cartridge 3 at the position corresponding to the thickness of the sheets of paper fed from the feeding tray which is to be printed. In the serial printer, generally, carriage 1 is moved to the right end when the power source is turned on or before the image formation process is started. At the same time, operating lever 7 is provided on the right side of the serial printer body in consideration of its operating property. Thus, in the above embodiment, height detecting region 5b is arranged on the right end side of timing fence 5, and the position of the head of ink cartridge 3 is detected on the right end side of the apparatus where carnage 1 is positioned when the power source is turned on or before the image formation process is started. Thus, increase in size of the detection member and unnecessary movement of carriage 1 are prevented. In other words, when the power source is turned on or before the image formation process is started, moving carriage 1 to the right end also allows detection of the position of the head of ink cartridge 3. Further, when sheets of paper are set after carriage 1 is moved to the right end, even if the head of ink cartridge 3 is set at the lower position corresponding to the plain paper, improper setting of the head can be detected before moving carriage 1 to the left end. Thus, the head is not brought into contact with the set sheets of paper as in the case of detecting the head position by moving carriage 1 toward the left end after setting the thick paper. As a result, head wearing or damage is preliminary prevented. In addition, formation of a plurality of stoppers at a plurality of positions in the main scanning direction in accordance with an amount of rotation of operating lever 7 enables correct detection of the position of the head of ink cartridge 3 even when the height of the head of ink cartridge 3 changes among more than three levels. Fig. 13 is a diagram showing a structure in conjunction with detection of a length of the sheet of paper in the main scanning direction in the serial printer according to the embodiment of the present invention. A switching lever 10 is rotatably arranged on the left end side in the main scanning direction of carriage 1. Switching lever 10 has a shape obtained by cutting a cylinder along a plane angled with respect to the axis. An abutting piece 1d protruding from a left side surface of carriage 1 abuts against an inclined surface 10a. The rotation shaft of switching lever 10 is arranged in parallel with the main scanning direction, which is the moving direction of carriage 1. Abutting piece 1d of carriage 1 abuts against a portion of inclined surface 10a which is displaced from the rotation shaft of switching lever 10. In addition, gear portion 10b is formed at the left end portion of switching lever 10. The movement of guide plate 54 which is movably arranged on feeding tray 52 is transmitted to gear portion 10b through a transmitting mechanism (not shown). In other words, as shown in Fig. 2, guide plate 54 is movably provided on the upper surface of feeding tray 52 over a prescribed scope in the main scanning direction, and guide plate 54 abuts against a side surface parallel with the feeding direction of the sheet of paper placed on the upper surface of feeding tray 52 (the direction perpendicular to the main scanning direction). Therefore, guide plate 54 moves in the main scanning direction on the upper surface of feeding tray 52 along the length of the sheet of paper to be fed in the main scanning direction. The movement of guide plate 54 is converted to rotational movement for example by a rack gear fixed to guide plate 54 and an intermediate gear which mates therewith. Then, the intermediate gear is directly, or indirectly through another gear, mated with gear portion 10b of switching lever 10, so that switching lever 10 rotates with movement of guide plate 54. Upon rotation of switching lever 10, the abutting position of inclined surface 10a of switching lever 10 and abutting piece 1d of carriage 1 in the direction of rotation shaft of switching lever 10 (the main scanning direction) changes. As a result, the moving scope of carriage 1 in the left end direction changes. Fig. 14A is a flow chart showing a process of detecting a length of the sheet of paper in the main scanning direction at the controlling portion of the above mentioned ink-jet printer. CPU 21 forming the controlling portion of the serial printer according to the present invention detects an amount of movement of carriage 1 in the left end direction based on read data of paper width detecting portion 5c of timing fence 5 from reading sensor 8. CPU 21 then determines the length of the sheet of paper in the main scanning direction which has been set on feeding tray 52 based on the detection result. CPU 21 then compares the determination result with the size of the image data input from host apparatus 29, and determines if the set sheet of paper corresponds to the size of the image data. Further, CPU 21 determines a reciprocating scope in the main scanning direction of carriage 1 for image formation based of the determination result of the length in the main scanning direction of the sheet of paper which has been set on feeding tray 52. More specifically, when the image data is input from host apparatus 29 (s11), CPU 21 drives motor 30 to move carriage 1 in the left end direction (s12). At the time, CPU 21 counts the white images in the read data from reading sensor 8 while driving motor 30 (s13) and, determines the abutting position of abutting piece 1d of carriage 1 and inclined surface 10a of switching lever 10 based on the count value (s14). Then, CPU 21 detects the size of the sheet of paper which has been set on feeding tray 52 based on the determination result (s15). CPU 21 compares the detection result with the size of the image data in the main scanning direction input from host apparatus 29 (s16) and, when both do not match (s16, No), it displays a message instructing setting of the sheet of paper corresponding to the image data size on feeding tray 52 on display 31b of operating panel 31 (s17), reverses motor 30 by a prescribed amount (s18), and then returns to step s12. If the detection result matches the image data size in step s16 (s16, Yes), CPU 21 outputs driving data of the head in accordance with the image data input form host apparatus 29 to head driver 27 and performs the image formation process (s19). The above described process enables the size of the sheet of paper which has been set on feeding tray 52 to be detected using timing fence 5 and reading sensor 8 provided in the serial printer for detecting movement of carriage 1. Then, the image formation process is performed only when the detection result matches the image data input from host apparatus 29. Thus, the sheet of paper which is smaller than the image data size is set on feeding tray 52. As a result, the problem associated with the taint damage is preliminary prevented, which is caused to the apparatus and the sheet of paper by ink emitted against the portion with no sheet of paper in accordance with the image data from the ink cartridge mounted on the carriage 1. In addition, the image data input from host apparatus 29 to CPU 21 of the serial printer is generated in host apparatus 29 by an operator who sets the sheet of paper to the serial printer. Generally, the image data size input from host apparatus 29 matches the paper size set on the feeding tray 52. Then, when the detection result matches the image data size in s16 (s16, Yes), the reciprocating scope of carriage 1 in the main scanning directions at the time of image formation process is set in accordance with the paper size detected by s15, as shown in Fig. 14B (s21), so that the image formation process is performed (s22). Further, as the abutting position of inclined surface 10a of switching lever 10 and abutting piece 1d of carriage 1 successively changes in accordance with the rotational amount of switching lever 10, even when there are printing sheets of paper with different sizes in the serial printer, the size of each sheet of paper can correctly be detected. It is noted that, taking into account the fact that carriage 1 is moved to the right end portion before the image formation process is started and then it is further moved backed to the left end portion for image formation process, it is considered efficient to perform the process of detecting the height of the ink cartridge shown in Fig. 12 when carriage 1 is moved to the right end and then the process of detecting the length of the sheet of paper in the main scanning direction shown in Fig. 14A when carriage 1 is moved to the left end. In addition, in the process of detecting the height of the ink cartridge shown in Fig. 12 and in the process of detecting the length of the sheet of paper in the main scanning direction shown in Fig. 14A, during movement of carriage 1 driving power smaller than that for image formation process is supplied, so that any impact caused when protrusion 1c or abutting piece 1d of carriage 1 abuts against stopper 7c or inclined surface 10a of switching lever 10 is reduced. As a result, malfunction or damage of the apparatus is prevented. Further, in timing fence 5, a color region which can be identified by reading sensor 8 is formed between printing region 5a and each of height detecting region 5b and paper width detecting region 5c. Thus, during the process of detecting the height of the ink cartridge and the process of detecting the length of the sheet of paper in the main scanning direction, it is correctly recognized that reading sensor 8 is brought into a position directly facing each of height detection region 5b and paper width detecting portion 5c, and operating state of operating lever 7 or guide plate 54 is not erroneously detected. In addition, in steps s8 and s17 in Figs. 12 and 14A, alert data may be output to the host apparatus which has output the image data. The present invention can also be applied to detection of a set condition for image formation other than the height of the ink cartridge and the length of the sheet of paper in the main scanning direction.

Claims: A serial printer comprising: a carriage (1) reciprocating in main scanning direction; a reading sensor (8) mounted on said carriage (1); a timing fence (5) arranged in the printer along said main scanning direction; a controlling portion (9) detecting a set condition for image formation in accordance with read data of said timing fence (5) from said reading sensor (8) for controlling image formation; and a mechanism (1c, 1d, 7, 10) preventing movement of said carriage (1) in said main scanning direction in accordance with said set condition for image formation. The serial printer according to claim 1, wherein said mechanism (1c, 7) preventing movement of said carriage (1) in said main scanning direction includes: an operating lever (7) arranged on one side surface of said serial printer and provided with a stopper (7c) on a circumferential side of a base (7a) in a disc-like shape; and a protrusion (1c) provided in said carriage (1), and wherein rotation of said operating lever (7) abuts said stopper (7c) against said protrusion (1c). The serial printer according to claim 2, wherein said operating lever (7) further includes a gear portion (7e) provided on said circumferential side of said base (7a) in said disc-like shape, said serial printer further includes a slide shaft (4) having a center axis displaced from that of a rotation shaft (4b) having one end fixed to an adjust gear (4a) mating with said gear portion (7e), and said carriage (1) further includes a bearing (1a) provided on a back side of said carriage (1) and to which said slide shaft (4) is fitted. The serial printer according to claim 2, wherein said controlling portion (9) determines if a sheet of paper is a plain sheet or a thick sheet in accordance with read data of said timing fence (5). The serial printer according to claim 4, wherein said controlling portion (9) performs an image formation process when said determination result matches a designated set condition. The serial printer according to claim 1, wherein said mechanism (1d, 10) preventing movement of said carriage (1) in said main scanning direction includes a switching lever (10) arranged on one side surface of said serial printer and having a surface inclined by a prescribed angle with respect to a direction of axis, and an abutting piece (1d) provided in said carriage (1). The serial printer according to claim 6, wherein said controlling portion (9) determines a size of a sheet of recording paper in accordance with read data of said timing fence (5). The serial printer according to claim 7, wherein said controlling portion (9) performs an image formation process when said determination result matches a designated set condition. The serial printer according to claim 1, wherein said controlling portion (9) makes a driving force of said carriage (1) at a time of movement to one end side smaller than a driving force of said carriage (1) at a time of image formation. A method of controlling a serial printer including a carriage (1) reciprocating in a main scanning direction, a reading sensor (8) mounted on said carriage (1), a timing fence (5) arranged in said main scanning direction, and a mechanism (1c, 1d, 7, 10) preventing movement of said carriage (1) in said main scanning direction in accordance with a set condition for image formation, said method comprising the steps of: detecting said set condition for image formation in accordance with read data of said timing fence from said reading sensor (8); and controlling image formation based on said detection result. The method of controlling the serial printer according to claim 10, wherein said step of detecting said set condition for image formation includes the step of determining if a sheet of paper is a plain sheet or a thick sheet in accordance with the read data of said timing fence (5). The method of controlling the serial printer according to claim 11, wherein said step of controlling said image formation includes the step of performing said image formation process when said determination result matches a designated set condition. The method of controlling the serial printer according to claim 10, wherein said step of detecting said set condition for image formation includes the step of determining a size of recording paper in accordance with read data of said timing fence (5). The method of controlling the serial printer according to claim 13, wherein said step of controlling said image formation includes the step of performing said image formation process when said determination result matches a designated set condition. A serial printer in which the movement of a reciprocating carriage is inhibited according to an image formation set condition (e.g. paper thickness/width) which is detected by a sensor on the carriage reading the carriage position along its path of reciprocal movement.

Inventors: HAYASHIYAMA SHUNICHI, HORINAKA HAJIME, IEMURA HIROTOSHI, KIMURA MASAHARU, OCHI NORIHIRO, UEDA ATSUSHI, HAYASHIYAMA, SHUNICHI, HORINAKA, HAJIME, IEMURA, HIROTOSHI, KIMURA, MASAHARU, OCHI, NORIHIRO, UEDA, ATSUSHI
Applicants: SHARP KK, SHARP KABUSHIKI KAISHA
Application year: 2000
Main classification: B41J29
IPC codes: B41J2, B41J25, B41J19, B41J29