A library for interfacing IEEE 1284-compatible devices