cancel
Showing results for 
Search instead for 
Did you mean: 

CRVS2010SP7 No Printer Layout issue

0 Kudos

Dear,

This last week we upgraded from Crystal Reports 2010 SP4 to Crystal Reports 2010 SP7.

We use a custom developed Crystal Reports Viewer, running on a Windows Server 2008 R2.

We develop our reports in Crystal Reports 2008 SP4-5 on machines running Windows 7. Here we develop our reports using No Printer and page size a4

Before the upgrade we were able to print correctly, meaning all text is displayed correctly and not cut of at the end of the text field. Please see the screenshots below. However after the upgrade to SP7 the text gets cut off at the edges, while before it would be truncate the text instead of cutting it off. When exporting with SP to PDF we noticed the layout is correct, and gets truncated at the end of the text field, however as you can see the text on the PDF export is smaller.

Please note that when we use a printer when developing a report, so not using the No Printer, printing is done correctly. However the performance is pretty terrible then...

Please does anyone know how to solve this issue?

Regards,

Pieter Jong

Crystal Advice

http://www.crystaladvice.com

Accepted Solutions (1)

Accepted Solutions (1)

0 Kudos

Hi Peter,

Are you using PrinttoPrinter of PrintOutPutController to do the printing?

P2P has limitations due to Windows Framework limitations/issues. Using POC should resolve the problem.

You can replace the Viewers print button with your own, search for this sample app also.

SP 8 is due out shortly and resolves some regression issue.

Also, even though you are using No Printer Cr still uses your default printer to get some basic settings.

Try changing your default printer, don't use Windows XPS printer as you default, select a printer that more closely resembles the printer typically used.

For exporting there is a registry key, search for ForceLageFonts and you'll find a bunch of how to's on the registry key required.

Don

0 Kudos

Hi Don,

Thank you for your response.

The default print is a HP LaserJet printer on my development machine. Do you mean this as default? Reason why we choose to use the Microsoft XPS, is because it is installed on all computers in the company.

We are using RAS for printing, here a sample piece of code:


                var printerOptions = new PrintReportOptions()

                {

                    PrinterName = namePrinter,

                    NumberOfCopies = report.NumberOfCopies,

                    JobTitle = String.Format("CR - {0}", report.ReportNamePrinter)

                };

                reportDocument.ReportClientDocument.PrintOutputController.ModifyPrinterName(namePrinter);

                reportDocument.ReportClientDocument.PrintOutputController.PrintReport(printerOptions);

Using a printer instead of No Printer does not have our preference, as we used to have serious issues with this...

Do you suggest we should downgrade back to SP4 and wait for SP8? Or do you maybe have a solution for this?

Best regards,

Pieter Jong

Crystal Advice

http://www.crystaladvice.com

Answers (1)

Answers (1)

0 Kudos

After some further investigation, we could not replicate the problem, because we upgraded all our environments.

Next by reading the article http://scn.sap.com/people/trevor.dubinsky/blog/2011/01/28/crystal-report-printing-inconsistancies-in... related to kb 1563479 we considered it might not work anyway.

We will try looking into a solution that will work with the current situation.

Thanks for the help.

Regards,

Pieter Jong

Crystal Advice

http://www.crystaladvice.com

0 Kudos

Hi Pieter,

That article is 2 years old and a lot of changes have been done since it was released.

SP 8 was just released, try it...

Don