Skip to content

Printviewmenu button

Juergen Hasch edited this page Feb 9, 2014 · 3 revisions

This extension provides a toolbar button to call the menu item File->Print Preview directly.

Installation

Copy the printpreviewmenu_button.js file, and add require(['/static/custom/printpreviewmenu_button.js']) to custom.js in your profile's /static/custom directory, so it looks like this:

$([IPython.events]).on('app_initialized.NotebookApp', function(){
  //... 
  require(['/static/custom/printpreviewmenu_button.js'])
});

Clone this wiki locally