[Libreoffice-bugs] [Bug 129214] Enter a custom size for print paper in Print-Page Layout
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Mon Jan 18 09:49:55 UTC 2021
https://bugs.documentfoundation.org/show_bug.cgi?id=129214
Michael Weghorn <m.weghorn at posteo.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever confirmed|0 |1
--- Comment #12 from Michael Weghorn <m.weghorn at posteo.de> ---
(In reply to Prichy from comment #11)
> Created attachment 168710 [details]
> The .ppd file for the printer as requested
Thanks. That PPD actually explicitly specifies it supports custom page sizes:
> *ParamCustomPageSize Width: 1 points 216 612
> *ParamCustomPageSize Height: 2 points 360 1008
> *ParamCustomPageSize WidthOffset: 3 points 0 0
> *ParamCustomPageSize HeightOffset: 4 points 0 0
> *ParamCustomPageSize Orientation: 5 int 0 3
> *CustomPageSize True: "pop pop pop <</PageSize[5 -2 roll]/ImagingBBox null>>setpagedevice"
It makes sense to support that at least for such PPDs IMHO.
In a quick test using a custom page size from Gedit (Gtk print dialog) and Kate
(Qt print dialog), those passed 'PageSize=Custom.113.39x113.39' or
'media=Custom.40x40mm' to CUPS, which at a quick glance is what CUPS doc at [1]
says:
> When Custom is listed for the PageSize option, you can specify custom media sizes using one of the following forms:
>
> lp -o media=Custom.WIDTHxLENGTH filename
> lp -o media=Custom.WIDTHxLENGTHin filename
> lp -o media=Custom.WIDTHxLENGTHcm filename
> lp -o media=Custom.WIDTHxLENGTHmm filename
[1] https://www.cups.org/doc/options.html
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20210118/2e07b128/attachment.htm>
More information about the Libreoffice-bugs
mailing list