Easyreport ER external qr code and barlib

Easyreport ER external qr code and barlib

Postby Admpss » 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
Admpss
 
Posts: 26
Joined: Wed Oct 31, 2018 7:37 pm

Re: Easyreport ER external qr code and barlib

Postby Otto » Fri Jan 25, 2019 2:18 pm

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

Best regards,
Otto

Code: Select all  Expand view  RUN
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
https://www.facebook.com/groups/modharbour.club
********************************************************************
User avatar
Otto
 
Posts: 6346
Joined: Fri Oct 07, 2005 7:07 pm

Re: Easyreport ER external qr code and barlib

Postby jds » Mon Feb 04, 2019 4: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
jds
 
Posts: 122
Joined: Sat Dec 05, 2009 12:44 pm

Re: Easyreport ER external qr code and barlib

Postby Otto » Mon Feb 04, 2019 6:48 pm

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
https://www.facebook.com/groups/modharbour.club
********************************************************************
User avatar
Otto
 
Posts: 6346
Joined: Fri Oct 07, 2005 7:07 pm

Re: Easyreport ER external qr code and barlib

Postby jds » Tue Feb 05, 2019 9: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
jds
 
Posts: 122
Joined: Sat Dec 05, 2009 12:44 pm

Re: Easyreport ER external qr code and barlib

Postby Otto » Wed Feb 06, 2019 7: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: Select all  Expand view  RUN

#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
https://www.facebook.com/groups/modharbour.club
********************************************************************
User avatar
Otto
 
Posts: 6346
Joined: Fri Oct 07, 2005 7:07 pm

Re: Easyreport ER external qr code and barlib

Postby Otto » Wed Feb 06, 2019 8:52 am

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
https://www.facebook.com/groups/modharbour.club
********************************************************************
User avatar
Otto
 
Posts: 6346
Joined: Fri Oct 07, 2005 7:07 pm

Re: Easyreport ER external qr code and barlib

Postby jds » Thu Feb 07, 2019 10:07 am

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

Re: Easyreport ER external qr code and barlib

Postby jds » Thu Feb 07, 2019 10:22 am

Sorry Otto, I do not even find the VRD.exe via my internet browser...
jds
 
Posts: 122
Joined: Sat Dec 05, 2009 12:44 pm


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 25 guests