cancel
Showing results for 
Search instead for 
Did you mean: 

About update of reports

Former Member
0 Kudos

<Phenomenon of Problem>

The printed matter is reduced generally.

(The size of the letter and the distance of the letter are shortened.)

<Procedure>

I open report file (.rpt) made in CrystalReports8.5 in CrystalReports2011.

I save it by overwrite without anything changing it.

I print the report in Visual Studio 2010 using Crystal Reports for Visual Studio 2010.

<Other Information>

The phenomenon does not occur even if I print it directly from CrystalReports2011.

The phenomenon occurs only when I print it from Visual Studio 2010.

I can confirm that the phenomenon does not depend on the model of the printer.

Please teach the solution to this problem.

Accepted Solutions (1)

Accepted Solutions (1)

former_member183750
Active Contributor
0 Kudos

Hello Machiko

Please make sure you are using Service Pack 5. Links to the SP are in the following document:

http://scn.sap.com/docs/DOC-7824

On the report, find the option "No Printer" and enable that. See if this helps.

If that does not help please let me know the following:

1) Is this a web or a windows application?

2) Are you seeing the issue on the development computer, or after you deploy the application?

3) Operating System?

4) From your description, I understand the issue occurs when printing only(?). E.g.; viewer and export show correct font?

- Ludek

Follow us on Twitter

Got Enhancement ideas? Try the SAP Idea Place

Share Your Knowledge in SCN Topic Spaces

Former Member
0 Kudos

Hello Ludek,

Thank you for your reply.

I installed Service Pack 5 onto development machine, but this issue didn't improve.

(I don't installed onto execution environment.)

I found the option "No Printer" on reports, but I could not use this option.

Because I make printing screen by myself.

I could not select a printer when I checked this option.

(We can't use CrystalReportViewer's printing function for a reason.)

I would reply to your questions as follows.

1)A Windows application.

2)Both.(development computer, after deploying the application)

3)Windows7 Professional(32bit)(Application Development Environment)

4)The issue occurs...

   ・Viewer

   ・When printing

I am sorry to trouble you, but please reply regarding this matter.

Thanks,

former_member183750
Active Contributor
0 Kudos

Hello Machiko

Can you please provide more info re.:

Because I make printing screen by myself.

How are you doing this? Perhaps if you paste the code in here that will help.

Also, you say:

(We can't use CrystalReportViewer's printing function for a reason.)

Which is fine. But then you also say:

4)The issue occurs...

   ・Viewer

   ・When printing

Can you please clear that up?

- Ludek

Former Member
0 Kudos

Hello Ludek,

Thank you for your reply.

I am sorry that please forget the screen made by itself for the present.

I regard as the same the problem which I have with "http://scn.sap.com/thread/1952705".

Even if it uses the service pack 5, a result does not change.

Is this problem solved?

I am sorry that I can not express myself well in English.

former_member183750
Active Contributor
0 Kudos

Hello Machiko

No worries re. language . We just have to go slow. The link you reference is a good one, but that issue was resolved in SP 4 or SP 5.

So what we need to determine is why it still does not work for you. Please go over my post from Apr 24 and provide feedback to that.

- Ludek

Former Member
0 Kudos

Hello Ludek,

Thank you for your reply.

but that issue was resolved in SP 4 or SP 5.

I see...

What I have done is below.

1.I install the CRRuntime_32bit_13_0_5 on a development machine(Windows7 32bit).

2.I restart the machine.

3.I rebuild that I created a windows forms application project.

Are these correct?

This phenomenon does not occur in all reports we created.

This phenomenon occurs on some reports.

If I send you the report, Could I get you to try?

former_member183750
Active Contributor
0 Kudos

Hello Machiko

To attach the report, rename it to .txt, then use the Advanced Editor. I'd also like to see a report that works please. And don't forget to make sure that both the reports have Saved Data. (you may have to post the two report in tow different posts.

BTW.; tests from the forums take low priority. E.g.; I may not be able to look at these until next week.

- Ludek

Former Member
0 Kudos

Hello Ludek,

Thank you for your reply.

I have attached a report file this reply.

I would be grateful if you could compare the following.

1.Printing it from CrystalReports2011

2.Printing it from CrystalReportViewer(Visual Studio 2010)

"2" is reduced.

Sorry to ask this of you when you are busy but I appreciate your help.

saurabh_pathak
Active Contributor
0 Kudos

Machiko, it looks you are printing the report from viewer and PrintToPrinter() is not involved, but for the sake of testing can you give it a shot? Code might do some magic.

Troubleshooting issues related to PrintToPrinter() when used in .NET applications for printing Cryst...

~ Saurabh

former_member183750
Active Contributor
0 Kudos

Hello Machiko

I tested the report in a .NET WIN app and from the CR designer. The print output was identical. I used the viewer printer button. So, that takes us to this:

I found the option "No Printer" on reports, but I could not use this option.

Because I make printing screen by myself.

And questions:

1) If you print from the viewer, do you also see the issue?

2) Using your print screen and using the same driver as the report would in (1) above, do you see the issue?

3) Is the issue present only when you change to a different printer driver?

4) If (3) above is the case, how does the report designer print when you change to that printer driver (3) above?

- Ludek

Former Member
0 Kudos

Hello Ludek,

Hello Saurabh,

Thank you for your reply.

I have attached a file this reply.

Please rename it to .zip. and unzip.

This zip file is Visual Studio Application which I created.

Could you possibly try once again using this application and a report I attached yesterday?

And I would reply to questions as follows.

1) Yes.

2) Yes.

3),4) I tried printing from two printers, but same issue occurred. A report was reduced to about 95% of size.

I am sorry if I have not replied to your question exactly.

former_member183750
Active Contributor
0 Kudos

Hello Machiko

I know this will be frustrating, but I do not see any differences between your app, my app and CR Designer. Would you be able to do a screenshot that shows the issue?

- Ludek

Former Member
0 Kudos

Hello Ludek,

Thank you for your reply and testing.

I'm sorry to trouble you.

I have attached a file to this reply again.

Please rename it to .zip and unzip.

Two PDF files are contained in the folder.

One is printing from Viewer and the other is printing from CR Designer.

I can't reply to you for a few days because of national holiday.

Thank you for your understanding.

former_member183750
Active Contributor
0 Kudos

Ahhh - finally I get it...

As it turns out, language was the issue as I did not realize we were talking about the margins of the report. Now I can suggest a few things:

Make sure you are always using the latest printer driver

Make sure the printer driver used was actually designed for the Operating System

Try different printer drivers

See if setting the option "Dissociate Formatting Page Size and Printer Paper Size" will help (File | Page Setup)

See if Setting the "Preview Pages Start With" option to "Full Size will help (File | Report Options)

Now, I remember you mentioning that setting the "No Printer" option will not work for you, but I am not sure why not? The option will still allow you to print the report, it's just processed a bit differently.

BTW.; the margins on my print out test are all consistent. E.g.; I do not see the issue that your screen shot describes. This is probably good news as we know that this does work and the issue is more environmental differences than a bug in CR.

- Ludek

Former Member
0 Kudos

Hello Ludek,

I am sorry for the delay in my response.

I had got the latest printer driver and I had checked the option "Dissociate Formatting Page Size and Printer Paper Size",and there was not much difference between CRDesigner and Viewer.


However, other issue arose.

I can't express the issue well in English, so I summarize that issue on the excel file. 

Please see attached the file.

(Please rename it to .xls)

former_member183750
Active Contributor
0 Kudos

Hello Machiko

Getting there - maybe

I'd like you to look at the "Preview Pages Start With" option:

See  if experimenting with the fit will help. You can also set scaling in code. See KBA - 1836340 - How to set Print Layout using CR for .NET APIs to "Do not Scale Report Page"?

- Ludek

Former Member
0 Kudos

Hello Ludek,

Thank you for your reply.

I looked at the "Preview Pages Start With" option.

The initial value of this option is "Full Size" and I have not changed it.

Is this option related to the printed matter?

Is there anything that I should try other than that?

former_member183750
Active Contributor
0 Kudos

Yes, this scales the report and trying the different combinations may help.

- Ludek

Former Member
0 Kudos

Hello Ludek,

I am terribly sorry that my expression of gratitude is delayed.

I appreciate many information you gave me.

I would like to try the various combinations.

If I have other problems, I am pleased to write here.

Thank you very much.

former_member183750
Active Contributor
0 Kudos

No worries Machiko

When ever you need help we'll be here

Have a great, great weekend,

- Ludek

Answers (0)