[IPP] [EXTERNAL] Specifying landscape orientation for PWG-Raster

[IPP] [EXTERNAL] Specifying landscape orientation for PWG-Raster

Michael Sweet msweet at msweet.org
Mon Jun 23 14:22:33 UTC 2025


Michael,

> On Jun 17, 2025, at 2:35 PM, Michael Ziller <mziller at microsoft.com> wrote:
> 
> Thanks, that clears up that a simple added attribute for desired landscape orientation wouldn't be general enough.
> 
> So for the example given, is this a correct usage of media-source-properties?
>                {A4, tray-1, short-edge-first, 3 (portrait)}                                              // How the client should send Portrait document data for A4 in tray-1
>        And {A4, tray-1, short-edge-first, 5 (reverse-landscape)}                      // How the client should send Landscape document data for A4 in tray-1
> 
> Or am I misunderstanding the intent?

I think so?  The media-source-feed-orientation value tells you the orientation of any major features of the media - flaps on envelopes, pre-printed content, etc. - which are often driven by the little picture/icon on the tray showing how to load the media in the tray (face up/down, etc.)

> ....
> 
> Right, as far as the stapling portion of this, if the printer doesn't specify what orientation it wants when the user chooses landscape for PWG-R, then the client would need to infer which direction to rotate in order to give the user the most stapling options (if it always rotated CCW, then the user wouldn't be presented with a "staple top left" option at all for this example). I guess I'm wondering if there are any other gotchas to the client simply choosing a landscape orientation (CCW vs CW) based on finishing options

Certainly the client can default based on the reported media-source-feed-orientation for that tray, which would be correct for both envelopes and letterhead.  Otherwise, it can let the user decide and/or use an OS default rotation direction.
 
________________________
Michael Sweet



More information about the ipp mailing list