473,503 Members | 1,711 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Change print orientation by website

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
Nov 19 '05 #1
3 2358
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

Nov 19 '05 #2
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

Nov 19 '05 #3
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

Nov 19 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
17646
by: Ronny Sigo | last post by:
Hello all, I am trying to programmatically change the orientation of a MS Word Document to landscape. I must be doing something wrong cause it does not work ... can anybody help me with this?...
5
7091
by: Hank | last post by:
My Access 2000 code has been running for several years in our main plant. Now we need to install it, as a stand-along application, at remote sites, some of which are out of state. My problem is...
0
2472
by: Marc Scheuner [MVP ADSI] | last post by:
Folks, How can I get the default printer (not just its name - the "whole" thing), and change its paper orientation to landscape? I'm trying to print a hosted HTML document (inside a web...
2
13617
by: Sean McKaharay | last post by:
I want to find out how I can change the page orientation of a printer.
1
18254
by: PCB | last post by:
Hi all! I have a subroutine that prints reports on a specific printer. The code works fine as long as all the printers available to the computer are on the network. However, if the computer also...
1
3587
by: iwongu | last post by:
Hi, I have a question about std::wcout and its underlying C functions. According to C99, a stream have an orientation type that is one of byte-oriented or wide-one, and it is determined by the...
0
2463
by: Brad Pears | last post by:
I have a vb.net 2005 application where the user can select to preview an image. The users are CAD designers and typically have their default printer set to a plotter with a large paper size etc......
2
4375
by: satnamsarai | last post by:
it is possible to change page orientation to landscape from asp.net page? I am using window.print() dialog to print a page and I would like that page to print automatically in landscape view.
0
1523
by: vandervelde | last post by:
Hi, A couple of machines in the office have recently upgraded to word 2003 and the printing macros for these machines are working intermittently. The macro takes the computer name and a printer...
0
7202
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7086
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7280
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
5578
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
4672
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3154
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1512
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
736
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
380
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.