A continuous rotary type filling and packaging machine for filling a container body with liquid contents, and covering the container body filled with the liquid contents with a molded lid, and sealing the container body and the molded lid to produce a sealed container, the filling and packaging machine comprising: a filling device provided with a plurality of filling heads for filling a container with the liquid contents while the container body is rotationally moved by a rotation of a rotating table to which a container placing table for placing the container is attached; a lid supplying device for supplying a molded lid to an upper end opening of the container body filled with the liquid contents and conveyed from the filling device; and a sealing device provided with a plurality of seal heads for sealing the upper end opening of the container body while the container body on which the molded lid is placed rotationally moves with the molded lid to produce the sealed container, and a lifting and lowering means including a lifting and lowering mechanism for a container table on which the container body is placed or for the seal head, and configured to bring the molded lid on the container body and a seal working surface of the seal head into press-contact with each other; characterized by a printing means provided with an identification printing mechanism for printing a filling head number and a seal head number related to the sealed container on the sealed container body during a sealing step by the sealing device, while the sealed container body is in a state in which the seal working surface of the seal head and a top surface of the molded lid of the sealed container are in press-contact with each other and a positional relation between the seal working surface and the sealed container is fixed. a filling device provided with a plurality of filling heads for filling a container with the liquid contents while the container body is rotationally moved by a rotation of a rotating table to which a container placing table for placing the container is attached; a lid supplying device for supplying a molded lid to an upper end opening of the container body filled with the liquid contents and conveyed from the filling device; and a sealing device provided with a plurality of seal heads for sealing the upper end opening of the container body while the container body on which the molded lid is placed rotationally moves with the molded lid to produce the sealed container, and a lifting and lowering means including a lifting and lowering mechanism for a container table on which the container body is placed or for the seal head, and configured to bring the molded lid on the container body and a seal working surface of the seal head into press-contact with each other; characterized by a printing means provided with an identification printing mechanism for printing a filling head number and a seal head number related to the sealed container on the sealed container body during a sealing step by the sealing device, while the sealed container body is in a state in which the seal working surface of the seal head and a top surface of the molded lid of the sealed container are in press-contact with each other and a positional relation between the seal working surface and the sealed container is fixed.