Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.clipper.visual-objects > #8701
| From | Franz Rachbauer <office@rachbauer.org> |
|---|---|
| Newsgroups | comp.lang.clipper.visual-objects |
| Subject | Re: QR Code |
| Date | 2015-11-23 09:36 +0100 |
| Organization | Aioe.org NNTP Server |
| Message-ID | <n2uj6n$eb1$2@speranza.aioe.org> (permalink) |
| References | <n2kvjr$nn8$1@speranza.aioe.org> <8fd834ff-08e2-420f-8621-7d471dec0324@googlegroups.com> <e0c3c965-7b45-4976-b36d-5cf8e8071901@googlegroups.com> |
Hi Phil,
thank you for the code! I have to integrate QR Codes in ReportPro
reports. Can I directly do this like
========================= Code ==========================
METHOD PrintPageBody(oPrinter) CLASS rptLabel
LOCAL cMessage AS STRING
LOCAL xx, yy, nRowCount , nColCount AS DWORD
LOCAL cEncodedMsg AS STRING
cMessage := "1_15000001_20151123T090025"
QRCodeEncode(AllTrim(cMessage), 0, 3, 0)
nRowCount := DWORD(QRCodeGetRows()) // ' how many rows?
nColCount := DWORD(QRCodeGetCols()) // ' how many characters in one row?
cEncodedMsg := "" // ' produce string for QRCode font
FOR xx := 1 TO nRowCount
FOR yy := 1 TO nColCount
cEncodedMsg += CHR(DWORD(QRCodeGetCharAt(INT(xx)-1, INT(yy)-1)))
NEXT
cEncodedMsg += CRLF
NEXT
oPrinter:SetFont("MW6 Matrix", 18, FALSE, FALSE, FALSE)
oPrinter:TextOut(oPrinter:Prow, 0, cEncodedMsg, ALIGN_LEFT)
RETURN PRINT_NOMORE
======================= End Code ========================
If I do so I get output like http://www.rachbauer.org/rpprinter.jpg !
Or do I have to:
- Generate QRCode in a control
- Save it to BMP
- Print BMP on report
What is the way to integrate it in ReportPro reports?
Regards, Franz
Am 22.11.2015 um 07:29 schrieb sherlocksoftware@gmail.com:
> Franz
>
> www.sherlock.com.au/vo2code/__QRCode_Test.zip
>
> Solution as a VO app. DLL's for 32bit or 64bit and info for QRcodes
>
> Enjoy.....
>
> Phil McGuinness
>
Back to comp.lang.clipper.visual-objects | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
QR Code Franz Rachbauer <office@rachbauer.org> - 2015-11-19 18:07 +0100
Re: QR Code "Jamal Assaf" <someone@example.com> - 2015-11-19 17:57 -0500
Re: QR Code Karl Faller <mail_withoutthat_@_drei-f_andthat_.de> - 2015-11-20 09:28 +0100
Re: QR Code sherlocksoftware@gmail.com - 2015-11-20 13:52 -0800
Re: QR Code sherlocksoftware@gmail.com - 2015-11-21 22:29 -0800
Re: QR Code Karl Faller <mail_withoutthat_@_drei-f_andthat_.de> - 2015-11-22 11:10 +0100
Re: QR Code Franz Rachbauer <office@rachbauer.org> - 2015-11-23 09:36 +0100
Re: QR Code "Gerhard Bunzel" <g.bunzel@domonet.de> - 2015-11-23 11:06 +0100
Re: QR Code Franz Rachbauer <office@rachbauer.org> - 2015-11-23 18:22 +0100
Re: QR Code "Wolfgang Riedmann" <wriedmann@gmail.com> - 2015-11-23 18:58 +0100
Re: QR Code Franz Rachbauer <office@rachbauer.org> - 2015-11-24 07:08 +0100
Re: QR Code Karl Faller <mail_withoutthat_@_drei-f_andthat_.de> - 2015-11-24 18:41 +0100
Re: QR Code "Urs Eggmann" <Urs.Eggmann@shinternet.ch> - 2015-11-29 14:36 +0100
Re: QR Code Sherlock <sherlock@sherlock.com.au> - 2015-11-29 15:41 -0800
Re: QR Code "Urs Eggmann" <Urs.Eggmann@shinternet.ch> - 2015-12-01 21:43 +0100
csiph-web