Printing Category

[Top]  [Chapter]  [Previous]  [Next]

Properties and methods for printing

 

Properties

IWPMemo.PageSizeList

IWPMemo.PrintParameter

 

Methods

Select Printer

Memo.TextCommandStr(10, name).

or WPDLLInt.SelectPrinter

 

Start Printing:

Memo.TextCommandStr(11, range).

or IWPMemo.Print and

IWPMemo.PrintPages

 

Create printing cue:

WPDLLInt.BeginPrint

WPDLLInt.EndPrint

 

Alternatively you can use

Memo.TextCommandStr 13

and Memo.TextCommandStr ID 14

 

to use the optional PDF export:

IWPPdfCreator.Print

 

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


[idh_cat_printing.htm]    Copyright © 2007 by WPCubed GmbH