Skip to content

Fix PageSize/media to PPD mapping for non-Adobe names. Fixes #1375#1587

Open
ValdikSS wants to merge 1 commit into
OpenPrinting:masterfrom
ValdikSS:1375-fix-ppd-cache
Open

Fix PageSize/media to PPD mapping for non-Adobe names. Fixes #1375#1587
ValdikSS wants to merge 1 commit into
OpenPrinting:masterfrom
ValdikSS:1375-fix-ppd-cache

Conversation

@ValdikSS
Copy link
Copy Markdown
Member

If the client software sends only PageSize using Adobe name (common when printer is shared), but the PPD file uses non-Adobe name, default page size was used, which is incorrect.

The previous attempt in commit 226f509 to fix this issue have missed loading PPD cache if no media is supplied.

@ValdikSS ValdikSS marked this pull request as draft May 28, 2026 18:14
@ValdikSS ValdikSS marked this pull request as ready for review May 28, 2026 18:24
…ting#1375

If the client software sends only PageSize using Adobe name (common
when printer is shared), but the PPD file uses non-Adobe name,
default page size was used, which is incorrect.

The previous attempt in commit 226f509 to fix this issue have
missed loading PPD cache if no media is supplied.
@ValdikSS ValdikSS force-pushed the 1375-fix-ppd-cache branch from c32f949 to 257df01 Compare May 28, 2026 19:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant