cancel
Showing results for 
Search instead for 
Did you mean: 

Different Font Size in IE 8 and IE 10 when rendering From Crystal Report

Former Member
0 Kudos

Hi there,

my name is Leo, i'm application architect from Indonesia.

I have a project for upgrading Crystal Report from 10.5 to 13 . But i'm facing a little problem.

my application in user device still use IE 8 , when i was trying preview the report using CR 13 in IE 8, font changed bigger but when i use IE 11, my report preview is running well.

i have a picture for this case ..

using CR 13 in IE 8.

i tried to see html code that is generated from CR 8 and CR 13 .. there is any different syntax. but my concern is the font size. why the font size is bigger in CR 13 ? i use fontsize 8pt in CR design , but when i preview the report, it changed to 9pt .

is there anyone who have experienced with this case ?

thank you very much for helping ..

best regards,

Leo

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

This issue may depend on printer driver and not easily reproducible from computer to computer. See if enabling the "No Printer" option and enabling the "Dissociate Formatting Page Size and Printer Paper Size" option will help.

Right click on the report -> Page Setup

And also update latest Service Pack i.e i think SP8

Thanks,

DJ

Former Member
0 Kudos

Dear DJ,

Thank you for your workaround. i will try in my environment today. have you been facing the same problem in your application ?

sorry, i little misinterpretation for update latest service pack .. do you mean service pack for IE 8 ?

thank you

Best regards,

Leo

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi DJ and Ludek,

your workaround is running well in my environment. but we have 500 reports (500 rpt's file) .. could you give me suggestion, how to change the property in page setup in one way ? or i have to change those files one by one ?

thank you,

best regards,

Leo Tono

former_member183750
Active Contributor
0 Kudos

You will have to use the InProc RAS SDK to set those options at runtime.

For the "No Printer" option see:

For Dissasociate, see the RAS API Help file for

newPrintOptions.DissociatePageSizeAndPrinterPaperSize = False

RAS SDK Help files:

Report Application Server .NET SDK Developer Guide

Report Application Server .NET API Guide

- Ludek

Message was edited by: Ludek Uher

Former Member
0 Kudos

Hi Ludek,

thank you for your suggestion for changing via code. we will be trying that ..

but , now my team is facing new problem ..

after i enabling the "No Printer" option and enabling the "Dissociate Formatting Page Size and Printer Paper Size" option , my report viewer display is better than before. but when i click 'print' button, report couldn't be printed.


i have tried to disabling "No Printer" Option and Dissociate Formating Page Size and Printer Paper Size" Option, my report could be printed normally ..

is there any aspect that i have to check ?

thank you

best regards,
Leo

former_member183750
Active Contributor
0 Kudos

Hi Leo

When you say "but when i click 'print' button, report couldn't be printed. ", do you mean that you get an error saying "the report couldn't be printed"?


See if exposing the printer drivers to the process will help. Please see this MS KBA on how to:

http://support.microsoft.com/kb/184291/en-us



- Ludek

Former Member
0 Kudos


Hi Ludek,

there is no error alert when the report will be printed . we just waiting until 5 minutes but the report still didn't printed.

are you sure this is related with printer driver ? because before we enabled "No Printer" Option and "Dissociate Formatting Page Size and Printer Paper Size " option, the report printed normally ..

thank you

best regards,
Leo Tono

former_member183750
Active Contributor
0 Kudos

Well, the printer driver is used to not only print the report, bu to actually render the whole report...

When you hit the print button, do you see the print job in the printer queue?

Are you using ActiveX or PDF print mode?

Have you looked at http://support.microsoft.com/kb/184291/en-us ?

- Ludek

Former Member
0 Kudos

Hi Ludek,

we use server printing for print mode. we have server spooler in our data centre.

when i hit print button, i didn't see print job in the printer queue.

Thank you ,

best regards

Leo Tono

former_member183750
Active Contributor
0 Kudos

There is no such thing in CR as server printing for print mode...

The CR viewer has two options to print:

ActiveX

PDF Print

Check the viewer properties to see which one is set on the viewer.

- Ludek

Former Member
0 Kudos

Dear Ludek,

we use ActiveX in Crystal Report Viewer Options. but when we print the report, we use printer server method ( we put spooler in the spooler server, not in the client).

any properties or setting that we have to be applied ?

thank you,

best regards,

Leo

former_member183750
Active Contributor
0 Kudos

Hi Leo

I'm struggling trying to understand how this is supposed to work. Maybe this will help?

COM objects fail to print when called from ASP</title> <!-- integration code for PDF -->...

- Ludek

former_member183750
Active Contributor
0 Kudos

See the series of documents here:

- Ludek

Senior Support Engineer AGS Product Support, Global Support Center Canada

Follow us on Twitter