Re: [jasperreports-questions] exit server on close jasper viewer!

2005-12-23 Thread mjaeclipse
Hi Quang,

I use iReport 0.5.2 and do it like the following:

1. The TTF font directory you like to use has to be in
the classpath (startup of iReport and/or start application
that creates PDF)
2. In iReport choose tab "Font" in properties editor, select
"External TTF font" for PDF font name and choose your
font below with drop down box "True Type font".
In the jrxml file just set pdfFontName=""
3. Choose "PDF embedded" checkbox to embed the font.
In the jrxml file just set isPdfEmbedded ="true"

Also Merry Christmas and a Happy New Year to all out there.

Kind regards,
Marco


>Hi all,
>
>I'm working with JasperReport on export to pdf file function.
>My report is in Vietnamese so it can't be read in Adobe Reader.\
>
>I don't know how to write code to embed the true type font
>(such as Times New Roman, Arial, and so on) to a pdf file.
>
>if possible, can you send me a small example?
>
>Thank you very much.
>Merry Christmas and Happy new Year!
>
>Best regards,
>
>Quang.


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
jasperreports-questions mailing list
jasperreports-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jasperreports-questions


Re: [jasperreports-questions] exit server on close jasper viewer!

2005-11-28 Thread Quang Nguyen
Hi Teodor,

I don't find: JasperViewer.viewReport(jasperPrint, false, false);
It only is:
JasperViewer.viewReport(java.lang.String sourceFile, boolean
isXMLFile, boolean isExitOnClose)

I used: JasperViewer.viewReport(jasperPrint, boolean isExitOnClose);

But it still stop the server.

Can you test this method?

Thank you so much.

Regards,

Quang

On 11/28/05, Teodor Danciu <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> Actually, the method to call is the one with three parameters and the
> third parameter is what you need:
>
> JasperViewer.viewReport(jasperPrint, false, false);
>
> I hope this helps.
> Teodor
>
>
> Quang Nguyen wrote:
>
> >Hi,
> >
> >I have tried with your solution: JasperViewer.viewReport(jasperPrint,false);
> >
> >but it still stop server, I don't know why!
> >
> >Do you have another solution?
> >
> >Thank you so much!
> >
> >Regards,
> >
> >Quang
> >
> >
> >---
> >This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
> >for problems?  Stop!  Download the new AJAX search engine that makes
> >searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
> >http://ads.osdn.com/?ad_idv37&alloc_id865&op=click
> >___
> >jasperreports-questions mailing list
> >jasperreports-questions@lists.sourceforge.net
> >https://lists.sourceforge.net/lists/listinfo/jasperreports-questions
> >
> >
> >
>
>


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id865&op=click
___
jasperreports-questions mailing list
jasperreports-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jasperreports-questions


Re: [jasperreports-questions] exit server on close jasper viewer!

2005-11-27 Thread Teodor Danciu


Hi,

Actually, the method to call is the one with three parameters and the 
third parameter is what you need:


JasperViewer.viewReport(jasperPrint, false, false);

I hope this helps.
Teodor


Quang Nguyen wrote:


Hi,

I have tried with your solution: JasperViewer.viewReport(jasperPrint,false);

but it still stop server, I don't know why!

Do you have another solution?

Thank you so much!

Regards,

Quang


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id865&op=click
___
jasperreports-questions mailing list
jasperreports-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jasperreports-questions

 





---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
jasperreports-questions mailing list
jasperreports-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jasperreports-questions


Re: [jasperreports-questions] exit server on close jasper viewer!

2005-11-27 Thread Larry Singer

Remove the System.exit() from your code!

Quang Nguyen wrote:


Hi,

I have tried with your solution: JasperViewer.viewReport(jasperPrint,false);

but it still stop server, I don't know why!

Do you have another solution?

Thank you so much!

Regards,

Quang


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id865&opÌk
___
jasperreports-questions mailing list
jasperreports-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jasperreports-questions



 




--
Larry Singer
Smart Health Solutions Pty Ltd
39 Phillip Street, Sydney, 2000
Phone (02) 9247 3799
http://www.smarthealth.com.au



---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id865&op=click
___
jasperreports-questions mailing list
jasperreports-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jasperreports-questions


[jasperreports-questions] exit server on close jasper viewer!

2005-11-27 Thread Quang Nguyen
Hi,

I have tried with your solution: JasperViewer.viewReport(jasperPrint,false);

but it still stop server, I don't know why!

Do you have another solution?

Thank you so much!

Regards,

Quang


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id865&op=click
___
jasperreports-questions mailing list
jasperreports-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jasperreports-questions