Printing isn't correct on every printers
-
- Posts: 39
- Joined: Sun Aug 13, 2006 12:46 pm
- Contact:
Printing isn't correct on every printers
Printing Rv formated texts (with ReportBuilderWrapper) doesn't work correctly on every printers.
I've tested same RV text on about 10 printers.
(See screen/print shots in next post)
On 3 of them, some words are printed on previous word (as if the space character have a negative size), some characters are printed on previous character, some lines are missing, some underlined words dont have the bottom of the character, etc.
The printers are recent:
Epson Stylius Color 84 (Ink Jet)
Brother HL5140 (laser)
Lexmark X215 (laser)
I've tested same RV text on about 10 printers.
(See screen/print shots in next post)
On 3 of them, some words are printed on previous word (as if the space character have a negative size), some characters are printed on previous character, some lines are missing, some underlined words dont have the bottom of the character, etc.
The printers are recent:
Epson Stylius Color 84 (Ink Jet)
Brother HL5140 (laser)
Lexmark X215 (laser)
Last edited by marcpleysier on Mon Sep 11, 2006 8:25 am, edited 1 time in total.
-
- Site Admin
- Posts: 17566
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
-
- Posts: 39
- Joined: Sun Aug 13, 2006 12:46 pm
- Contact:
-
- Posts: 39
- Joined: Sun Aug 13, 2006 12:46 pm
- Contact:
-
- Site Admin
- Posts: 17566
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
When printing using RVPrint, trichview formats document in the printer resolution, so there must be no problems.
As for ReportBuilder's ppRichView, it formats document in higher resolution, then draws it on both screen and on printer as preview (prividing WYSIWYG mode).
I think the problem is because this "higher resolution" is not high enough.
It is defined in ppRichView.pas as
TPPRICHVIEWREFCANVASPPI = 1440;
Try to change it to larger value, for example 14400.
For existing ppRichViews, you need to change InternalPixelsPerInch property to the same value.
As for ReportBuilder's ppRichView, it formats document in higher resolution, then draws it on both screen and on printer as preview (prividing WYSIWYG mode).
I think the problem is because this "higher resolution" is not high enough.
It is defined in ppRichView.pas as
TPPRICHVIEWREFCANVASPPI = 1440;
Try to change it to larger value, for example 14400.
For existing ppRichViews, you need to change InternalPixelsPerInch property to the same value.
-
- Posts: 39
- Joined: Sun Aug 13, 2006 12:46 pm
- Contact:
For the moment, I only change TPPRICHVIEWREFCANVASPPI.
14400 is too hight, the report crash.
After several tests, 4525 seem to be the optimal value for the Stylus.
I will test tomorow with the other printers. I hope optimal value will be the same for all printers!
I haven't understood InternalPixelsPerInch. This property isn't visible in IDE (F11). Can I initialise InternalPixelsPerInch in ppRichView.Create ?
14400 is too hight, the report crash.
After several tests, 4525 seem to be the optimal value for the Stylus.
I will test tomorow with the other printers. I hope optimal value will be the same for all printers!
I haven't understood InternalPixelsPerInch. This property isn't visible in IDE (F11). Can I initialise InternalPixelsPerInch in ppRichView.Create ?
-
- Site Admin
- Posts: 17566
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
-
- Posts: 39
- Joined: Sun Aug 13, 2006 12:46 pm
- Contact:
-
- Site Admin
- Posts: 17566
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
-
- Posts: 39
- Joined: Sun Aug 13, 2006 12:46 pm
- Contact:
Infortunately, there is no optimal value
When I optimize the value for one problem on one printer, the other problem increase.
Example:
With standard value (1440), problem 1 (Bold/no bold transition) don't exist with Brother and Lexmark printers, problem 2 (word "EBAVURER") exist.
With problem 2 optimised value (4525), problem 2 don't exist, problem 1 exist (but negative : the space between bold and no bold is too large).
So there is something else somewhere...
When I optimize the value for one problem on one printer, the other problem increase.
Example:
With standard value (1440), problem 1 (Bold/no bold transition) don't exist with Brother and Lexmark printers, problem 2 (word "EBAVURER") exist.
With problem 2 optimised value (4525), problem 2 don't exist, problem 1 exist (but negative : the space between bold and no bold is too large).
So there is something else somewhere...
-
- Posts: 39
- Joined: Sun Aug 13, 2006 12:46 pm
- Contact:
After more tests, I confirm that there is no optimal TPPRICHVIEWREFCANVASPPI value :
- With the same printer,optimal value for one problem is not optimal for another problem.
- For the same problem, optimal value on one printer is not optimal on another printer.
Changing printer resolution (in the settings of the printer) change nothing.
- With the same printer,optimal value for one problem is not optimal for another problem.
- For the same problem, optimal value on one printer is not optimal on another printer.
Changing printer resolution (in the settings of the printer) change nothing.
-
- Posts: 39
- Joined: Sun Aug 13, 2006 12:46 pm
- Contact:
I download again the RB wrapper. It's v1.6. Where can I find this v1.8?Sergey Tkachenko wrote:This property is only in the wrapper for RB9&10.
The wrapper for RB7 (by the way, the latest version is 1.8 ) always uses resolution specified in that constant.
If you'll find an optimal value for it, please inform me.
Dear Sergey,
We have bought your component because it was complete but also because Wrapper with ReportBuilder exist.
we spent much time to integrate your component in our software and now we are blocked because there is a bug on the level of the wrapper.
I would like to know why we don't have answer of you ? Just a solution ?
Thank
Regards
Jean-Philippe RENOU
We have bought your component because it was complete but also because Wrapper with ReportBuilder exist.
we spent much time to integrate your component in our software and now we are blocked because there is a bug on the level of the wrapper.
I would like to know why we don't have answer of you ? Just a solution ?
Thank
Regards
Jean-Philippe RENOU