I found two ways of doing so, the first one is not great because it is not documented, and this may not be working in new releases (will not work once Java components are removed from MATLAB).
They both share the same con, and that is, once the code is ran, you have to manually finish the operation by entering filename and/or printer.
First option is through MATLAB's browser client:
desktop = com.mathworks.mde.desk.MLDesktop.getInstance;
webBrowserClient = desktop.getClient('Google');
webBrowserPanel = webBrowserClient.getComponent(0);
webBrowserWidgets = webBrowserPanel.getComponent(0)
printButton = webBrowserWidgets.getComponent(5);
Second is through Internet Explorer:
ieHandle = actxserver('internetexplorer.application');
ieHandle.Visible = 1;
There's also a possibility using websave combined with MATLAB Report Generator to convert html to other file formats.