Easyreport ER external qr code and barlib

Post Reply
Admpss
Posts: 21
Joined: Wed Oct 31, 2018 7:37 pm

Easyreport ER external qr code and barlib

Post by Admpss »

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
User avatar
Otto
Posts: 4470
Joined: Fri Oct 07, 2005 7:07 pm
Contact:

Re: Easyreport ER external qr code and barlib

Post by Otto »

Hello,
we create a QRCODE - bmp-file and then print this inside ER.

Best regards,
Otto

Code: Select all

function QRCode
        local cBmpFile := ""
    *----------------------------------------------------------

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

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

Image

Image
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org

********************************************************************
jds
Posts: 106
Joined: Sat Dec 05, 2009 12:44 pm

Re: Easyreport ER external qr code and barlib

Post by jds »

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
User avatar
Otto
Posts: 4470
Joined: Fri Oct 07, 2005 7:07 pm
Contact:

Re: Easyreport ER external qr code and barlib

Post by Otto »

Hello,
can you please post a picture how your report should look.
Then I will try to make it.
Best regards
Otto
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org

********************************************************************
jds
Posts: 106
Joined: Sat Dec 05, 2009 12:44 pm

Re: Easyreport ER external qr code and barlib

Post by jds »

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
User avatar
Otto
Posts: 4470
Joined: Fri Oct 07, 2005 7:07 pm
Contact:

Re: Easyreport ER external qr code and barlib

Post by Otto »

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: Select all

#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 ) }





 
Image

Image

Image

Image
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org

********************************************************************
User avatar
Otto
Posts: 4470
Joined: Fri Oct 07, 2005 7:07 pm
Contact:

Re: Easyreport ER external qr code and barlib

Post by Otto »

Hello José
also to add a watermark is very easy with EasyReport.

Best regards
Otto

Image
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org

********************************************************************
jds
Posts: 106
Joined: Sat Dec 05, 2009 12:44 pm

Re: Easyreport ER external qr code and barlib

Post by jds »

Thank you Otto, I will try it and let you know…José
jds
Posts: 106
Joined: Sat Dec 05, 2009 12:44 pm

Re: Easyreport ER external qr code and barlib

Post by jds »

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