Link to home
Start Free TrialLog in
Avatar of shrisankaraan
shrisankaraan

asked on

Exporting - CR8.5, Char per Inch

Dear All,

Hi

I use CRPE API calls to export the report in to text format.

How can I set the "Character Per Inch" property from the API calls??

As I observe when I installed the CR8.5 with service pack3 in 2 different machines, one of them say it as 9 and the other one show it as 12. Due to which, the machine which shows 9 as the value always truncates the result in the text file.

Hence, I would like to control this property from my C++ application when I initialsie CRPEExportOptions.

Could you please let me know this as early as possible as this  is very urgent requirement.

At the moment, I use the peplus.h & peplus.cpp provided for Crystal reports 8.0 in my application. Is it OK?? If not , please do send me the corresponding peplus.h & .cpp for crystal report 8.5 with service pack3.


thanks very much
Sankar



ASKER CERTIFIED SOLUTION
Avatar of stasau
stasau

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of shrisankaraan
shrisankaraan

ASKER

Hi

Is it possible to put the registry key -
HKEY_CURRENT_USER\SOFTWARE\SEAGATES..\CRYSTALREPORTS\EXPORT\TEXTEXPORT
Value : CharPerInch

to under HKEY_LOCALMACHINE\SEAGATES...

I tried this, it doesn't work, I want to avoid putting anything under HKEY_CURRENT_USER...

Thanks
Sankar
For the use of others:

I used my C++ application to create the Key "CHARPERINCH" under HKEY_CURRENT_USER for any user who logs inside, and it works fine.

Thanks for your suggestion Stassau.

Sankar