combit List & Label 30 - .NET Help
combit.Reporting Namespace / LlCore Class / LlPrintOptionsDialogTitle Method

window handle of the calling program

dialog title

text to be shown in the dialog, e.g. "55 labels will be printed"



LlPrintOptionsDialogTitle Method

Calls a print option selection window and enables the user to select print specific settings.

Syntax
'Declaration
 
Public Sub LlPrintOptionsDialogTitle( _
   ByVal windowHandle As IntPtr, _
   ByVal title As String, _
   ByVal text As String _
) 
 

Parameters

windowHandle

window handle of the calling program

title

dialog title

text

text to be shown in the dialog, e.g. "55 labels will be printed"

Remarks

The following settings can be made:

  • Printer (or reference printer for export)
  • Export destination Page number of the first page (if not hidden)
  • Number of copies required (if this has not been removed by LlPrintSetOption())
  • Starting position with LlProject.Label, LlProject.Card, if more than one label/file card per page exists
  • Print destination
  • Page range (print from ... to ...)

Default values can be defined with LlPrintSetOption(). This function must be called after LlPrintStart() / LlPrintWithBoxStart() but before calling LlPrint() for the first time. The number of copies might have to be evaluated by the programmer as some printer drivers do not have the corresponding function implemented. The function LlPrinterSetup(...) offers the possibility of calling a print selection dialog without further settings.

Requirements

Platforms: Windows 10 (Version 21H2 - 23H2), Windows 11 (21H2 - 22H2), Windows Server 2016 - 2022
.NET: .NET Framework 4.8, .NET 6, .NET 8, .NET 9

See Also