The mentioned CUPS DDK bug can be easily fixed by applying the attached patch to CUPS DDK. Then the above-mentioned lines indeed produce the desired lines in the PPD file:
*MaxMediaWidth: "612.00" *MaxMediaHeight: "3168.00" *HWMargins: 0.00 0.00 0.00 0.00 *CustomPageSize True: "pop pop pop pop pop %% FoomaticRIPOptionSetting: PageSize=Custom" *End *ParamCustomPageSize Width: 1 points 72.00 612.00 *ParamCustomPageSize Height: 2 points 288.00 3168.00 *ParamCustomPageSize WidthOffset: 3 points 0 0 *ParamCustomPageSize HeightOffset: 4 points 0 0 *ParamCustomPageSize Orientation: 5 int 0 0 (To define non-zero default margins a line like "HWMargins 18 36 18 36" needs to be added to the .drv file) To fix this in Ubuntu we could apply the patch to CUPS DDK and apply also a patch to HPLIP to define custom page size support as I described, but we must assure that this fix will also get applied upstream, so that HPLIP will work with all distributions. ** Attachment added: "Patch to fix the CUPS DDK bug of not having a .drv file directive to set the code of the "*CustomPageSize True: ..." line in the PPD" http://launchpadlibrarian.net/17493884/CustomSizeCode.patch ** Also affects: cupsddk (Ubuntu) Importance: Undecided Status: New -- The new CUPS-DDK-generated PPDs do not contain lines to handle custom page sizes any more https://bugs.launchpad.net/bugs/264727 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs