'Declaration
Public Shared Sub LlStgsysPrint( _ ByVal hStg As IntPtr, _ ByVal printerName1 As String, _ ByVal printerName2 As String, _ ByVal startPageIndex As Integer, _ ByVal endPageIndex As Integer, _ ByVal copies As Integer, _ ByVal flags As LlStgsysPrintFlag, _ ByVal message As String, _ ByVal windowHandle As IntPtr _ )
public static void LlStgsysPrint( IntPtr hStg, string printerName1, string printerName2, int startPageIndex, int endPageIndex, int copies, LlStgsysPrintFlag flags, string message, IntPtr windowHandle )
public: static void LlStgsysPrint( IntPtr hStg, String^ printerName1, String^ printerName2, int startPageIndex, int endPageIndex, int copies, LlStgsysPrintFlag flags, String^ message, IntPtr windowHandle )
Parameters
- hStg
The handle returned by LlStgsysStorageOpen
- printerName1
Name of the printer to be used for the first page (can be null, see below)
- printerName2
Name of the printer to be used for the following pages (can be null, see below)
- startPageIndex
Index of the first page to print
- endPageIndex
Index of the last page to print
- copies
Number of copies
- flags
A combination of Flags. See LlStgsysPrintFlag
- message
Will be shown in the title of the optional meter dialog and is also used as document name for the print job. If null, the entry from the preview file (parameter of LlPrintStart) is being used.
- windowHandle
Window handle to be used as parent for the meter dialog