soumya s

soumya s

  • NA
  • 6
  • 0

How to set pagemargins

May 22 2006 12:54 PM
Hi,

 I need to change the width of the printed content that is printed from CrystalReportViewer on Windows Form. I call print method from within the report class and it prints. Currently it prints on A4 paper. I need to modify so that the printed matter fits a 72 mm broad paper (like those billing machines). How do I do that ?
 I found PageMargins in PrintOptions, but am clueless how to calculate the marigns. Or is there any other way of doing this ? I am new to C#, .NET so am getting nowhere.

thanks in advance,
Soumya.