views:

643

answers:

2

I want to get print out invoice but also wanna set margins and page size with javascript or vbscript or anything else. is there any tutorial about that ?

and would you share something about ie8 to get print out easly?

A: 

The best way to have reliable printing is to generate PDFs server-side and have the client download and print those.

RedFilter
A: 

It sounds like you want a CSS print style sheet. See "the definitive guide". P.S. JQuery is a JavaScript library, not a programming language (contrary to the belief of some).

Matthew Flaschen
you are absoulutly right about jquery.I said JQUERY/JAVASCRIPT because of browser capabilities are restricted when we use only css.
uzay95
I wasn't saying only use CSS. But CSS print stylesheets are basically essential when you want nice printouts /and/ nice screen views.
Matthew Flaschen