How to Use Native Dot-Matrix Printer Fonts on ReportViewer-Collection of common programming errors

Hi Vivek,

If you want to print your report in different fonts based on the printer’s type then we need to use font from the SSRS expression. You can have a input parameter for printer type and based on the value of printer type input parameter, Report will show data in specific font: To do this, you need to change the textbox property. Right click on any textbox in your report==>TextBox Properties==> Font==>Right the expression like below for your report

=IIF(Parameters!PrinterType.Value= 1,”Viner Hand ITC”,”Arial”)

You need to change it for all the required text boxes.

Now run the report, give the parameter value and see the result.

Hope this will help you.

Thanks,

Vishal