On a system without graphical interface access, is there a way to update the settings on '/proc/sys/dev/parport/parport0', when a printer connected to the parallel port is disconnected, and another printer is connected in its place?
Issue
The requirement is to detect the parallel printer settings dynamically from '/proc/sys/dev/parport/parport0', when a printer connected to the parallel port is disconnected, and another printer is connected in its place. The graphical interface is not accessible on the system.
Environment
Red Hat Enterprise Linux
Only terminal interface (non-graphical) available.
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
