Line printer apparatus

Abstract: A line printer apparatus with which a printing control operation is carried out by using printing mechanisme (100) and printing operation control unit (21, 22, 24) in which the reversal of the motion of a printing unit is carried out in synchronization with the feeding of a paper (8) to be printed. The apparatus includes : a decision unit for deciding whether or not a shuttle (3) carrying the printing unit should be stopped during the reversal of the motion in accordance with printing information supplied to a unit for controlling the driving of the shuttle (3) and the condition of feeding of the paper (8) ; reversing motion stopping means for stopping the reversing motion of the printing unit and holding the stopped state by supplying reversing stopping information to the printing operation control means when a paper feeding time of the paper (8) to be printed is greater than the time of the reversing motion of the printing unit ; and releasing means for releasing the stopping of the reversing motion of the printing unit in relation to the timing of termination of paper feeding of the paper to be printed and restarting the printing from a printing starting position. Therefore, the printing operation is restarted immediately after a termination of a paper feeding in operation even when the time of the paper feeding is longer than the time of reversing motion of the printing unit.

Description: BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a dot matrix line printer, and more particularly, to a line printer to which a pulse excitation is applied and a printing head is scanned horizontally to print with a high speed and an enhanced efficiency and the noise and vibration thereof is absorbed. 2. Description of the Related Art Wire-dot line printers are widely utilized in the field of data-processing devices, computers or telecommunication utilities. In this type of printer, a plurality of wire-dot printing heads are mounted to a shuttle at an appropriate distance, and the shuttle is moved at regular intervals of the head and the printer prints out Chinese characters or other characters for a plurality of lines at one time. When a printing of one line is completed, a print paper is fed for a single line spacing, the movement of the shuttle is reversed to print the next line, and thus by repeating such operation, lines can be printed one-by-one. Accordingly, a drive unit is provided in the shuttle to cause a reciprocal motion of the shuttle. In the known prior art a shuttle drive unit for the above-described line printer is constituted by a direct-current linear motor arranged in the shuttle as a driving means and a drive signal is input to the linear motor from the driver unit to drive the linear motor. Further, the driver control means is formed by microprocessors to control the driver unit. A sensor is provided for detecting the position of the shuttle in the printer, which feeds back the position signal to control the driver control means. The above-described driver control means controls the driver unit to enable the shuttle to implement the following two operations. That is, first, the operation of the shuttle while the line printer is printing; i.e., the shuttle is made to travel at a constant velocity in two directions, and, second, the motion of the shuttle from one print position to the following print position; that is, a reversal of the motion, is carried out during a time interval of from the time when the constant speed travel in one direction is finished, to the time when the next constant speed travel is commenced. This control causes a drive signal to be output from the driver to a linear motor of the shuttle and printing by the printer is enabled by the reciprocal motion of the shuttle. The printer conventionally carries out the printing in accordance with information transferred from a host computer. Thus, the printer can execute printing for one line only when at least one line of printing information is stored in a buffer memory of the printer. Therefore, if the timing when one line of printing information stored in the buffer is completed coincides with the timing of the reciprocal movement of the shuttle, the shuttle can implement printing by a forward movement and a backward movement. When these timings deviate from the normal routine, due to circumstances beyond control, printing can not be implemented even if the shuttle is in motion. That is, even when the shuttle starts to travel, if one line of printing information is not yet stored, storing of the printing information in the printer is completed during the travel of the shuttle motor unit. As a result, printing of that information can not be implemented during the travel of the shuttle and during the next travel of the shuttle, the printing based on the printing information is implemented, and under these circumstances the overall printing speed is reduced. For example see JP-A-61/54971. Further, when printing is implemented by a printer, sometimes a comparatively longer paper feed time is necessary, and in this case, an unnecessary typing by the reciprocal movement of the shuttle is carried out. SUMMARY OF THE INVENTION Therefore, in accordance with the present invention, there is provided a line printer apparatus with which a printing control operation is carried out by using printing mechanism and printing operation control means in which a reversing motion of a printing unit is carried out in synchronization with a feeding of a paper to be printed, the apparatus including: decision means for deciding whether or not printing unit should be stopped during the reversing motion in accordance with printing information supplied to means for controlling the driving of the printing unit and the condition of feeding the paper; reversing motion stopping means for stopping the reversing motion of the printing unit and holding the stopped state by supplying reversing motion stopping information to the printing operation control means when a paper feeding time of the paper to be printed is greater than the time of the reversing motion of the printing unit; and releasing means for releasing the stopping of the reversing motion of the printing unit in relation to the timing of termination of paper feeding of the paper to be printed and restarting the printing from a printing start position; whereby the printing operation is restarted immediately after a termination of a paper feeding operation even when the time of the paper feeding is longer than the time of reversing motion of the printing unit. In accordance with the present invention, when printing information is not input or a print out thereof is not necessary, the decision means of the driver control means decides to stop the motion of a shuttle carrying the printing unit and the stopping means causes the driver to output a shuttle drive signal for driving the shuttle to press onto one of dampers arranged against the shuttle to hold the shuttle in the stopped state. Therefore, the shuttle is maintained in the stopped state while the paper is being fed. The printing can be carried out after a feeding of the paper is terminated and a printing information is supplied. For a more precise definition of the presently claimed invention, reference should be made to the claims. BRIEF DESCRIPTION OF THE DRAWINGS Figure 1A is a perspective view of a line printer to which the present invention is applied; Fig. 1B is a perspective view of a printing head in the line printer of Fig. 1A; Fig. 2 illustrates the motion of the printing head with respect to the paper to be printed; Fig. 3 illustrates the timings of the operation of a prior art line printer; Fig. 4 illustrates the motion of the printing head of a prior art line printer; Fig. 5 is a schematic block diagram of a line printer apparatus according to an embodiment of the present invention; Fig. 6 shows the structure in the line printer apparatus of Fig. 5, to illustrate the mechanism for driving the shuttle; Fig. 7 illustrates the operation of the apparatus of Fig. 5; Figs. 8, 9, 10 and 11 are flow charts of the operation of the apparatus of Fig. 5; Fig. 12 shows waveforms of the output signals of the position sensor; Fig. 13 shows waveforms of the output of the sensor output and the current of the constant speed motor; Fig. 14 shows waveforms for reversal control; Fig. 15 shows waveforms for stopping control; Fig. 16 illustrates the operation of the apparatus of Fig. 5 from one viewpoint. DESCRIPTION OF THE PREFERRED EMBODIMENTS Before describing the preferred embodiments of the present invention, the general structure and operation of a line printer to which the present invention is applied, and the operation of a prior art line printer, are described with reference to Figs. 1A, 1B, 2, 3, and 4. Figure 1A is an overall perspective view of a line printer to which the present invention is applied. The line printer includes a shuttle 3, a printing head 4, a linear motor 30 for driving (shown in Fig. 6), an ink ribbon 5 which is delivered between the printing head 4 and a paper 8 by ink ribbon feeders 51 and 52, a platen 6 which is mounted against the printing head 4 through the paper and is rotatably driven by a gear 61 and a timing belt 62 at an end thereof. A left damper 31 and a right damper 32 are arranged at both sides of the shuttle 3. The line printer also includes a paper feed mechanism 7 which includes a motor 102 (shown in Fig. 5A) coupled with a gear 73 through a gear 71 and a timing belt 72 to rotate a tractor shaft 74. The paper feed mechanism 7 drives a platen 6 and a tractor 81 to feed a paper 8 to be printed. A tractor 81 is mounted on the upper part of the platen 6 and is associated with a sprocket hole 811 of the paper 8 to feed the paper 8 in an upward direction. Frames 96 and 97 support each part of the paper feed mechanism 7 and a guide shaft 91 is arranged between the frames 96 and 97 to operate as a mobile guide of the printing head 4. A guide roller 92 is arranged at the rear part of the printing head 4 to slide on a base plate 93. The linear motor is comprised of a flat coil mounted at the printing head side and a permanent magnet fixed on a base plate between the frames 96 and 97. A reversing motion mechanism, which is coupled with a counter-balancer for balancing the printing head 4, is arranged to reverse the motion of the printing head and balancer. The above-noted reversing mechanism is disclosed in Japanese Unexamined Patent Publication (Kokai) No. 62-93567. As shown in Fig. 1B, the printing head 4 has a plurality of print blocks or printing elements 411 through 418 on each of which two rows of 6 wire-dots are arranged at a slant. Therefore, printing by 12 wire-dots in the vertical direction is carried out. The paper to be printed is fed by the platen 6 which is driven by the paper feed mechanism 7, and the tractor 81. The printing is carried out by the print head 4 through the ink ribbon 5. The printing head 4 is guided by a guide shaft 91 and a guide roller 92 and is moved rightward or leftward by a linear motor. A wire-dot of the printing head 4 strikes the platen 6 through the ink ribbon 5 and carries out printing of a dot on the paper. As shown in Fig. 2, provided in the printing head 4 are a sequence of wire-dot type printing elements 411, 412, ... 418 having equal longitudinal spacing (ℓ) for carrying out printing on the paper 8. The printing elements 411, 412, ... 418 move for the lateral length ℓ along the lateral direction of the paper 8 and carry out printing on the paper 8. Each of the printing elements 411, 412, ... 418 carries out printing on the paper 8 for the lateral length ℓ. Thus the length ℓ is a stroke of the printing head 4 which is equal to the lateral length of printing by one printing element on the paper. As shown in Fig. 2, from the position (1) of scan and print starting to the position (2) of forward scan and print termination, a forward scan and print is carried out by the series of printing elements on the paper. From the position (2) of the forward scan and print termination to the position (3) of the backward scan and print termination, a backward scan and print is carried out by the series of printing elements on the paper. The position (3) is the same as the position (1). Figure 3 illustrates the operation of timings of a prior art line printer. The upper part of Fig. 3 shows the timing chart for printing, the shuttle reversal motion, and the paper feed. In this case the reversal motion and the paper feed is carried out between the forward motion and the backward motion and the reversing time is equal to the paper feed time. The lower part of Fig. 3 shows the case when the paper feed time is longer than the reversing time. Figure 4 illustrates the motion of the printing head of a prior art line printer. In the left part of Fig. 4, there is shown the change with time of the position of the shuttle, while in the right part of Fig. 4, there is shown the corresponding change of the position of the paper. In the right part of Fig. 4, the motion of the paper is illustrated in which the paper feed operation and paper feed stopping are carried out alternately. As shown in the left part of Fig. 4, a forward motion, a reversing motion, a backward motion, and another reversing motion of the shuttle are carried out. The line printer apparatus according to an embodiment of the present invention is shown in Fig. 5. The structure in the line printer apparatus of Fig. 5 for illustrating the mechanism for driving the shuttle is shown in Fig. 6. A schematic block diagram of a line printer apparatus according to an embodiment of the invention is shown in Fig. 5. In the printing mechanism 100, 8 is a paper to be printed, 102 is a paper feed motor in a paper feed mechanism which delivers the paper for a predetermined line spacing, 103 is a pin driving magnet which drives a plurality of print units (not shown) for printing by a wire dot method, to print thereof. A shuttle motor in a shuttle mechanism 3 causes a reciprocating motion of the printing unit through the section equivalent to the print interval. The printing unit prints one line for each forward and each backward path respectively. Shown in Fig. 5A is a platen 6, an ink ribbon 5, and a position sensor 107 which detects a print start position, a reversing motion termination position, a print termination position and a reversing motion start position. As described above, the printing mechanism 100 forms a line printer with which a reciprocating printing is carried out by wire dots. The printer control units are provided with a respective mechanism controllers No. 1 (21) and No. 2 (22). The mechanism controller 21 includes a shuttle control portion 211 for controlling the operation of the shuttle motor (linear motor). Each output signal of the position sensor 107, a printing restart control unit 222 and a reversal control unit 212 is delivered to the shuttle control portion 211. A printing magnet control portion 24 controls the operation of the pin driving magnet 103. A paper feed control portion 221 controls the operation of the paper feed motor 102 and the output signal of the paper feed control portion 221 is applied to the printing restart control portion 222. The interface control board 23 includes an interface control unit 231, an interface 232, a data control unit 233 and a memory 234. The interface board 23 controls the whole operation of the mechanism controllers 21, 22 and the printing magnet control portion 24 as a printer control means. When a line of printing is completed, both printing control data containing information indicating the following line to be printed and print information in which a printing code etc., are set, are delivered. The interface control board 23 forms predetermined print data, based upon the print code and transmits print control data to the reversal control portion 212. To illustrate the mechanism for driving the shuttle, the structure in the line printer apparatus of Figs. 5A, 5B and 5C is shown in Fig. 6. In Fig. 6, the shuttle 3 is moved reciprocally between a pair of dampers 31, 32 by a d.c. linear motor 30, and the motor 30 is actuated by a driving signal from a driver unit 108 supplied to the motor winding. A position sensor 107 mounted on the upper part of the shuttle mechanism 3 detects the position of the shuttle. The driver unit is controlled by a printer control unit composed of three microprocessors 21', 22', 23'. The printer control unit operates as a driver control means for controlling the driver unit and as a control means for controlling the whole printer apparatus, and operates as both a decision means and a stopping means. A first microprocessor 21' compares a command of the third microprocessor 23' receiving printing data from a host computer, with the position information of the shuttle detected by the position sensor 107, to generate the following three kinds of control signals in the driver unit (Fig. 12). Signal (1) represents the operation of the shuttle where the printer is now printing, that is, the shuttle is moved in one direction and in the counter direction at a constant speed. Signal (2) represents the operation of the shuttle, the position of which responds to an interval between one print of the printer and the following print, that is, the shuttle travels in a reverse direction from a time when the shuttle has finished a constant speed travel in one direction to a time when it starts a constant speed travel in the counter direction. Signal (3) represents the operation of the shuttle when the printer is receiving the printing information or when the printer is carrying out a paper-feed, that is, the shuttle is pressed onto one of the dampers and is stopped. The driver receives the above-described three kinds of control signals and supplies the following driving pulse of the linear motor to the coils of the linear motor. The operation of the apparatus of Figs. 5A, 5B and 5C will be illustrated in Figs. 7 to 16. The waveforms of the driving pulses are illustrated in Figs. 13 to 15. Pulse (1): Since the driver unit receives the signal (1) and the shuttle is travelling in one direction or in the counter direction at a constant speed, the driver generates pulses for acceleration or deceleration as the position of the shuttle detected by the sensor is fed back. In this case the length of the pulse (T1, ... T4) is adjusted so as to keep the speed of the shuttle constant. This is regarded as a constant speed control. Figure 13 shows the waveforms of the standard pulse, the output of the position sensor and the current supplied to the motor to obtain a constant speed. Pulse (2): Since the driver receives a signal (2) and the constant speed motion of the shuttle is reversed from one direction to the counter direction, the deceleration pulse is generated until the shuttle reaches the predetermined speed in the other direction. This is regarded as a reversal control. Figure 14 shows the waveforms of signal (1) or (3) of the position sensor, the current supplied to the motor for a reversal motion and the signal (2) of the position sensor. In the figure, T R is regarded as a time of excitation for reversal and if the command for a paper feed finish is sent from the microprocessor 22' and a command for a following printing is received, the reversal motion control is carried out, otherwise the stopping control is carried out for a predetermined interval of time. The point P Z is a point of zero speed or stoppage. Pulse (3): In order that the driver may receive a signal (3) and the shuttle may be stopped, an acceleration pulse is generated so that the shuttle may be pressed onto the damper mounted at either end of the printing region. This is regarded as a stopping control. Figure 15 shows the waveforms of the pulse supplied to the motor for a constant speed. The upper part is the waveform of the position sensor signal (1) and the lower part is that of the position sensor signal (3). These are selected according to whether the shuttle is stopped at an end of the forward motion or at the end of a backward motion. For example, the necessary data for the paper feed and the motion of the shuttle are as follows. The reversal time is 23 ms, the time of constant speed control is 177 ms and the time of the paper feed is 23 ms . In this case, the time of the paper feed contains the feed time and the stationary time for static stopping. In accordance with the present invention, the third microprocessor generates a stopping signal and sends it to the first and second microprocessors. The flow chart of the operation of the third microprocessor in Fig. 6 is shown in Fig. 8. When printing data is obtained, a command for repeating a regular travel and reversal motion is sent to a first microprocessor. When there is no following printing data, the first microprocessor is so instructed that after a constant speed control of the shuttle has been completed, a stopping control is carried out. Whenever otherwise, when the first and second MPU receive a paper feed instruction from a host computer, a paper feed is carried out while the shuttle is being reversed, if the paper feed time is shorter than the reversal time of the shuttle. Contrary to this, if it is decided that the paper feed time is longer than the reversal time of the shuttle, the shuttle is stopped after a constant speed control of the shuttle. The stopping time is regarded as the time responsive to the time interval calculated necessary for the paper feed. When receiving the above-described instructions, the first and second processors generates the above-described instruction signal (1) to (3), and the driver 14 supplies the corresponding pulse (1) to (3) to the linear motor coil (Fig. 12). The operation of the apparatus of Fig. 5 can be illustrated as shown in Fig. 16 as a time chart. The relationship between the command of host computer and the response of MPU 1 to 3 will be clarified in a simple comparison form. The drive unit of the shuttle in the line printer in accordance with the present invention is such that the shuttle may be stopped while awaiting printing data, without which it will be of no use to drive the shuttle, or during a time of paper feeding. Therefore, it is possible to enhance the printing speed of the line printer. The operation of the shuttle control portion, the operation of the paper feed control portion, and the operation of the interface control will be described with reference to Figs. 9 to 11. The operation of the shuttle control portion 211 will be described with reference to Figs. 9A and 9B. These figures show the flow chart of the shuttle operation in accordance with the present invention, especially the operation of the shuttle and the control of the printer control unit. When the power supply is turned ON in the printing mechanism 100 and the mechanism printer controller 21 and 22 starts to run (S1), initialization is carried out and printing starts (S2). Then, whether or not a print command from the interface control board 23 has been sent (S3) is determined. This determination is made by viewing a command/status exchange area. When Yes, the step proceeds to a constant speed motion control (S4). In this case, the output of the position sensor 107 is input from the In-Port and the control signal of the shuttle control portion 211 is sent to the shuttle mechanism 3 via a power amplifier 108 from the Out-Port of the shuttle control portion 211, to drive the shuttle motor. For example, a PLL control (Phase locked loop) may be utilized as the constant speed motion control. Then, when Yes, paper feed data is sent to the paper feed control portion 221 using the signal from a command/status exchange area 236 (S6). The step S6 is expressed as SEND PAPER FEED COMMAND TO PAPER FEED CONTROL PORTION. Then, the flow proceeds to a motion reversal control (S7) where a motion reversal control is carried out for a predetermined time. When it is detected that the predetermined time has elapsed (S8), a paper feed termination command is sent from the paper feed control portion 221 and when Yes, the flow proceeds to the next step S10. When No, the flow proceeds to the input of S9 through the step S13 (Motion stop control). When the paper feed termination command is sent from the paper feed control portion 221 for a predetermined time (that is, for the time interval until the shuttle reaches zero speed) and a print command from the interface control board 23 is still received (S11), the flow proceeds to the step S12 (motion reversal control), where the shuttle motor is excited to effect a reversal motion. When No, the flow proceeds to a motion stop control of the excitation (S14) and returns to the input of S11. When step S11 is finished, the flow returns to the output of S3. The operation of the paper feed control portion 221 will be described with reference to Fig. 10. When the power supply is turned ON and the paper feed control motor 102 starts to run (S21), initialization is carried out (S22). Then, whether or not the paper feed command is sent from the shuttle control portion 211 (S23), is determined. When Yes, the flow proceeds to the paper feed control (S24) where, for example, a pulse motor carries out a closed loop control, and the control signal is sent from the Out-Port to the paper feed motor 102 to drive the motor. Then, the flow proceeds to the next step and whether or not the paper feed has been terminated is determined (S25). When Yes, the paper feed termination data is sent to the shuttle control portion 211 (S26) and the output is returned to the output of step S21. The operation of the interface control 231 will be described with reference to Fig. 11. When the power supply is turned ON and the interface unit 231 starts to run (S31), initialization is carried out (S32). Then, whether or not data from a host computer has been received is determined (S33). When the determination is carried out and when Yes, data has been received and the interface circuit 232 is utilized (S34). When data for one row is received, the data receive process is terminated (S35), and when Yes, data is sent to the data control unit 233 and the form for printing is developed by using the data control unit 233 and stored in the data control memory 234 (S36). Then, by utilizing the data transfer circuit 235 data is sent to the printing magnet control portion 24 and the output is sent to the magnet driver 110 to drive the pin driving magnet 103 The flow then proceeds to the step S38 where the print command is sent to the shuttle control portion 211 from the command status exchange area 236. When data is ready at the interface control board 23, the paper feed command and the print command are sent to the paper feed control portion 221 (S39) and the termination status of the print and paper feed is determined (S40). When the termination status is terminated, and when Yes, the output is returned to the output of the initialization (S32). When No, the steps S33, S35 and S40 return to the outputs of S32, S33 and S39, respectively.

Claims: A dot matrix printer comprising: a printing unit (4) carrying a plurality of dot printing elements (411-418) arranged along a print line; drive means (3) for reciprocating said printing unit (4) along said print line, said drive means reciprocating said printing unit between a print section for effecting a dot printing operation and a reversal section arranged at both stroke ends of said print section for reversing the travel direction of said printing unit; stopper means (31, 32) for providing a stopping position of said printing unit (4), said stopper means being arranged at the end of each reversal section; paper feed means (102) for transferring a paper (8) in a direction perpendicular to said print line between the reversal motions of said printing unit (4), said paper feed means transferring the paper (8) for each line at which a dot printing operation can be carried out by said dot printing elements (411-418); first control means (211, 221) for controlling said drive means (3) and said paper feed means (102), said first control means carrying out a constant speed control for controlling said drive means to move said printing unit (4) at a constant speed in the print section, a reversal control for accelerating and decelerating said drive means (3) to carry out a reversal motion of said printing unit in the reversal section, and a stopping control for controlling said drive means to press said printing unit onto said stopper means (31, 32); and second control means (23) for instructing said first control means (211, 221) to stop said reversal control following the constant speed control, when a command is output to said paper feed means for feeding a plurality of lines of the paper (8) continuously while said printing unit (4) is travelling from the print section to the reversal section under the constant speed control by said first control means (211, 221), and to carry out the stopping control of said printing unit (4) after the constant speed control, and for commanding an instruction to said first control means (211, 221) to release the stopping control by said first control means (211, 221) and to start the constant speed control by said first control means (211, 221), in accordance with a timing of termination of the paper feed operation by said paper feed means (102). A dot matrix printer according to claim 1, wherein the transfer time of one line of said paper by said feed means is equal to the reversal time of said printing unit. A dot matrix printer according to claim 1, wherein said stopper means are dampers (31, 32). A dot matrix printer according to claim 1, wherein said drive means includes a linear motor. A dot matrix printer according to claim 1, wherein said stopping control includes shuttle stopping means for generating a shuttle drive signal for driving a shuttle (3) carrying the printing unit until the shuttle presses against a stopper (31, 32) arranged on either side of the shuttle. A dot matrix printer according to claim 5, wherein said shuttle drive signal is in the form of a pulse excitation signal.

Inventors: ABE AKIHIRO, KAMATA AKINORI, TERADA HIROTOMO, YOSHINO SATOSHI, ABE, AKIHIRO, KAMATA, AKINORI, TERADA, HIROTOMO, YOSHINO, SATOSHI
Applicants: FUJITSU LTD, FUJITSU LIMITED
Application year: 1987
Main classification: B41J19
IPC codes: B41J25, B41J19, B41J11