I have an idea with HTML tables filled with the information I want to print in ASP.NET MVC 4 and C #.
I do not know the actual code that prints the document.
any help would be appreciated
You have two options.
Use js
<a href="javascript:window.print()">Click to Print This Page</a>
Or print to PDF using the result of the action in MVC
For the JS option, you will need to create a print css file to best display the page during printing, and also to hide some element that you do not need to display - a menu, for example.
Source: https://habr.com/ru/post/1490456/More articles:Why is it desirable to use all properties instead of public instance variables in C #? - c #How to access Laravel 4 errors in TwigBridge? - twighttps://translate.googleusercontent.com/translate_c?depth=1&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1490453/corrupted-images-in-git-repository&usg=ALkJrhjDblgF9gk6F1y9fY2s5GyBwT7KkQHow to add a title with .NetOffice library - c #How to change button text color for different states in Expression Blend? - user-interfaceHTML table with 100% height and rows equally divided by height. How to do it? - htmlparsing multiple lists in bbcode? - phpWhen to use __bridge_transfer and __bridge - iosseries of channels with large numbers, for which to turn off one switch, turn off another - javascriptHow to scan JARs loaded at runtime using the Google reflection library? - javaAll Articles