次に、前記ステップP7で印刷速度設定器124に入力が有ったか否かを判断し、可であればステップP8で印刷速度設定器124に入力された値を読み込んで印刷速度記憶用メモリM102に上書きしてステップP9に移行する一方、否であれば直にステップP9に移行する。
Next, the determining whether the input is there on the printing speed setting unit 124 in step P 7, a memory for Loading print speed stores the value input to the printing speed setting unit 124 in step P8 If YES If M102 is overwritten and the process proceeds to Step P9, if not, the process immediately proceeds to Step P9.
次に、ステップP26で紙サイズに応じた左側横針装置位置より紙端から横針装置を逃がす距離を減算し、目標とする左側横針装置位置を演算して目標とする左側横針装置位置記憶用メモリM108に上書きした後、ステップP27で紙サイズに応じた右側横針装置位置を、紙サイズに応じた右側横針装置位置記憶用メモリM106から読込む。
Next, in step P26, the distance for releasing the horizontal needle device from the paper edge is subtracted from the left horizontal needle device position according to the paper size, and the target left horizontal needle device position is calculated by calculating the target left horizontal needle device position. after overwriting the storage memory M 108, it reads the right side lay device position according to the sheet size in step P27, from the right side lay device location storing memory M106 in accordance with the sheet size.
つまり、図5のように、左側横針装置12Aが選択された場合、左側横針装置12Aが紙Wの紙サイズに応じた位置に位置付けられた時に第1の左側端部検出器125Aで紙Wの左端部を検出でき、右側横針装置12Bが紙Wの紙サイズに応じた位置から第1の右側端部検出器126Aと第2の右側端部検出器126B間の左右方向の距離L2だけ原点位置に近い右側に位置付けられた時に第2の右側端部検出器126Bで紙Wの右端部を検出でき、逆に、右側横針装置12Bが選択された場合、右側横針装置12Bが紙Wの紙サイズに応じた位置に位置付けられた時に第1の右側端部検出器126Aで紙Wの右端部を検出でき、左側横針装置12Aが紙Wの紙サイズに応じた位置から第1の左側端部検出器125Aと第2の左側端部検出器125B間の左右方向の距離L1だけ原点位置に近い左側に位置付けられた時に第2の左側端部検出器125Bで紙Wの左端部を検出できる。尚、この実施例では、前記距離L1=距離L2で、その値が紙端から横針装置を逃がす距離として設定されている。
That is, as shown in FIG. 5, when the left lateral needle device 12A is selected, when the left lateral needle device 12A is positioned at a position corresponding to the paper size of the paper W, the first left edge detector 125A performs paper feeding. The left end of W can be detected, and the right side needle device 12B can detect the distance L in the left-right direction between the first right end detector 126A and the second right end detector 126B from the position corresponding to the paper size of the paper W. When the right edge portion of the paper W can be detected by the second right edge detector 126B when the right edge device 12B is selected, the second right edge device 12B is selected. Is positioned at a position corresponding to the paper size of the paper W, the right end portion of the paper W can be detected by the first right end detector 126A, and the left side needle device 12A can be detected from the position corresponding to the paper size of the paper W. the first left end detector 125A and the second left-side end portion detector It can detect the left edge of the paper W at the second left side end detector 125B when positioned on the left side near the lateral direction of the distance L 1 by the origin position between 25B. In this embodiment, the distance L 1 = the distance L 2 , and the value is set as a distance for letting the horizontal needle device escape from the paper edge.
尚、上記実施例では、第1の左側端部検出器125Aと第2の左側端部検出器125B間の左右方向の距離L1及び第1の右側端部検出器126Aと第2の右側端部検出器126B間の左右方向の距離L2を同じ値とし、かつ、紙端から横針装置を逃がす距離として説明したが、距離L1を左側横針装置12Aが原点位置に位置付けられた時に第2の左側端部検出器125Bで右側横針装置12Bで位置決めされた紙Wの左端部を検出できる距離とし、距離L2を右側横針装置12Bが原点位置に位置付けられた時に第2の右側端部検出器126Bで左側横針装置12Aで位置決めされた紙Wの右端部を検出できる距離とした場合、従来のように、左側横針装置12Aが選択された場合、左側横針装置12Aが紙Wの紙サイズに応じた位置に位置付けられた時に第1の左側端部検出器125Aで紙Wの左端部を検出でき、右側横針装置12Bが右側の原点位置に退避された時に第2の右側端部検出器126Bで紙Wの右端部を検出でき、逆に右側横針装置12Bが選択された場合、右側横針装置12Bが紙Wの紙サイズに応じた位置に位置付けられた時に第1の右側端部検出器126Aで紙Wの右端部を検出でき、左側横針装置12Aが左側の原点位置に退避された時に第2の左側端部検出器125Bで紙Wの左端部を検出できるようになり、従来のように、一方の横針装置が選択された場合、他方の横針装置を退避位置に退避したままの状態でも紙Wの両端部を検出できるようになる。
In the above embodiment, the left-right direction distance L 1 between the first left end detector 125A and the second left end detector 125B, and the first right end detector 126A and the second right end. The distance L 2 in the left-right direction between the head detectors 126B is assumed to be the same value and the distance from which the horizontal needle device escapes from the end of the paper is described. However, when the left horizontal needle device 12A is positioned at the origin position, the distance L 1 is The second left side edge detector 125B sets the distance at which the left edge of the paper W positioned by the right side needle device 12B can be detected, and the distance L2 is the second when the right side needle device 12B is positioned at the origin position. when the distance can be detected on the right end portion of the sheet W, which is positioned on the left side lay device 12A in the right-side end detector 126B, as in the prior art, when the left side needle device 12A is selected, the left side lay The device 12A is positioned at a position corresponding to the paper size of the paper W. When attached, the first left edge detector 125A can detect the left edge of the paper W, and when the right lateral needle device 12B is retracted to the right origin position, the second right edge detector 126B detects the paper W. If the right side needle device 12B is selected, the right side needle device 12B is positioned at a position corresponding to the paper size of the paper W and the first right side edge detector 126A is used. The right end of the paper W can be detected, and when the left side needle device 12A is retracted to the left origin position, the second left end detector 125B can detect the left end of the paper W, as in the conventional case. When one of the horizontal needle devices is selected, both ends of the paper W can be detected even when the other horizontal needle device is in the retracted position.