I have one web application developed in PHP (Laravel) it have product registration page. once product saved it print the Bar code label. the printer is connected to the client machine (not server). we provide PRN file for barcode style or you can develop like that one
web server Wamp
OS: windows 10
printer : tsc ttp 244 plus