Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8950

Re: PrintToPrinter Not working in Web Server

$
0
0

Hi Ludek,

               After installing default printer on Server, i got No printers installed.

below is my code, (checking in Default printer installed or not in TRY)

 

CR_TGL_EBL.HasSearchButton = False

CR_TGL_EBL.ReportSource = rpt

Try

rpt.PrintToPrinter(No_of_copies, True, 0, 0)

Catch ex As Exception

Page.ClientScript.RegisterStartupScript([GetType](), "printer Problems", (Convert.ToString("alert('" + ex.Message + " ")) +"Your associated printer not working contact the admin!');", True)

End Try

 

 

Even i installed default printer i got alert message, How to get direct print in server.

Locally it's working fine. Once i enable printtoprinter it's loading only...

 

Please help me to solve this issue...

 

Regards,

Mani.

 

Printtoprinter Msg.jpg


Viewing all articles
Browse latest Browse all 8950

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>