Delphi Pages Forums  

Go Back   Delphi Pages Forums > Delphi Forum > Kylix

Lost Password?

Reply
 
Thread Tools Display Modes
  #1  
Old 08-06-2004, 01:07 PM
Fortuna Fortuna is offline
Junior Member
 
Join Date: Aug 2004
Posts: 3
Default Problem Printing Kylix SUSE 9.1, RetHat 9 / SIGPIPE(13) at EndDoc;

I have a priting problem .
In kylix C++ printig is OK.

But Klix from Delphi show SIGPIPE(13) at EndDoc;






unit Unit1;

interface

uses
SysUtils, Types, Classes, Variants, QTypes, QGraphics, QControls, QForms,
QDialogs,QPrinters, QStdCtrls;

type
TForm1 = class(TForm)
Memo1: TMemo;
Button1: TButton;
procedure Button1Click(Sender: TObject);
private
{ Private declarations }
public
{ Public declarations }
end;

var
Form1: TForm1;

implementation

{$R *.xfm}


procedure TForm1.Button1Click(Sender: TObject);
var
r: TRect;
i: Integer;
begin
with Printer do
begin
r := Rect(200,200,(Pagewidth - 200),(PageHeight - 200));
BeginDoc;
Canvas.Brush.Style := bsClear;
for i := 0 to Memo1.Lines.Count do
Canvas.TextOut(200,200 + (i *
Canvas.TextHeight(Memo1.Lines.Strings[i])),
Memo1.Lines.Strings[i]);
Canvas.Brush.Color := clBlack;
// Canvas.FrameRect(r);
EndDoc;
end;end;

end.


I install patch 1.4 , 3.3, 3.4, 3.5.1 in SUSE 9.1 and redhat 9 .

I have a priting problem .
In kylix C++ printig is OK.

But Klix for Delphi show SIGPIPE(13) at EndDoc;
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 07:06 AM.


Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2019, vBulletin Solutions, Inc.