[cups-devel] Need help on defining margins for rolls

John Yin email4jy at yahoo.com
Thu Jun 19 13:51:03 PDT 2014


First issue:
How do you support different margin settings for rolls?

In the ipp media-type: roll definition, the min/max roll x-dimension and y-dimension is set using an ipp range attribute for min and max.
However, the media-bottom-margin, media-top-margin, media-left-margin, and media-right-margin are single integer attributes.

How can a roll be defined so that some roll widths use a margin of 1.27mm while others use a margin of 3.36mm?


Second issue:
What is the effect of
media-source-feed-direction: long-edge-first vs short-edge-first
and
media-source-feed-orientation: 3(portrait), 4(landscape)
on the margins of the generated output?


thanks,
john




More information about the cups mailing list