[cups.development] [CUPS Test Page] Print Test PagewithoptionalMedia Size

moontain chen.workspace at gmail.com
Tue Apr 15 06:42:52 PDT 2008


Hi,

  I just tried on CUPS v1.3.7, the test page is Letter size.

However, I remembered that the test page size changes according to
default page size option on CUPS v1.1.x

2008/4/15, Caixicui <caixicui at gmail.com>:
> But The real page size in error log is matched with A4's page size before my filter.
>  > ------=_Part_485_26587897.1208251043892
>
> > Content-Type: text/plain; charset=ISO-8859-1
>  > Content-Transfer-Encoding: 7bit
>  > Content-Disposition: inline
>  >
>  > There is a bug in your filter that does NOT deal with the case for default
>  > option value.
>  >
>  > 2008/4/15, Caixicui <caixicui at gmail.com>:
>  > >
>  > > I set the option on localhost:631, but it doesn't work.
>  > > Where need I set and save the A5 Media Size Option?
>  > > > ------=_Part_272_15493079.1208243423234
>  > > > Content-Type: text/plain; charset=ISO-8859-1
>  > > > Content-Transfer-Encoding: 7bit
>  > > > Content-Disposition: inline
>  > > >
>  > > > Just modifiy the A5 Media Size option for the print queue and save
>  > > it  and
>  > > > then print a test page.
>  > > >
>  > > > Some log may be helpful for analysis.
>  > > >
>  > > >
>  > > > 2008/4/15, Caixicui <caixicui at gmail.com>:
>  > > > >
>  > > > > 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?
>  > > > >
>  > > > > > ------=_Part_70_21204410.1208238810957
>  > > > > > Content-Type: text/plain; charset=ISO-8859-1
>  > > > > > Content-Transfer-Encoding: 7bit
>  > > > > > Content-Disposition: inline
>  > > > > >
>  > > > > > Set the log level to debug and get log for printing test page to
>  > > check
>  > > > > > what's real page size set for the test page.
>  > > > > >
>  > > > > >
>  > > > > > 2008/4/15, Caixicui <caixicui at gmail.com>:
>  > > > > > >
>  > > > > > > Hi,
>  > > > > > > When setting different Media Size, all the Test Pages are same.
>  > > > > > >
>  > > > > > > Open localhost:631, and configure the printer with A5 Media Size,
>  > > > > > > and other options are default. The result is same with setting
>  > > option
>  > > > > A4
>  > > > > > > Media Size.
>  > > > > > >
>  > > > > > > But When I set Media Size Option to A5 and print by document, the
>  > > > > result
>  > > > > > > is right.
>  > > > > > > It is the half data of A4 data.
>  > > > > > >
>  > > > > > > I confused with these appearance, and don't know where is the
>  > > error.
>  > > > > > > How can I modify this bug?





More information about the cups mailing list