Página 1 de 1

Printing Text From a TMemo Object.

Publicado: Jue Jul 03, 2008 8:56 pm
por Dionisis Divaris
Hello all
It is a silly question, but my mind is stacked. How can print the text
inside a TMemo control, directly to the printer?
Any help would be apreciate.
Best Regards
Dionisis

Printing Text From a TMemo Object.

Publicado: Jue Jul 03, 2008 9:50 pm
por ignacio
Dionisis,
Take a loot at the TCanvas class, property nMapMode (mmSIMULCHAR) and the
method TextOut()
Regards,
"Dionisis Divaris" <info@sgs-soft.gr> escribio en el mensaje
news:[email=486d20c6@ozsrv2.ozlan.local...]486d20c6@ozsrv2.ozlan.local...[/email]
> Hello all
>
> It is a silly question, but my mind is stacked. How can print the text
> inside a TMemo control, directly to the printer?
>
> Any help would be apreciate.
>
> Best Regards
> Dionisis

Printing Text From a TMemo Object.

Publicado: Jue Jul 03, 2008 9:50 pm
por NoName
Dionisis,
Take a loot at the TCanvas class, property nMapMode (mmSIMULCHAR) and the
method TextOut()
Regards,
"Dionisis Divaris" <info@sgs-soft.gr> escribio en el mensaje
news:[email=486d20c6@ozsrv2.ozlan.local...]486d20c6@ozsrv2.ozlan.local...[/email]
> Hello all
>
> It is a silly question, but my mind is stacked. How can print the text
> inside a TMemo control, directly to the printer?
>
> Any help would be apreciate.
>
> Best Regards
> Dionisis

Printing Text From a TMemo Object.

Publicado: Jue Jul 03, 2008 10:40 pm
por Gejza Horvath
Dionisis,
change the control type to TRichEdit class and use the Print() method.
Gejza
"Dionisis Divaris" <info@sgs-soft.gr> pí¹e v diskusním pøíspìvku
news:[email=486d20c6@ozsrv2.ozlan.local...]486d20c6@ozsrv2.ozlan.local...[/email]
> Hello all
>
> It is a silly question, but my mind is stacked. How can print the text inside a TMemo
> control, directly to the printer?
>
> Any help would be apreciate.
>
> Best Regards
> Dionisis
>

Printing Text From a TMemo Object.

Publicado: Jue Jul 03, 2008 10:40 pm
por Gejza Horvath
Dionisis,
change the control type to TRichEdit class and use the Print() method.
Gejza
"Dionisis Divaris" <info@sgs-soft.gr> pí¹e v diskusním pøíspìvku
news:[email=486d20c6@ozsrv2.ozlan.local...]486d20c6@ozsrv2.ozlan.local...[/email]
> Hello all
>
> It is a silly question, but my mind is stacked. How can print the text inside a TMemo
> control, directly to the printer?
>
> Any help would be apreciate.
>
> Best Regards
> Dionisis
>

Printing Text From a TMemo Object.

Publicado: Sab Jul 05, 2008 7:29 am
por Dionisis Divaris
Many thanks both of you, for your quick answer. I will give a try.
Best Regards
Dionisis
Ο "Gejza Horvath" <_hsoftkn@nextra.sk> έγραψε στο μήνυμα
news:486d2ace$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
> Dionisis,
> change the control type to TRichEdit class and use the Print() method.
>
> Gejza
>
> "Dionisis Divaris" <info@sgs-soft.gr> pνΉe v diskusnνm pψνspμvku
> news:[email=486d20c6@ozsrv2.ozlan.local...]486d20c6@ozsrv2.ozlan.local...[/email]
>> Hello all
>>
>> It is a silly question, but my mind is stacked. How can print the text
>> inside a TMemo control, directly to the printer?
>>
>> Any help would be apreciate.
>>
>> Best Regards
>> Dionisis
>>
>
>

Printing Text From a TMemo Object.

Publicado: Sab Jul 05, 2008 7:29 am
por Xailer
Many thanks both of you, for your quick answer. I will give a try.
Best Regards
Dionisis
Ο "Gejza Horvath" <_hsoftkn@nextra.sk> έγραψε στο μήνυμα
news:486d2ace$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
> Dionisis,
> change the control type to TRichEdit class and use the Print() method.
>
> Gejza
>
> "Dionisis Divaris" <info@sgs-soft.gr> pνΉe v diskusnνm pψνspμvku
> news:[email=486d20c6@ozsrv2.ozlan.local...]486d20c6@ozsrv2.ozlan.local...[/email]
>> Hello all
>>
>> It is a silly question, but my mind is stacked. How can print the text
>> inside a TMemo control, directly to the printer?
>>
>> Any help would be apreciate.
>>
>> Best Regards
>> Dionisis
>>
>
>