Public bug reported:

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.

** Affects: cups (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1921527

Title:
  Call to cupsGetDestMediaDefault always returns Letter

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cups/+bug/1921527/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to