Bobelism Thanks for the above code. But I had a small problem when I add above code in the specified files I can able to use thermal print bill option from store managers dashboard, But am not able to use thermal print bill from Owners dashboard.
i.e; When I click thermal print button from admin dashboard after adding above code it is redirecting to admin dashboard page rather than printing bill.
I hope @soodomaa you are also facing this same .
If you don't mind can you fix these.