Page 2 of 2

Re: xBase++ QR Code print for tax authorities pruposes.

Posted: Wed Oct 05, 2022 1:42 am
by PedroAlex
josevalle wrote: Mon Oct 03, 2022 8:20 am
patito wrote: Fri Aug 14, 2020 4:04 pm Hi Pedro

attached qrcode program in xbase++ using visual foxpro dll

best regard
Hector Pezoa
Problems with the second barcode generated.
STATIC FUNC Genera(pText,pFile)
*******************************
LOCAL nHandle := DllPrepareCall("BarCodeLibrary.DLL",DLL_CDECL,"SetConfiguration")
LOCAL nSize := 6
LOCAL nType := 1 //0=bmp 1=jpg 2=gip

DllExecuteCall(nHandle ,nSize,nType)

o:=DllPrepareCall("BarCodeLibrary.DLL",DLL_CDECL,"GenerateFile")
DllExecuteCall(o,pText,pFile)

DllUnLoad(nHandle)

RETURN .t.
what xbase version are you using?

Re: xBase++ QR Code print for tax authorities pruposes.

Posted: Tue Oct 11, 2022 9:52 am
by slobodan1949
Xbase++ 2.0 from 07-2021 has the ability to generate a QR code
and for that job Xbase++ has its own LIB/DLL libraries.
I attach these libraries and the source code of the example in the file
QRcode source.zip

Re: xBase++ QR Code print for tax authorities pruposes.

Posted: Sun Oct 16, 2022 2:10 am
by josevalle
Hello

I have xbase 2.0 build 1440. And with that the solution of Slabodan works well.

But most od my clients have versions compiled with 1.90.255 and I prefer not to update that programs.

Jose Valle

Re: xBase++ QR Code print for tax authorities pruposes.

Posted: Mon Oct 17, 2022 11:17 am
by PedroAlex
Hello,
I´m using this component.
It can be the solution for your 1.9 xbase customers.
https://www.mw6tech.com/fonts/qrcode/qrcode.html

Re: xBase++ QR Code print for tax authorities pruposes.

Posted: Mon Oct 17, 2022 11:12 pm
by skiman
Hi,

I'm using this active-x component.
https://strokescribe.com/

The cost is 150$ for a developer licence, so you can distribute it.