I am currently working on asp.net c# Project on POS(Point Of Sale). i am using javascript function on page load but it populate print dialogue box in google chrome. This is my page load javascript function.
HideCopy Code
Code
script type="text/javascript"> window.onload = function () { window.print(); } script>
I dont want this google chrome print dialog box. how can in print invoice directly on button click...I am stuck at this point. I try my best but did not find. Anyone help regarding this problem. Please help me out
What I have tried:
i used javascipt function. i want some c# function which directly print the invoice.
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.
Vishal JadavRank #1,692 · 901 reputationPosted Jul 25, 2016, 4:00 AM EDT