I have a webview and a print button in webview get it to print option

I have a restaurant POS website, and I want to create a mobile app for it. I’ve tried using WebView, but I’m facing issues when it comes to printing an invoice. Although the print button sends the command, the Kodular app doesn’t allow the print section to open. I need help with the block design and any necessary UI design to make the print command in WebView accessible. Please assist me with this issue.