1. in chrome, navigation to the page you want to print,

in the console, execute this function:

function print_section(section_id) {

    var newWindow = window.open();

2. find the section id you want to print:

if there is no id in the section you want to print, simply add a id to the element by opening the elements tab in chrome console.

the pdf is not perfect as latexpdf, but acceptable.

credit: https://stackoverflow.com/questions/1071962