{"id":6624,"date":"2014-04-20T13:57:29","date_gmt":"2014-04-20T13:57:29","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2014\/04\/20\/how-to-use-native-dot-matrix-printer-fonts-on-reportviewer-collection-of-common-programming-errors\/"},"modified":"2014-04-20T13:57:29","modified_gmt":"2014-04-20T13:57:29","slug":"how-to-use-native-dot-matrix-printer-fonts-on-reportviewer-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2014\/04\/20\/how-to-use-native-dot-matrix-printer-fonts-on-reportviewer-collection-of-common-programming-errors\/","title":{"rendered":"How to Use Native Dot-Matrix Printer Fonts on ReportViewer-Collection of common programming errors"},"content":{"rendered":"<p>Hi Vivek,<\/p>\n<p>If you want to print your report in different fonts based on the printer&#8217;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==&gt;TextBox Properties==&gt; Font==&gt;Right the expression like below for your report<\/p>\n<p><strong>=IIF(Parameters!PrinterType.Value= 1,&#8221;Viner Hand ITC&#8221;,&#8221;Arial&#8221;)<\/strong><\/p>\n<p>You need to change it for all the required text boxes<strong>.<\/strong><\/p>\n<p>Now run the report, give the parameter value and see the result.<\/p>\n<p>Hope this will help you.<\/p>\n<p>Thanks,<\/p>\n<p>Vishal<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Hi Vivek, If you want to print your report in different fonts based on the printer&#8217;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 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-6624","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/6624","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=6624"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/6624\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=6624"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=6624"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=6624"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}