@Html.Raw(Json.Encode(student));
[ScriptIgnore]
put above in Model, these props wont go into the JSON
On a print page
<style>
@@page {
margin: 1cm 2cm;
}
textarea {
display:block;
}
</style>
<textarea>
@Html.Raw(Json.Encode(Model));
</textarea>