Page 1 of 1

QR code Easy Report

Posted: Thu May 16, 2019 8:49 pm
by leandro
Good afternoon everyone

I need to insert a QR barcode from a report created with EASYREPORT.

I have the latest version FW1903.

First of all, Thanks

Re: QR code Easy Report

Posted: Sun Jun 09, 2019 8:34 pm
by nageswaragunupudi
Program: er_qrcode.prg

Code: Select all

#include "fivewin.ch"
#include "easyrep.ch"

REQUEST FWZEBRA

//----------------------------------------------------------------------------//

function Main()

   local oVRD, aItemData, i

   aItemData := {  { "1232764" ,"JAM 250gm" }  ,;
                   { "2522564" ,"PARLE G 250gm" }  ,;
                   { "3292264" ,"JUICE 500 ml" }  ,;
                   { "4235364" ,"CHOCLATE 250gm" } }

    EASYREPORT oVRD NAME ".\er_qrcode.vrd" PREVIEW .T.

    for i := 1 To Len( aItemData )

        PRINTAREA 1 OF oVRD   ;
        ITEMIDS    {  101, 104 , 105 }  ;
        ITEMVALUES {  "NUMBER" + CRLF + aItemData[i,1] + CRLF + "NAME:" + CRLF + aItemData[i,2],;
            aItemData[i,1] , aItemData[i,2] }

    next

    oVRD:End()

return nil
//----------------------------------------------------------------------------//
 
er_qrcode.vrd

Code: Select all

[General]
Title=
TopMargin=20
LeftMargin=20
PageBreak=270
Measure=1
Orientation=1
EditProperties=1
EditAreaProperties=1
DeveloperMode=1
InsertMode=1
EditLanguage=1
ShowInfoMsg=1
PrintIDs=1
GridWidth=1
GridHeight=1
ShowGrid=0
Expressions=1
GeneralExpressions=General.dbf
UserExpressions=User.dbf
DataExpressions=Database.dbf

[Fonts]
1=Arial| 0| -11| 0| 0| 0| 0| 0
[Colors]
1=0
2=16777215
[Infos]
Revision=49
SaveDate=09.06.2019
SaveTime=19:18:59
[Areas]
1=er_qrcode.v01
 
er_qrcode.v01

Code: Select all

[General]
Title=Details
Width=200
Height=63
Top1=0
Top2=0
TopVariable=1
Condition=1
DelEmptySpace=0
BreakBefore=0
BreakAfter=0
PrintBeforeBreak=0
PrintAfterBreak=0
ControlDBF=none
Formula1=
Formula2=
Formula3=
Formula4=
Formula5=
Formula6=
Formula7=
Formula8=
Formula9=
Formula10=
Formula11=
Formula12=
[Items]
406=TEXT|ITEM_NAME|105|1|1|1|4|111|72|5|1|1|2|1|0|0||0||||||||||||||0|0.20
407=TEXT|ITEM_CODE|104|1|1|1|4|79|30|5|1|1|2|1|0|0||0||||||||||||||0|0.20
410=LineHorizontal|Line horizontal|-1|1|1|1|55|7|191|3|1|2|1|1|0|0|0||||||||||
408=BARCODE|12345678|101|1|1|1|2|10|57|50|17|1|2|1|1|0.30|||||||||||
Image

Re: QR code Easy Report

Posted: Mon Jun 10, 2019 2:27 pm
by Silvio.Falconi
Nages,
why I see small qrcode onmy computer ?

Image

do you have a particular configuration ?

I check and I have this

Image

but then it is printed smaller

Re: QR code Easy Report

Posted: Tue Jun 11, 2019 4:06 pm
by leandro
Mr Nages

Good
Thank you very much for answering.
I wanted to report that exactly the same thing happens to me as silvio, the qrcode comes out small.

On the other hand and taking advantage of the opportunity, could you please test the generation of the report directly to pdf, since by just adding this line:

Code: Select all

EASYREPORT oVRD NAME ".\er_qrcode.vrd" PREVIEW .T. FILE ".\er_qrcode.pdf"
 
and try to generate several times the report, you can see that sometimes it goes wrong and sometimes it goes well.

First of all, Thanks.

Image

Image

Re: QR code Easy Report

Posted: Tue Jun 11, 2019 5:32 pm
by nageswaragunupudi
and try to generate several times the report, you can see that sometimes it goes wrong and sometimes it goes well.
We are working on this. We are not getting this problem, but surely we check everything and ensure you get pdf every time you print. This may take a little more time but we will provide you with a solution. BTW may I ask, have you downloaded FWH1905?

About the small size of QRcode: There was a bug. Please email me at nageswaragunupudi [at] gmail [dot] com. I will send you revised fwbarcod.prg. You link this revised program with your application.

Let me also inform you that I can see none of the images posted by you. Probably the links are not accessible publicly.

Re: QR code Easy Report

Posted: Tue Jun 11, 2019 6:00 pm
by leandro
nageswaragunupudi wrote:
and try to generate several times the report, you can see that sometimes it goes wrong and sometimes it goes well.
We are working on this. We are not getting this problem, but surely we check everything and ensure you get pdf every time you print. This may take a little more time but we will provide you with a solution. BTW may I ask, have you downloaded FWH1905?
Yes, I already downloaded, compile with fw1905, but it does not work either.
Let me also inform you that I can see none of the images posted by you. Probably the links are not accessible publicly.
the hosting is public, I attach the links, so you can review the images.

http://demo.livingo.co/images/qrpeque1.png
http://demo.livingo.co/images/qrpeque2.png
About the small size of QRcode: There was a bug. Please email me at nageswaragunupudi [at] gmail [dot] com. I will send you revised fwbarcod.prg. You link this revised program with your application.
I will send it immediately.

Re: QR code Easy Report

Posted: Tue Jun 11, 2019 6:14 pm
by nageswaragunupudi
Image

Re: QR code Easy Report

Posted: Tue Jun 11, 2019 9:18 pm
by Enrico Maria Giordano
Both the embedded images and the links worked fine from here. Check your DNS. Try using Google's DNS.

EMG

Re: QR code Easy Report

Posted: Wed Jun 12, 2019 9:30 am
by Silvio.Falconi
Rao
Now the qrcode run ok

I think you deserved a cup of coffee, think I offer it to you !!!!
Image

Re: QR code Easy Report

Posted: Wed Jun 12, 2019 9:31 am
by nageswaragunupudi
Thanks for your tasty Italian mocca coffee.

Re: QR code Easy Report

Posted: Thu Jun 13, 2019 4:16 pm
by leandro
Good Morning

Me again,

Perform several tests on other computers, all with the same result, at some time does not build the pdf file.

Results of the experiment

total computers 7

1 computer OS WIN10 64, never built the pdf.
1 computer OS WIN10 64, in the 10th time I do not build pdf.
1 computer OS WIN7 32, in the sixth time I do not build pdf.
1 computer OS WIN10 32, in the fourth time I do not build pdf.
1 computer OS WIN8 64, never build pdf.
1 computer OS WIN7 32, in the fifth time I do not build the pdf.
1 OS WINXP computer, it does not work.

I do not know if the topic has to do with the classes that generate the pdf in xharbour?

I'm going to do some tests but I'm going to compile with harbour.

Re: QR code Easy Report

Posted: Thu Jun 13, 2019 4:21 pm
by nageswaragunupudi
Mr. Leandro

Now please do not spend more time on this issue.
Let us work and do more tests on this issue.
We will get back to you very soon.

Hope the QR-Code size issue in the above sample is resolved for you now.

Re: QR code Easy Report

Posted: Thu Jun 13, 2019 4:31 pm
by leandro
Thank you

What happens is that I wanted to help a little to see if I found the cause of the error.

Thank you very much for the help, I remain alert.
Hope the QR-Code size issue in the above sample is resolved for you now.
I will now do the tests on the size of the qrcode and comment.

Re: QR code Easy Report

Posted: Wed Jul 03, 2019 3:36 am
by leandro
Goodnight

Mr Nages, I apologize for pressing :oops: :oops: :oops: , but I need the solution to create the pdf directly to hard disk. file "tales.pdf" from EASY REPORT, since it does not always work.

First of all, Thanks

Re: QR code Easy Report

Posted: Sun Jul 21, 2019 1:48 am
by leandro
Mr Nages

Buenas noches,

Ayer descargue la versión fwh1906, y problema solucionado :D ya crea el archivo pdf correctamente; directo al disco duro, al mismo tiempo se genera el código QR desde Easy Report.

De nuevo muchas gracias por la ayuda.

Saludos

Image