Another use of void is to purposely generate the undefined value as follows. Sign up or log in to customize your list.
Join Stack Overflow to learn, share knowledge, and build your career. This code opens up the print page from where the user should manually choose print to PDF. Can this be done automatically? Yes provided that your users have a few things installed.