possible to generate qr code using only bitcoin core?
QR Code creation is a GUI only thing. You cannot create a QR code without using the GUI. The JSON-RPC interface only works for text based things and cannot trigger GUI actions.