PC2Papers API interfacesPC2Paper has two API interfaces available. One interface is a simple back end form post interface that only accepts text input (our most popular) and the other is a backend XML RPC interface that only accepts PDF and MS Word documents. Which of these interfaces you use is based on your requirement. PC2Paper API Compare| | Form Post Interface | XML Interface |
|---|
| Supports PDF Documents | No | Yes | | Supports Free Text | Yes | No | | Enables Print Type selection | No | Yes | | Enable First or Second Class selection | No | Yes | | Code Available | Yes | Yes | | Compiled DLL to use in your own code | No | Yes | Form Post InterfaceThe Form Post Interface (FPI) is our most popular because of how simple it is to setup. If you have ever created a backend form interface to integrate with services such as PayPal and World Pay then you already have most of the skills you need to use the FPI. Simply speaking the FPI accepts a form post from either a normal webpage or a back end server to authenticate you, you provide your PC2Paper username and password to it and that is how the site knows who to bill the cost of the letter to. To use the interface and to find out more download the PC2PaperFPI pack. XML RPC InterfaceThe PC2Paper XML RPC Interface is a bit more advanced than the form post interface and enables the sending of PDF and Word documents from server to server or desktop application to PC2Paper. Inside the PC2PaperXMLRPC pack we provide you with the sample XML the interface is expecting and a compiled (optional) VB 6 DLL called PC2PaperRemote.DLL which you can call instead of trying to create the XML the interface is expecting yourself. You should be able to use PC2PaperRemote.DLL from most COM aware languages such as VB, ASP, Delphi, .NET etc. To use the PC2PaperRemote.DLL you will need to install MSXML if it is not already installed on the machine you intend to use it from. However if you prefer to generate the XML yourself and Base64 encode the file you wish to send into the XML, the format of the XML file can be found in the file XMLFormat.txt which can be found in the PC2PaperXMLRPC. If you require any further help with these interfaces, please do not hesitate to contact us further.
|