on 04-23-2013 9:46 AM
<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.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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,
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
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.
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?
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
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.
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.
~ Saurabh
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
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.
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.
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
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)
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
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.