SAP Knowledge Base Article - Public

1522951 - Field data is truncated when printing a Crystal Report using the CR .NET SDK

Symptom

  • Print a Crystal Report to a printer.
  • Using the PrintToPrinter method in the Crystal Reports .NET SDK.
  • Some of the data fields are truncated / clipped on the right side. Data is missing.

Environment

  • Windows XP SP3
  • Crystal Reports XI R2
  • Printer: HP LaserJet 4000 and Canon iRC2550 (drivers are from Windows 2003 Server)

Cause

  • The issue was caused by using incorrect printer drivers.

Resolution

Solution 1

  • Use printer drivers specifically designed for the operating system you have installed.
  • Don't use drivers from other OS'.

Solution 2

  • The other solution is to turn on the Can Grow feature for the truncated field.
  • This feature will force the field data to expand to a new line.

Keywords

truncate clip crop cut off lop pare prune trim trimmed , KBA , BI-DEV-NET , BI Software Development Kits (SDKs) - .NET or Other , BI-RA-CR , Crystal Reports designer or Business View Manager , Problem

Product

SAP Crystal Reports XI R2