Printing problem in production machine
Happy New year 2015
This below code is working fine in the development machine, when you press the button you get the report printed in the printer for the parameter provided.
Windows 8 64 bits
VS2013 Professional Update 4
Net Framework 4.5
Crystal Report 13
Private Sub WebImgButPrintCustIssueRep_Click(sender As Object, e As Infragistics.WebUI.WebDataInput.ButtonEventArgs) Handles WebImgButPrintCustIssueRep.Click
reportdocument As New CrystalDecisions.CrystalReports.Engine.ReportDocument()
repordocument.PrintToPrinter(1,False, 0, 0)
Windows Server 2012
The application works fine after deployment, but when you press on the button to print the report directly to the printer, doesn't give any error, doesn't do nothing visible but doesn't print.
I HOPE YOU CAN HELP ME, I am having this problem since some months ago, I am researching and reading everything I found, no luck.