https://3dtoday.ru/blogs/egorel/avtomaticheskoe-vyklyuchenie-printera-easy-metod