Home All Groups Group Topic Archive Search About

Change print orientation by website

Author
5 May 2005 3:44 PM
Nevets Steprock
I have a webpage that prints nicely when the layout is switched from
portrait to landscape. Many of my site users have mistakenly printed it
without making the change to their settings and end up with a cropped
printout. I have researched this and have been told by many people that this
cannot be done as there is no way for a website to programmatically change
printer settings on an end users computer.

Any solutions or workarounds would be appreciated.

Steven

Author
5 May 2005 4:22 PM
C.F.
You might have to leave that chore to the visitor. I had table with very
nice interlaced row color. I found the Advanced Internet Option of IE has to
be changed to print the backgroud color.

"Nevets Steprock" <.@.> wrote in message
news:fbree.35569$vN2.27468@clgrps13...
Show quoteHide quote
>I have a webpage that prints nicely when the layout is switched from
>portrait to landscape. Many of my site users have mistakenly printed it
>without making the change to their settings and end up with a cropped
>printout. I have researched this and have been told by many people that
>this cannot be done as there is no way for a website to programmatically
>change printer settings on an end users computer.
>
> Any solutions or workarounds would be appreciated.
>
> Steven
>
Author
5 May 2005 5:58 PM
The Cornish Hen
Have print button on page that requests new page with image of the original
oriented 90%





"Nevets Steprock" <.@.> wrote in message
news:fbree.35569$vN2.27468@clgrps13...
Show quoteHide quote
>I have a webpage that prints nicely when the layout is switched from
>portrait to landscape. Many of my site users have mistakenly printed it
>without making the change to their settings and end up with a cropped
>printout. I have researched this and have been told by many people that
>this cannot be done as there is no way for a website to programmatically
>change printer settings on an end users computer.
>
> Any solutions or workarounds would be appreciated.
>
> Steven
>
Author
5 May 2005 7:42 PM
Yunus Emre ALPÖZEN [MCAD.NET]
If i fully understood what u mean, it is possible using css. Set text
direction for media print...

Sample code:
<style>
@media print
{
..verticalClass{
writing-mode: tb-rl;
}
}
</style>
<body>

<div class=verticalClass>
This is a sentence in a DIV element with vertical layout.
</DIV>
</body>

Only when user wants to print a page all text in div will be displayed with
vertical layout
--

Thanks,
Yunus Emre ALPÖZEN
BSc, MCAD.NET

"Nevets Steprock" <.@.> wrote in message
news:fbree.35569$vN2.27468@clgrps13...
Show quoteHide quote
>I have a webpage that prints nicely when the layout is switched from
>portrait to landscape. Many of my site users have mistakenly printed it
>without making the change to their settings and end up with a cropped
>printout. I have researched this and have been told by many people that
>this cannot be done as there is no way for a website to programmatically
>change printer settings on an end users computer.
>
> Any solutions or workarounds would be appreciated.
>
> Steven
>