ver permisos_bodega.php
	Ejemplo basico
        porBodegaPDF:function() {
            let doc = new jspdf.jsPDF({orientation:"landscape", format:"letter"});
            doc.autoTable({ html: '#pb_permiso_bodega_tabla' });
            doc.save('permisos_por_bodega.pdf');
        },

ver dialogExistencia.js
	OJO jsPdf tiene problemas con utf-8
	Toma la tabla, la cambia hace el pdf y regresa la tabla a como estaba.
            var doc = new jspdf.jsPDF({format:"letter"}),
                $tabla=$("#tabla_consulta_existencia"),
                $caption=$("#tabla_consulta_existencia_title"),
                era = $tabla.html()
            ;
            $caption.html($("#consultaExistenciaProducto").dialog("option", "title"));
            $tabla.html(
                $tabla.html().replaceAll("▶"," ").replaceAll("▼"," ").replaceAll('⦽', ' ').replaceAll('⬰',' ').replaceAll('⇴',' ')
            );
            doc.autoTable({ html: '#tabla_consulta_existencia' });
            doc.save('existencia.pdf');
            $tabla.html(era);