All of lore.kernel.org
 help / color / mirror / Atom feed
From: Till Kamppeter <till.kamppeter@gmail.com>
To: Tobias Hoffmann <lprint-list@thax.hardliners.org>
Cc: Open Printing <printing-architecture@lists.linux-foundation.org>
Subject: Re: [Printing-architecture] What should the "landscape" and "orientation-requested" options exactly do?
Date: Mon, 09 Dec 2013 17:32:56 +0100	[thread overview]
Message-ID: <52A5F0B8.7030409@gmail.com> (raw)
In-Reply-To: <CAOTiGeV0wWsZ6nJhb2D+QjHQ0iVDof+TvVQPRMy=0QdR75K7Fw@mail.gmail.com>

On 12/07/2013 12:01 AM, Tobias Hoffmann wrote:
> I don't think so.
> E.g. for N-up, fitplot, adding of borders the pdftopdf filter looks at
> the final destination size. This size is determined by page-size,
> *together* with orientation-requested. pdftopdf also makes sure that
> filters like pdftoXYZ only get portrait pdfs as input, so that these can
> rasterize from to bottom and get the correct raster pixel ordering
> without thinking about rotations (e.g. an inkjet still prints along the
> short edge, regardless whether the input is landscape or not).
> 
> Two examples with texttopdf:
> 1)  A4, portrait: output pdf has (roughly) 21x29 cm, pdftopdf keeps it,
> pdftoijs renders (e.g.) 1000x1400 pixel output "image" for the printer.
> 2)  A4, landscape: output pdf has 29x21 cm, pdftopdf rotates it (in the
> ppd-specified normal_landscape direction), pdftoijs renders 1000x1400
> pixels.
> 
>   Tobias
> 

Thank you very much for your help. So now the handling of "landscape"
and "orientation-requested" in cups-filters should be correct: ...topdf
filters use it for generating layout, pdftopdf for n-up and fitplot. My
recent test files also show that pdftopdf does not break anything when
landscape" or "orientation-requested" is supplied and not n-up or fitplot.

Tobias, can you also have a look into fixing the handling of collate by
pdftopdf (see the other thread on this list)? Thanks.

   Till


      parent reply	other threads:[~2013-12-09 16:32 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-05 22:44 [Printing-architecture] What should the "landscape" and "orientation-requested" options exactly do? Till Kamppeter
2013-12-06 23:01 ` Tobias Hoffmann
2013-12-09 15:55   ` Michael Sweet
2013-12-09 16:32   ` Till Kamppeter [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=52A5F0B8.7030409@gmail.com \
    --to=till.kamppeter@gmail.com \
    --cc=lprint-list@thax.hardliners.org \
    --cc=printing-architecture@lists.linux-foundation.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.