je voudrait imprimer sous delphi 6
: Date Enseignant Duree Suppleant
NAS
mais j'obtien seulement à l'impression:
Date Enseignant Duree Supp
voici mon code
Printer.BeginDoc;
XCols[1]:=0;
yCurr:=255;
Printer.Canvas.Font.Size:=12;
yCurr:=yCurr+Printer.Canvas.TextHeight('M';
dimPage := Rect(295,yCurr,1276,2000);
tmp:= 'Date Enseignant Duree Suppleant
NAS ';
drawtext(Printer.Canvas.Handle,pchar(tmp), length(tmp),dimPage,DT_LEFT);
Printer.Enddoc;
Comment parvenir au résultat escompté?
---------------
Borland rulez: http://pages.infinit.net/borland