I've designed my web pages to fit within the 800x600 resolution.
Upon printing out a page on my printer, I was surprised to find that the content gets cut off.
Its obvious that the margins are, by the printers default, set to too large of a value, because there was room to spare on the sheet.
I'm designing my site to be "user friendly", so for the pages that need to be printed out, they will have to fit on the page properly, and I can't expect the user to go into the page setup and set the printers default margins to a smaller value.
It was suggested by a member of this forum to use
CSS print style sheets. I looked into these print style sheets and found that setting the margins for the page won't make much difference when the page is printed out. The
CSS code won't be able to override a users printers default margin settings, right?
So how about converting my JSP page into PDF? Can it be done? and what do I need to do this?
OR - are there some Java classes available to help with the orientation/setting of margins of a page for proper printout?
Need some advice
Thank you in advance.