Printing in Delphi

How to build WYSIWYG application that can preview printing in Delphi 2.
Is it possible to "control" font height with precision up to tens of milimeter, using CreateFontIndirect()?
Thanks.
P.S. Sorry for my English I'm still learning.
LVL 21
ziolkoAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
PeterLarsenConnect With a Mentor Commented:
It is possible to do that with Enhanced Metafile.
0
 
ITugayCommented:
Do you have TRichEdit in D2?
0
 
florisbCommented:
just a hint: you can automate Word from D2, then WYS is really WYG. Could provide code to start Word, open template, insert text, print doc, save doc. But answers are also in PAQ here.

Floris.
0
Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
ziolkoAuthor Commented:
Edited text of question.
0
 
ziolkoAuthor Commented:
Adjusted points from 75 to 175
0
 
ITugayCommented:
So, do you have TRichEdit in D2?.

Igor.
0
 
ITugayCommented:
And one more advice.

Create new question with the same title+"175p" , assign 0 points, and put there link to this question. It will pop-up again to first 10 questions without spending points.

Best regards,
Igor.
0
 
florisbCommented:
ziolko; could you provide more information?
0
 
PeterLarsenCommented:
Well, I dont get it. Yesterday i was receiving a message telling that i have earned 525 quality points in this question - and now - nothing has happen !!
Does anyone of you know what went wront to this site Wednesday ??
0
 
ziolkoAuthor Commented:
I've accepted your comment as answer Peter but I don't know what is going on. About troubles with the site, I had problems with my points but it's OK now.
Ziolko.  
0
 
ITugayCommented:
to PeterLarsen,
it seems to me still happen. I see an question without any answers at 02:20 (even after reloading), and at 02:30 I see a lot of answers from  01:27, 01:40, 01:55.....etc. Some of my (and not only mine) answers in some PAQ threads missing. Notification may take about 2 hours.

Cheers,
Igor.
0
 
florisbCommented:
Peterlarsen: I'm still missing points I should have had yesterday...
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.