perfect function doesn’t exis- 👇
@peter, it's still there in (at least) current Linux.
On a status check, “lp0 on fire” (for appropriate values of 0) may be logged; on opening the device file, “lp0 printer error” will be logged instead given the same error condition. It's specific to an error condition reported via the 8255 status port.