combit List & Label 29 - .NET Help
combit.Reporting Namespace / ListLabel Class / Printerless Property

In This Topic
    Printerless Property (ListLabel)
    In This Topic

    If true, List & Label uses a virtual device for the rendering. This means that no printer driver is required and used on the system. Note that this may have a minimal impact on the positioning of the output.

    If false, List & Label uses the printer (drivers) installed in the system for rendering (default).

    Public Property Printerless As Boolean
    public bool Printerless {get; set;}
    property bool Printerless {
       bool get();
       void set (    bool value);

    This property must be set immediately after the first object has been created (see also Multithreading and Protection Job), since setting this property causes the underlying List & Label job to be closed and reopened. All defined variables, fields, etc. will be reset as a result. The property must therefore be set as early as possible - immediately after the first instance of the component has been created. Mixing enabled and disabled Printerless in the objects used in the application is not supported and may lead to unexpected behavior.


    Printer settings from the printer configuration file (the so-called "P-Fle") are not taken into account any further - only the parameters contained for the export formats. API functions that influence the printer configuration file with respect to the printer, such as LlSetPrinterInPrinterFile etc., cannot be used with Printerless enabled.



    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