You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 10, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Mar 10, 2026. It is now read-only.
Regression: CUPS adds non-custom PageSize to filter options for custom media size #3764
Currently a print job with a custom page size, e.g., "-o media=Custom.WIDTHxHEIGHT", will end up getting a standard page size in the filter options if the custom size matches a standard page size. This can cause problems for some drivers since the wrong margins might get used.
Activity
michaelrsweet commentedon Jan 3, 2011
CUPS.org User: mike
Fixed in Subversion repository.
michaelrsweet commentedon Jan 6, 2011
CUPS.org User: mike
Fixed in Subversion repository.
michaelrsweet commentedon Jan 6, 2011
CUPS.org User: mike
Fixed in Subversion repository.
michaelrsweet commentedon Jan 6, 2011
"str3764.patch":
Index: cups/pwg-ppd.c
--- cups/pwg-ppd.c (revision 9413)
+++ cups/pwg-ppd.c (working copy)
@@ -1015,55 +1015,59 @@
closest = NULL;
dclosest = 999999999;
- */
- dlength = size->length - jobsize.length;
- continue;
if (margins_set)
for (i = pwg->num_sizes, size = pwg->sizes; i > 0; i --, size ++)
{
/*
*/
continue;
}
}
}
if (closest)