How to print from a Firemonkey application

This is the forum for miscellaneous technical/programming questions.

Moderator: 2ffat

How to print from a Firemonkey application

Postby smd » Sun Sep 13, 2015 6:37 pm

RAD Studio 10

I have on my form a Printer Dialog Component. The dialog opens just fine. However, in true Embarcadero fashion, the documentation how to actually cause something to print is not documented. I have text I want to send to the printer. Basically a text editor, want to print either entire file or the selected text. Assume a TMemo component. Lets just start with how to print everything in the TMemo component with whatever font the TMemo component is currently set to. I assume printing a selection is similar just using whatever is selected.

How do I get the text in the TMemo to go out to the printer?
-----------------------------
Scott
smd
BCBJ Guru
BCBJ Guru
 
Posts: 130
Joined: Sat Nov 29, 2014 8:02 pm
Location: Las Vegas

Return to Technical

Who is online

Users browsing this forum: No registered users and 1 guest

cron