|
code
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Change print orientation by websiteI 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 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 > 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 > 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 >
DropDownList - Programmatically setting the background colour of i
Drop down list viewstate; please HELP! Can I set initial focus from server-side into textbox? custom webcontrol : render and then get "html" result in server side Image auto sizing in asp.net VS.NET 2003 using ASP.NET & VB.NET -- IDE design time problems? Adding control to datagrid Empty column How to make datagrid headders non Scrollable in a multi page contr Column span datagrid header |
|||||||||||||||||||||||