Call to cupsGetDestMediaDefault always returns Letter

Bug #1921527 reported by Jim Orcheson
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
cups (Ubuntu)
New
Undecided
Unassigned

Bug Description

The following always returns size of Letter regardless of what the default is set to at localhost:631. This is the case for multiple printers and printer manufacturers.

cups_size_t size;
int count = cupsGetDestMediaDefault(CUPS_HTTP_DEFAULT, m_dest, m_info, 0, &size);

Ubuntu 20.04
CUPS 2.3.1-9ubuntu1.1
gcc 9.3.0

For driverless printers, the PPD file shows the correct default.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.