Change print orientation by website

  • Thread starter Nevets Steprock
  • Start date
N

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
 
C

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.
 
T

The Cornish Hen

Have print button on page that requests new page with image of the original
oriented 90%
 
Y

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,057
Latest member
KetoBeezACVGummies

Latest Threads

Top