File BradyPrintSdkCore.h

File List > BradyPrintSdkCore.h

Go to the documentation of this file

//(c) 2026 Brady Worldwide, Inc. All Rights Reserved
#pragma once

#include <stddef.h>
#ifndef __cplusplus
#include <stdbool.h>
#endif
#ifdef _WIN32
    #include <BradyPrintSdkExport.h>
#else
    #define BRADY_SDK_EXPORT
#endif // _WIN32

#include "BradySdkStatus.h"

#ifdef __cplusplus
extern "C"
{
#endif
    struct SdkPrinterContext;

    typedef struct SdkPrinterContext* PrinterHandle;

    typedef int PrintJobHandle;

    BRADY_SDK_EXPORT BradySdkStatus InitializeBradySdk(const char* dataFolderPath);

    BRADY_SDK_EXPORT BradySdkStatus SetLogPath(const char* logPath,
        const char* logFileName,
        SdkLogLevel logLevel);

    BRADY_SDK_EXPORT PrinterHandle CreatePrinter(const char* printerModel,
        const char* printerName);

    BRADY_SDK_EXPORT BradySdkStatus DestroyPrinter(PrinterHandle printer);

    BRADY_SDK_EXPORT BradySdkStatus EnableAnalytics(bool enable);

#ifdef __cplusplus
}
#endif