Hi Guy,
 
Try TPrinter.Canvas.Font
 
Regards
Cheng
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Guy Brown
Sent: Monday, 29 May 2000 10:50
To: Multiple recipients of list delphi
Subject: [DUG]: Applying a font to a printer

I want the user to be able to pick a font and have a document print out using that font.  I am using a font dialog (with device set to fdPrinter) which happily gets the available list of fonts from the printer.  The problem that I have is applying the font that the user has chosen to the printer.  I have looked at the help for TPrinter and it has a Fonts property but that is a string list containing the list of available fonts not the font to apply to the next print job.
 
I am sure somebody has a simple solution that I am missing.
 
TIA
 
Guy Brown
TimeMaster Systems

Reply via email to