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
We have received user feedback reports that selecting either of these media to print with causes the printer to print in JIS B5; the ISO B5 (176x250mm) size is unpickable.
This is a multi-part question prompted by a PPD containing the following
PaperDimensions:Passing such a PPD under
cupstestppdshows these warnings:CUPS writes the PPD cache with these
Sizespecifications:We have received user feedback reports that selecting either of these media to print with causes the printer to print in JIS B5; the ISO B5 (176x250mm) size is unpickable.
CUPS chooses to represent that B5
PaperDimensionbecause it calls pwgMediaForPPD() and gets the JIS size out of it. It won't find the ISO B5 size because it calls _pwgMediaNearSize() withepsilon = 0(17604 != 17600; 25012 != 25000). Even if we increase the epsilon, the selected PWG vendor ID will still only reflect what pwgMediaForPPD() initially chose. I assume this could confuse the printer down the line._ppdCacheCreateWithPPD()attach importance to the stated PPD media name? Can we get away with matching by size only?epsilon = 0when calling_pwgMediaNearSize()? Can we get away with a higher epsilon ascupstestppddoes?