This sample uses the ScriptX.Add-on, jQuery and the MeadCoJS library to provide page printing and PDF document printing.
The MeadCoScriptXJS library is used as it provides benefits when transitioning to using both ScriptX.Addon and ScriptX.Services with the same javascript code. It isnt required, it just makes life a little easier. If you are not currently using the library, adding it to your code is simple.
The samples also use Bootstrap 3. This is retained for this sample; it has no impact on actual print code.
Note that the presense of the emulation libraries does not interfere with the correct functioning of the add-on when this is viewed in Internet Explorer but also note that the emulated installed version of ScriptX has lit up at the top right of this view when viewed in a browser other than Internet Explorer.
The code needs MeadCoScriptXJS 1.5.6 or later to work correctly.