Hi Mr. Nages, Fivewin provide a qrcode generation to use in fastreport? Jpg or bmp. Thank you!nageswaragunupudi wrote:Please tryCopy the code to fwh\samples folder and build with buildh.batCode: Select all
#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
SayBarCode control
Re: SayBarCode control
- nageswaragunupudi
- Posts: 8017
- Joined: Sun Nov 19, 2006 5:22 am
- Location: India
- Contact:
Re: SayBarCode control
Code: Select all
#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
For best results, use bmp format.
Regards
G. N. Rao.
Hyderabad, India
G. N. Rao.
Hyderabad, India
Re: SayBarCode control
Thank you Mr. Nage. Which fivewin version provides this feature?nageswaragunupudi wrote: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.Code: Select all
#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
For best results, use bmp format.
- nageswaragunupudi
- Posts: 8017
- Joined: Sun Nov 19, 2006 5:22 am
- Location: India
- Contact:
Re: SayBarCode control
Thank you Mr. Nages.nageswaragunupudi wrote:FWH 1902