Tuesday, 8 March 2016

How to call Print JobSettings in SSRS

Args args = new Args(reportstr(POSReciept)); 
PrintJobSettings printJobSettings; 
ReportRun reportRun; 

printJobSettings = new PrintJobSettings(); 
printJobSettings.SetTarget(PrintMedium::Printer); printJobSettings.suppressScalingMessage(true); 

reportRun = new ReportRun(args); 
reportRun.setTarget(PrintMedium::Printer); 
reportRun.init(); reportRun.run();

No comments:

Post a Comment