An image forming device is provided with a process cartridge having a
image carrying member, a main body including an attaching section to
which the process cartridge is detachably attached, and an image transfer
member to be press-contacted to the image carrying member for image
transfer when the process cartridge is completely attached to the
attaching section. The process cartridge may be configured to apply a
pressing force to the attaching section when the process cartridge is not
completely attached to the attaching section, and the image forming
device may further include a separating mechanism configured to allow the
press-contact between the image carrying member and the image transfer
member when the process cartridge is completely attached to the attaching
section, the separating mechanism operating to separate the image
carrying member and the image transfer member when the pressing force is
applied by the process cartridge to the attaching section.