要打印我使用的TRichEdit的内容
RichEdit.Print('My Document Name');
Run Code Online (Sandbox Code Playgroud)
有时我需要在"printer1"上打印它,有时我需要在"printer2"上打印它
题:
我如何告诉系统使用什么打印机?
Ser*_*yuz 13
你设置了Printer.PrinterIndex.如文档所述,将"-1"设置为默认打印机,该Printers属性包含已安装打印机的列表.