dcsimg

When I use window.print(), a confirmation dialog appears. How can I print from JavaScript without getting the print dialog?

Manohar Raj

JavaScript doesn't support the behavior you are after.