FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Easyreport ER external qr code and barlib
Posts: 26
Joined: Wed Oct 31, 2018 07:37 PM
Easyreport ER external qr code and barlib
Posted: Fri Jan 25, 2019 10:18 AM

Hi, i need use with easyreport barlib from caetano and zebra to qr code, how to do it?
Otto is working in ER, exist an updated version?

thanks

Posts: 6983
Joined: Fri Oct 07, 2005 07:07 PM
Re: Easyreport ER external qr code and barlib
Posted: Fri Jan 25, 2019 02:18 PM
Hello,
we create a QRCODE - bmp-file and then print this inside ER.

Best regards,
Otto

Code (fw): Select all Collapse
function QRCode
        local cBmpFile := ""
    *----------------------------------------------------------

        cBmpFile := cFLDNR_DEP  +  '.bmp'
 
        PRINTAREA 52 OF oVRD;
    ITEMIDS    { 100 };
    ITEMVALUES { cBmpFile }

return nil
//----------------------------------------------------------------------------//





Posts: 124
Joined: Sat Dec 05, 2009 12:44 PM
Re: Easyreport ER external qr code and barlib
Posted: Mon Feb 04, 2019 04:31 PM

Dear Otto,
Can you send me (a non professional programmer) the most easiest full source code to print barcodes from within a program (harbour 32)
Thank you in advance.

deschutterjose@gmail.com

Posts: 6983
Joined: Fri Oct 07, 2005 07:07 PM
Re: Easyreport ER external qr code and barlib
Posted: Mon Feb 04, 2019 06:48 PM

Hello,
can you please post a picture how your report should look.
Then I will try to make it.
Best regards
Otto

Posts: 124
Joined: Sat Dec 05, 2009 12:44 PM
Re: Easyreport ER external qr code and barlib
Posted: Tue Feb 05, 2019 09:36 AM

Dear Otto,
It concerns a personalised fill in paper for our local food bank but I do not succeed to join a copy to this post reply.
Right under I would like to position a barcode/QR code containing the follow number and the name of each person that are mentionned in the top of the paper. The dimension of teh barcode is not important.
20 years ago I could do it myself in Clipper with a lib called "barlib" but I do not find it any more...
Many thanks
José Deschutter, Belgium

Posts: 6983
Joined: Fri Oct 07, 2005 07:07 PM
Re: Easyreport ER external qr code and barlib
Posted: Wed Feb 06, 2019 07:48 AM
Hello José,
please select "Barcode" in EasyReport designer (VRD.exe) from the buttonbar.
Insert the placeholder for the barcode and asign an ID - in the sample 1000.
Then address the placeholder from Fivewin code. Important: you have o asign a string.
Best regards
Otto

Code (fw): Select all Collapse
#DEFINE ER_COMPANY  201
#DEFINE ER_ADDRESS  500     
#DEFINE ER_CIF      501
#DEFINE ER_INVOICE  602
#DEFINE ER_DATE     502
#DEFINE ER_PAYDATE  603
#DEFINE ER_BARCODE  1000

 PRINTAREA 1 OF oVRD ;
               ITEMIDS    {  ER_BARCODE  ,   ER_COMPANY   ,ER_ADDRESS,  ER_CIF, ER_INVOICE, ER_DATE, ER_PAYDATE } ;
               ITEMVALUES { "99999999", OBRW:CLIENT:VALUE, OBRW:ADDRESS:VALUE, "100", "220178992", DToC( oBrw:Date:Value ), DToC( oBrw:PayDate:Value ) }








Posts: 6983
Joined: Fri Oct 07, 2005 07:07 PM
Re: Easyreport ER external qr code and barlib
Posted: Wed Feb 06, 2019 08:52 AM
Hello José
also to add a watermark is very easy with EasyReport.

Best regards
Otto

Posts: 124
Joined: Sat Dec 05, 2009 12:44 PM
Re: Easyreport ER external qr code and barlib
Posted: Thu Feb 07, 2019 10:07 AM

Thank you Otto, I will try it and let you know…José

Posts: 124
Joined: Sat Dec 05, 2009 12:44 PM
Re: Easyreport ER external qr code and barlib
Posted: Thu Feb 07, 2019 10:22 AM

Sorry Otto, I do not even find the VRD.exe via my internet browser...

Continue the discussion