Cloned from bug 74536, comment 8.
1. Go to Tools - Customize - Events. Select "Print document" and assign an empty macro (standard - module1 - main)
2. Still in the Customize dialog, select Libreoffice in the "Save in" dropdown
3. Create and save a new text document
4. Change document editing status to read-only status using Edit - Edit mode (Ctrl-Shift-M)
5. Print document
Printing fails with error message: com.sun.star.uno.RuntimeExceptionScriptProtocolHandler::createScriptProvider(),
Win 7 Pro 64-bit Version: 184.108.40.206.alpha0+
Build ID: b13534de022972131b46f93f5ada90af155eec9e
TinderBox: Win-x86@62-TDF, Branch:MASTER, Time: 2015-02-19_00:21:37
Confirmed by raal on Linux and the original reporter on Win 7.
Same problem as in issue 45313
*** This bug has been marked as a duplicate of bug 45313 ***