Hi Friends,
I am having some doubt. I want to print an ASP Page, for this i need to
use java script.
the problem is while printing if the line is too big, i can't print
those data properly . i am losing some data in the last.
What i want is if at all, the line is big, it should take landscape
proprety in place of Portrait..
Does anyone knows the answer give me reply soon
Thank u.. 11 2207 kr**********@gmail.com wrote: What i want is if at all, the line is big, it should take landscape proprety in place of Portrait..
This is a nuisance and we really need a better solution.
But for IE-only, and by using an ActiveX you can fix this problem (and
set margins and headers too). Use MeadCo's ScriptX control. http://www.meadroid.com/scriptx/ kr**********@gmail.com wrote: Hi Friends, I am having some doubt. I want to print an ASP Page, for this i need to use java script. the problem is while printing if the line is too big, i can't print those data properly . i am losing some data in the last.
What i want is if at all, the line is big, it should take landscape proprety in place of Portrait..
You mean, you want your web page to have greater control over the user's
computer than any other software that exists? Your web page doesn't know
what the printer's capabilities are. It doesn't know how much will fit
on a line. The printer doesn't report back to the browser while it's
printing to tell it things like, "Oh, I just printed a line more than 20
cm wide!" What do you expect to happen if your page is too wide to print
even in landscape?
What you should be doing is designing your web pages so that they fit
onto whatever medium they are displayed on or printed to. Flexible
layout, in other words.
Harlan Messinger wrote: What you should be doing is designing your web pages so that they fit onto whatever medium they are displayed on or printed to.
That's not the question here. The problem is how to force a physical
device into one mode (landscape) rather than another (portrait). This
is entirely reasonable for the page to request, no more than requesting
a color (and the printer is equally entitled to reject either request,
if it's a fan-fold printer with only black ink)
"Andy Dingley" <di*****@codesmiths.com> writes: Harlan Messinger wrote: What you should be doing is designing your web pages so that they fit onto whatever medium they are displayed on or printed to.
That's not the question here. The problem is how to force a physical device into one mode (landscape) rather than another (portrait). This is entirely reasonable for the page to request, no more than requesting a color (and the printer is equally entitled to reject either request, if it's a fan-fold printer with only black ink)
However, browser printing support is fairly poor anyway (I had a data
table I needed to print that was too wide to fit on a landscape A4
page last month - I couldn't find a browser that would print the
remainder of the width of the table on a second sheet)
--
Chris
Andy Dingley wrote: Harlan Messinger wrote:
What you should be doing is designing your web pages so that they fit onto whatever medium they are displayed on or printed to. That's not the question here. The problem is how to force a physical device into one mode (landscape) rather than another (portrait). This is entirely reasonable for the page to request,
It's reasonable to say, "This page is designed to print landscape", not
to expect the program to figure out the line length at print time and
decide what to force the printer to do.
But then, this is the web, and, just as one ought to be designing pages
to fit the browser rather than resizing the browser to fit the page (or,
worse, expecting to be able to change the screen to a higher
resolution), it would be better practice to arrange the page to fit the
dimensions available.
no more than requesting a color (and the printer is equally entitled to reject either request, if it's a fan-fold printer with only black ink)
The OP didn't say "request", he said "force", so obviously his
expectations are stronger than yours.
In article <87************@dinopsis.dur.ac.uk>,
Chris Morris <c.********@durham.ac.uk> wrote: However, browser printing support is fairly poor anyway (I had a data table I needed to print that was too wide to fit on a landscape A4 page last month - I couldn't find a browser that would print the remainder of the width of the table on a second sheet)
Opera will scale the print output however you want. I like this
feature.
-A ax**@spamcop.net (axlq) writes: Chris Morris <c.********@durham.ac.uk> wrote:However, browser printing support is fairly poor anyway (I had a data table I needed to print that was too wide to fit on a landscape A4 page last month - I couldn't find a browser that would print the remainder of the width of the table on a second sheet)
Opera will scale the print output however you want. I like this feature.
Opera was what I eventually used to print it out. The table was about
five A4 sheets wide at normal zoom, though, and when reduced to 25% so
it fit on A4 landscape it was barely readable. It was sufficient -
just - but not what I actually wanted to print.
What I could have done was found a driver that supported A0, printed
to file, and then used some postscript utilities to cut it up into
separate A4 sheets, but I didn't have time to do all that and was
hoping that *some* browser had it as a feature.
This is getting off-topic, though.
--
Chris
Stan Brown wrote: Fri, 17 Mar 2006 11:20:51 -0500 from Harlan Messinger <hm*******************@comcast.net>:
It's reasonable to say, "This page is designed to print landscape", not to expect the program to figure out the line length at print time and decide what to force the printer to do.
Sorry, but why is that reasonable?
Because it may be realistic, if the page contains images wider than a
printed page in portrait mode or a table of data twenty columns wide.
It's reasonable in the same way it's reasonable to float one block to
the right of another--as long as it will sink below the second block if
the display is too narrow for the float to succeed. There's nothing
wrong with specifying the *ideal* layout as long as the display will
still work reasonably under other circumstances.
Wouldn't it depend on the resolution of the printer and on the user's font choices whether a page needs landscape or can fit in portrait?
Depends.
In article <48************@individual.net>,
Harlan Messinger <hm*******************@comcast.net> wrote: It's reasonable in the same way it's reasonable to float one block to the right of another--as long as it will sink below the second block if the display is too narrow for the float to succeed.
I'm still a CSS newbie, so I have to ask: is there any way to
*prevent* the above from happening? I have run into one situation
where it was undesirable to have the floating block sink below its
neighbor when the display got too narrow; it was preferable to let
it get float close as possible and then stop, requiring horizontal
scrolling in the browser.
I didn't know how to accomplish this, so I ended up using a table
for that part of the layout.
-A This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Patrick Herb |
last post by:
Hello,
I'm trying to print the content of a RichTextBox from my VB 6 app.
What I want is that the CommonDialog shows up, the user selects a
printer and the content of the RichTextBox prints to...
|
by: Alejandra Parra |
last post by:
In my code, I print a dataSet
' get grid's PrintDocument object
Dim pd As System.Drawing.Printing.PrintDocument
pd = flexgrid.PrintParameters.PrintDocument()
' set up the page (landscape, 1.5"...
|
by: KohlerTommy |
last post by:
In my application I need to give the user the ability to print duplex if the
selected printer supports duplex printing. Many of the printer options do
not make much sense in my application, and...
|
by: Angel Mazo |
last post by:
Recently, Terminal Server was set-up by site server responsible to
give remote access to some users.
I tested it and application runs ok. Now users get Error # 2202 when
they try to...
|
by: akhosravi4703 |
last post by:
I'm having a problem with an application I pushed out recently.
First, some background
The application was made with Access 97 (unfortunately I'm stuck with
this older version for the moment)...
|
by: Alejandra Parra |
last post by:
In my code, I print a dataSet
' get grid's PrintDocument object
Dim pd As System.Drawing.Printing.PrintDocument
pd = flexgrid.PrintParameters.PrintDocument()
' set up the page (landscape, 1.5"...
|
by: ThunderMusic |
last post by:
hi,
Is there an easy way to change the default printer from .net?
thanks
ThunderMusic
|
by: groulder |
last post by:
hi all,
i have a problem with a network database that's used by a lot of
people.
people are finding, they will start the database, and if the mouse is
moved over the print icon, the tooltip...
|
by: ekynox |
last post by:
Hi guys,
have been playing with WMI to add a network printer connection to a Windows XP pc. My environment consists of a server running Windows Server 2003 and Visual Studio 2005 and a test pc...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
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,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
| |