Android_Retail/src/Pages/BookingScreen/Components/UtillComponents/BSMobilePrintSettings.jsx

27 lines
593 B
React
Raw Normal View History

2026-02-26 14:51:22 +05:30
import { AiOutlineWifi } from 'react-icons/ai';
2026-01-27 18:27:29 +05:30
const BSMobilePrintSettings = () => {
const ListPrinters = () => {
var receiptText = '';
var TypeCheck = 'WifiList';
var textEncoded = encodeURI(receiptText);
var scheme = 'pozoprinter';
var packageName = 'com.example.pozoprinter';
window.location.href =
scheme +
'://' +
textEncoded +
'#Intent;scheme=' +
scheme +
';package=' +
packageName +
TypeCheck +
';end;';
};
2026-02-26 14:51:22 +05:30
return <AiOutlineWifi onClick={ListPrinters} />;
2026-01-27 18:27:29 +05:30
};
export default BSMobilePrintSettings;