Skip to content Skip to sidebar Skip to footer

Javascript - Detect Print (not Print Preview) Event

I have a custom print preview page that shows up when a user wants to print a page. After this page, the user is directed to the browser print preview page (where you select printe

Solution 1:

The watchMedia API could be used for it I think, but I never tried. See more infos here (they have a example about printing) and good luck !


Post a Comment for "Javascript - Detect Print (not Print Preview) Event"