so no again. You can't control the client printer. You CAN control the web page layout using CSS (Cascading Style Sheets), but ultimately, the user can set up their printer however they want and you can't override that.<BR>Learn more about CSS here:<BR>http://htmlgoodies.earthweb.com/css-ref/part2.html
But it is not the printer that i want to set up, it is the margin property. Usually when user print a page from a web site, it does prompt for printer selection but it does not prompt for margin setting. So I thought we can use scripting to set it. Because I have to print "Invoice" and I thought that I could make the table size fits almost exactly the size of A4 paper. Hope anybody can help me.<BR>Thanks. ;)
Not using any easy method. If you can get your users to download and install an ActiveX Object that you have written...You can do any dang thing you want to. If this is for an internet site...Forget about it. If it's for an intranet, it might be worth a shot.<BR><BR>
A bit too in depth for a forum like this. Besides...I've never written an ActiveXObject that manipulates a printer, so it isn't code that I could give you off the top of my head.<BR><BR>I suggest you find a nice course on Visual Basic, and take it. It'll get you started in the right direction.