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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

PRINTING, MARGINS E SO ON

Status
Not open for further replies.

wms1miranda

Programmer
May 28, 2001
2
BR
Hi everyone.


I'd like to print on A4 page, but i dont know de margins specification and paging etc... some one could help me... expland me how can I print correct in a page from a browser windows.


thanks a lot!
washington
 

:cool:
Are you trying to create a link to automate printing onto A4 paper through a site or just want to know how you can print on to A4 paper from your pc???
 
The only option that you have using static HTML and CSS is two CSS definitions:
page-break-before
page-break-after

that allows to specify how the page is brkoen into pages when printed. Look up the syntax of the commands on W3.org CSS specifications or MSDN. If you have server-side scripts, you can prepare "printer-firendly" pages. That's all. What is the paper size is really dependent on what printer does the user have on the client computer. And you have no control of this, do you? :)

HTH ---
---
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top