|
Purepage SDK Purepage SDK Scripting Examples
Visit the HTML Rendition Examples page to see the HTML that Purepage produces and compare it with the original documents.
Beginner Examples
The samples given below are basic examples designed to show you how easy Purepage SDK is to use. The trial version of Purepage SDK contains more complicated, real-life examples that you can copy, paste and use
straight away.
- Simple Example - VBScript
This example demonstrates the simplest scripted use of Purepage by taking you through the process of converting a printed job into HTML. You can use this example as a base to build your own code around.
- Publish Folder Example - VBScript
This sample builds upon the SIMPLE.VBS (1) sample and demonstrates a more real-world use of Purepage. This sample is designed to run in conjunction with the Windows Scheduling service and to provide
the basis of an automated Intranet publishing solution.
- Active Server Pages
The
sample shows the simple conversion of files into HTML using Active Server Pages and Purepage.
- MFC Visual C++ Wrapper
This
sample provides some simple MFC wrappers around the Purepage COM object - allowing you to use Purepage from your Visual C++ applications and components. Also included is a sample MFC application that uses
the wrapper.
Intermediate Examples
Some of the Intermediate Examples available in the trial download for your use and reference are:
- Auto-publish
This sample monitors a specified folder and whenever a new document is dropped in that folder or an existing document is replaced with a newer version, Purepage automatically publishes
the (new or updated) document into HTML.
- Custom Print
This sample demonstrates the use of Microsoft Word Automation to print files to the Purepage printer directly instead of using Purepage's PrintFiles method. This sample also shows
how to use Purepage's ScanForPrintedJobs function.
- Excel Automation
This sample uses Excel’s Automation capabilities to open, modify and print a sample Excel spreadsheet. You could just as easily use this sample to print certain parts of your Excel
reports or modify and then print your Excel reports. You could also create custom Excel spreadsheets and distribute them as HTML rather than relying on distributing the actual Excel file.
- Drag and Drop
Shows how a simple client side interface can be constructed around Purepage to allow for drag and drop conversion of most popular document formats.
Download your free trial of Purepage
|