Cannot print with enclosure door closed

This looks like duplicate of Trouble printing with enclosure v1.1 - #14 by PhilR