I know that there are are 3rd party APIs such as Google for generating QR codes and I have used Phpqrcode library but that is for generating bitmap images and I would like to be able to generate vector QR codes if this is possible? That way I could scale them up for print.
Does anybody know of any libraries that could be used or for instance a JavaScript API?
have you checked out Zint? I believe it can output in many different formats.