Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to control page setup through ASP

Status
Not open for further replies.

somanivivek

IS-IT--Management
Nov 20, 2001
15
IN
Hi,

I have to print a document on 12x12 inches paper through IE 5.0
The application will be hosted at different locations using different printers.
Not all printer drivers support this paper size.
Hence there's a need to set the paper size to be used by printer through the ASP page ..
Have read about @page, but not sure how and where to use it.

Any clues are highly welcomed.

Regards,
Vivek
 
For future reference, since ASP is executed server-side it doesn't really have anything to do with page layout. The @page thing your looking at is a CSS attribute.
I'm not sure that you will be able to set the page size, especially(sp?!) if the printer driver won't allow it.

Here is a start towards what I think your looking for. There are several media types that you can specify seperate styles for, I am pretty sure IE5.0 supports print media. So you could set up a seperate style for the print media so that it will be printed differantly than it appears on the screen.

For more information on CSS you can visit w3schools: Or ask on the HTML and CSS forum.

-Tarwn ________________________________________________
Get better results for your questions: faq333-2924
Frequently Asked ASP Questions: faq333-3048
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top