ScriptX Home

Highlights

About

Download

FAQ

Support

History

Licensing

Introduction

Client-side

Server-side/machine

Application

Renewable licensing

Free deployment

Ordering

Introduction

Client-side

Server-side/machine

Templates

Introduction

Tech Docs

Introduction

Client-side Printing

Server-side Printing

Application Printing

MeadCo's Products

Zeepe 7.2

ScriptX

About MeadCo

About MeadCo

Privacy policy

Contact us

'Free' printing

A basic subset of ScriptX client-side printing functionality -- header & footer settings, printed orientation, coarse control of margins and a browser window/frame printing command -- is available at no charge, and is freely distributable.

How to enable 'basic' printing

A 'basic' ScriptX-enabled document is defined as one on which the ScriptX object block appears thus:

<!-- MeadCo ScriptX -->
<object id=factory style="display:none"
  classid="clsid:1663ed61-23eb-11d2-b92f-008048fdd814"
  codebase="http://[your path here]/smsx.cab#Version=6,4,438,06">
</object>

For successful operation the codebase attribute must 'point' to the correct location and version number of the smsx.cab file on your servers. That 'pointer' path can be relative to the location of the document on which the ScriptX object appears, or it can be fully qualified.

Due to abuse, the cab file is no longer available for referencing from our servers - apologies for any inconvenience this has caused.

Please note that only one ScriptX object should appear on any one document.

The copy of smsx.cab contained in the downloadable archive is updated and made freely available upon each new version release. [top]

Pre-installing the ScriptX software

System administrators wishing to pre-install ScriptX over an intranet should run smsx.exe - also contained in the downloadable archive - on each client machine. This approach is an alternative to having the control auto-download the first time a user hits a ScriptX-enabled page, and avoids the standard 'signed component' prompt with which a user is normally faced. However you will still need to reference the ScriptX object on each of your pages.

Formatting printing attributes and printing

A typical function call to set 'basic' print formatting and print a top-level document client-side could look like this:

<script>
function printWindow() {
factory.printing.header = "This is MeadCo";
factory.printing.footer = "Printing by ScriptX";
factory.printing.portrait = false;
factory.printing.leftMargin = 1.0;
factory.printing.topMargin = 1.0;
factory.printing.rightMargin = 1.0;
factory.printing.bottomMargin = 1.0;
factory.printing.Print(false);
}
</script>

Notice that we call all ScriptX functions by reference to the ID of the on-page ScriptX object - usually 'factory'. Please note that you can NOT use the ASP calls CreateObject or new ActiveXObject to call ScriptX from *any* client-side ScriptX-enabled page. [top]

An important note to licensees upgrading from long-standing 'free' use

Once you have acquired a publishing license to use ScriptX 'advanced' functionality you will no longer need to deploy the (now obsolete) ScriptX.cab and should update all of your on-page objects' Codebase attributes to refer to smsx.cab.