[SOLVED] pdfcreator migrating com interface to version 2
Author: mps59@orange.fr (mpservices)
Hi I have to move pdfcreator from version 1.7 to 2.x , using the com interface, I took over the 1.7 version uniface form : using the signature "CLSPDFCREATOR start, set_coption,get_ccountofprintjobs..., the form was working well so until now no problem I've imported the signatures for version 2.x,but Im' stucked from the beginning, I'm not familiar at all with the com interface Has anyone a little example how to use it : creating Queue,initialise.... (using uniface 9.6) Thanks in advance Dominique
1 Comment
Local Administrator
Hi Dominique, When you check the samples provided with PDFCreator 2.x (see sub-directory \COM Scripts\ in the installation directory) then you should find plenty information about how to use the different methods/properties of the PDF Creator COM interface. Here's (e.g.) some VB.net code (from \COM Scripts\VB.Net\COM_TestForm\COM_TestForm\Form1.vb) to print a test page:
The above sample would look in Uniface like this (without error checking):
Hope this helps. Kind regards, Daniel Iseli Uniface Technical Support
Author: diseli (daniel.iseli@uniface.com)