lp_getstatus
int lp_getstatus(struct lp_printer *, char *, size_t);
if (lp_getstatus(lp, status, sizeof(status)) == -1) {