function imprimirElemento(elemento)
{
var ventana = window.open('', 'PRINT', 'height=1122,width=793');
ventana.document.write('<html><head><title>' + document.title + '</title>');
ventana.document.write('</head><body>');
ventana.document.write('<div style="width:600px; height:800px;">' + elemento.innerHTML + '</div>');
ventana.document.write('</body></html>');
ventana.document.close();
ventana.focus();
ventana.print();
ventana.close();
return true;
}
document.querySelector(".btn_imprimir").addEventListener("click", function()
{
var div = document.querySelector(".imprimir_listado");
imprimirElemento(div);
});