Lexmark XM1242
From the home screen, touch Settings > Device > Restore Factory Defaults.
In the Restore Settings menu, select the settings that you want to restore.
Touch RESTORE.
Follow the instructions on the display.