Author |
Message |
05/11/2013 15:29:55
|
phuber
Power User
Joined: 06/08/2010 14:10:58
Messages: 50
Offline
|
Dear Community
I've got a strange error message out of CC from the JRVIEWER-Component who says "Fehler bei anzeigen von Report. Details ? Siehe Konsole." (see picture1.png).
For testing purposes I have written a Swing-Viewer, who is using the corresponding SWING-Component, without any error message (see picture2.png).
My questions: Where is the JRVIEWER-Console and where are the JRVIEWER-Logs stored?
Thanks and with best regards
PATRICK
|
Filename |
picture1.png |
Download
|
Description |
|
Filesize |
27 Kbytes
|
Downloaded: |
531 time(s) |
|
Filename |
picture2.png |
Download
|
Description |
|
Filesize |
65 Kbytes
|
Downloaded: |
501 time(s) |
|
|
|
05/11/2013 17:01:51
|
CaptainCasa
Power User
Joined: 21/11/2007 12:23:06
Messages: 5523
Offline
|
Hi Patrick,
this is part of the client log.
If you go via Webstart/Applet: Systemsteuerung => Java => last "Tab" => "Kosole einblenden".
You may also pass client parameter "clientlogfile=c:\temp\xyz.log", then the client log is written to the file system.
Regards, Björn
|
Björn Müller, CaptainCasa GmbH |
|
|
05/11/2013 17:26:10
|
phuber
Power User
Joined: 06/08/2010 14:10:58
Messages: 50
Offline
|
Servus Björn
Thanks for your fast answer ... you are right (as usual, haha - thanks again).
In the meantime I figured out the root cause of that funny message by myself.
I am using a special font, called "OCR B". The server side knows about that font, but client side don't. It seems, that JRVIEWER-Component looks on client side for that font.
Do you have a good idea how to check if "OCR-B" is present on client side before such thing will happen to an end user?
Thanks in advance
PATRICK
|
|
|
05/11/2013 19:08:25
|
CaptainCasa
Power User
Joined: 21/11/2007 12:23:06
Messages: 5523
Offline
|
Hi Patrick,
"no chance" is the best response I can give - unfortunately.
When using JRVIEWER you must feed the PDF so that JRVIEWER likes it...
Of course this might be a problem, when not being the owner of the PDF. In this case you need to show the PDF by calling the browser (JSHOWURL).
Regards, Björn
|
Björn Müller, CaptainCasa GmbH |
|
|
06/11/2013 08:51:38
|
phuber
Power User
Joined: 06/08/2010 14:10:58
Messages: 50
Offline
|
Good morning Björn
No, we are not talking about PDF. I know Jasper-PDF creation has the same problem regarding font embedding.
The JRVIEWER shows an XML after the JRPRINT was created and exported into this specific XML format. And here we have no chance to embedd a font into that XML
But I have an idea which I want to test. In case of sucess will post some lines how to do so
Regards; PATRICK
|
|
|
06/11/2013 14:44:06
|
phuber
Power User
Joined: 06/08/2010 14:10:58
Messages: 50
Offline
|
-
|
|
|
|