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

file name of the printer configuration file

action

 

Action

Meaning

LL_PRINTERCONFIG_SAVE

saves the printer configuration file of the currently opened project in a file with the

name of lpszFilename.

LL_PRINTERCONFIG_RESTORE

copies the previously saved configuration file(created with LL_PRINTERCONFIG_SAVE ) back to the current project.



In This Topic
    LlPrintCopyPrinterConfiguration Method
    In This Topic

    Allows saving and restoring the printer configuration file.

    Syntax
    'Declaration
     
    
    Public Sub LlPrintCopyPrinterConfiguration( _
       ByVal filename As String, _
       ByVal function As LlPrinterConfiguration _
    ) 
    public void LlPrintCopyPrinterConfiguration( 
       string filename,
       LlPrinterConfiguration function
    )
    public:
    void LlPrintCopyPrinterConfiguration( 
       String^ filename,
       LlPrinterConfiguration function
    ) 

    Parameters

    filename

    file name of the printer configuration file

    function

    action

     

    Action

    Meaning

    LL_PRINTERCONFIG_SAVE

    saves the printer configuration file of the currently opened project in a file with the

    name of lpszFilename.

    LL_PRINTERCONFIG_RESTORE

    copies the previously saved configuration file(created with LL_PRINTERCONFIG_SAVE ) back to the current project.

    Remarks

    It is important that LL_PRINTERCONFIG_RESTORE is being called before(!) LlPrint()!

    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