i already can create a print to print a file in my windows forms. However, whenever i add this code:
printDialog.PrinterSettings.DefaultPageSettings.Landscap
try setting the Landscape of PrintDocument as follows,
Landscape
printDocument1.DefaultPageSettings.Landscape = true;