Page 3 of 3

Re: SayBarCode control

PostPosted: Tue Oct 08, 2019 10:58 pm
by wartiaga
nageswaragunupudi wrote:Please try
Code: Select all  Expand view
#include "fivewin.ch"

REQUEST FWZEBRA

function Main()

   local oPrn

   PRINT oPrn PREVIEW
   PAGE
      @ 2,2 PRINT TO oPrn TEXT "Mr. Vilian is a great friend" + CRLF + ;
                               "and a great expert in software" ;
            AS BARCODE TYPE "QRCODE" SIZE 1.5,1.5 INCHES
   ENDPAGE
   ENDPRINT

return nil
 


Copy the code to fwh\samples folder and build with buildh.bat

Image


Hi Mr. Nages, Fivewin provide a qrcode generation to use in fastreport? Jpg or bmp. Thank you!

Re: SayBarCode control

PostPosted: Wed Oct 09, 2019 2:49 am
by nageswaragunupudi
Code: Select all  Expand view
#include "fivewin.ch"

REQUEST FWZEBRA  // Important

function Main()

   local hBmp
   
   hBmp := FW_BarCodeBmp( "Your text", "QRCODE", 200, 200 )
   FW_SaveImage( hBmp, "name.bmp" )

return nil
 


You can specify the file name as "name.bmp" or "name.jpg" or "name.png" and it will be saved in bmp or jpg or png format depending on the extension used.

For best results, use bmp format.

Re: SayBarCode control

PostPosted: Fri Oct 11, 2019 1:36 am
by wartiaga
nageswaragunupudi wrote:
Code: Select all  Expand view
#include "fivewin.ch"

REQUEST FWZEBRA  // Important

function Main()

   local hBmp
   
   hBmp := FW_BarCodeBmp( "Your text", "QRCODE", 200, 200 )
   FW_SaveImage( hBmp, "name.bmp" )

return nil
 


You can specify the file name as "name.bmp" or "name.jpg" or "name.png" and it will be saved in bmp or jpg or png format depending on the extension used.

For best results, use bmp format.


Thank you Mr. Nage. Which fivewin version provides this feature?

Re: SayBarCode control

PostPosted: Fri Oct 11, 2019 1:55 am
by nageswaragunupudi
FWH 1902

Re: SayBarCode control

PostPosted: Fri Oct 11, 2019 1:45 pm
by wartiaga
nageswaragunupudi wrote:FWH 1902


Thank you Mr. Nages.