Error Encoding print preview

Stimulsoft Reports.JS discussion
Post Reply
jimyWeb
Posts: 42
Joined: Wed Feb 03, 2016 8:08 am

Error Encoding print preview

Post by jimyWeb »

Hello!
There is a error encoding in the print preview.
The version is 2016.1
Error Encoding
Error Encoding
ErrorEncoding.png (5.61 KiB) Viewed 3430 times
MRT FILE:
listadoPrueba.mrt
FILE MRT
(4.74 KiB) Downloaded 303 times
JSON FILE:
demoSPS_Prueba_listadoPrueba.txt
FILE JSON
(518.82 KiB) Downloaded 305 times
If the report contains more than (around) 10 pages, the print preview is not create and the application break down. You can test it with a bigger file JSON.

Thank you.
Andrew
Posts: 4108
Joined: Fri Jun 09, 2006 3:58 am

Re: Error Encoding print preview

Post by Andrew »

Hello,

Could you please give us the information on what operating system and what web browser are you using?

Waiting for your reply.
Thank you.
jimyWeb
Posts: 42
Joined: Wed Feb 03, 2016 8:08 am

Re: Error Encoding print preview

Post by jimyWeb »

Hello Andrew, thank you for your help.

Operating system : Windows 10.
Browser: Internet Explorer, FireFox, Google Chrome (Last versions).

Regards.
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Error Encoding print preview

Post by HighAley »

Hello.

Sorry, but we still could not reproduce the issue.
Could you specify what localization do you use?
What encoding is set in browser? Please, try to change it.

Thank you.
jimyWeb
Posts: 42
Joined: Wed Feb 03, 2016 8:08 am

Re: Error Encoding print preview

Post by jimyWeb »

Hello,
The problem is in the page header, which does not have an assigned charset and so the browser can not find encoding.
Resulting file has this header:

<head>
<title>Report</title>
<meta http-equiv="Content-Type" content="text/html; charset="></meta>
<style type="text/css">
CSS lines
</style>
</head>


There is other problem in print preview, the images are not displayed.

Thank you
Regards
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Error Encoding print preview

Post by HighAley »

Hello.

We have made an improvement of charset issue. Please, check our next prerelease build that will be available tomorrow.

To see images in print preview, please, select the Background Graphics option in it.
images.png
images.png (13.51 KiB) Viewed 3362 times
Thank you.
Post Reply