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 Desktop
Packages, which is subscribed to cups in Ubuntu.
https://bugs.launchpad.net/bugs/1921527

Title:
  Call to cupsGetDestMediaDefault always returns Letter

Status in cups package in Ubuntu:
  New

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 manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cups/+bug/1921527/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to