Printing isn't correct on every printers
-
- Site Admin
- Posts: 17555
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
-
- Site Admin
- Posts: 17555
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
-
- Posts: 39
- Joined: Sun Aug 13, 2006 12:46 pm
- Contact:
-
- Site Admin
- Posts: 17555
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
-
- Posts: 39
- Joined: Sun Aug 13, 2006 12:46 pm
- Contact:
-
- Site Admin
- Posts: 17555
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
-
- Site Admin
- Posts: 17555
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
-
- Site Admin
- Posts: 17555
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
Finally I uploaded it:
http://www.trichview.com/resources/repo ... rvrb7b.zip
Several changes in TRichView are required to make it work:
1) Open PtblRV.pas
Add the following method to the protected section of TCustomPrintableRV:
This method must be marked a "override".
2) Change TCustomRVPrint.Create:
This method must be marked a "override".
These changes are included in TRichView 1.9.25, but it cannot work with tables in RB reports, so add them manually in your copy of TRichView.
http://www.trichview.com/resources/repo ... rvrb7b.zip
Several changes in TRichView are required to make it work:
1) Open PtblRV.pas
Add the following method to the protected section of TCustomPrintableRV:
Code: Select all
procedure TCustomPrintableRV.CreateParams(var Params: TCreateParams);
begin
inherited CreateParams(Params);
Params.Style := (Params.Style and not WS_CHILD) or WS_POPUP;
end;
2) Change TCustomRVPrint.Create:
Code: Select all
constructor TCustomRVPrint.Create(AOwner: TComponent);
begin
inherited Create(AOwner);
rv := CreateRichView;
rv.FRVPrint := Self;
if not (csDesigning in ComponentState) and (Self.Owner is TWinControl) then
rv.Parent := TWinControl(Self.Owner);
PreviewCorrection := True;
ColorMode := rvcmPrinterColor;
end;
These changes are included in TRichView 1.9.25, but it cannot work with tables in RB reports, so add them manually in your copy of TRichView.
-
- Site Admin
- Posts: 17555
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
Now, about the new feature.
There is a global constant TPPRICHVIEWUSEPRINTERRES = False in ppRichView.pas. Change it to True.
Printer resolution will be used to build reports.
Page caching must be turned off in the report, because formatting may be incorrect for another printer, and reports must be rebuild when switching from design mode.
I am unhappy that this option is necessary. I hope I will be able to fix the problem some day still using a highres offscreen canvas...
There is a global constant TPPRICHVIEWUSEPRINTERRES = False in ppRichView.pas. Change it to True.
Printer resolution will be used to build reports.
Page caching must be turned off in the report, because formatting may be incorrect for another printer, and reports must be rebuild when switching from design mode.
I am unhappy that this option is necessary. I hope I will be able to fix the problem some day still using a highres offscreen canvas...
Printing isn't correct on every printers ......
Hello,
We have the same problem with Richview and printing with ReportBuider.
We are reseller for SOLUNE applications, and we have to install a new version in a very short required time.
A big thank you from all of us, to resolve this problem very quickly !
P-Yves DUMONT
We have the same problem with Richview and printing with ReportBuider.
We are reseller for SOLUNE applications, and we have to install a new version in a very short required time.
A big thank you from all of us, to resolve this problem very quickly !
P-Yves DUMONT
-
- Posts: 1
- Joined: Fri Nov 03, 2006 10:09 pm
- Location: Reunion Island
-
- Site Admin
- Posts: 17555
- 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:
It still don't work correctly on the Brother printer :
In a list report, I place a TppDBRichView in the Detail band. RVF memo fields are correctly displayed for firsts records but after 3 or 4td records, the memo field isn't displayed at all. There is strange grey lines in place of the begining of the formated text.
This occurs on ReportBuilder previewing, so it's not the same problem than before (just the printer output was not correct).
In a list report, I place a TppDBRichView in the Detail band. RVF memo fields are correctly displayed for firsts records but after 3 or 4td records, the memo field isn't displayed at all. There is strange grey lines in place of the begining of the formated text.
This occurs on ReportBuilder previewing, so it's not the same problem than before (just the printer output was not correct).