Hi
Thanks for your reply!
I'm afraid i still don't get it.
What little i understand about PDF rotation is that it tells the viewer to
rotate a page when displaying it.
I.e. not what has been applied, but what *to apply*. (I.e. a "595 x 842
pts, rot 90" page displays as landscape).
(Spec says: "The number of degrees by which the page shall be rotated
clockwise when displayed or printed.")
I tried printing a portrait PDF with choosing landscape in the dialog just
now (Xreader via CUPS on Linux Mint).
What happened then was it came out rotated, scaled down and put to one
side, as if printing number-up=2, but with just one page.
That is quite useless (and number-up exists), so i suspect that's not what
it is supposed to do?
It makes me all the more puzzled as to why the printer would need to be
informed of it then.
What relation does this have to IPP orientation-requested?
Backsides i have then hang of. Thanks for the excellent documentation on
that.
Perhaps i can better describe my confusion with some questions:
- If i have a landscape document and auto-rotate it to portrait before
rasterizing, do i then set some value in this field? If so, what use can be
made of it?
- If the printer has orientation-requested-default=4, should i be producing
a landscape-shaped raster? (i.e. 7016x4961 instead of 4961x7016)
(and set Orientation and LeadingEdge to match)
- If the user chooses "landscape" for a portrait document going to a
portrait-fed printer, what is supposed to happen?
Br,
Anton
Den ons 30 aug. 2023 kl 19:10 skrev Michael Sweet via ipp <ipp at pwg.org>:
> Anton Thomasson wrote:
> > Hi
> >
> > (Seems i had fallen off the list somehow, so re-sending after
> > re-registering, sorry if ends up going out twice).
> >
> > I was reminded that there is an Orientation setting in the PWG raster
> page
> > header, but unfortunately the spec doesn't say much about how it is to be
> > used.
> > One interpretation could be that it requests the printer to transform the
> > page as requested, but that would go against Design Requirement 2. So
> > presumably, like the transform fields, it is more of a description of
> what
> > the client has done to the page bitmap.
> >
> > Is that the correct interpretation?
>> Correct, like the PDF Rotation value, it is a hint to the Printer (or
> viewer application) what rotation has been applied.
>> > Is this the Orientation referred to in 6.4 c, or is that backside
> > transformation, or both?
>> It is the viewing orientation (what the user would specify in the print
> dialog) - the backside transform is separate an only applies to the even
> numbered pages (that show up on the back side of the media).
>> > Landscape output doesn't seem very popular... but achieving full
> compliance
> > would be pretty neat.
>> It is fairly common when printing spreadsheets and presentations, although
> the client software might auto-rotate the output before it even gets to the
> printing system...
>> ________________________
> Michael Sweet
>> _______________________________________________
> ipp mailing list
>ipp at pwg.org>https://www.pwg.org/mailman/listinfo/ipp>-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.pwg.org/pipermail/ipp/attachments/20230830/dcf9a7f9/attachment.html>