PDFFaxJob::close

Description

In BBj 10.0 and higher, this method closes a fax job and should be invoked after the fax has been sent.

Syntax

Access

Return Value

Method

public

void

close()

Parameters

None.

Return Value

None.

Remarks

This method closes the connection to the modem. The PDFFaxJob should not be used once it is closed, and a PDFFaxJob should be closed after it is sent so that the modem is properly initialized before sending another fax.

Example

use ::LocalFax.src::PDFFaxJob
declare PDFFaxJob fax!
document!="C:\users\someuser\doc.pdf”
phoneNo!="5551212"
fax!=new PDFFaxJob()
fax!.addDocument(document!)
fax!.addPhoneNumber(phoneNo!)
fax!.send()

rem 'Close the fax job.
fax!.close()

See Also

Fax Utility

PDFFaxJob

Note:

The BASIS Fax Utility uses a third-party library from Java4Less called RFax. Any faxes sent will include a banner stating that the RFax library is being used until the customer obtains a license from Java4Less here.