apple / cups

Apple CUPS Sources
https://www.cups.org
Apache License 2.0
1.94k stars 464 forks source link

lpr fails with lpr: success #5868

Closed rewolff closed 3 years ago

rewolff commented 3 years ago

In case you say I should use cups-native programs... I have calls to lpr executable throughout my interanally developed systems, Not really one place to change things.

Since the upgrade to ubuntu 20.04: printing sometimes fails with: "lpr: success". The cups error log then gets 22 warnings printed. When I retry: It suddenly works (often), and then there are no warnings.

W [04/Dec/2020:15:28:00 +0100] No limit for Validate-Job defined in policy default and no suitable template found.
W [04/Dec/2020:15:28:00 +0100] No limit for Cancel-Jobs defined in policy default - using Pause-Printer's policy.
W [04/Dec/2020:15:28:00 +0100] No limit for Cancel-My-Jobs defined in policy default - using Send-Document's policy.
W [04/Dec/2020:15:28:00 +0100] No limit for Close-Job defined in policy default - using Send-Document's policy.
W [04/Dec/2020:15:28:00 +0100] No JobPrivateAccess defined in policy default - using defaults.
W [04/Dec/2020:15:28:00 +0100] No JobPrivateValues defined in policy default - using defaults.
W [04/Dec/2020:15:28:00 +0100] No SubscriptionPrivateAccess defined in policy default - using defaults.
W [04/Dec/2020:15:28:00 +0100] No SubscriptionPrivateValues defined in policy default - using defaults.
W [04/Dec/2020:15:28:00 +0100] No limit for Validate-Job defined in policy authenticated - using Print-Job's policy.
W [04/Dec/2020:15:28:00 +0100] No limit for Cancel-Jobs defined in policy authenticated - using Pause-Printer's policy.
W [04/Dec/2020:15:28:00 +0100] No limit for Cancel-My-Jobs defined in policy authenticated - using Send-Document's policy.
W [04/Dec/2020:15:28:00 +0100] No limit for Close-Job defined in policy authenticated - using Send-Document's policy.
W [04/Dec/2020:15:28:00 +0100] No JobPrivateAccess defined in policy authenticated - using defaults.
W [04/Dec/2020:15:28:00 +0100] No JobPrivateValues defined in policy authenticated - using defaults.
W [04/Dec/2020:15:28:00 +0100] No SubscriptionPrivateAccess defined in policy authenticated - using defaults.
W [04/Dec/2020:15:28:00 +0100] No SubscriptionPrivateValues defined in policy authenticated - using defaults.
W [04/Dec/2020:15:28:00 +0100] DNS-SD registration of "DYMO LabelWriter 450 @ abra2" failed: Local name collision
W [04/Dec/2020:15:28:00 +0100] DNS-SD registration of "DYMO LabelWriter 450 @ abra2" failed: Local name collision
W [04/Dec/2020:15:28:00 +0100] DNS-SD registration of "DYMO LabelWriter 450 @ abra2" failed: Local name collision
W [04/Dec/2020:15:28:00 +0100] DNS-SD registration of "DYMO LabelWriter 450 @ abra2" failed: Local name collision
W [04/Dec/2020:15:28:01 +0100] CreateProfile failed: org.freedesktop.ColorManager.AlreadyExists:profile id \'Samsung_CLX_4190_Series_SEC001599A93C91_-Gray..\' already exists
W [04/Dec/2020:15:28:01 +0100] CreateProfile failed: org.freedesktop.ColorManager.AlreadyExists:profile id \'Samsung_CLX_4190_Series_SEC001599A93C91_-DeviceN..\' already exists

The warnings seem to be warnings... lpr doesn't get an error code, but still the print request is silently ignored.

michaelrsweet commented 3 years ago

Please report this to the OpenPrinting CUPS project.