HighDots Forums  

Set printer paper size from HTML?

HTML Writing HTML for the Web (comp.infosystems.www.authoring.html)


Discuss Set printer paper size from HTML? in the HTML forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Al Grant
 
Posts: n/a

Default Set printer paper size from HTML? - 01-28-2008 , 01:25 PM






I have a 'printable' button to generate printable output
and want this to use A3 if available, irrespective of the
user's default printer setting. Is there any way to set
a page's preferred printed paper size from HTML?
Portable if possible, but IE-only would be better than nothing.

Reply With Quote
  #2  
Old   
Bergamot
 
Posts: n/a

Default Re: Set printer paper size from HTML? - 01-28-2008 , 01:38 PM






Al Grant wrote:
Quote:
I have a 'printable' button to generate printable output
and want this to use A3 if available, irrespective of the
user's default printer setting.
What if the user doesn't have A3 paper?

--
Berg


Reply With Quote
  #3  
Old   
Harlan Messinger
 
Posts: n/a

Default Re: Set printer paper size from HTML? - 01-28-2008 , 01:40 PM



Al Grant wrote:
Quote:
I have a 'printable' button to generate printable output
and want this to use A3 if available, irrespective of the
user's default printer setting. Is there any way to set
a page's preferred printed paper size from HTML?
Portable if possible, but IE-only would be better than nothing.
Definitely not in HTML. In CSS3, yes, but this isn't an official
recommendation yet and I doubt it has sufficient browser support,
particularly in IE, though I could be wrong.


Reply With Quote
  #4  
Old   
Harlan Messinger
 
Posts: n/a

Default Re: Set printer paper size from HTML? - 01-28-2008 , 01:42 PM



Harlan Messinger wrote:
Quote:
Al Grant wrote:
I have a 'printable' button to generate printable output
and want this to use A3 if available, irrespective of the
user's default printer setting. Is there any way to set
a page's preferred printed paper size from HTML?
Portable if possible, but IE-only would be better than nothing.

Definitely not in HTML. In CSS3, yes, but this isn't an official
recommendation yet and I doubt it has sufficient browser support,
particularly in IE, though I could be wrong.
I'm not wrong. IE7 doesn't support it.


Reply With Quote
  #5  
Old   
David Stone
 
Posts: n/a

Default Re: Set printer paper size from HTML? - 01-28-2008 , 04:11 PM



In article <606p8tF1nu0omU1 (AT) mid (DOT) individual.net>,
Bergamot <bergamot (AT) visi (DOT) com> wrote:

Quote:
Al Grant wrote:
I have a 'printable' button to generate printable output
and want this to use A3 if available, irrespective of the
user's default printer setting.

What if the user doesn't have A3 paper?
What if the user does have A3 paper, but wants to print on
A4 paper anyway? Maybe they even prefer to do a "two up"
layout to save paper, so each page is effectively A5?

There's a reason that these things are called USER preferences!


Reply With Quote
  #6  
Old   
David E. Ross
 
Posts: n/a

Default Re: Set printer paper size from HTML? - 01-28-2008 , 06:55 PM



On 1/28/2008 11:25 AM, Al Grant wrote:
Quote:
I have a 'printable' button to generate printable output
and want this to use A3 if available, irrespective of the
user's default printer setting. Is there any way to set
a page's preferred printed paper size from HTML?
Portable if possible, but IE-only would be better than nothing.
Being in the U.S., I have letterhead and legal sizes of paper but no A3.
Do you mean that I should not print your page?

As for your "IE-only would be better than nothing", the trend is that
IE-only might someday become nothing. IE's share of the browser market
has been declining steadily for the past four years.

--
David Ross
<http://www.rossde.com/>

Have you been using Netscape and now feel abandoned by AOL?
Then use SeaMonkey. Go to <http://www.seamonkey-project.org/>.


Reply With Quote
  #7  
Old   
Stan Brown
 
Posts: n/a

Default Re: Set printer paper size from HTML? - 01-28-2008 , 11:51 PM



Mon, 28 Jan 2008 11:25:05 -0800 (PST) from Al Grant
<algrant (AT) myrealbox (DOT) com>:
Quote:
I have a 'printable' button to generate printable output
and want this to use A3 if available, irrespective of the
user's default printer setting.
Stop wanting that. What size paper I use is my business, not yours.

--
Stan Brown, Oak Road Systems, Tompkins County, New York, USA
http://OakRoadSystems.com/
HTML 4.01 spec: http://www.w3.org/TR/html401/
validator: http://validator.w3.org/
CSS 2.1 spec: http://www.w3.org/TR/CSS21/
validator: http://jigsaw.w3.org/css-validator/
Why We Won't Help You:
http://diveintomark.org/archives/200..._wont_help_you


Reply With Quote
  #8  
Old   
liamgegan@gmail.com
 
Posts: n/a

Default Re: Set printer paper size from HTML? - 01-29-2008 , 03:18 AM



On Jan 29, 11:52 am, "usenet.su... (AT) gmail (DOT) com" <usenet.su... (AT) gmail (DOT) com>
wrote:
Quote:
You are always wrong because *your* an idiot.
lol Irony much?



Reply With Quote
  #9  
Old   
Andy Dingley
 
Posts: n/a

Default Re: Set printer paper size from HTML? - 01-29-2008 , 04:06 AM



On 28 Jan, 19:38, Bergamot <berga... (AT) visi (DOT) com> wrote:

Quote:
What if the user doesn't have A3 paper?
Then the page should throw some degree on exception on printing,
possibly recoverable for manual intervention.

This isn't about selfishly excluding Americans who only have letter
and legal paper, it's about auto-switching printers with multiple
paper trays. It's a useful feature - nothing at all wrong with it.


AFAIK, it's not possible (for good, practical, standards-based
solutions available today). Future CSS will do it one day, in the
meantime there are IE-only solutions using an ActiveX control (start
looking with ScriptX from MeadCo)


Reply With Quote
  #10  
Old   
Al Grant
 
Posts: n/a

Default Re: Set printer paper size from HTML? - 01-29-2008 , 06:54 AM



On 28 Jan, 22:11, David Stone <no.em... (AT) domain (DOT) invalid> wrote:
Quote:
What if the user does have A3 paper, but wants to print on
A4 paper anyway? *Maybe they even prefer to do a "two up"
layout to save paper, so each page is effectively A5?
There's a reason that these things are called USER preferences!
I and colleagues are the users and this is how we would
prefer to do it. The pages contain machine-generated reports.
The HTML specifies the fonts, font sizes, colors etc. to
maximise readability; specifying a paper size preference
would avoid paper wastage when people forget to select A3
and get something unreadably small.

Why the assumption that I'm setting up a public website
that has to be acceptable to the US market? It seems to
reflect a narrow view of what HTML can be used for.


Reply With Quote
Reply




Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.