No parameters
Property description
It is used to view the Receipt printer nameExample code
CComPtr<ISmpReceiptSettings>m_SmpReceiptSettings; HRESULT hr=m_SmpReceiptSettings.CoCreateInstance(CLSID_SmpReceiptSettings); if(FAILED(hr)) { AfxMessageBox(_T("SMPReceipt Settings Failed")); return FALSE; } BSTR bstr; CString str; HRESULT hr=m_SmpReceiptSettings->get_ReceiptPrinterName(&bstr); if(FAILED(hr)) { AfxMessageBox(_T("Failed to load")); } str=bstr; if(str.IsEmpty()) { AfxMessageBox(_T("Printer Name is not Entered")); } else AfxMessageBox(str);