Some issues when using iDempiere report

160 views
Skip to first unread message

LiverKloop

unread,
Nov 9, 2015, 2:55:09 AM11/9/15
to iDempiere
Hi everyone,

When using iDempiere (2.1) and export PDF file with Jaspersoft Studio (5.6.0), I have some problems and I need your answers.

Question 1: I create my report following this tutorial. When I use exporting PDF function in iDempiere, it always display 2 tabs for PDF preview.

Why it need to display separate 2 tabs with same content? How I can set up for it only display one tab?


Question 2: I create my report with Jaspersoft Studio (5.6.0) and using DejaVu Serif font for it. But iDempiere 2.1 doesn't support this font. I have researched the solution for this issue and but all of them don't work. Font size when exporting PDF file doesn't change.How I can fix it?


Hiep Lq

unread,
Nov 9, 2015, 3:22:30 AM11/9/15
to Mohemmed Bilal Ilyas
1. Why it need to display separate 2 tabs with same content?
i think it's not design of *dempiere, maybe something wrong in your implement? you can redo it in fresh instance?
or try redo your issue at.

2. Font size when exporting PDF file doesn't change
what's exact your issue? font size don't change or don't support 
DejaVu Serif? or both?

about report font, i see a lot thread and wiki about it.



--
You received this message because you are subscribed to the Google Groups "iDempiere" group.
To unsubscribe from this group and stop receiving emails from it, send an email to idempiere+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/idempiere/08d09444-6430-4e75-b166-2c835f9939b6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Lê Quý Hiệp
Email: hie...@hasuvimex.vn
Skype: admin.hasuvimex

Company: Thanh Hoa Fishery Import - Export J.s.c  (HasuvimexDL 47
Add: Lot E, Le Mon Industrial Zone, Thanh Hoa, Vietnam

LiverKloop

unread,
Nov 9, 2015, 3:57:31 AM11/9/15
to iDempiere
Hi hieplq,

1. I sure I follow this tutorial with step by step. I have tried many times, but it still display 2 tabs.
Tab 1: Display full report screen.
Tab 2: Display small report screen.
And I don't know why.



2. I have tried import DejaVu Serif into iDempiere following some ways that I researched. My report displays with DejaVu Serif font. But font size doesn't change. All of word on my report displays with font size is 10. What I can do? Please help!

Vào 15:22:30 UTC+7 Thứ Hai, ngày 09 tháng 11 năm 2015, Hiep Lq đã viết:

Hiep Lq

unread,
Nov 9, 2015, 4:46:35 AM11/9/15
to Mohemmed Bilal Ilyas
1. please confirm in fresh install and demo server to sure you correct setup your server.
2. you deploy jasper by source file (a xml with rasper extension) or binary (don't remember extension)
if you use binary, please try source.


For more options, visit https://groups.google.com/d/optout.

LiverKloop

unread,
Nov 9, 2015, 5:10:09 AM11/9/15
to iDempiere
Hi hieplq,

1. I can't public demo server. But you can see my steps by images.




2. I use *.jasper file.

Vào 16:46:35 UTC+7 Thứ Hai, ngày 09 tháng 11 năm 2015, Hiep Lq đã viết:

Hiep Lq

unread,
Nov 9, 2015, 5:28:24 AM11/9/15
to Mohemmed Bilal Ilyas
1. i don't ask you public your server.
2. just recheck, jrxml is source file and jasper is binary.


For more options, visit https://groups.google.com/d/optout.

LiverKloop

unread,
Nov 9, 2015, 5:38:47 AM11/9/15
to iDempiere
jrxml is source file - Yes, I know. I follows this tutorial and it uses *.jasper file.

Vào 17:28:24 UTC+7 Thứ Hai, ngày 09 tháng 11 năm 2015, Hiep Lq đã viết:

Nicolas Micoud

unread,
Nov 9, 2015, 6:33:50 AM11/9/15
to iDempiere
Hi,

There is no need to fill the 'Classname' field in the process/report "Sales Order report".
I think this is the cause of the 2 opened tabs.

Regards,

Nicolas

LiverKloop

unread,
Nov 9, 2015, 8:19:30 PM11/9/15
to iDempiere
Hi Nicolas,

1. Thank you so much! It's very useful.

2. About font size doesn't change, Do you have any suggestion for me about this case?

Vào 18:33:50 UTC+7 Thứ Hai, ngày 09 tháng 11 năm 2015, Nicolas Micoud đã viết:
Reply all
Reply to author
Forward
0 new messages