Properties and methods for printing
Properties
Methods
Select Printer
Memo.TextCommandStr(10, name).
Start Printing:
Memo.TextCommandStr(11, range).
or IWPMemo.Print and
Create printing cue:
Alternatively you can use
to use the optional PDF export:
Also see:
Memo.TextCommandStr ID 34 -Print To File
Tip:
When using RTF2PDF / TextDynamic Server in DLL mode (not using the COM interfaces) this command IDs are available:
WPCOM_SELECT_PRINTER = 1320; // param = printer name
WPCOM_PRINT = 1321; // param = page list
WPCOM_PRINT2 = 1322; // print memo 2, param = page list
WPCOM_BEGIN_PRINT = 1323; // when printing multiple documents into one printing cue, param = title
WPCOM_END_PRINT = 1324; // use beginprint/endprint
WPCOM_SET_PRINTFILE = 1325; // set print file for subsequent printing