Skip to content

Commit

Permalink
cups-browsed, driverless: Correct attributes of get-printer-attribute…
Browse files Browse the repository at this point in the history
…s IPP request.
  • Loading branch information
tillkamppeter committed Feb 11, 2019
1 parent 6160b81 commit 5259bb7
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
7 changes: 7 additions & 0 deletions NEWS
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,13 @@ NEWS - OpenPrinting CUPS Filters v1.22.0 - 2019-01-18

CHANGES IN V1.22.1

- cups-browsed, driverless: When polling the printer's
capabilities via get-printer-attributes IPP request for
driverless printing, use the attributes "all" and
"media-col-database". Without "all" some printers do not
report "urf-supported" and without "media-col-database" not
all paper size and marging info gets reported (Issue #22,
Pull request #86, CUPS issue #5484).
- braille: Document how to rework output before
embossing. Thanks to Samuel Thibault for this patch (Pull
request #90).
Expand Down
4 changes: 1 addition & 3 deletions utils/cups-browsed.c
Original file line number Diff line number Diff line change
Expand Up @@ -3846,9 +3846,7 @@ get_printer_attributes(const char* uri) {
char valuebuffer[65536];
static const char * const pattrs[] =
{
"job-template",
"printer-defaults",
"printer-description",
"all",
"media-col-database"
};
/* Request printer properties via IPP to generate a PPD file for the
Expand Down
4 changes: 1 addition & 3 deletions utils/driverless.c
Original file line number Diff line number Diff line change
Expand Up @@ -479,9 +479,7 @@ generate_ppd (const char *uri)
int i, fd, bytes;
static const char * const pattrs[] =
{
"job-template",
"printer-defaults",
"printer-description",
"all",
"media-col-database"
};

Expand Down

0 comments on commit 5259bb7

Please sign in to comment.