Code for Printing off a datagrid from a web page

  • Thread starter Thread starter DeWitt Phillips
  • Start date Start date
D

DeWitt Phillips

All,
Does anyone know where I can find or how to start to write code that
creates printing options against a populated datagrid on a web page?
Printing options such as: landscape or portrait, margins, paper size,
records per page, in other words a way to make the datagrid printer
friendly!

Thanks In Advance
DeWitt
 
Hi,

You could probably employ the "@media" CSS attribute to make the grid look
printer-friendly when it is output to the printer. However, I'd suggest to
rely on the browser's printing preferences such as page orientation and
margins the user is more likely to be familiar with.
 
Back
Top