Print parts of a webpage

8 views
Skip to first unread message

Abu Shahin

unread,
Nov 7, 2021, 3:23:59 PM11/7/21
to nw.js
Hi there, I am trying to print a part of a page without any luck.
Here's some code I tried from searching on the web.
I do not get any logs so not sure what is happening.
Any help or pointers would be highly appreciated. I need to find a div by id and print that.
I saw somewhere that I could create a new window and then call then print when loading finishes but I am not sure how to do that either.
Thanks in advance.
Reply all
Reply to author
Forward
0 new messages