jsPDF-AutoTable icon indicating copy to clipboard operation
jsPDF-AutoTable copied to clipboard

doc.autoPrint() not working please help

Open thilankascentic opened this issue 8 years ago • 4 comments

Hi Im having an issue with doc.autoPrint(), could anyone know any way to show the document in print preview ?

thilankascentic avatar Jan 20 '18 01:01 thilankascentic

I have the same problem. Did you found a solution? Thanks in advance.

hahnch avatar Mar 07 '18 08:03 hahnch

Hi @hahnch,

I used this

window.open(doc.output('bloburl'), '_blank');

thilankascentic avatar Mar 07 '18 08:03 thilankascentic

ok thx

hahnch avatar Mar 07 '18 08:03 hahnch

si deseas que al cargar la nueva pestaña aparezcan la herramientas para imprimir window.open(pdf.output('bloburl'), '_blank').print();

Miguel-At avatar Jun 17 '20 07:06 Miguel-At