pdfMake - open() and print() functions are not working

Ritik Saxena picture Ritik Saxena · Apr 29, 2017 · Viewed 8.7k times · Source

I'm trying to learn how to use pdfMake. I'm trying to use open and print to generate or print the information respectively. But, when I click on the button which fires the event, a new tab opens for a second and vanishes. The page which opens is displayed in history as blob:http://localhost:9999/93c1600e-3c64-42fe-8b44-fe6eeb995b5e

I'm not able to figure out the error. I'm following the official documentation of pdfMake.

Please help.

Answer

steffanjj picture steffanjj · Apr 29, 2017

Please check that any type of ad blocker in your browser is turned off and try again.