Gear and pulley of roller