combit List & Label 29 - .NET Help
combit.Reporting Namespace / LlCore Class / LlSetPrinterInPrinterFile Method


In This Topic
    LlSetPrinterInPrinterFile Method
    In This Topic

    Replaces a printer in a printer configuration file (the so-called "P-File") by a new one or allows you to set special printer parameters.

    Overload List
    Remarks

    This function allows you to enter one (or both) printers in the printer configuration file. If none exists, it will be created. Since this file is read by LlPrintStart() and LlPrintWithBoxStart(), the function must be executed BEFORE calling these functions. The DEVMODE structure is defined in the Windows API.

    These and related functions that affect the printer configuration file (the so-called "P-file") to change printer settings cannot be used when Printerless (see Printerless) is enabled.

    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