[cups.general] Querying paper size dimensions and margins from IPP printers
Till Kamppeter
till.kamppeter at gmail.com
Mon Jan 28 07:56:18 PST 2013
On 01/28/2013 03:14 PM, Michael Sweet wrote:
> You want to ask for the media-col-database attribute, which gives you all of the supported combinations of size, margins, type, etc.
>
> If that fails, you can ask for media-size-supported (list of all supported dimensions and ranges of dimensions for custom/roll sizes), media-type-supported, etc.
>
> Typically what you want to do it just include requested-attributes="all","media-col-database" to get everything.
>
> (media-col-database is not returned by default for performance reasons, per PWG 5100.3)
>
When I do this I get more than 200 entries for a printer with ~20
supported paper sizes and two trays. Are these all possible combinations
of paper sizes, paper types, and trays?
Are the units always 100th of a mm?
Is the only way to associate the paper size names, like
"iso_a4_210x297mm", with the dimensions in the "media-col-database" via
the size stated in the paper size name?
Till
More information about the cups
mailing list