Need to integrate with a legacy program but cannot change its source code, currently the program can print text label, we would like to change its print result as QR code, i.e., when the program sends text string to the printer, the text string needs to be printed out as equivalent QR code.
Any suggestions on how to achieve this?
Thought maybe need a middle layer virtual printer, the legacy program sends printing text string to the virtual printer, the virtual printer converts the text sting to the equivalent QR code and forward the QR code to the physical printer. Not sure if this is doable? Is there any open source virtual printer project available for modification for the above purpose?