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?

Solution Verified - Updated -

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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content