#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
//----------------------------------------------------------------------------//
[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
[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|||||||||||
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.
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?
Let me also inform you that I can see none of the images posted by you. Probably the links are not accessible publicly.
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.
Hope the QR-Code size issue in the above sample is resolved for you now.
Return to FiveWin for Harbour/xHarbour
Users browsing this forum: Google [Bot] and 102 guests