Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalidate cache on DefaultLanguage/DefaultPaperSize/ReadyPaperSizes change #371

Closed
klausenbusk opened this issue Apr 14, 2022 · 2 comments
Assignees
Labels
bug Something isn't working priority-low
Milestone

Comments

@klausenbusk
Copy link

Hi

I had some trouble getting my iOS device to show the correct "media type" (A4 instead of US letter) and tweaking DefaultLanguage, DefaultPaperSize or ReadyPaperSizes didn't affect the reported "media type" on iOS. After a lot of trial and error I figured the "media type" is apparently cached in /var/cache/cups, and after emptying that directory the correct "media type" was reported.

This was very confusing, so perhaps changing any of the mentioned values should invalidate the cache? or at least this behavior should be documented (or maybe it already is and I just missed that?).

The printing just works after fixing the "media type", so good work on the AirPrint and Mopria support! :) (#126)

@michaelrsweet
Copy link
Member

I guess we can compare the cache date to the cupsd.conf date. Unfortunately, we can't be more specific that that...

@michaelrsweet michaelrsweet self-assigned this May 2, 2022
@michaelrsweet michaelrsweet added bug Something isn't working priority-low labels May 2, 2022
@michaelrsweet michaelrsweet added this to the 2.4.2 milestone May 2, 2022
@michaelrsweet
Copy link
Member

[master 41fbc18] Invalidate PPD cache if cupsd.conf is newer (Issue #371)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working priority-low
Projects
None yet
Development

No branches or pull requests

2 participants