A simple 'classic' sample - with all libraries

At this stage, we have added the Add-on emulation for ScriptX.Services libraries but the sample will still only work in Internet Explorer 11 and will fail in other browsers with "ScriptX is not available or not licensed.".

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.

The default printer is : Unknown

  
Activity log  ::