Quantcast
Channel: SCN : Discussion List - SAP Crystal Reports, version for Visual Studio
Viewing all articles
Browse latest Browse all 3636

Report margins not holding at print

$
0
0

We created some reports in VS2008 for our Insurance program that have to print fields that line up with boxes on a specific paper (UB-04). When we migrated the project to VS2012, it displayed fine in the viewer, but the fields started being moved when they printed. Some shifted up, some down, there wasn't any consistency that I could tell, but it didn't print in the boxes properly. We resorted to trying to recreate the report in VS2012, and ran into a hiccup where the project is C++ and VS2012 won't allow me to add a crystal report to a c++ project. The workaround was to create the report in a C# program and then migrate it to the c++ using add existing. Now the issue I have is that the margins won't hold on this report no matter what I do. The top margin is the specific problem, because it pushes the first line down and it doesn't fit in the box like it needs to.

 

I'm using VS 2012 update 3, CR version 13.0.6, language is C++

 

I've done lots of searches to find something and none of the suggestions have worked. I've tried using the PrintToPrinter command and the CrystalReportViewer->PrintReport() function and both produce the same results.

 

I've attached a picture of the printed report as well as a snip of how it displays in the viewer.

 

Any help is greatly appreciated.

 

 

- Dylan Schmidt


Viewing all articles
Browse latest Browse all 3636

Trending Articles