1682148 - Printer control codes are not used by the SAP Crystal Reports SDK for VS .NET

SAP Knowledge Base Article - Public

1682148 - Printer control codes are not used by the SAP Crystal Reports SDK for VS .NET

Symptom

  • Sending a fax using Tobit Infocenter from Tobit Software AG
  • The printer control codes are added to the report header in white color
  • Example; @@NUMMER 004906965665@@
  • The application relies on control codes preceded by @@ symbols, which are interpreted by Tobit and stripped out before pages are sent out by fax
  • The reports are faxed as expected when viewed and "printed" from the Crystal Report designer
  • When "printing" the reports from a VS .NET application the codes ignored

Environment

  • Crystal Reports for Visual Studio 2010
  • Visual Studio 2010
  • Tobit Infocenter from Tobit Software AG

Cause

  • SAP Crystal Reports / RAS SDK generates a "picture" of each page
  • Any escape sequences embedded in the report objects are simply printed not evaluated

Resolution

  • Possible work around (unconfirmed):
  • Export the report to MS Word ( Editable ) format and print from MS Word
  • Export to PDF may be another option

Keywords

escape character CR2010 2010 CR4VS2010 CR4VS VS2010 NET2010 Crystal Reports for .NET Framework 4.0 crforvs 13 , KBA , BI-DEV-NET-SDK , .NET SDK / COM SDK , How To

Product

SAP Crystal Reports, developer version for Microsoft Visual Studio