attachment
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div class="elementToProof" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
Mike,</div>
<div class="elementToProof" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
<br>
</div>
<div class="elementToProof" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
Your point about the finishing orientation is a very valid one. It does lead to quite interesting discussions and mental acrobatics when programming IBM mainframe WSCST for staple positions of mixed orientation staple jobs. This would be much nicer with a pretty
client UI. Having to explain how to do top left on landscape to someone whose skill set is "typing", is a test of patience. </div>
<div id="Signature" class="elementToProof">
<div class="elementToProof" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
<br>
</div>
<p class="elementToProof">No really, bottom left will staple top left, just picture a portrait sheet of paper and then staple it and then rotate your print 90 degrees counterclockwise.... </p>
<div class="elementToProof" style="margin-top: 1em; margin-bottom: 1em;"><br>
</div>
<p class="elementToProof">Regards</p>
<p class="elementToProof"> </p>
<p class="elementToProof" style="margin-left: 0.75pt;"><span style="color: black;"><b>Uli Wehner</b></span></p>
<p class="elementToProof" style="margin-left: 0.75pt;"><span style="font-family: "MS Mincho"; color: black;">ウリ・ヴェーナー</span></p>
<p class="elementToProof"> </p>
</div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> ipp <ipp-bounces@pwg.org> on behalf of Michael Sweet via ipp <ipp@pwg.org><br>
<b>Sent:</b> Tuesday, June 17, 2025 8:09 AM<br>
<b>To:</b> PWG IPP Workgroup <ipp@pwg.org><br>
<b>Cc:</b> Michael Sweet <msweet@msweet.org><br>
<b>Subject:</b> Re: [IPP] Specifying landscape orientation for PWG-Raster[EXTERNAL]</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt;">
<div class="PlainText">Michael,<br>
<br>
> On Jun 16, 2025, at 12:49 PM, Michael Ziller via ipp <ipp@pwg.org> wrote:<br>
> ...<br>
> Would it make sense to add an attribute such as landscape-orientation-desired (or some better name) where the printer would specify either 4 (landscape) or 5 (reverse-landscape) to carry this PPD information?<br>
<br>
So you are conflating raster orientation with finishings orientation.<br>
<br>
In the case of raster orientation, that other IPP profile spec I wrote all those years ago for Apple added a "landscape‑orientation‑requested‑preferred (boolean)" attribute for this, however we quickly realized that such a simple solution didn't meet the needs
of modern printers. That led to defining "media-source-properties" in the PWG which (for CUPS and PPD files) gets encoded per PageSize/Region by setting the PostScript Orientation key in the page device dictionary. So you might see (for a given printer):<br>
<br>
*PageSize Letter: "<</PageSize[612 792]/Orientation 0>>setpagedevice"<br>
<br>
and/or:<br>
<br>
*PageSize Letter.Transverse: "<</PageSize[792 612]/Orientation 1>>setpagedevice"<br>
<br>
Thus, raster data is sent long or short edge as necessary with the correct orientation for a given tray.<br>
<br>
....<br>
<br>
That said, in the case of finishings orientation the Client is better off to look at the supported finishing corners or edges in order to apply/supply the correct "orientation-requested" value. This is because finishings are always specified WRT a logical
portrait sheet, regardless of feed direction/orientation.<br>
<br>
For example, if a printer *only* supports 'staple-top-left' (20), a portrait document should use the 'portrait' (3) value for "orientation-requested" but there is no value of "orientation-requested" you can use to get that staple in the top left corner of the
landscape page (as you look at it) - it will either be in the bottom left for 'reverse-landscape' (5) or the top right for 'landscape' (4).<br>
<br>
To get the "correct" (top left) staple location you'd need to use 'staple-top-right' (20) for the 'reverse-landscape' orientation or 'staple-bottom-left' (21) for the 'landscape' orientation.<br>
<br>
________________________<br>
Michael Sweet<br>
<br>
_______________________________________________<br>
ipp mailing list<br>
ipp@pwg.org<br>
<a href="https://urldefense.com/v3/__https://www.pwg.org/mailman/listinfo/ipp__;!!Iq1d47XejX0!h0GM5p9-wtteHLWQmhzeZrkny4uCOipNy7uvPVMR7CQC62EykvmczhsAfsPNbrhRHtIazb600nE2kmk$">https://urldefense.com/v3/__https://www.pwg.org/mailman/listinfo/ipp__;!!Iq1d47XejX0!h0GM5p9-wtteHLWQmhzeZrkny4uCOipNy7uvPVMR7CQC62EykvmczhsAfsPNbrhRHtIazb600nE2kmk$</a>
<br>
</div>
</span></font></div>
</body>
</html>