CAPS Universe documentation  1.0.4
All you need to know to be successful
capsprninfo

A small tool intended for developers. Retrieves the printer's IEEE1284 ID or its current status (and decodes the bits of the returned byte) and can trigger a soft reset of the printer (useful feature while the driver development is ongoing…).

Usage:

$ capsprninfo status /dev/usb/lp0
Status: 0x38
Busy: no (e.g. idle)
ACK: 0
Paper: empty
PSELECD: yes
Error: no