Don't mix up printing and output to console. If you do output to console, there are no sheets. If you want to print to the printer (or other similar media, such as PDF/XPS), use the class
System.Drawing.Printing.PrintDocument
which gives you full control over print area (in the limits of the available page size/format):
http://msdn.microsoft.com/en-us/library/system.drawing.printing.printdocument.aspx[
^].
By the way, your fragment of code has number of problems. One of them:
sr.WriteLine(Environment.NewLine)
makes little to know sense, this is the same as printing
two empty lines, or simply calling
sr.WriteLine()
twice, because this is the same as calling
sr.Write(Environment.NewLine)
.
—SA