kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #07570
Printing and Ledger paper type.
Let me try.
The paper sheet is a piece of rectangular paper. Its shape is completely
described with two parameters - size_X and size_Y. Because it has four
sides, its orientation is completely described with four parameters -
R0 (rotation 0), R90, R180 and R270. With this in mind, we can make the following
assumptions, some kind of postulates.
1. We choose the initial orientation, for example size_X < size_Y and this is R0.
This is the commonly used assumption.
2. We make no distinction in what the size is smaller or larger and we make no
distinction in the orientation.
With the first assumption at any time of computation we can estimate the real
logical orientation. Just with the help of size_X and size_Y comparison.
With the second assumption we have to define at least two types of paper
for the same size_X and size_Y (for example USLedger 17x11 and USTabloid 11x17).
It should be mentioned, that logical printout computations (affine transformations) are
very complex. They are completely rely on the first assumption. And when we try
to mix this assumptions, we only confuses this computations.
By the way, these arguments do not apply to the current implementation of Kicad
testing branch. These assumptions are significant if we are going to implement
page orientation explicitly.
Alexander.
27 февраля 2012, 22:52 от Dick Hollenbeck <dick@xxxxxxxxxxx>:
> On 02/27/2012 02:50 AM, Alexander Zakamaldin wrote:
> > Yes, sure. I wrote about US Ledger paper size.
> > It should be mentioned, the US Ledger's size confuses not only me, but
> Gnomeprint job also.
>
> Please explain in detail what are the symptoms of the problem. That is how do
> you know it
> is not working.
>
>
>
>
> > So, what is the best choice to do?
> > 1. Assume the US Ledger is 11x17 inches size, just the same as 'Inkscape'
> project is doing.
> > 2. Replace US Ledger with US Tabloid paper which is 11x17in exactly. The
> same as 'GIMP'
> > project is doing.
> >
> > Alexander.
> >
> >
> > 27 февраля 2012, 09:38 от Dick Hollenbeck <dick@xxxxxxxxxxx>:
> >> On 02/26/2012 06:44 AM, Alexander Zakamaldin wrote:
> >>> Hi.
> >>>
> >>> I am working on printing issues for gtk based Kicad at present time.
> >>> Recently implemented 'Ledger'
> >> I implemented it as USLedger, not Ledger.
> >>
> >>
> >>
> >>> paper type is confusing me a lot.
> >> Then this may be a short conversation.
> >>
> >>> It is declared as a paper of 17x11 in size.
> >>> The same time there is also a 'Tabloid' paper of 11x17 in size. What does
> it
> >> mean? It is commonly assumed
> >>> that the first value is the size X and the second is the size Y of a
> paper.
> >> That's why is it a kind of implicit logical
> >>> orientation declaration (e.g. Portrait or Landscape) or is it an implicit
> >> declaration of a direction the paper
> >>> is fed into printer? Maybe it means nothing and it is just the same type
> of
> >> paper?
> >>
> >>
> >> I wanted a page choice of USLedger that was 11x17 inches, since I am in the
> >> US, and I use
> >> that paper size. You can toggle the landscape button to orient when you
> plot.
> >>
> >> The private member function updatePortrait() establishes the initial page
> >> orientation
> >> according to what height and width are. User now picks which paper
> >> orientation he wants
> >> from the dialogs, so the initial orientation is not really that important,
> >> especially
> >> since it is recorded in the BOARD file.
> >>
> >>
> >>
> >>
> >>
> >> _______________________________________________
> >> Mailing list: https://launchpad.net/~kicad-developers
> >> Post to : kicad-developers@xxxxxxxxxxxxxxxxxxx
> >> Unsubscribe : https://launchpad.net/~kicad-developers
> >> More help : https://help.launchpad.net/ListHelp
> > _______________________________________________
> > Mailing list: https://launchpad.net/~kicad-developers
> > Post to : kicad-developers@xxxxxxxxxxxxxxxxxxx
> > Unsubscribe : https://launchpad.net/~kicad-developers
> > More help : https://help.launchpad.net/ListHelp
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~kicad-developers
> Post to : kicad-developers@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~kicad-developers
> More help : https://help.launchpad.net/ListHelp
Follow ups
References