There is a bug in your filter that does NOT deal with the case for default option value.<br><br>
<div><span class="gmail_quote">2008/4/15, Caixicui <<a href="mailto:caixicui@gmail.com">caixicui@gmail.com</a>>:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">I set the option on localhost:631, but it doesn't work.<br>Where need I set and save the A5 Media Size Option?<br>
> ------=_Part_272_15493079.1208243423234<br>> Content-Type: text/plain; charset=ISO-8859-1<br>> Content-Transfer-Encoding: 7bit<br>> Content-Disposition: inline<br>><br>> Just modifiy the A5 Media Size option for the print queue and save it  and<br>
> then print a test page.<br>><br>> Some log may be helpful for analysis.<br>><br>><br>> 2008/4/15, Caixicui <<a href="mailto:caixicui@gmail.com">caixicui@gmail.com</a>>:<br>> ><br>> > The real page size is matched with Letter page size. But I want to get the<br>
> > Printer Test Page on A5 Page Size. How can I do?<br>> ><br>> > > ------=_Part_70_21204410.1208238810957<br>> > > Content-Type: text/plain; charset=ISO-8859-1<br>> > > Content-Transfer-Encoding: 7bit<br>
> > > Content-Disposition: inline<br>> > ><br>> > > Set the log level to debug and get log for printing test page to check<br>> > > what's real page size set for the test page.<br>> > ><br>
> > ><br>> > > 2008/4/15, Caixicui <<a href="mailto:caixicui@gmail.com">caixicui@gmail.com</a>>:<br>> > > ><br>> > > > Hi,<br>> > > > When setting different Media Size, all the Test Pages are same.<br>
> > > ><br>> > > > Open localhost:631, and configure the printer with A5 Media Size,<br>> > > > and other options are default. The result is same with setting option<br>> > A4<br>
> > > > Media Size.<br>> > > ><br>> > > > But When I set Media Size Option to A5 and print by document, the<br>> > result<br>> > > > is right.<br>> > > > It is the half data of A4 data.<br>
> > > ><br>> > > > I confused with these appearance, and don't know where is the error.<br>> > > > How can I modify this bug?<br>> > > > _______________________________________________<br>
> > > > cups-dev mailing list<br>> > > > <a href="mailto:cups-dev@easysw.com">cups-dev@easysw.com</a><br>> > > > <a href="http://lists.easysw.com/mailman/listinfo/cups-dev">http://lists..easysw.com/mailman/listinfo/cups-dev</a><br>
> > > ><br>> > ><br>> > > ------=_Part_70_21204410.1208238810957<br>> > > Content-Type: text/html; charset=ISO-8859-1<br>> > > Content-Transfer-Encoding: 7bit<br>> > > Content-Disposition: inline<br>
> > ><br>> > > <div>&nbsp;</div><br>> > > <div>Set the log level to debug and get log for printing test page to<br>> > check what&#39;s real page size set for the test page.<br><br>&nbsp;</div><br>
> > > <div><span class="gmail_quote">2008/4/15, Caixicui &lt;<a href="mailto:<br>> > <a href="mailto:caixicui@gmail.com">caixicui@gmail.com</a>"><a href="mailto:caixicui@gmail.com">caixicui@gmail.com</a></a>&gt;:</span><br>
> > > <blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px<br>> > 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Hi,<br>When setting different<br>> > Media Size, all the Test Pages are same.<br><br>Open localhost:631, and<br>
> > configure the printer with A5 Media Size,<br><br>> > > and other options are default. The result is same with setting option A4<br>> > Media Size.<br><br>But When I set Media Size Option to A5 and print by<br>
> > document, the result is right.<br>It is the half data of A4 data.<br><br>I<br>> > confused with these appearance, and don&#39;t know where is the error.<br><br>> > > How can I modify this<br>
> > bug?<br>_______________________________________________<br>cups-dev mailing<br>> > list<br><a href="mailto:<a href="mailto:cups-dev@easysw.com">cups-dev@easysw.com</a>"><a href="mailto:cups-dev@easysw.com">cups-dev@easysw.com</a></a><br><a<br>
> > href="<a href="http://lists.easysw.com/mailman/listinfo/cups-dev">http://lists.easysw.com/mailman/listinfo/cups-dev</a>"><br>> > <a href="http://lists.easysw.com/mailman/listinfo/cups-dev">http://lists.easysw.com/mailman/listinfo/cups-dev</a></a><br><br>
> > > </blockquote></div><br><br>> > ><br>> > > ------=_Part_70_21204410.1208238810957--<br>> > ><br>> ><br>> > _______________________________________________<br>
> > cups-dev mailing list<br>> > <a href="mailto:cups-dev@easysw.com">cups-dev@easysw.com</a><br>> > <a href="http://lists.easysw.com/mailman/listinfo/cups-dev">http://lists.easysw.com/mailman/listinfo/cups-dev</a><br>
> ><br>><br>> ------=_Part_272_15493079.1208243423234<br>> Content-Type: text/html; charset=ISO-8859-1<br>> Content-Transfer-Encoding: 7bit<br>> Content-Disposition: inline<br>><br>> <div>&nbsp;</div><br>
> <div>Just modifiy the A5 Media Size option for the print queue&nbsp;and save it&nbsp; and then print a test page.</div><br>> <div>&nbsp;</div><br>> <div>Some log may be helpful for analysis.<br><br>&nbsp;</div><br>
> <div><span class="gmail_quote">2008/4/15, Caixicui &lt;<a href="mailto:<a href="mailto:caixicui@gmail.com">caixicui@gmail.com</a>"><a href="mailto:caixicui@gmail.com">caixicui@gmail.com</a></a>&gt;:</span><br>
> <blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">The real page size is matched with Letter page size. But I want to get the Printer Test Page on A5 Page Size. How can I do?<br><br>
> <br>&gt; ------=_Part_70_21204410.1208238810957<br>&gt; Content-Type: text/plain; charset=ISO-8859-1<br>&gt; Content-Transfer-Encoding: 7bit<br>&gt; Content-Disposition: inline<br>&gt;<br>&gt; Set the log level to debug and get log for printing test page to check<br><br>
> &gt; what&#39;s real page size set for the test page.<br>&gt;<br>&gt;<br>&gt; 2008/4/15, Caixicui &lt;<a href="mailto:<a href="mailto:caixicui@gmail.com">caixicui@gmail.com</a>"><a href="mailto:caixicui@gmail.com">caixicui@gmail.com</a></a>&gt;:<br>&gt; &gt;<br>&gt; &gt; Hi,<br>&gt; &gt; When setting different Media Size, all the Test Pages are same.<br><br>
> &gt; &gt;<br>&gt; &gt; Open localhost:631, and configure the printer with A5 Media Size,<br>&gt; &gt; and other options are default. The result is same with setting option A4<br>&gt; &gt; Media Size.<br>&gt; &gt;<br>&gt; &gt; But When I set Media Size Option to A5 and print by document, the result<br><br>
> &gt; &gt; is right.<br>&gt; &gt; It is the half data of A4 data.<br>&gt; &gt;<br>&gt; &gt; I confused with these appearance, and don&#39;t know where is the error.<br>&gt; &gt; How can I modify this bug?<br>&gt; &gt; _______________________________________________<br><br>
> &gt; &gt; cups-dev mailing list<br>&gt; &gt; <a href="mailto:<a href="mailto:cups-dev@easysw.com">cups-dev@easysw.com</a>"><a href="mailto:cups-dev@easysw.com">cups-dev@easysw.com</a></a><br>&gt; &gt; <a href="<a href="http://lists.easysw.com/mailman/listinfo/cups-dev">http://lists.easysw.com/mailman/listinfo/cups-dev</a>"><a href="http://lists.easysw.com/mailman/listinfo/cups-dev">http://lists.easysw.com/mailman/listinfo/cups-dev</a></a><br><br>
> &gt; &gt;<br>&gt;<br>&gt; ------=_Part_70_21204410.1208238810957<br>&gt; Content-Type: text/html; charset=ISO-8859-1<br>&gt; Content-Transfer-Encoding: 7bit<br>&gt; Content-Disposition: inline<br>&gt;<br>&gt; &lt;div&gt;&amp;nbsp;&lt;/div&gt;<br><br>
> &gt; &lt;div&gt;Set the log level to debug and get log for printing test page to check what&amp;#39;s real page size set for the test page.&lt;br&gt;&lt;br&gt;&amp;nbsp;&lt;/div&gt;<br>&gt; &lt;div&gt;&lt;span class=&quot;gmail_quote&quot;&gt;2008/4/15, Caixicui &amp;lt;&lt;a href=&quot;mailto:<a href="mailto:<a href="mailto:caixicui@gmail.com">caixicui@gmail.com</a>"><a href="mailto:caixicui@gmail.com">caixicui@gmail.com</a></a>&quot;&gt;<a href="mailto:<a href="mailto:caixicui@gmail.com">caixicui@gmail.com</a>"><a href="mailto:caixicui@gmail.com">caixicui@gmail.com</a></a>&lt;/a&gt;&amp;gt;:&lt;/span&gt;<br><br>
> &gt; &lt;blockquote class=&quot;gmail_quote&quot; style=&quot;PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid&quot;&gt;Hi,&lt;br&gt;When setting different Media Size, all the Test Pages are same.&lt;br&gt;&lt;br&gt;Open localhost:631, and configure the printer with A5 Media Size,&lt;br&gt;<br><br>
> &gt; and other options are default. The result is same with setting option A4 Media Size.&lt;br&gt;&lt;br&gt;But When I set Media Size Option to A5 and print by document, the result is right.&lt;br&gt;It is the half data of A4 data.&lt;br&gt;&lt;br&gt;I confused with these appearance, and don&amp;#39;t know where is the error.&lt;br&gt;<br><br>
> &gt; How can I modify this bug?&lt;br&gt;_______________________________________________&lt;br&gt;cups-dev mailing list&lt;br&gt;&lt;a href=&quot;mailto:<a href="mailto:<a href="mailto:cups-dev@easysw.com">cups-dev@easysw.com</a>"><a href="mailto:cups-dev@easysw.com">cups-dev@easysw.com</a></a>&quot;&gt;<a href="mailto:<a href="mailto:cups-dev@easysw.com">cups-dev@easysw.com</a>"><a href="mailto:cups-dev@easysw.com">cups-dev@easysw.com</a></a>&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;<a href="<a href="http://lists.easysw.com/mailman/listinfo/cups-dev">http://lists.easysw.com/mailman/listinfo/cups-dev</a>"><a href="http://lists.easysw.com/mailman/listinfo/cups-dev">http://lists.easysw.com/mailman/listinfo/cups-dev</a></a>&quot;&gt;<a href="<a href="http://lists.easysw.com/mailman/listinfo/cups-dev">http://lists.easysw.com/mailman/listinfo/cups-dev</a>"><a href="http://lists.easysw.com/mailman/listinfo/cups-dev">http://lists.easysw.com/mailman/listinfo/cups-dev</a></a>&lt;/a&gt;&lt;br&gt;<br><br>
> &gt; &lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;<br>&gt;<br>&gt; ------=_Part_70_21204410.1208238810957--<br>&gt;<br><br>_______________________________________________<br>cups-dev mailing list<br><a href="mailto:<a href="mailto:cups-dev@easysw.com">cups-dev@easysw.com</a>"><a href="mailto:cups-dev@easysw.com">cups-dev@easysw.com</a></a><br><br>
> <a href="<a href="http://lists.easysw.com/mailman/listinfo/cups-dev">http://lists.easysw.com/mailman/listinfo/cups-dev</a>"><a href="http://lists.easysw.com/mailman/listinfo/cups-dev">http://lists.easysw.com/mailman/listinfo/cups-dev</a></a><br></blockquote></div><br><br>
><br>> ------=_Part_272_15493079.1208243423234--<br>><br><br>_______________________________________________<br>cups-dev mailing list<br><a href="mailto:cups-dev@easysw.com">cups-dev@easysw.com</a><br><a href="http://lists.easysw.com/mailman/listinfo/cups-dev">http://lists.easysw.com/mailman/listinfo/cups-dev</a><br>
</blockquote></div><br>