<html>
<head>
<base href="https://bugs.documentfoundation.org/">
</head>
<body><span class="vcard"><a class="email" href="mailto:m.weghorn@posteo.de" title="Michael Weghorn <m.weghorn@posteo.de>"> <span class="fn">Michael Weghorn</span></a>
</span> changed
<a class="bz_bug_link
bz_status_NEW "
title="NEW - Enter a custom size for print paper in Print-Page Layout"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=129214">bug 129214</a>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">Status</td>
<td>UNCONFIRMED
</td>
<td>NEW
</td>
</tr>
<tr>
<td style="text-align:right;">Ever confirmed</td>
<td>
</td>
<td>1
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - Enter a custom size for print paper in Print-Page Layout"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=129214#c12">Comment # 12</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - Enter a custom size for print paper in Print-Page Layout"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=129214">bug 129214</a>
from <span class="vcard"><a class="email" href="mailto:m.weghorn@posteo.de" title="Michael Weghorn <m.weghorn@posteo.de>"> <span class="fn">Michael Weghorn</span></a>
</span></b>
<pre>(In reply to Prichy from <a href="show_bug.cgi?id=129214#c11">comment #11</a>)
<span class="quote">> Created <span class=""><a href="http://bugs.documentfoundation.org/attachment.cgi?id=168710" name="attach_168710" title="The .ppd file for the printer as requested">attachment 168710</a> <a href="http://bugs.documentfoundation.org/attachment.cgi?id=168710&action=edit" title="The .ppd file for the printer as requested">[details]</a></span>
> The .ppd file for the printer as requested</span >
Thanks. That PPD actually explicitly specifies it supports custom page sizes:
<span class="quote">> *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"</span >
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:
<span class="quote">> 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</span >
[1] <a href="https://www.cups.org/doc/options.html">https://www.cups.org/doc/options.html</a></pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>