New ASP.NET MVC Helpers for MeadCo ScriptX

Version 2.0.0 of MeadCo ScriptX Helpers for ASP.NET MVC is now available on Nuget and Github. Also available is version 2.0.0 of MeadCo.ScriptXConfigurationHandler, also on Nuget and GitHub. All code is available under the MIT Open Source License. If you don’t know what these helpers are and how they can help then take a look at our quick introduction that uses v1. These are the next two pieces of our ScriptX 8 puzzle. We are working towards this release with…

Read More

MeadCo ScriptX Javascript Library 1.1

Version 1.1.0 of the javascript helper for ScriptX is now available on Nuget. Full source is available on GitHub. The library provides wrappers on common functionality and has proved to be very popular with many developers deploying ScriptX to provide controlled and consistent printing from Internet Explorer on Windows. Version 1.1 has a new implementation of the namespaces MeadCo and MeadCo.ScriptX. The new implementation allows extension of the namespace so that we can provide additional functionality in the future. The implementation…

Read More

AutoUpgrade is a good thing. What does it do?

When a renewed or revised license file is deployed as we describe in its accompanying short note, then anyone who already has a valid (i.e. current) revision of your license installed won’t see the installation of the new revision … it will happen automatically and silently. But those users and visitors with an expired or with no license installed won’t benefit from AutoUpgrade and will be prompted to allow the installation of the license in the usual way. So if…

Read More

Recommended binary & license file location

What’s the most efficient way to deploy and maintain smsx.cab (the binaries) and sxlic.mlf (the license file)? We recommend the ‘maintenance-lite’ approach: Locate a *single* copy of each file on some server (doesn’t have to be under a licensed root) that all your users and visitors are allowed to ‘see’. Then ‘point’ at them using fully-qualified http strings from the Security Manager object’s ‘codebase’ attribute (smsx.cab) and ‘Path’ param (sxlic.mlf). That way you can also copy those full http strings…

Read More

printHTML(): how many pages printed?

A recently-reported issue saw a variation in the number of pages printed with the same document as a target of printHTML(). The customer suggested that the differences may be caused by variations in the deployed version of ScriptX, but when we ran Preview on the single-page target document in IE it became clear that its size was such that – depending upon the unprintable margin areas returned by the printer is use – it would sometimes print on 1 page…

Read More

Using ScriptX in a console application sample on GitHub

We recently added a sample on using ScriptX within a console application to print html content downloaded from arbitrary urls. The sample contains some interesting utility code of using callbacks from the PrintHtmlEx() method and also code for wrapping the use of Security Manager and ScriptX. Although a little overkill in a console application these wrappers are useful in services. We are continuing to work on improving our documentation on using ScriptX in services/applications and also to provide more sample…

Read More

Changes to enforcement of Authenticode code signing – SHA-1 Deprecation and browser compatibility

On 1st January 2016 Microsoft Windows will change how it enforces Authenticode code signing as explained fully in the article “Windows Enforcement of Authenticode Code Signing and Timestamping“. We have been code signing all of the component DLLs in ScriptX since long before it became a requirement/recommendation as well as the .cab/.msi file wrapping the installation We will be releasing ScriptX 7.7 before the end of 2015. This release will be signed and time stamped with an SHA-1 certificate and so…

Read More

Unable to select a paper size with ScriptX

The recent hotfix to ScriptX has fixed an issue with selecting a paper size. We try and be as helpful as we can in matching the string describing the papersize to those available but the algorithm had a problem when there are multiple matches for the requested name and longer names come before shorter matching names – it would match the long name. So, for example you request “A3” and there is a paper size “A3 – Large” that enumerates before…

Read More

Invalid HTML parameters specified for the license

This error can occur when deploying a new or updated MeadCo Security Manager license for ScriptX. What it means is there is a mismatch between a parameter given on the Security Manager object and the downloaded license file. Either: The GUID parameter given in the Security Manager object does not match. The revision value in the downloaded license file is less than the revision parameter (for example <param name=”revision” value=”4″ /> and the value in the downloaded license file is “3”.…

Read More