{"action":"created","issue":{"url":"https://api.github.com/repos/apple/cups/issues/5144","repository_url":"https://api.github.com/repos/apple/cups","labels_url":"https://api.github.com/repos/apple/cups/issues/5144/labels{/name}","comments_url":"https://api.github.com/repos/apple/cups/issues/5144/comments","events_url":"https://api.github.com/repos/apple/cups/issues/5144/events","html_url":"https://github.com/apple/cups/issues/5144","id":265760921,"number":5144,"title":"cupsGetDests applies lpoptions while cupsEnumDests does not","user":{"login":"albert-astals-cid-kdab","id":29123807,"avatar_url":"https://avatars2.githubusercontent.com/u/29123807?v=4","gravatar_id":"","url":"https://api.github.com/users/albert-astals-cid-kdab","html_url":"https://github.com/albert-astals-cid-kdab","followers_url":"https://api.github.com/users/albert-astals-cid-kdab/followers","following_url":"https://api.github.com/users/albert-astals-cid-kdab/following{/other_user}","gists_url":"https://api.github.com/users/albert-astals-cid-kdab/gists{/gist_id}","starred_url":"https://api.github.com/users/albert-astals-cid-kdab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/albert-astals-cid-kdab/subscriptions","organizations_url":"https://api.github.com/users/albert-astals-cid-kdab/orgs","repos_url":"https://api.github.com/users/albert-astals-cid-kdab/repos","events_url":"https://api.github.com/users/albert-astals-cid-kdab/events{/privacy}","received_events_url":"https://api.github.com/users/albert-astals-cid-kdab/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-10-16T12:58:48Z","updated_at":"2017-10-19T14:47:54Z","closed_at":null,"author_association":"NONE","body":"It seems to me that calling cupsGetDests applies lpoptions while cupsEnumDests does not.\r\n\r\nI have \r\n$ cat .cups/lpoptions                                                                                                                                                                                                                                           \r\nDest HP_DeskJet_3630_series OutputMode=Photo                                                                                                                                                                                                                                   \r\n\r\nAnd when running the code at [1], i get the output at [2], note how the printouts are exactly the same *except* for the OutputMode being High-Resolution Photo in one and Normal in the other.\r\n\r\nIs this the expected behaviour?\r\n\r\n[1] https://pastebin.com/raw/Pft0Xm0h\r\n[2] https://pastebin.com/raw/akNZPWCP"},"comment":{"url":"https://api.github.com/repos/apple/cups/issues/comments/337931756","html_url":"https://github.com/apple/cups/issues/5144#issuecomment-337931756","issue_url":"https://api.github.com/repos/apple/cups/issues/5144","id":337931756,"user":{"login":"michaelrsweet","id":488103,"avatar_url":"https://avatars0.githubusercontent.com/u/488103?v=4","gravatar_id":"","url":"https://api.github.com/users/michaelrsweet","html_url":"https://github.com/michaelrsweet","followers_url":"https://api.github.com/users/michaelrsweet/followers","following_url":"https://api.github.com/users/michaelrsweet/following{/other_user}","gists_url":"https://api.github.com/users/michaelrsweet/gists{/gist_id}","starred_url":"https://api.github.com/users/michaelrsweet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michaelrsweet/subscriptions","organizations_url":"https://api.github.com/users/michaelrsweet/orgs","repos_url":"https://api.github.com/users/michaelrsweet/repos","events_url":"https://api.github.com/users/michaelrsweet/events{/privacy}","received_events_url":"https://api.github.com/users/michaelrsweet/received_events","type":"User","site_admin":false},"created_at":"2017-10-19T14:47:54Z","updated_at":"2017-10-19T14:47:54Z","author_association":"COLLABORATOR","body":"@albert-astals-cid-kdab cupsEnumDests should be applying the defaults for manually-added queues but won't for remote (discovered) queues that haven't been added yet. Do you have a queue listed in /etc/cups/printers.conf?\r\n"}}
{"actor":{"display_login":"michaelrsweet"}}