Support Center

Read the fax file name from the printcomplete method when using ActiveX

Chaminda Jun 09, 2011 07:38AM EDT

We are using ActiveX for FaxMan4 and trying to read the fax file name. We are on C# environment. It says we can use the printjob option to read the file name. Does it possible with ActiveX?

1 Data Techniques Response

Up 1 Rated Down
DTI Support  Data Techniques Employee Jun 09, 2011 09:26AM EDT


In the ActiveX you call the GetNextPrintJob() method which returns a PrintJob object which contains the FaxFiles property which has the name of the fax file created.

Here's some sample VB code:

Dim job As PrintJob

Set job = FmPrint1.GetNextPrintJob()

FaxMan1.FaxFiles = job.Filename

FaxFilelist = FaxMan1.FaxFiles

Let me know if you have any other questions,

This question is closed to new answers.

Contact Us