https://bugs.documentfoundation.org/show_bug.cgi?id=129214

Michael Weghorn <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever confirmed|0                           |1

--- Comment #12 from Michael Weghorn <[email protected]> ---
(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.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to