I am creating qrcode generator with php. the application is ready and able to create qr code image successfully. I am planning to buy barcode printer but I am not sure if all barcode printer can print qr code. I have questions regarding this issues.
If you plan to use a "Barcode Printer" you don't need to build your own barcode image. You can simply send the printer commands to print the type of barcode you want, QRcode or others, and send the data. The printer is taking care of the formatting.
As an example, Zebra Technologies' barcode printers use ZPL (Zebra Printing Language) and you can use the ^BQ
command to print a QRcode.
The most critical piece is how you handle the drivers and the connection between the browser and the printer.
Having the printer attached to the PC and controlled by a printer driver may not be the best solution, depending how many time you need to replicate the setup.
You may want to investigate solutions like:
Disclaimer: I work for Zebra Technologies, similar solutions may exist for other printers brand, but I'm not familiar with them.