Do you have a SAVF or SAVE FILE of your system configuration? The AS/400 should do an auto-configuration of devices. The default as supplied (OS/400 operating system) from IBM is AUTOCONFUGURATION=YES. With autoconfiguration = yes, once a device (workstation, printer…) is connected and powered on, the AS/400 should configure the device as soon as it senses its presence.
The 2301 error is a device configuration error. Have your system/configuration files become corrupted?
I would think if the printer had been working correctly (either manual configuration or automatic configuration) it should continue to do so.
Depending on your system, more recent systems have hot swap and dynamic attributes where the system will recognize changes. Depending on hardware and OS/400 or i5/OS or IBM i version, you may have to re-IPL for the system to recognized any changes or corrections. (you may be able to unplug and plug in and power on the device/printer again after re-IPL-ing the AS/400.