This machine is applied to printing the outer cap bodies of various specifications and models of capsules of capsules in a directional and two-color registration manner.