Hi Rutuja,
Follow this URL, this may help you
QR Code Generation and Printing in Mendix Using Java (mxtechies.com)