on 07-31-2019 6:38 AM
I upgraded Crystal Reports runtime 10.2.0 to 13.0.23.
I have same problem as this link.
https://answers.sap.com/questions/8351596/the-cr-2010-for-vs-engine-changes-the-margins-and.html
I will setting OS registry, but I have not found a detailed document of this setting.
Please let me know this registry influence, other than margin and scale.
Key:"HKEY_LOCAL_MACHINE\SOFTWARE\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Crystal Reports\DesignerOptions"
Name:"DealWithMinimalMarginsWhenPrinting"
Value:"0"string
Regards
Ah, thanks for the info, seems we need to add this one to it.
2458191 - RAS .NET SDK will get a different printing result compared to Crystal Reports Designer (gated - requires a support contract to access. I will make a KBA that is public)
Update: KBA -2829461 - RAS .NET SDK will get a different printing result compared to Crystal Reports Designer
Here's the registry keys to add:
SAP Crystal Reports, version for Microsoft Visual Studio,
32bit SDK Application
[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Crystal Reports\DesignerOptions] "DealWithMinimalMarginsWhenPrinting"=”0”
64bit SDK Application
[HKEY_LOCAL_MACHINE\SOFTWARE\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Crystal Reports\DesignerOptions] "DealWithMinimalMarginsWhenPrinting"=”0”
Registry key usage:
When Dissociate Formatting Page Size and Printer Paper Size is checked:
"Reg key =1" or nokey, keep large margins.
"Reg key = 0", turn on minimal margins printing.
When Dissociate Formatting Page Size and Printer Paper Size is unchecked:
The reg key does NOT take effect. Always print minimal margins.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi, Don.
Excuse me , I want to ask it again.
>Registry key usage:
>When Dissociate Formatting Page Size and Printer Paper Size is checked:
>"Reg key =1" or nokey, keep large margins.
>"Reg key = 0", turn on minimal margins printing.
What does large margins mean. My imagine is correct?
Large margins : Printer driver's default margin
Minimal margins : Settings in layout files
Hi, Don.
Thanks a lot. I want you to tell me a little more.
>No you don't have to fix your reports, some may need to be adjusted but most will work fine.
For example, what reports need to be adjusted?
We need test all reports using all printers?
And I don't understand large margins and minimal margins...
If no one knows it, I give up it.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes, we do always recommend updating the version of the report but not completely required.
No you don't have to fix your reports, some may need to be adjusted but most will work fine.
It was just the name of the registry key, it was just added so it matches the format of CR Designer.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Don.
I've already tried DealWithMinimalMarginsWhenPrinting registry setting.
It affected layouts created with Visual Studio 2005 designer.
Does new version of Crystal Reports runtime support layouts created by older designers?
If Crystal Reports runtime updated, we have to recreate all layouts?
And I don't understand large margins and minimal margins.
How much inches?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ah, VS 2005 won't work with the latest CR for VS packages. And that registry key won't work with that version either.
There are not more patches available for VS 2005.
Only option is to upgrade to VS 2010 -> 2019
Don
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Don.
I using Visual Studio 2005 designer. Dissociate option was not see in Page Setup.
If using Visual Studio 2005 designer and saved, Dissociate option to be checked or unchecked?
And I don't understand large margins and minimal margins.
Regards,
Makita
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Jun,
That option is part of Crystal Reports.
Open you report in CR Designer, then click on Page Setup, now you see the margins and the Dissociate option. Check on the Dissociate.
What this does is remove the specific dependency on that printer and just uses the paper size and margins for which ever printer you select.
Hope that's clearer?
Don
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you this info.
I want you to tell me a little more.
>When Dissociate Formatting Page Size and Printer Paper Size is checked:
Is it means layout file with printer settings?
Sorry, I only have a Japanese screen.
>"Reg key =1" or nokey, keep large margins.
>"Reg key = 0", turn on minimal margins printing.
What does large margins mean. My imagine is correct?
Large margins : Printer driver's default margin
Minimal margins : Settings in layout files
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I could not find about DealWithMinimalMarginsWhenPrinting registry from SAP Note 2165260 list.
Is there another list?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes it is related.
Search for thi susing Google:
Don
2165260*** Master KBA *** List of Registry Keys used in Crystal Reports, Crystal Reports for Visual Studio ...You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Is that about Incident 151207? I think this is default printer problems.
I knew this problem. I switch default printer from .NET before preview.
By the way ,Is there no official document about DealWithMinimalMarginsWhenPrinting?
If did not there documents, I will talk to customer abount it was knows nobody.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Citrix uses the Redirected Print option, install the printer on the Local PC or on the Citrix Server and upgrade to SP 24.
Microsoft change the registry key CR uses to load printer info, SP 24 has that fix in it.
Don
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Citrix uses the Redirected Print option, install the printer on the Local PC or on the Citrix Server and upgrade to SP 24.
Microsoft change the registry key CR uses to load printer info, SP 24 has that fix in it.
Don
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
That link is to a very old version of CR runtime, lot's of changes since then.
Don't use those virtual printer drivers, use a real printer, even if you don't have one install one for report designing.
Most of them don't work properly, CR requires a real printer when setting margins. If it can't find the printer it defaults to your Default Printer. Likely your default printer is the MS XPS printer or possibly a PDF printer driver.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I changed DealWithMinimalMarginsWhenPrinting in the customer's environment.
It seems to work well.
Customer environments need to print using Citrix auto-created printers. I don't know if this is the cause.
I afraid new problem occur in customer's environment by this registry setting.
Please let me know this registry influence.
If you can access it, SAP Note 2165260 contains a list of all of the registry settings that can be used with Crystal along with links to notes that describe what the setting does.
-Dell
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.