A simple solution for printing the contents of Arabic and Persian tables by neopdf - Forum

Forum Navigation
You need to log in to create posts and topics.

A simple solution for printing the contents of Arabic and Persian tables by neopdf

neoPdfInit "p" "A4" "portrait"
neoPdfFont "p" "Yas"
neoPdfFontSize "p" "10"
neoPdfLine "p" 19 12 19 180
neoPdfLine "p" 180 12 180 180
neoPdfLine "p" 19 180 180 180
................................
SetVar [radiff] 0
SetVar [a] 10
Loop 0 14 [idnumber]
Math "[a]+5" 0 [a]
Math "[a]-3.40" 0 [b]
Math "[radiff]+1" 0 [radiff]
SetVar [tt] [radiff]
...........................................
neoPdfText "p" "ردیف: [tt]" 20 [a] "left" 0 0 "fill"
neoPdfLine "p" 19 [b] 180 [b]

neoPdfText "p" "نام: [mydata([idnumber]).name]" 35 [a] "left" 0 0 "fill"

neoPdfText "p" "نام خانوادگی: [mydata([idnumber]).surname]" 75 [a] "left" 0 0 "fill"

neoPdfText "p" "کلاس: [mydata([idnumber]).classes]" 150 [a] "left" 0 0 "fill"
........................................
EndLoop
neoPdfDownload "p"

Thanks to my dear friend Mr. Louise

luishp and Vadim have reacted to this post.
luishpVadim