Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 280
  • Last Modified:

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.
0
ziolko
Asked:
ziolko
  • 4
  • 3
  • 3
  • +1
1 Solution
 
ITugayCommented:
Do you have TRichEdit in D2?
0
 
PeterLarsenCommented:
It is possible to do that with Enhanced Metafile.
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
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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

Featured Post

[Webinar] Database Backup and Recovery

Does your company store data on premises, off site, in the cloud, or a combination of these? If you answered “yes”, you need a data backup recovery plan that fits each and every platform. Watch now as as Percona teaches us how to build agile data backup recovery plan.

  • 4
  • 3
  • 3
  • +1
Tackle projects and never again get stuck behind a technical roadblock.
Join Now