A device for cleaning out residual ink. The device includes an assembly of a bed and a slide mount. The bed has an oblique rail. The slide mount is equipped with a wiping blade. The slide mount is drivable by an ink cartridge carrier to reciprocally move along the oblique rail on the bed. Accordingly, the wiping blade can move componentially along y-axis to wipe off residual ink remaining on a printhead of the ink cartridge.