Illustrates the typical use of ScriptX advanced printing functionality for which a publishing license is required.
An all-in-one technical example illustrating the most advanced use of licensed ScriptX functionality.
Provides a discussion of printing customised documents and reports with ScriptX and a number of samples of differing techniques. A mix of free and licensed functionality is used; the licensed functions provide an improved user experience..
AddPrinterConnection and DeletePrinterConnection allow connections to be made to printers that are shared on the network but may not be in the users installed devices.
Illustrates the use of the printerControl, Jobs and Job objects.
Discusses sending data directly to the printer in scenarios such as sending ZBL commands to a Zebra Label printer or control code sequences to label printers.
Note: Direct printing is a cost-option which can be enabled on a 'standard' client-side license for an additional fee of $500.
Discusses printing of Adobe Acroobat PDF files using the new features available in ScriptX Corporate Edition 7.1 and later.
Note: Enhanced PDF printing is a cost-option which can be enabled on a 'standard' client-side license for an additional fee of $500.
Illustrates creating an html document on the client as a javascript string and then printing that html.
The PrintHTML API provides for queueing and printing of html documents in the background. ScriptX 7 and later adds the PrintHTMLEx API that provides callbacks on the progress of each job, allowing monitoring and error checking.
The 'Wide' Basic sample but licensed, so conferring the ability to preview iframed content. This requires the use of the IE 7 style template.
Provides a discussion of using ScriptX with framesets including printing of individual frames. This sample also illustrates previewing a frame.
Note that the structure of the html document for this sample does not work with IE 10 or later standards mode so the document mode will be set to IE9 standards mode in these cases.
Provides a discussion of using ScriptX with framesets where a particular individual frame is to be printed/previewed and ScriptX is placed on the document within the frame rather than the top most frameset document. This sample includes using MaxiPT.
Please note that this sample does work with IE 10 and laters standards mode.
Provides a discussion of using ScriptX where a particular individual iframe is to be printed/previewed and ScriptX is placed on the document within the (i)frame rather than the top most frameset document. This sample includes using MaxiPT.
In an international environment there may be a mixture of margin measurement units - this sample sets margins in the opposite units to your default illustrating that with ScriptX you gain control of the units for specifying measurements. This sample also illustrates the scaled to fit preview and printing of a frame.
Enhanced formatting provides for finer control over the headings and footers by allowing HTML snippets to be used, and for an enhanced page range specification.
Note: Enhanced formatting is a cost-option which can be enabled on a 'standard' client-side license for an additional fee of $500.
Illustrates the use of multi-line HTML headers and footers.
This sample shows the use of enhanced page range specification; the ability to print arbitrary ranges of pages (rather than a single range) and print only odd, only even or both odd and even numbered pages.
An all-in-one sample by which you can explore the effect on output of each of the enhanced formatting options. This sample starts with example enhanced headers and footers filled in.
An all-in-one sample by which you can explore the effect on output of each of the enhanced formatting options. This sample starts without any example data.
This sample shows the use of enhanced formatting with the queued printing method printHTML().
A 'walk-thru' demo illustrating ScriptX Enhanced Formatting HTML header and (in this case, hidden) frame printing capabilties all wrapped in a modal dialog window.
Illustrates calling for a preview during the initialisation of the page taking the user straight to the preview from which they can then print.
Provides a discussion of the usage of the OwnQueue() method with the printHtml() method for printing reports.
ScriptX fires a number of events, such as when the user chooses print preview and when printing has completed. This short article illustrates each of these events.
Discusses the SetPageRange() method that provides for printing only the selected content, or a range of pages.
Illustrates setting a custom zoom factor for print preview.
Illustrates specifying the print scaling to use. This requires the IE 7 style template and enables overriding the default of 'scale to fit'/100%.
Illustrates obtaining the totalPrintPages property.
Illustrates using the persistent Unique identifier.