To print the contents of a TRichEdit I use
RichEdit.Print('My Document Name');
Some times I need to print it on "printer1" other times I need to print it on "printer2"
Question:
How I tell the system what printer to use ?
To print the contents of a TRichEdit I use
RichEdit.Print('My Document Name');
Some times I need to print it on "printer1" other times I need to print it on "printer2"
Question:
How I tell the system what printer to use ?
You set the Printer.PrinterIndex
. As documented, setting '-1' sets to the default printer, and the Printers
property contains a list of installed printers.