Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.clipper.visual-objects > #12954 > unrolled thread
| Started by | fernando moreno <fmaplisoft@gmail.com> |
|---|---|
| First post | 2020-04-28 04:56 -0700 |
| Last post | 2020-12-11 07:30 -0800 |
| Articles | 16 — 9 participants |
Back to article view | Back to comp.lang.clipper.visual-objects
Print QR with Report Pro fernando moreno <fmaplisoft@gmail.com> - 2020-04-28 04:56 -0700
Re: Print QR with Report Pro D.J.W. van Kooten <vankooten@removethis.ic2.com> - 2020-04-29 13:28 +0200
Re: Print QR with Report Pro fernando moreno <fmaplisoft@gmail.com> - 2020-04-29 11:21 -0700
Re: Print QR with Report Pro D.J.W. van Kooten <vankooten@removethis.ic2.com> - 2020-04-30 00:30 +0200
Re: Print QR with Report Pro Stefan Dietl <info@sdsoft.it> - 2020-04-30 15:51 +0200
Re: Print QR with Report Pro fernando moreno <fmaplisoft@gmail.com> - 2020-05-01 11:07 -0700
Re: Print QR with Report Pro sherlocksoftware@gmail.com - 2020-05-01 23:25 -0700
Re: Print QR with Report Pro Craig <craig@control.net.au> - 2020-12-05 21:04 -0800
Re: Print QR with Report Pro Jozo Širić <jozoracunalo@gmail.com> - 2020-12-09 03:12 -0800
Re: Print QR with Report Pro Craig <craig@control.net.au> - 2020-12-09 14:03 -0800
Re: Print QR with Report Pro "news.eternal-september.org" <Stratech@online.fr> - 2020-12-10 14:47 +0100
Re: Print QR with Report Pro Craig <craig@control.net.au> - 2020-12-10 15:26 -0800
Re: Print QR with Report Pro Jozo Širić <jozoracunalo@gmail.com> - 2020-12-11 01:28 -0800
Re: Print QR with Report Pro Phil McGuinness <sherlocksoftware@gmail.com> - 2020-12-11 04:06 -0800
Re: Print QR with Report Pro Jozo <jozoracunalo@gmail.com> - 2020-12-11 07:21 -0800
Re: Print QR with Report Pro Phil McGuinness <sherlocksoftware@gmail.com> - 2020-12-11 07:30 -0800
| From | fernando moreno <fmaplisoft@gmail.com> |
|---|---|
| Date | 2020-04-28 04:56 -0700 |
| Subject | Print QR with Report Pro |
| Message-ID | <d7c60323-bfb6-4fc7-8277-a30013fc8fb8@googlegroups.com> |
I need to print a QR with ReportPro 2.14. I've got it generated in a FixedText Control in VO2.8. It is possible? Regards
[toc] | [next] | [standalone]
| From | D.J.W. van Kooten <vankooten@removethis.ic2.com> |
|---|---|
| Date | 2020-04-29 13:28 +0200 |
| Message-ID | <4ooiaftcd1mr1ubmk5h98lspgutt57v16k@4ax.com> |
| In reply to | #12954 |
Replying on message of Tue, 28 Apr 2020 04:56:06 -0700 (PDT) from fernando moreno: Hello Fernando, >I need to print a QR with ReportPro 2.14. > >I've got it generated in a FixedText Control in VO2.8. > > >It is possible? > A QR code is a two dimensional bar-code built with square blocks. For a regular barcode you can show these in ReportPRo by entering the content in a field and assigning a barcode font. I did find a QR font, I did not test it but you may try it. Here are 2 links you could try: https://blog.qr4.nl/category/QR-Code-Fonts.aspx https://all-free-download.com/font/qr-code.html If it does not work, I think the alternative is generating the QR code from your program (maybe using one of the on line tools doing that for you), saving it as a jpg/bmp and then including that picture in your report. Dick
[toc] | [prev] | [next] | [standalone]
| From | fernando moreno <fmaplisoft@gmail.com> |
|---|---|
| Date | 2020-04-29 11:21 -0700 |
| Message-ID | <cb96a76f-319e-448b-ae49-0a68dd504a74@googlegroups.com> |
| In reply to | #12954 |
El martes, 28 de abril de 2020, 13:56:08 (UTC+2), fernando moreno escribió: > I need to print a QR with ReportPro 2.14. > > I've got it generated in a FixedText Control in VO2.8. > > > It is possible? > > Regards Thank You. ReportPro with the font doesn't work correctly. Do you know any other CLASS to generate the QR code and save it? I have done several trials with the QRCodeTest CLASS but It doen't have the method to save the QR image. Best Regards
[toc] | [prev] | [next] | [standalone]
| From | D.J.W. van Kooten <vankooten@removethis.ic2.com> |
|---|---|
| Date | 2020-04-30 00:30 +0200 |
| Message-ID | <tivjaftkgauaen4l1lgf835886a3b0gvnt@4ax.com> |
| In reply to | #12959 |
Replying on message of Wed, 29 Apr 2020 11:21:25 -0700 (PDT) from fernando moreno: Hello Fernando, >Do you know any other CLASS to generate the QR code and save it? > >I have done several trials with the QRCodeTest CLASS but It doen't have the method to save the QR image. > Here's a full sample which both creates PNG files with QR code as well as decoding QR codes. https://www.codeproject.com/Articles/1250071/QR-Code-Encoder-and-Decoder-NET-Framework-Standard However, it is written in C# and I think it won't be easy to just translate it to VO. I don't know what the status of the project is? You may consider usiing X# (you can even use it for free, see https://www.xsharp.info/) and then it's very easy to just add a C# project in the same solution and use the methods there straight from your X# code. Another approach would be to create an exe from the C# code and run it with ShellExecute from VO. You then only need to do some minimal changes, like feeding the C# program your string to be "QR-ed" and saving the output with a known name + directory which VO can pick up. I did use the second approach years ago; now I have more knowledge of C# I use the first approach but that all depends on your knowledge. I hope this helps a bit. Dick
[toc] | [prev] | [next] | [standalone]
| From | Stefan Dietl <info@sdsoft.it> |
|---|---|
| Date | 2020-04-30 15:51 +0200 |
| Message-ID | <hh03evFmv9bU1@mid.individual.net> |
| In reply to | #12954 |
Hi, there are some online QR-services available.
I use this one with following function. You get a image-file, that You
can print with ReportPro:
METHOD getQRFile( cData ) CLASS pdf_qr
LOCAL o AS chttp
LOCAL cbuff AS STRING
LOCAL cfile AS STRING
o := CHttp{}
cbuff := o:GetDocumentByURL(
"https://api.qrserver.com/v1/create-qr-code/?size=400x400&data=" + cData )
cfile := TempFilename(TRUE) + ".png"
MemoWrit( cfile, cbuff )
RETURN cfile
Stefan
Am 28.04.2020 um 13:56 schrieb fernando moreno:
> I need to print a QR with ReportPro 2.14.
>
> I've got it generated in a FixedText Control in VO2.8.
>
>
> It is possible?
>
> Regards
>
[toc] | [prev] | [next] | [standalone]
| From | fernando moreno <fmaplisoft@gmail.com> |
|---|---|
| Date | 2020-05-01 11:07 -0700 |
| Message-ID | <2bad80a9-ee4f-4a16-ab2d-e38745960f46@googlegroups.com> |
| In reply to | #12954 |
El martes, 28 de abril de 2020, 13:56:08 (UTC+2), fernando moreno escribió: > I need to print a QR with ReportPro 2.14. > > I've got it generated in a FixedText Control in VO2.8. > > > It is possible? > > Regards Thank very much for your help. It works fine.
[toc] | [prev] | [next] | [standalone]
| From | sherlocksoftware@gmail.com |
|---|---|
| Date | 2020-05-01 23:25 -0700 |
| Message-ID | <24a192bf-ee10-4267-9159-338ca320f07c@googlegroups.com> |
| In reply to | #12954 |
http://www.mw6tech.com/fonts/qrcode/QRCodeFont.ZIP from the zip... Install the MW6Matrix.ttf Drop the QRCODEFont.dll in your path. There is a 64 bit version DLL as well. [ change the code ] I wrote test QR test app in VO.. it is here. Set for 100 downloads and expires... __Test_QRCode_MW6Font.7z https://send.firefox.com/download/9c428f2075fe40ae/#zOczGkS_I4Ke_oY6Xr7b6w
[toc] | [prev] | [next] | [standalone]
| From | Craig <craig@control.net.au> |
|---|---|
| Date | 2020-12-05 21:04 -0800 |
| Message-ID | <04734a44-ea5d-4cc0-8e3a-4fdd1ccf1f94n@googlegroups.com> |
| In reply to | #12969 |
On Saturday, May 2, 2020 at 4:25:42 PM UTC+10, sherlock...@gmail.com wrote: > http://www.mw6tech.com/fonts/qrcode/QRCodeFont.ZIP > > from the zip... Install the MW6Matrix.ttf > Drop the QRCODEFont.dll in your path. > There is a 64 bit version DLL as well. [ change the code ] > > I wrote test QR test app in VO.. it is here. > Set for 100 downloads and expires... > > __Test_QRCode_MW6Font.7z > > https://send.firefox.com/download/9c428f2075fe40ae/#zOczGkS_I4Ke_oY6Xr7b6w Hey Phil, I didn't get a chance to get that sample code before and the link no longer works. Any chance you could put it up again or email it to me? Craig.
[toc] | [prev] | [next] | [standalone]
| From | Jozo Širić <jozoracunalo@gmail.com> |
|---|---|
| Date | 2020-12-09 03:12 -0800 |
| Message-ID | <dd1b7803-8948-475b-9903-cbda319e1c4fo@googlegroups.com> |
| In reply to | #13164 |
Test...sory
[toc] | [prev] | [next] | [standalone]
| From | Craig <craig@control.net.au> |
|---|---|
| Date | 2020-12-09 14:03 -0800 |
| Message-ID | <8442fa18-7329-4d6f-8e6c-b41d1cf61081n@googlegroups.com> |
| In reply to | #13164 |
Thanks Phil, works quite well. Craig.
[toc] | [prev] | [next] | [standalone]
| From | "news.eternal-september.org" <Stratech@online.fr> |
|---|---|
| Date | 2020-12-10 14:47 +0100 |
| Message-ID | <rqtbic$7qt$1@dont-email.me> |
| In reply to | #13174 |
Hi Craig, Hi Phil. May you share this with me at Paulsiska@online.fr ? Thank in advance. Paul SISKA Paris "Craig" <craig@control.net.au> wrote in message news:8442fa18-7329-4d6f-8e6c-b41d1cf61081n@googlegroups.com... > Thanks Phil, works quite well. > Craig.
[toc] | [prev] | [next] | [standalone]
| From | Craig <craig@control.net.au> |
|---|---|
| Date | 2020-12-10 15:26 -0800 |
| Message-ID | <672b733d-355c-4dd6-a30c-ba408c9ee2d7n@googlegroups.com> |
| In reply to | #13176 |
Hi Paul - check your inbox :) Courtesy of Phil at Sherlock Software. Hope it helps! Craig.
[toc] | [prev] | [next] | [standalone]
| From | Jozo Širić <jozoracunalo@gmail.com> |
|---|---|
| Date | 2020-12-11 01:28 -0800 |
| Message-ID | <15ecde81-11fb-44bc-b2e5-b8c9c7db7d7an@googlegroups.com> |
| In reply to | #12969 |
Hello Phil and all I am interested in the example in the VO "__QRCode_Test" which I downloaded when was possible. The example is very good and that's exactly what I need but ... the text returned by the QR code reader has the addition of MW6 Demo. Questions: 1. What is the reason for this - to help someone who needs this solution, just to show how it is possible to do it in VO or something third? 2. Is it possible to get a usable example and at what price? By the way, I am also interested in the pdf417 code generator. I'm still working in Cavo27b ReportPro 3.6 (don't ask why). I am interested in a VO solution so I can include it in my code
[toc] | [prev] | [next] | [standalone]
| From | Phil McGuinness <sherlocksoftware@gmail.com> |
|---|---|
| Date | 2020-12-11 04:06 -0800 |
| Message-ID | <06244c17-579b-4ca4-a65b-9295970d3e95n@googlegroups.com> |
| In reply to | #13178 |
snip[ the QR code reader has the addition of MW6 Demo. 1. What is the reason for this - ]
This DLL is a licensed product.. I wrote that demo code in 2015.. not looked since. We need to find a free / open source version it seems.
License agreement
This License Agreement ("LA") is the legal agreement between you and MW6 Technologies, Inc. ("MW6") for the font, and any electronic documentation ("Package"). By using, copying or installing the Package, you agree to be bound by the terms of this LA. If you don't agree to the terms in this LA, immediately remove unused Package.
1. License
* The Single User License allows the use of the font on ONE computer by ONE person in your organization.
* The Site License allows the use of the font at exactly 1 physical site by up to 10,000 users in your organization.
* The Single Developer License allows 1 developer in your organization the royalty-free distribution (up to 10,000 users) of the font to the third parties, each individual developer requires a separate Single Developer License as long as he or she needs access to MW6's product(s) and document(s).
* The 2 Developer License allows 2 developers in your organization the royalty-free distribution (up to 10,000 users) of the font to the third parties.
* The 3 Developer License allows 3 developers in your organization the royalty-free distribution (up to 10,000 users) of the font to the third parties.
* The 4 Developer License allows 4 developers in your organization the royalty-free distribution (up to 10,000 users) of the font to the third parties.
* The 5 Developer License allows 5 developers in your organization the royalty-free distribution (up to 10,000 users) of the font to the third parties.
* The Unlimited Developer License allows unlimited number of developers in your organization the royalty-free distribution (unlimited number of users) of the font to the third parties.
2. User Disclaimer
The font is provided "as is" without warrant of any kind, either expressed or implied, including, but not limited to, the implied warranties of merchantability, fitness for a particular purpose, or noninfringement. MW6 assumes no liability for damages, direct or consequential, which may result from the use of the font. Further, MW6 assumes no liability for losses caused by misuse or abuse of the font. This responsibility rests solely with the end user.
3. Copyright
The font and any electronic documentation are the proprietary products of MW6 and are protected by copyright and other intellectual property laws.
[toc] | [prev] | [next] | [standalone]
| From | Jozo <jozoracunalo@gmail.com> |
|---|---|
| Date | 2020-12-11 07:21 -0800 |
| Message-ID | <ca1e9cb8-7c01-4bf4-a580-2063d2cd6072n@googlegroups.com> |
| In reply to | #13179 |
Phil, thanks for the comprehensive answer, now i understand everything. At first I thought it was all your own solution. In fact, MW6 Technologies inc offers a font solution and several functions that compute the set of letters printed by that font. which must be purchased. Price $ 199 for 2D QRCode Font. I have a solution for newer printers that can print QR code via Esc sequences but I needed a solution for older printers and for ReportPro. Since the QR code is in the price of the printer where the whole printer costs $ 100 to $ 150, it seems to me that the price of $ 199 is too high but what is there is
[toc] | [prev] | [next] | [standalone]
| From | Phil McGuinness <sherlocksoftware@gmail.com> |
|---|---|
| Date | 2020-12-11 07:30 -0800 |
| Message-ID | <c6eb76f9-f158-479f-b1de-bd4164fbce8an@googlegroups.com> |
| In reply to | #13180 |
snip[ . At first I thought it was all your own solution. In fact, MW6 Technologies inc offers a font solution and several functions ] I wrote it in VO but do not use it.. proof of concept in 2015.... Have all the QRCODE stuff all working in Delphi in 3 applications. Will ask my developer what DLL he used. Sure it was free. Phil
[toc] | [prev] | [standalone]
Back to top | Article view | comp.lang.clipper.visual-objects
csiph-web