https://bugs.documentfoundation.org/show_bug.cgi?id=78916
--- Comment #37 from rpr <rpr.nos...@gmail.com> --- I've been also coping with this bug since 2012 - first noticed in LibO 3.5.4.2 on Ubuntu 12.04. LibO 7.2.3.2 (on Ubuntu 20.04) is the latest version I work with and it also has the bug. I regularly need custom page sizes when printing from Writer to envelopes as the printer driver on Ubuntu provides just a couple of envelope sizes. An ugly workaround for this problem which I used so far is to edit the PPD file for the connected printer (located in /etc/cups/ppd/) and add definitions for the page sizes I need most. For example, here are the lines for ISO B6 (125x176 mm) and Italian envelope (23x11 cm): (The sizes must be given in the 1/72 inch, e.g.: 312 * 1/72 = 4.33 in = 11 cm) ... *cupsUIConstraints PageSizeVsDuplex: " *Duplex *PageSize EnvISOB6" *cupsUIConstraints PageSizeVsDuplex: " *Duplex *PageSize EnvItalian" ... *cupsUIConstraints PageSizeVsInputSlot: " *InputSlot Tray2 *PageSize EnvISOB6" *cupsUIConstraints PageSizeVsInputSlot: " *InputSlot Tray2 *PageSize EnvItalian" ... *cupsUIConstraints PageSizeVsInputSlot: " *InputSlot Tray3 *PageSize EnvISOB6" *cupsUIConstraints PageSizeVsInputSlot: " *InputSlot Tray3 *PageSize EnvItalian" ... *PageSize EnvISOB6/Envelope B6: "<</PageSize[354 499]/ImagingBBox null>>setpagedevice" *PageSize EnvItalian/Envelope 23x11cm: "<</PageSize[312 652]/ImagingBBox null>>setpagedevice" ... *PageRegion EnvISOB6/Envelope B6: "<</PageSize[354 499]/ImagingBBox null>>setpagedevice" *PageRegion EnvItalian/Envelope 23x11cm: "<</PageSize[312 652]/ImagingBBox null>>setpagedevice" ... *ImageableArea EnvISOB6/Envelope B6: "12 12 342 487" *ImageableArea EnvItalian/Envelope 23x11cm: "12 12 300 640" ... *PaperDimension EnvISOB6/Envelope B6: "354 499" *PaperDimension EnvItalian/Envelope 23x11cm: "312 652" ... *de.PageSize EnvISOB6/Umschlag ISO B6: "" *de.PageSize EnvItalian/Umschlag 23x11cm: "" ... *es.PageSize EnvISOB6/Sobre ISO B6: "" *es.PageSize EnvItalian/Sobre 23x11cm: "" ... *fr.PageSize EnvISOB6/Enveloppe ISO B6: "" *fr.PageSize EnvItalian/Enveloppe 23x11cm: "" ... *it.PageSize EnvISOB6/Busta ISO B6: "" *it.PageSize EnvItalian/Busta 23x11cm: "" ... *pt.PageSize EnvISOB6/Envelope B6: "" *pt.PageSize EnvItalian/Envelope 23x11cm: "" After changing the PPD file you should test it with the following command: cupstestppd /etc/cups/ppd/file_name.ppd -- You are receiving this mail because: You are the assignee for the bug.