Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Services > Change print orientation by website

Reply
Thread Tools

Change print orientation by website

 
 
Nevets Steprock
Guest
Posts: n/a
 
      05-05-2005
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


 
Reply With Quote
 
 
 
 
C.F.
Guest
Posts: n/a
 
      05-05-2005
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...
>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
>



 
Reply With Quote
 
 
 
 
The Cornish Hen
Guest
Posts: n/a
 
      05-05-2005
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...
>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
>



 
Reply With Quote
 
Yunus Emre ALPÖZEN [MCAD.NET]
Guest
Posts: n/a
 
      05-05-2005
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...
>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
>



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to set print orientation in IE6? Gary Javascript 1 11-09-2007 07:48 PM
print html in different orientation,a COM,shareware. ianrosengren Javascript 0 03-31-2006 02:02 AM
Change print orientation by website Nevets Steprock ASP .Net Web Controls 3 05-05-2005 07:42 PM
Change print orientation by website Nevets Steprock ASP .Net 3 05-05-2005 07:42 PM
<FORM METHOD="post" onSubmit="return fieldcheck()" name="orientation" action="http://ws-kitty.BU.edu/AT/survey/orientation/script/write.asp" language="JavaScript"> Joeyej ASP .Net 0 06-04-2004 07:55 PM



Advertisments