Click here to get back home

doubt in printer options

 HomeNewsGroups | Search | About
 comp.infosystems.www.authoring.html    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
doubt in printer options krishnamaddi 03-17-2006
Get Chitika Premium
Posted by krishnamaddi on March 17, 2006, 12:52 am
Please log in for more thread options


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


Posted by Andy Dingley on March 17, 2006, 6:18 am
Please log in for more thread options



krishnamaddi@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/


Posted by Harlan Messinger on March 17, 2006, 9:34 am
Please log in for more thread options


krishnamaddi@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.

Posted by Andy Dingley on March 17, 2006, 11:05 am
Please log in for more thread options


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)


Posted by Chris Morris on March 17, 2006, 11:19 am
Please log in for more thread options


> 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

Similar ThreadsPosted
Set printer paper size from HTML? January 28, 2008, 2:25 pm
options list please May 8, 2006, 3:13 pm
How to use the Options tag in HTML (help needed asap!) October 11, 2004, 2:55 pm
An editor with better search/replace options... April 29, 2005, 12:22 pm
linking menu options to other pages December 7, 2006, 11:40 pm
Frame target does not always work? Options March 27, 2008, 2:42 pm
W3C Validator (CSS, XHTML) for intranet websites: which options are available? January 13, 2008, 1:15 pm
Options for real-time plotting of server-side data? October 19, 2005, 12:36 pm
Title search options-- Need recommendations for search-engine utilities. November 18, 2005, 12:09 pm

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap