Hello,
I found some code for printing a report (.rdlc) file without using the
ReportViewer control. This code prints in the Portrait orientation which I
presume is the default orientation. I am guessing there is a tag for paper
orientation but I don't know what that tag name is. Does anyone know how you
can specify landscape orientation with this deviceInfo string?
string deviceInfo =
"<DeviceInf o>" +
"<OutputFormat> EMF</OutputFormat>" +
"<PageWidth>8.5 in</PageWidth>" +
"<PageHeight>11 in</PageHeight>" +
"<MarginTop>0.2 5in</MarginTop>" +
"<MarginLeft>0. 25in</MarginLeft>" +
"<MarginRight>0 .25in</MarginRight>" +
"<MarginBottom> 0.25in</MarginBottom>" +
"</DeviceInfo>";