• Welcome to Tux Reports: Where Penguins Fly. We hope you find the topics varied, interesting, and worthy of your time. Please become a member and join in the discussions.

Normal landscape in print preview?

T

topmind

Flightless Bird
I have a nit-picky boss who doesn't like the way landscape is
displayed in IE 7. I've found a way to automatically print a page in
landscape okay which solves half the puzzle, but it *displays*
sideways in Print Preview, as if somebody rotated the landscape page
to the right by 90 degrees when rendering it onto print-preview. Is
there a way to make the print-preview automatically display in
landscape also? It's okay if it's IE-specific for now; thus I don't
need a vendor-neutral solution, as long as it doesn't require
installing active-X controls.

Thanks
 
L

Leonard Grey

Flightless Bird
You haven't told us what it is your boss doesn't like about "the way
landscape is displayed in IE 7" nor have you described your secret
technique to "automatically print a page in landscape okay." So it's
anybody's guess what your problem is.

Keep in mind that the layout of a web page is designed by its author,
not the browser. A web browser can only make the page appear larger or
smaller. IE 7 introduced an innovation (for Internet Explorer) called
Shrink To Fit which does just that - it's the default print setting -
although you can't control how a page is 'shrunk to fit'.

You may have more success by looking at the configuration options of
your printer driver.
---
Leonard Grey
Errare humanum est

topmind wrote:
> I have a nit-picky boss who doesn't like the way landscape is
> displayed in IE 7. I've found a way to automatically print a page in
> landscape okay which solves half the puzzle, but it *displays*
> sideways in Print Preview, as if somebody rotated the landscape page
> to the right by 90 degrees when rendering it onto print-preview. Is
> there a way to make the print-preview automatically display in
> landscape also? It's okay if it's IE-specific for now; thus I don't
> need a vendor-neutral solution, as long as it doesn't require
> installing active-X controls.
>
> Thanks
 
J

Jeff Strickland

Flightless Bird
"topmind" <topmind@technologist.com> wrote in message
news:ba6a4587-6176-483b-876a-c08970e79336@o16g2000prh.googlegroups.com...
>I have a nit-picky boss who doesn't like the way landscape is
> displayed in IE 7. I've found a way to automatically print a page in
> landscape okay which solves half the puzzle, but it *displays*
> sideways in Print Preview, as if somebody rotated the landscape page
> to the right by 90 degrees when rendering it onto print-preview. Is
> there a way to make the print-preview automatically display in
> landscape also? It's okay if it's IE-specific for now; thus I don't
> need a vendor-neutral solution, as long as it doesn't require
> installing active-X controls.
>
> Thanks



In IE8, you can select Print Preview, then from within the preview page you
can select portait or landscape with a single click. You can jump back and
forth among these selections, and the page is rendered immediately. You can
also select Shrink to Fit and a few other settings, so making the changes
you want is easy and painless.

Select File>Print Preview, or click the down-arrow Printer icon on the Tool
Bar, then select Print Preview there. The printer settings selected should
persist for as long as IE is open, and ought to persist across sessions of
IE.

Print Preview should display the page exactly as it will print, therefore
when the printer is set to landscape, the page should be turned 90 degrees.
 
T

topmind

Flightless Bird
On Feb 1, 9:13 am, Leonard Grey <l.g...@invalid.invalid> wrote:
> You haven't told us what it is your boss doesn't like about "the waylandscapeis displayed in IE 7" nor have you described your secret
> technique to "automatically print a page inlandscapeokay." So it's
> anybody's guess what your problem is.
>
> Keep in mind that the layout of a web page is designed by its author,
> not the browser. A web browser can only make the page appear larger or
> smaller. IE 7 introduced an innovation (for Internet Explorer) called
> Shrink To Fit which does just that - it's the default print setting -
> although you can't control how a page is 'shrunk to fit'.
>
> You may have more success by looking at the configuration options of
> your printer driver.
> ---
> Leonard Grey
> Errare humanum est
>
> topmind wrote:
> > I have a nit-picky boss who doesn't like the waylandscapeis
> > displayed in IE 7. I've found a way to automatically print a page in
> >landscapeokay which solves half the puzzle, but it *displays*
> > sideways in Print Preview, as if somebody rotated thelandscapepage
> > to the right by 90 degrees when rendering it onto print-preview. Is
> > there a way to make the print-preview automatically display in
> >landscapealso? It's okay if it's IE-specific for now; thus I don't
> > need a vendor-neutral solution, as long as it doesn't require
> > installing active-X controls.

>
> > Thanks



I guess I haven't made myself clear enough. The other reply seemed
confused by my description also. I'll start over and try some ascii
art this time around since words are not doing the trick (view art in
fixed-pitch font, such as currier). If one does a Print-Preview in
Internet Explorer 7 (Menu: File -> Print Preview), they see something
like this:

Figure A:

-----Print Preview-----
buttons................
-----------------------
.......|*My Page*|......
.......|blah blah|......
.......|blah blah|......
.......|blah blah|......
.......|blah blah|......
.......|blah blah|......
.......|blah blah|......
.......|blah blah|......
-----------------------

It's a portrait view; it's tall and skinny. It does this orientation
by default. I need it to *automatically* show AND print in landscape
for selected reports. The print-preview ideally could be set for a
given page to *automatically* show as this if and when the user goes
into Print Preview[1]:

Figure B:

-----Print Preview-----
buttons................
-----------------------
...|*****My Page*****|..
...|blah blah blaaaah|..
...|blah blah blaaaah|..
...|blah blah blaaaah|..
...|blah blah blaaaah|..
...|blah blah blaaaah|..
-----------------------

This would be a landscape view (and print in landscape too); it is
wide and flat, unlike Fugure A. Figure A's page is tall and skinny;
Figure B is wide and flat (in case the ascii art get messed up in your
newsreader). Is the difference clear?

I know there's a button to rotate it in the Print Preview screen, but
this is NOT sufficient from my bosses's perspective. The user has to
*manually* know and remember to do that, to press that button (It has
a blue letter "A" on it in my browser). My boss does not want the user
to have to rely on these manual steps; the user should not have to
press the "landscape" button. I need it automatic (if a given page
needs it). I envision some HTML or CSS in the page header or a DIV
that tells IE to assume and present a given page as landscape.
Something equivalent to:

<landscape>
*****My Page*****
<br>blah blah blaaaah
<br>blah blah blaaaah
<br>blah blah blaaaah
<br>blah blah blaaaah
<br>blah blah blaaaah
</landscape>

This would tell the browser to preview AND print that page as
landscape (wide and flat) without the user having to click a button to
change it FROM portrait (tall and skinny) TO landscape (wide and
flat).

(The "landscape" tag does not exist in practice, it is only to convey
the kind of thing I am looking for.)

Thanks

Footnotes:

[1] and print that way too even if the user does not first do a print
preview.

_________
 
T

topmind

Flightless Bird
On Feb 1, 9:19 am, "Jeff Strickland" <crwlrj...@yahoo.com> wrote:
> "topmind" <topm...@technologist.com> wrote in message
>
> news:ba6a4587-6176-483b-876a-c08970e79336@o16g2000prh.googlegroups.com...
>
> >I have a nit-picky boss who doesn't like the way landscape is
> > displayed in IE 7. I've found a way to automatically print a page in
> > landscape okay which solves half the puzzle, but it *displays*
> > sideways in Print Preview, as if somebody rotated the landscape page
> > to the right by 90 degrees when rendering it onto print-preview. Is
> > there a way to make the print-preview automatically display in
> > landscape also? It's okay if it's IE-specific for now; thus I don't
> > need a vendor-neutral solution, as long as it doesn't require
> > installing active-X controls.

>
> > Thanks

>
> In IE8, you can select Print Preview, then from within the preview page you
> can select portait or landscape with a single click. You can jump back and
> forth among these selections, and the page is rendered immediately. You can
> also select Shrink to Fit and a few other settings, so making the changes
> you want is easy and painless.
>
> Select File>Print Preview, or click the down-arrow Printer icon on the Tool
> Bar, then select Print Preview there. The printer settings selected should
> persist for as long as IE is open, and ought to persist across sessions of
> IE.
>
> Print Preview should display the page exactly as it will print, therefore
> when the printer is set to landscape, the page should be turned 90 degrees.


As explained in recent a reply nearby, I need this to be *automatic*.
My boss does not want the user to have to fiddle with the layout and
rotation. I already know it's supposed to be landscape and shouldn't
have to rely on the user to manually change it to landscape. Even
1980's development software did that, it's not like it's a new idea. I
want a command like "THIS PAGE SHALL PRINT IN LANDSCAPE AND PREVIEW AS
LANDSCAPE BY DEFAULT" (my cheap COBOL impression).

Thanks for your reply. I hope my clarification is sufficient. -t-
 
L

Leonard Grey

Flightless Bird
"...doesn't like the way landscape is displayed in IE 7" is not a
correct way of thinking.

A web page's dimensions are determined by the page designer, not the
browser. Most web pages are created to display properly on the
lowest-common-denominator monitor, which is usually 1,024 X 768 pixels.
If that doesn't fit neatly into a landscape (or portrait) orientation,
there isn't anything a browser can do about it.
---
Leonard Grey
Errare humanum est

topmind wrote:
> On Feb 1, 9:13 am, Leonard Grey <l.g...@invalid.invalid> wrote:
>> You haven't told us what it is your boss doesn't like about "the waylandscapeis displayed in IE 7" nor have you described your secret
>> technique to "automatically print a page inlandscapeokay." So it's
>> anybody's guess what your problem is.
>>
>> Keep in mind that the layout of a web page is designed by its author,
>> not the browser. A web browser can only make the page appear larger or
>> smaller. IE 7 introduced an innovation (for Internet Explorer) called
>> Shrink To Fit which does just that - it's the default print setting -
>> although you can't control how a page is 'shrunk to fit'.
>>
>> You may have more success by looking at the configuration options of
>> your printer driver.
>> ---
>> Leonard Grey
>> Errare humanum est
>>
>> topmind wrote:
>>> I have a nit-picky boss who doesn't like the waylandscapeis
>>> displayed in IE 7. I've found a way to automatically print a page in
>>> landscapeokay which solves half the puzzle, but it *displays*
>>> sideways in Print Preview, as if somebody rotated thelandscapepage
>>> to the right by 90 degrees when rendering it onto print-preview. Is
>>> there a way to make the print-preview automatically display in
>>> landscapealso? It's okay if it's IE-specific for now; thus I don't
>>> need a vendor-neutral solution, as long as it doesn't require
>>> installing active-X controls.
>>> Thanks

>
>
> I guess I haven't made myself clear enough. The other reply seemed
> confused by my description also. I'll start over and try some ascii
> art this time around since words are not doing the trick (view art in
> fixed-pitch font, such as currier). If one does a Print-Preview in
> Internet Explorer 7 (Menu: File -> Print Preview), they see something
> like this:
>
> Figure A:
>
> -----Print Preview-----
> buttons................
> -----------------------
> ......|*My Page*|......
> ......|blah blah|......
> ......|blah blah|......
> ......|blah blah|......
> ......|blah blah|......
> ......|blah blah|......
> ......|blah blah|......
> ......|blah blah|......
> -----------------------
>
> It's a portrait view; it's tall and skinny. It does this orientation
> by default. I need it to *automatically* show AND print in landscape
> for selected reports. The print-preview ideally could be set for a
> given page to *automatically* show as this if and when the user goes
> into Print Preview[1]:
>
> Figure B:
>
> -----Print Preview-----
> buttons................
> -----------------------
> ..|*****My Page*****|..
> ..|blah blah blaaaah|..
> ..|blah blah blaaaah|..
> ..|blah blah blaaaah|..
> ..|blah blah blaaaah|..
> ..|blah blah blaaaah|..
> -----------------------
>
> This would be a landscape view (and print in landscape too); it is
> wide and flat, unlike Fugure A. Figure A's page is tall and skinny;
> Figure B is wide and flat (in case the ascii art get messed up in your
> newsreader). Is the difference clear?
>
> I know there's a button to rotate it in the Print Preview screen, but
> this is NOT sufficient from my bosses's perspective. The user has to
> *manually* know and remember to do that, to press that button (It has
> a blue letter "A" on it in my browser). My boss does not want the user
> to have to rely on these manual steps; the user should not have to
> press the "landscape" button. I need it automatic (if a given page
> needs it). I envision some HTML or CSS in the page header or a DIV
> that tells IE to assume and present a given page as landscape.
> Something equivalent to:
>
> <landscape>
> *****My Page*****
> <br>blah blah blaaaah
> <br>blah blah blaaaah
> <br>blah blah blaaaah
> <br>blah blah blaaaah
> <br>blah blah blaaaah
> </landscape>
>
> This would tell the browser to preview AND print that page as
> landscape (wide and flat) without the user having to click a button to
> change it FROM portrait (tall and skinny) TO landscape (wide and
> flat).
>
> (The "landscape" tag does not exist in practice, it is only to convey
> the kind of thing I am looking for.)
>
> Thanks
>
> Footnotes:
>
> [1] and print that way too even if the user does not first do a print
> preview.
>
> _________
 
T

topmind

Flightless Bird
On Feb 4, 11:01 am, Leonard Grey <l.g...@invalid.invalid> wrote:
> "...doesn't like the way landscape is displayed in IE 7" is not a
> correct way of thinking.
>
> A web page's dimensions are determined by the page designer, not the
> browser. Most web pages are created to display properly on the
> lowest-common-denominator monitor, which is usually 1,024 X 768 pixels.
> If that doesn't fit neatly into a landscape (or portrait) orientation,
> there isn't anything a browser can do about it.
> ---
> Leonard Grey
> Errare humanum est
>


I'm still not communicating properly it seems and I don't know where I
am going wrong. Me, myself, and I am the author of the web pages in
question and I want them to print and print-preview as landscape (by
default) without the user having to press a "landscape" button.

I want the programming equivalent of a finger coming out of the web-
page (preview) and clicking that doggon "landscape" button so that the
user doesn't have to. The browser ALREADY has the capability to print
web pages in landscape as demonstrated by the existence of that button/
icon.

Thus, "there isn't anything a browser can do about it" is at least
partly wrong because the browser has that ability, it's just manual
manual manual via a mouse-click. I merely want to automate that
feature so that the desired paper rotation is chosen automatically by
the web page so that the user doesn't have to.

How do I achieve this? I'm not building a Mars rocket here, I just
want landscape printing like they were able to do back in the 80's and
90's. People still use paper, for good or bad, and that setting was
ubiquitous in EVERY single report and C.R.U.D. development tool I've
ever used over the years. One did programming such as:

thisPage.printing.orientation.landscape = True;

Or set landscape as the default in the report builder interface.

Perhaps I'm asking the wrong forum and need to talk to just web
developers. However, I don't see that choice under the
microsoft.public.internetexplorer..... tree. Any other suggestions?

Thanks

-t-
 
R

rob^_^

Flightless Bird
Hi,

IE does not support
@media
orientation:landscape;

do a web search for orientation css print media

Regards.

"topmind" <topmind@technologist.com> wrote in message
news:6fe3ca0a-5f11-4b37-a20c-d0a748819c67@k36g2000prb.googlegroups.com...
> On Feb 4, 11:01 am, Leonard Grey <l.g...@invalid.invalid> wrote:
>> "...doesn't like the way landscape is displayed in IE 7" is not a
>> correct way of thinking.
>>
>> A web page's dimensions are determined by the page designer, not the
>> browser. Most web pages are created to display properly on the
>> lowest-common-denominator monitor, which is usually 1,024 X 768 pixels.
>> If that doesn't fit neatly into a landscape (or portrait) orientation,
>> there isn't anything a browser can do about it.
>> ---
>> Leonard Grey
>> Errare humanum est
>>

>
> I'm still not communicating properly it seems and I don't know where I
> am going wrong. Me, myself, and I am the author of the web pages in
> question and I want them to print and print-preview as landscape (by
> default) without the user having to press a "landscape" button.
>
> I want the programming equivalent of a finger coming out of the web-
> page (preview) and clicking that doggon "landscape" button so that the
> user doesn't have to. The browser ALREADY has the capability to print
> web pages in landscape as demonstrated by the existence of that button/
> icon.
>
> Thus, "there isn't anything a browser can do about it" is at least
> partly wrong because the browser has that ability, it's just manual
> manual manual via a mouse-click. I merely want to automate that
> feature so that the desired paper rotation is chosen automatically by
> the web page so that the user doesn't have to.
>
> How do I achieve this? I'm not building a Mars rocket here, I just
> want landscape printing like they were able to do back in the 80's and
> 90's. People still use paper, for good or bad, and that setting was
> ubiquitous in EVERY single report and C.R.U.D. development tool I've
> ever used over the years. One did programming such as:
>
> thisPage.printing.orientation.landscape = True;
>
> Or set landscape as the default in the report builder interface.
>
> Perhaps I'm asking the wrong forum and need to talk to just web
> developers. However, I don't see that choice under the
> microsoft.public.internetexplorer..... tree. Any other suggestions?
>
> Thanks
>
> -t-
 
P

PA Bear [MS MVP]

Flightless Bird
topmind wrote:
> On Feb 4, 11:01 am, Leonard Grey <l.g...@invalid.invalid> wrote:
>> "...doesn't like the way landscape is displayed in IE 7" is not a
>> correct way of thinking.
>>
>> A web page's dimensions are determined by the page designer, not the
>> browser. Most web pages are created to display properly on the
>> lowest-common-denominator monitor, which is usually 1,024 X 768 pixels.
>> If that doesn't fit neatly into a landscape (or portrait) orientation,
>> there isn't anything a browser can do about it.

>
> I'm still not communicating properly it seems and I don't know where I
> am going wrong.


You got that right! Where in all previous posts in this thread did you
state that you were the author of these pages and WTF does your boss not
liking the "waylandscapeis displayed" got to do with any of it?

> ...Me, myself, and I am the author of the web pages in
> question and I want them to print and print-preview as landscape (by
> default) without the user having to press a "landscape" button.
>
> I want the programming equivalent of a finger coming out of the web-
> page (preview) and clicking that doggon "landscape" button so that the
> user doesn't have to. The browser ALREADY has the capability to print
> web pages in landscape as demonstrated by the existence of that button/
> icon.

<blithersnippage>

Here's my equivalent of a finger...

Developer-specific resources include:

MSDN IE Development Forum (post such questions here instead)
http://social.msdn.microsoft.com/Forums/en-US/iewebdevelopment/threads

IE Developer Center
http://msdn.microsoft.com/en-us/ie/default.aspx

Learn IE8 [fuhgeddabout IE7]
http://msdn.microsoft.com/en-us/ie/aa740473.aspx

HTML and DHTML Overviews and Tutorials
http://msdn.microsoft.com/en-us/library/ms537623.aspx and

Cascading Style Sheets (CSS)
http://msdn2.microsoft.com/en-us/ie/aa740476.aspx
--
~PA Bear
 
T

topmind

Flightless Bird
On Feb 4, 1:34 pm, "rob^_^" <iecustomi...@hotmail.com> wrote:
> Hi,
>
> IE does not support
> @media
> orientation:landscape;
>
> do a web search for orientation css print media


I did, but came up mostly dry. While I've gotten it to print
landscape, the print-preview is then all wrong. I can't get both to be
right at the same time. Again, my boss is picky about such things.

-t-

>
> Regards.
>
> "topmind" <topm...@technologist.com> wrote in message
>
> news:6fe3ca0a-5f11-4b37-a20c-d0a748819c67@k36g2000prb.googlegroups.com...
>
> > On Feb 4, 11:01 am, Leonard Grey <l.g...@invalid.invalid> wrote:
> >> "...doesn't like the way landscape is displayed in IE 7" is not a
> >> correct way of thinking.

>
> >> A web page's dimensions are determined by the page designer, not the
> >> browser. Most web pages are created to display properly on the
> >> lowest-common-denominator monitor, which is usually 1,024 X 768 pixels..
> >> If that doesn't fit neatly into a landscape (or portrait) orientation,
> >> there isn't anything a browser can do about it.
> >> ---
> >> Leonard Grey
> >> Errare humanum est

>
> > I'm still not communicating properly it seems and I don't know where I
> > am going wrong. Me, myself, and I am the author of the web pages in
> > question and I want them to print and print-preview as landscape (by
> > default) without the user having to press a "landscape" button.

>
> > I want the programming equivalent of a finger coming out of the web-
> > page (preview) and clicking that doggon "landscape" button so that the
> > user doesn't have to. The browser ALREADY has the capability to print
> > web pages in landscape as demonstrated by the existence of that button/
> > icon.

>
> > Thus,  "there isn't anything a browser can do about it" is at least
> > partly wrong because the browser has that ability, it's just manual
> > manual manual via a mouse-click. I merely want to automate that
> > feature so that the desired paper rotation is chosen automatically by
> > the web page so that the user doesn't have to.

>
> > How do I achieve this? I'm not building a Mars rocket here, I just
> > want landscape printing like they were able to do back in the 80's and
> > 90's. People still use paper, for good or bad, and that setting was
> > ubiquitous in EVERY single report and C.R.U.D. development tool I've
> > ever used over the years. One did programming such as:

>
> > thisPage.printing.orientation.landscape = True;

>
> > Or set landscape as the default in the report builder interface.

>
> > Perhaps I'm asking the wrong forum and need to talk to just web
> > developers. However, I don't see that choice under the
> > microsoft.public.internetexplorer..... tree. Any other suggestions?

>
> > Thanks

>
> > -t-
 
T

topmind

Flightless Bird
On Feb 4, 4:10 pm, "PA Bear [MS MVP]" <PABear...@gmail.com> wrote:
> topmind wrote:
> > On Feb 4, 11:01 am, Leonard Grey <l.g...@invalid.invalid> wrote:
> >> "...doesn't like the way landscape is displayed in IE 7" is not a
> >> correct way of thinking.

>
> >> A web page's dimensions are determined by the page designer, not the
> >> browser. Most web pages are created to display properly on the
> >> lowest-common-denominator monitor, which is usually 1,024 X 768 pixels..
> >> If that doesn't fit neatly into a landscape (or portrait) orientation,
> >> there isn't anything a browser can do about it.

>
> > I'm still not communicating properly it seems and I don't know where I
> > am going wrong.

>
> You got that right!  Where in all previous posts in this thread did you
> state that you were the author of these pages


I forgot it in the original, but remembered a bit later on. (Not sure
you can see the entire thread.) Sorry about that.

> and WTF does your boss not
> liking the "waylandscapeis displayed" got to do with any of it?


Somebody else's quoting squished the words together, removing spaces,
not my original. That one was not my fault. It's supposed to be "way
landscape is".

The preview also needs to be landscape if a page prints landscape.
That is the way most desktop applications do it and have been doing it
since the late 80's. Try it in Excel, for example. If you set a page
to landscape, it also displays landscape in Print Preview.

>
> > ...Me, myself, and I am the author of the web pages in
> > question and I want them to print and print-preview as landscape (by
> > default) without the user having to press a "landscape" button.

>
> > I want the programming equivalent of a finger coming out of the web-
> > page (preview) and clicking that doggon "landscape" button so that the
> > user doesn't have to. The browser ALREADY has the capability to print
> > web pages in landscape as demonstrated by the existence of that button/
> > icon.

>
> <blithersnippage>
>
> Here's my equivalent of a finger...
>
> Developer-specific resources include:
>
> MSDN IE Development Forum (post such questions here instead)http://social..msdn.microsoft.com/Forums/en-US/iewebdevelopment/threads
>
> IE Developer Centerhttp://msdn.microsoft.com/en-us/ie/default.aspx
>
> Learn IE8 [fuhgeddabout IE7]http://msdn.microsoft.com/en-us/ie/aa740473.aspx
>
> HTML and DHTML Overviews and Tutorialshttp://msdn.microsoft.com/en-us/library/ms537623.aspxand
>
> Cascading Style Sheets (CSS)http://msdn2.microsoft.com/en-us/ie/aa740476.aspx
> --
> ~PA Bear


Sure, I'll give them a try also. Is there a place where I can offer a
reward for a solution? I've already spent hours hunting for a proper
solution.

Thanks
 
T

topmind

Flightless Bird
On Feb 4, 1:34 pm, "rob^_^" <iecustomi...@hotmail.com> wrote:
> Hi,
>
> IE does not support
> @media
> orientation:landscape;
>
> do a web search for orientation css print media
>
> Regards.
>


Addendum. The following hard-found HTML/CSS successfully prints
landscape, but does not *preview* right, showing it "sideways"
instead.

(begin example)

<html>
<head>
<title>Landscape Printing</title>
<style type="text/css" media="print">
<!--
div.page {
writing-mode: tb-rl;
height: 90%;
margin: 7% 0%;
}
-->
</style>
</head>
<body>
<div class="page">
This is a test test test test test test test test test test test test
test test test test test test test test test test test test test test
test test.
<br>
This is a test....

</div>
</body>
</html>

(end of example)

-t-
 
Top