fix printer in error state on windows