PxPlus User Forum
Main Board => Discussions => Programming => Topic started by: HendersonS on October 22, 2018, 10:36:22 PM
-
We are trying to generate QR codes, does anyone know how to do it with pxplus? We would appreciate it if you shared it with us.
-
We use Tec-It's tbarcode/x software for all barcodes including QR. It's a commercial tool, with both Windows and Linux (and AIX) support, and it has licenses that fit our needs for redistribution. There may well be free or open source tools, or platform-specific tools, that are less expensive. I would search for alternatives online depending on your needs. Here is the tec-it.com page about their offerings:
https://www.tec-it.com/en/software/barcode-software/Default.aspx
-
If you are using PxPlus 2014 or higher you can use "*tools/makeqrcode"
CALL "*tools/makeqrcode","https://home.pvxplus.com","output.png"
-
Devon, is that utility documented? I don't see it in the pxplus manual.
-
It was discussed at DireXions 2014 but it appears we missed adding it to the documentation. This will be fixed.
-
Devon, I'm using pxplus 2016 13.1 and it shows me an error, is there any documentation about this?
->CALL "*tools/makeqrcode","https://home.pvxplus.com","output.png"
Error #46: Length of string invalid
-
That command work for me.
This utility makes a web request to our server to build the QR code. This means the tool has the following requirement:
-Requires internet access as logic done on our servers
-Serial number must on maintenance/current version
-
Devon,
I get the same error on line 70 - Pxplus 2018.
-
Well,i don't know, I have internet connection and my current version is activated online,
I tried it with pxplus 2018 and it does not work either !
-
There was a change to how we hosted the web service that required an update to the program. We missed updating the program when we did the build. You can download the updated program here: http://www.pvxplus.com/downloads/misc/makeqrcode
We will make sure to update the program for the next build as well as document it.
-
Now is working great, Thanks!
-
This is more of an FYI for some information I came across while researching QR Code generation.
Someone I know used the Google tool do the generation.
https://developers.google.com/chart/infographics/docs/qr_codes?hl=en
Obvious, but an internet connection would be required too.
-
Actually if you are on a Linux box you can simply use the program qrencode which is native/free on all Linux systems.
https://linux.die.net/man/1/qrencode
There is also a Windows version which you can find on the Internet.
-
Thanks Mike!
I read about the Linux tool, but didn't know there may be a Windows version. Very cool.
-
Yes, there appears to be a windows version...
Before using it I would suggest you download it and scan for Viruses -- something I always suggest for programs coming from 3rd parties.
Its also the reason I rarely refer people directly to sites with 3rd party software; I avoid referring people to something that could be hacked.