Hi all,
I'm using a DotNet Library to facilitate printing of PDF's (pdfprint.net).
The syntax for a basic call is defined as:
[Status Print :=] PDFPrint.Print(string fileName)
I'm trying to define a variable "Status" that receives the status code from the "Print" command.
PDFPrint.Status is a defined method in the DotNet Library, and it returns values such as
PdfPrint.Status.OK
PdfPrint.Status.FILE_DOESNT_EXIST
PdfPrint.Status.CANNOT_PRINT_FILE
PdfPrint.Status.PRINTER_DOESNT_EXIST
..etc.
I'm not sure how to define a variable "Status" that will store/reveal the PDFPrint.Status value
Does anyone have an example?
Thx
Ron
Answers
You must to define anothet DotNet var related to the Status, I don't knwo if your Libraty is like this one:
And that var have the Enumerators that you need
Regards
I was getting an instantiation error on the "Status" variable because I had not marked it as "RunOnClient" = TRUE. I am printing and getting the Status back as expected. Thanks again.
Ron