combit List & Label 24 - .NET Online Web Help
LlStgsysStoragePrint Method


combit.ListLabel24 Namespace > LlCore Class : LlStgsysStoragePrint Method

The name of the project or preview (List & Label does not care

about the extension as it will always be set to .LL)

a temporary path (can be null or empty)

Name of the printer to be used for the first page (can be null, see below)

Name of the printer to be used for the following pages (can be null, see below)

Index of the first page to print

Index of the last page to print

Number of copies

A combination of Flags. See LlStgsysPrintFlag

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.

Window handle to be used as parent for the meter dialog

Prints pages from an open preview file job.  

You should avoid calling this API directly. The PreviewFile Class offers you a much more powerful way to work with preview files.

Syntax
'Declaration
 
Public Shared Sub LlStgsysStoragePrint( _
   ByVal filename As String, _
   ByVal tempPath As String, _
   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 _
) 

Parameters

filename

The name of the project or preview (List & Label does not care

about the extension as it will always be set to .LL)

tempPath

a temporary path (can be null or empty)

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

Remarks

Use this API routine if you want an easy way to print a page range from a preview file. If a printer name is null, List & Label tries to get the printer and its settings from the values stored in the preview file (i.e. the printer settings chosen during creation). If no printer with the given device name is present, the default printer is chosen.

Requirements

Platforms: Windows Vista - Windows 10 Version 1809, Windows Server 2008 - 2016

See Also

Reference

LlCore Class
LlCore Members