diff options
author | wendyp <none@none> | 2007-04-16 14:11:05 -0700 |
---|---|---|
committer | wendyp <none@none> | 2007-04-16 14:11:05 -0700 |
commit | 22a914219d15da040a4bf15ae1df9941858a46aa (patch) | |
tree | 31c6da78aef73c06162e15be3390d3dd7cfb6c66 /usr | |
parent | db624ce013cc3983ae40c8ffacba74217927c91c (diff) | |
download | illumos-gate-22a914219d15da040a4bf15ae1df9941858a46aa.tar.gz |
6533900 lpstat should tell the same lies as it always has
Diffstat (limited to 'usr')
-rw-r--r-- | usr/src/lib/print/libpapi-lpd/common/printer.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/usr/src/lib/print/libpapi-lpd/common/printer.c b/usr/src/lib/print/libpapi-lpd/common/printer.c index af538c62c6..653540f9de 100644 --- a/usr/src/lib/print/libpapi-lpd/common/printer.c +++ b/usr/src/lib/print/libpapi-lpd/common/printer.c @@ -20,7 +20,7 @@ */ /* - * Copyright 2006 Sun Microsystems, Inc. All rights reserved. + * Copyright 2007 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. * */ @@ -83,6 +83,12 @@ papiPrinterQuery(papi_service_t handle, char *name, PAPI_ATTR_APPEND, "printer-uri-supported", buf); } + /* Set printer accepting: mimic prepapi behavior */ + if ((p = *printer) != NULL) + papiAttributeListAddBoolean(&(p->attributes), + PAPI_ATTR_REPLACE, + "printer-is-accepting-jobs", PAPI_TRUE); + } return (status); |