Q:

DotNetBrowser PrintHandler in console application

I am trying to print webpage which is loaded in 'DotNetBrowser.Browser', as PDF document and save locally using DotNetBrowser PrintHandler. This works fine in a windows form application with WinFormsBrowserView but in case of console application, the PrintHandler does not print the entire page i.e. only some parts of the page is printed and saved as pdf. 

A:

Finally i was able to print PDF in console application by setting the initial size to the browser.
browserView.Browser.SetSize(1280, 1024)
This is what i was missing in my code. Since the browser is not shown, setting the initial size solved the problem of incomplete pdf printing.

