Commands to print text (to printer, not PDF!) |
[Top] [Chapter] [Previous] [Next] |
RTF2PDF / TextDynamic Server can also print text to a printer driver.
When using the COM interfaces you can use this commands to select the printing.
Memo.TextCommandStr ID 10 - Select Printer Memo.TextCommandStr ID 11 - Print Text Memo.TextCommandStr ID 12 - Get Printernames Memo.TextCommandStr ID 13 - BeginPrint Memo.TextCommandStr ID 14 - EndPrint
Please note, printing is not thread save!
When you do not use the COM interface use this command ids instead:
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 |