https://bugs.documentfoundation.org/show_bug.cgi?id=140816

--- Comment #6 from Carl Pettit <bugfarmer...@gmail.com> ---
As of 7.1.7 on Mac OSX 11.6

I have no reason to suspect that other OS's are any different but this is the
skinny from the UX in layman's terms. Selecting different orientations for the
envelope and selecting different feed positions creates different paper
definitions. Sounds like I'm stating the obvious but bear with me. The printer
will have a paper definition for an envelope, e.g. DL. The left/right position
of the envelope with respect to the feed chute is controlled by the way writer
defines the paper definition (again bear with me). To print to the left or
right edges of the chute, writer will define a page larger than the envelope
and represent the envelope using a frame within that page. The position of the
frame determines the position of the envelope within the feed chute. The page
chosen should be taken from the PPD or other printer system defined source as
should the position of the envelope with respect to that page and therefore the
feed chute. I have an HP printer and the paper definition is consistent with
the envelope definition, so the page and envelope definitions are identical and
therefore on the screen, this appears as a DL envelope. On other printers like
my old Epson, it appeared as a sheet of A4 paper in landscape with a DL size
frame top right. On my old Samsung the DL was bottom right. In both cases the
chute had a slider that moved from the right to left to make the chute
narrower. PageRegion is the paper definition that the frame will be on and the
MediaType will be the what is offered to the user as the media i.e. DL Envelope
or just envelope. Many printer manufactures cut down on the amount of work they
have to do to write a PPD by defining something like a sheet of A4 as
"Envelope" regardless of the actual size of the envelope. It doesn't care it
simply starts printing in one corner of the page regardless and relies on
writer limit where it actually prints. "Envelope" can select other things apart
from dimensions too but were only interested dimensions here.
Where there are lots of envelope definitions in the PPD (which may or may not
be presented to the user for selection in media) it is likely that the printer
actually has knowledge of these sizes and cares about them too. Typically these
printers (like my HP) have an adjustable chute in which both guides move so
that the envelope regardless of size remains central.
So, seeing that you have a PageRegion of Letter and a MediaType of Envelope it
assumes all envelopes fit on a sheet of Letter size and not all do. Selecting a
PageRegion large enough to carry the desired envelope or a region that places
the envelope in the correct corner to start with.
HTH.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to