diff options
Diffstat (limited to 'usr/src')
-rw-r--r-- | usr/src/lib/print/libpapi-lpd/common/lpd-job.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/usr/src/lib/print/libpapi-lpd/common/lpd-job.c b/usr/src/lib/print/libpapi-lpd/common/lpd-job.c index dd1a0fb24c..728b7abb48 100644 --- a/usr/src/lib/print/libpapi-lpd/common/lpd-job.c +++ b/usr/src/lib/print/libpapi-lpd/common/lpd-job.c @@ -282,6 +282,17 @@ lpd_add_rfc1179_attributes(service_t *svc, papi_attribute_t **attributes, "rfc-1179-font-s", s); } + /* + * The document format needs to be added, but the control line + * should be added when the filenames are figured out. + */ + s = NULL; + papiAttributeListGetString(attributes, NULL, "document-format", &s); + if (s != NULL) { + papiAttributeListAddString(used, PAPI_ATTR_EXCL, + "document-format", s); + } + return (status); } |