I'm trying to programmatically print a local ReportViewer report due to the lack of a print button on the report viewer's toolbat for local reports. Using the following code running on my local machine's IIS:
Dim strPrinter As String
Dim prtdoc As New PrintDocument()
Dim strDefaultPrinter As String = prtdoc.PrinterSettings.PrinterName
For Each strPrinter In PrinterSettings.InstalledPrinters
I have 3 printers intalled:
"HP LaserJet 5 on prtserv2"
"Microsoft Office Document Image Writer" *set as default
The only printer I get from the For Each loop is "Adobe PDF". Anyone got any suggestions?