A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More

How to print the current page using episerver CMS 5?

Vote:
 

Hi

i have a link(named print) in footer of each page. on the click of print i need print-dialog to get open and print the current page. how could i get this?

Thanks,

Nishath

#24239
Sep 29, 2008 8:09
Vote:
 

To open the print dialog simply call javascript window.print().

Note that you can specify a separate stylesheet for printing, read more here.

 

#24241
Sep 29, 2008 8:38
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.