|
Purepage SDK Q & A: Recent Queries Answered
I can’t seem to print files using the Purepage SDK printing functions. Do you have any suggestions?
Although Purepage provides functions for the automatic printing of some files to the printer, it is not envisioned that developers will rely on these functions except when printing
Microsoft Office documents or other standard document types. Instead, the developer will need to handle the printing of files to the printer and then call Purepage to perform the conversion and publishing to HTML.
Purepage only supports the printing of Microsoft Office documents, text files and other such standard files – although it may handle other file types.
If Purepage is having trouble printing your files then you should substitute the Purepage printing functions with your own code to print the files. For further instruction on how to print certain file types contact the original software manufacturer or Inzone Software.
NOTE: To print other common document types, you could use third party viewing software such as QuickView Plus (www.avantstar.com).
When the pages from some MS Word documents are converted into HTML, part of the header is cropped. How can I avoid this?
It sounds like the ‘header’ and ‘footer’ distances in your MS Word file (in Page Setup) are outside the margins. If you look at Page Preview you will notice that it predicts the header
cropping. You must always set the header and footer distances to at least the same values as the ‘top’ and ‘bottom’ margin values (also in Page Setup).
Does the Purepage SDK only support Microsoft Office?
No, Purepage will convert almost any Windows document type that you can print, assuming that you have the original application or a file viewer installed - see the document formats page for more information. See the answers to the technical questions for more information about viewing software.
The Purepage printer is hooked up to LPT1. As I only have one network printer there is an error message. Is it possible to use a network printer?
Although Purepage acts like a printer, it is not a physical printer and so can coexist with other printer drivers on the same LPT port (including physical printers). It’s important that
Purepage uses a printer port on the same computer that it’s installed on. If you need to change the LPT port that Purepage uses, you can do so by:
- Clicking Start--> Settings--> Printers
- Right-click on the Purepage printer and select ‘properties’ from the menu.
- In the window that pops-up go to the ‘ports’ tab.
- Check LPT2 or LPT3 then click ‘apply’ or ‘o.k.’
When testing the trial of the Purepage SDK, one of the pages I really want to see is replaced with the page saying “This document was converted into HTML
using the trial version of Purepage”. How can I assess the conversion of a particular page?
The trial version of Purepage will replace every 2nd or 3rd page randomly. If you wish to see the results of converting a particular page into HTML, simply try converting the document
again until that page is not replaced. This limitation is removed when you Purchase Purepage.
How do I set up the Purepage SDK to work from Active Server Pages (ASP)?
You will need to have IIS or PWS installed and working correctly on your Windows machine.
You will also need to follow the instruction in the Purepage manual to setup Purepage correctly and install any additional viewing software required. Once you have setup Purepage and ensured that some of the basic samples are working correctly you are ready to move on to setting up Purepage to work with ASP. Make sure you have read and followed the instructions in the following tech-notes to complete ASP setup:
http://www.purepage.com/technotes/00178/ http://www.purepage.com/technotes/00203/
http://www.purepage.com/technotes/00245/
“Invalid Filename” error when calling the PrintFiles method
There is a tech-note that describes the solution to this problem at: http://www.purepage.com/technotes/00203/
|