I have a report that prints just fine to NT networked printers. However,
fails when it is sent to a ipp printer. The error messge is:

An Exception 'Unhandled Win32 Exception' has occurred in Spoolsv.exe

The VB code itself seems to execute without error. I get to the End Try of
this code without triggering the Catch code. The unhandled exception comes
after the call to the printer and before the End Try. Here is the code:

Dim rptRevenueTracking As New ReportDocument
Dim strLoadPath As String
= "D:\Crystal.Net\Bar\Reports\HospitalCharges.rp t"
' Load the report
rptRevenueTracking.PrintOptions.PrinterName =
rptRevenueTracking.PrintToPrinter(1, False, 0, 0)
Catch exRpt As LoadSaveReportException
MsgBox("Incorrect path for loading report: " & strLoadPath, _
MsgBoxStyle.OKOnly Or MsgBoxStyle.Critical, Me.Text)
Catch ex As Exception
MsgBox(ex.Message, MsgBoxStyle.OKOnly Or MsgBoxStyle.Critical, Me.Text)
End Try