A bag-making and packaging machine comprising: sealing jaws configured to perform a transverse sealing operation; a horizontal moving device configured to move the sealing jaws in a horizontal direction; a vertical moving device configured to move the sealing jaws in a vertical direction; and a control unit , wherein the vertical moving device has a rotating shaft capable of forward rotation and reverse rotation, a motor configured to rotate the rotating shaft , and a link mechanism configured to transmit rotational force of the rotating shaft to a support body that supports the sealing jaws such that the support body and the sealing jaws move in the vertical direction, wherein the control unit is configured to perform: a first control that forwardly rotates and reversely rotates the rotating shaft during the time from the start of one transverse sealing operation to the start of the subsequent transverse sealing operation; characterised in that the control unit is further configured to perform: a second control that performs one of one transverse sealing operation and the subsequent transverse sealing operation with a forward rotation of the rotating shaft and the other with a reverse rotation of the rotating shaft , and in that the control unit is configured to selectively perform one of the first control and the second control. sealing jaws configured to perform a transverse sealing operation; a horizontal moving device configured to move the sealing jaws in a horizontal direction; a vertical moving device configured to move the sealing jaws in a vertical direction; and a control unit , wherein the vertical moving device has a rotating shaft capable of forward rotation and reverse rotation, a motor configured to rotate the rotating shaft , and a link mechanism configured to transmit rotational force of the rotating shaft to a support body that supports the sealing jaws such that the support body and the sealing jaws move in the vertical direction, a rotating shaft capable of forward rotation and reverse rotation, a motor configured to rotate the rotating shaft , and a link mechanism configured to transmit rotational force of the rotating shaft to a support body that supports the sealing jaws such that the support body and the sealing jaws move in the vertical direction, wherein the control unit is configured to perform: a first control that forwardly rotates and reversely rotates the rotating shaft during the time from the start of one transverse sealing operation to the start of the subsequent transverse sealing operation; characterised in that the control unit is further configured to perform: a second control that performs one of one transverse sealing operation and the subsequent transverse sealing operation with a forward rotation of the rotating shaft and the other with a reverse rotation of the rotating shaft , and in that the control unit is configured to selectively perform one of the first control and the second control. a first control that forwardly rotates and reversely rotates the rotating shaft during the time from the start of one transverse sealing operation to the start of the subsequent transverse sealing operation; characterised in that the control unit is further configured to perform: a second control that performs one of one transverse sealing operation and the subsequent transverse sealing operation with a forward rotation of the rotating shaft and the other with a reverse rotation of the rotating shaft , and in that the control unit is configured to selectively perform one of the first control and the second control. a second control that performs one of one transverse sealing operation and the subsequent transverse sealing operation with a forward rotation of the rotating shaft and the other with a reverse rotation of the rotating shaft , and in that the control unit is configured to selectively perform one of the first control and the second control. <EOS>