Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Carriage Return in QR Code #3

Open
kalpesh2804 opened this issue Sep 20, 2021 · 10 comments
Open

Carriage Return in QR Code #3

kalpesh2804 opened this issue Sep 20, 2021 · 10 comments

Comments

@kalpesh2804
Copy link

I want to add Carriage Return / Enter Key in QR Code. I tried CHR(13) but its not working.

@vibenji
Copy link

vibenji commented Jun 22, 2022

Have you tried CHR(13)+CHR(10) ?

@kalpesh2804
Copy link
Author

I tried both character but its not working.

@vibenji
Copy link

vibenji commented Jun 22, 2022

Can you explain what exactly are you trying? And what is not working?

@kalpesh2804
Copy link
Author

image

I want to retrieve string as per screenshot when QR code scanned.

@vibenji
Copy link

vibenji commented Jun 22, 2022

image
so like this?

@kalpesh2804
Copy link
Author

yes

@vibenji
Copy link

vibenji commented Jun 22, 2022

Can you show me what your code looks like?

@kalpesh2804
Copy link
Author

I don't have code on hand.

@vibenji
Copy link

vibenji commented Jun 22, 2022

SET PROCEDURE TO LOCFILE("FoxBarcodeQR.prg") ADITIVE
*--- Create a FoxBarcodeQR object
LOCAL loFbc, lcQRImage
loFbc = CREATEOBJECT("FoxBarcodeQR")

LC_CSV="barcodi	0987654"
LC_CSV=LC_CSV+CHR(10)+"Address 1	bliblablub"
LC_CSV=LC_CSV+CHR(10)+"Address 2	123456789"
LC_CSV=LC_CSV+CHR(10)+"Address 3	20000,00"
LC_CSV=LC_CSV+CHR(10)+"Address 4				500"

*-- Using the BarCodeLibrary.dll library
lcQRImage1 = loFbc.QRBarcodeImage(LC_CSV,,6,0)

this is producing the QR code exactly like it should. When you come back with your own code we can look into that.

@kalpesh2804
Copy link
Author

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants