A maintenance device for an inkjet cartridge that cleans a print head of the cartridge. The maintenance device has a sled and a cam, which allow an end of a wiper holder to move up and down. As a cartridge pushes the sled, a sliding pin extended from the wiper holder moves in an L-shaped slit of the sled, allowing the end of the wiper holder to move upward. After the cleaning of the print head, the cartridge pushes the cam downward to move the end of the wiper holder downward.