@Override
    protected void cancelFaxJobImpl(FaxJob faxJob)
    {
        String name=VBSFaxClientSpi.VBS_WIN_XP_CANCEL_SCRIPT;
        if(this.useWin2kAPI)
        {
            name=VBSFaxClientSpi.VBS_WIN_2K_CANCEL_SCRIPT;
        }

        //invoke script
        this.invokeExistingFaxJobAction(name,faxJob,FaxActionType.CANCEL_FAX_JOB);
    }
@ Override protected void cancelFaxJobImpl ( FaxJob faxJob ) { String name = VBSFaxClientSpi . VBS_WIN_XP_CANCEL_SCRIPT ; if ( this . useWin2kAPI ) { name = VBSFaxClientSpi . VBS_WIN_2K_CANCEL_SCRIPT ; } this . invokeExistingFaxJobAction ( name , faxJob , FaxActionType . CANCEL_FAX_JOB ) ; }
This function will cancel an existing fax job.

@param   faxJob
The fax job object containing the needed information