Patent ID: 8714698

Claim:
An image forming apparatus comprising: a plurality of recording heads having a plurality of nozzle rows to eject liquid droplets and a plurality of nozzle faces provided with the plurality of nozzle rows; a maintenance device to maintain and recover an ejection performance of the plurality of recording heads; a carriage mounting the plurality of recording heads and movable for scanning in a first direction, at least one of the plurality of nozzle rows of the plurality of recording heads offset from at least another of the plurality of nozzle rows in a second direction perpendicular to the first direction; a plurality of cap members to cap the plurality of nozzle faces, at least one of the plurality of cap members being a suction cap reciprocally movable in the second direction to cap each of the plurality of nozzle faces to suck liquid from the plurality of nozzle rows; a plurality of cams to raise and lower the plurality of cap members; a cam shaft mounted with the plurality of cams to rotate the plurality of cams; a feeler member of a semicircular shape mounted on the cam shaft to rotate with the cam shaft; a home position detection device to detect the feeler member to detect a home position of the cam shaft; and a cap position determination device to determine whether the plurality of cap members is at a raised position or a lowered position, wherein the feeler member has a first portion to detect the home position of the cam shaft with the home position detection device and a second portion to determine with the cap position determination device whether the plurality of cap members is at the raised position or the lowered position, and when the cap position determination device determines that the suction cap is at the raised position, the suction cap is lowered to the lowered position before the carriage mounting the plurality of recording heads moves for scanning in the first direction, and when the cap position determination device determines that the suction cap is at the lowered position, the carriage is permitted to move to a print start position.