Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Printing pages
Message
 
To
26/09/2002 06:26:24
General information
Forum:
Internet
Category:
DHTML
Title:
Miscellaneous
Thread ID:
00703729
Message ID:
00705230
Views:
9
Len;

Excellent references and concepts – well done! Printing browser presented information is a great pain! First we have the issue of which browser will be in use and then for those of us who have corporate mandated browsers (IE) we have differences in how one browser version reacts compared to another.

I have been called “cruel” by several developers whom I told I disabled the users ability to select View/Text Size and resize the browser font. My reasoning is simple – I must emulate preprinted forms. Still I have not been able to get some developers to understand correctly presented material is more important than the users “browser experience”!

I have several major Intranet applications, which include reports. The reports were done in ASP as I have to use absolute positioning to insure that all objects and data are presented on the print out. Having more than one bag of tricks is so important to anyone who is a software developer! I intend to use a few of the tricks presented and do use CSS with great results on my forms which appear on screen.

Thank you again.

Tom



>>hi,
>>i am not too sure if this is the best section to put this question in but maybe someone can point me in the right direction anyway. i am trying to get a page to print but it is 800 pixels wide and the printer only prints about 600. ths information is in a table and the cell on the left is what i am trying to print. i dont want to use frames but is there any way that i can specify a cell that the printer should print instead of the entire page.
>>hope that makes sence, any help much appreciated
>>cheers
>>~M
>
>You might try using the media options of CSS to enable/disable printing for specific cells in the table.
>http://www.meyerweb.com/eric/articles/webrev/200001.html
>http://www.alistapart.com/stories/goingtoprint/
>
>If the section of table to be printed is fixed, then simply assign appropriate styles defined for both screen & printer.
>
><style type="text/css">
>.cell1 {
>       display: block;
>       }
>@media print
>.cell1 {
>       display: none;
>       }
>}
></style>
>
>
>If dynamically selecting area to print, then the style properties can be manipulated by accessing through the styleSheets property of the document.
>http://msdn.microsoft.com/workshop/author/dhtml/reference/collections/stylesheets.asp
>
>I haven't found an easy way to determine the media a particular rule applies to, other than using separate style sheets with specific media & searching for the style sheet with media="print". You can then search the rules of that style sheet to find the required selector & modify the properties of the associated style.
>
><style type="text/css" media="screen">
>.cell1 {
>       display: block;
>       }
></style>
><style type="text/css" media="print">
>.cell1 {
>       display: none;
>       }
></style>
>
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform