Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.clipper.visual-objects > #12962

Re: Print QR with Report Pro

From Stefan Dietl <info@sdsoft.it>
Newsgroups comp.lang.clipper.visual-objects
Subject Re: Print QR with Report Pro
Date 2020-04-30 15:51 +0200
Message-ID <hh03evFmv9bU1@mid.individual.net> (permalink)
References <d7c60323-bfb6-4fc7-8277-a30013fc8fb8@googlegroups.com>

Show all headers | View raw


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
> 

Back to comp.lang.clipper.visual-objects | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

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

csiph-web