No parameters
Property description
It is used to check whether PrintReceiptsContinuously option is enabled or notExample code
CComPtr<ISmpReceiptSettings>m_SmpReceiptSettings; HRESULT hr=m_SmpReceiptSettings.CoCreateInstance(CLSID_SmpReceiptSettings); if(FAILED(hr)) { AfxMessageBox(_T("SMPReceipt Settings Failed")); return FALSE; } long lPrntReceiptCntsly; HRESULT hr=m_SmpReceiptSettings->get_PrintReceiptsContinuously(&lPrntReceiptCntsly); if(FAILED(hr)) { AfxMessageBox(_T("Failed to load")); } if(lPrntReceiptCntsly==TRUE) { AfxMessageBox(_T("Print Receipts Continuously option is enabled")); } else AfxMessageBox(_T(""Print Receipts Continuously option is disabled""));