DotQuery
Sunday, February 16, 2020
Direct landscape print in javascript or direct landscape print in jquery or direct landscape print in html
<script src="~/assets/js/jquery.min.js"></script>
<script>
$(document).ready(function () {
window.print();
})
</script>
<style type="text/css" media="print">
@page {
size: landscape;
}
</style>
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
Linq Expression syntax for where condtion in linq
(Expression<Func<T, bool>> filter)
Page preview on single click VS2015
Page preview on single click VS2015 or further or on single click page open in solution explorer Menu>Tools>Options>Environment...
No comments:
Post a Comment