combit List & Label 29 - .NET Help
combit.Reporting Namespace / LlCore Class / LlPrintGetPrinterInfo Method
reference for printer name
reference for printer port


In This Topic
    LlPrintGetPrinterInfo Method
    In This Topic

    Returns information about the target printer.

    Syntax
    'Declaration
     
    
    Public Sub LlPrintGetPrinterInfo( _
       ByRef printerName As String, _
       ByRef printerPort As String _
    ) 
    public void LlPrintGetPrinterInfo( 
       ref string printerName,
       ref string printerPort
    )
    public:
    void LlPrintGetPrinterInfo( 
       String^% printerName,
       String^% printerPort
    ) 

    Parameters

    printerName
    reference for printer name
    printerPort
    reference for printer port
    Remarks

    Examples for printer names are "HP DeskJet 500" or "NEC P6", for printer port "LPT2:" or "\\server\printer1". In case of an export, the printer contains the description of the exporter and the port is empty.

    Requirements

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

    See Also