I'm using a webbrowser control in c# to print an html file. When I open the html file with my current navigator (Firefox or chrome), my page is "great", and I have to print it exactlly how I see it. But when I use a webbrowser control in c#, it's like the webbrowser add a "margin-left" property, and my document isn't centred https://i.stack.imgur.com/OTd1a.jpg I also want to remove this "page 1 of 1" and the Title. I know that the webbrowser control in c# use Internet explorer, that's why I added this in my html file:
http-equiv="X-UA-Compatible" content="IE=edge
But this doesn't solve the problem.