Solved

Printing in Delphi

Posted on 2000-03-13
12
269 Views
Last Modified: 2010-05-18
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
Comment
Question by:ziolko
  • 4
  • 3
  • 3
  • +1
12 Comments
 
LVL 9

Expert Comment

by:ITugay
ID: 2611991
Do you have TRichEdit in D2?
0
 
LVL 2

Accepted Solution

by:
PeterLarsen earned 175 total points
ID: 2612089
It is possible to do that with Enhanced Metafile.
0
 
LVL 2

Expert Comment

by:florisb
ID: 2612331
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
Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

 
LVL 21

Author Comment

by:ziolko
ID: 2636153
Edited text of question.
0
 
LVL 21

Author Comment

by:ziolko
ID: 2636158
Adjusted points from 75 to 175
0
 
LVL 9

Expert Comment

by:ITugay
ID: 2636170
So, do you have TRichEdit in D2?.

Igor.
0
 
LVL 9

Expert Comment

by:ITugay
ID: 2636190
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
 
LVL 2

Expert Comment

by:florisb
ID: 2639543
ziolko; could you provide more information?
0
 
LVL 2

Expert Comment

by:PeterLarsen
ID: 2668230
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
 
LVL 21

Author Comment

by:ziolko
ID: 2668318
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
 
LVL 9

Expert Comment

by:ITugay
ID: 2668364
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
 
LVL 2

Expert Comment

by:florisb
ID: 2668666
Peterlarsen: I'm still missing points I should have had yesterday...
0

Featured Post

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

775 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question