63 lines
1.6 KiB
C
63 lines
1.6 KiB
C
|
|
#define CDS_MSG (WM_USER+1000)
|
|
|
|
|
|
#define BLOCKMSG_PRINT L"print"
|
|
#define BLOCKMSG_USING_REALTIME L"using_realtime_other"
|
|
#define BLOCKMSG_USING_REALTIME_PRINT L"using_realtime_print"
|
|
#define BLOCKMSG_PRINT_BLOCK_PRINT_DEVICE L"print_block_print_deivce"
|
|
#define BLOCKMSG_PRINT_REALTIME_NO_SAVE L"print_realtime_no_save"
|
|
#define BLOCKMSG_PRINT_NORMAL_WATERMARK L"print_normal_watermark"
|
|
#define BLOCKMSG_PRINT_REALTIME_EXCEED_PI L"print_realtime_exceed_pi"
|
|
#define BLOCKMSG_ADOBE L"adobe"
|
|
|
|
#define CP_SEND_PRINT_PI_ORG_PAGE (CDS_MSG+10) // 프린트 로그 페이지 정보 전송
|
|
|
|
|
|
enum _log_type
|
|
{
|
|
PRINT_LOG_BLOCK = 0x01,
|
|
PRINT_LOG_NONBLOCK = 0x02,
|
|
PRINT_LOG_ORG = 0x04,
|
|
};
|
|
|
|
enum _policy_type
|
|
{
|
|
PRINT_POLICY_USE = 0x01,
|
|
PRINT_POLICY_BLOCK = 0x02,
|
|
PRINT_POLICY_BLOCK_PI = 0x04,
|
|
PRINT_POLICY_MAX
|
|
};
|
|
|
|
enum _log_org_page
|
|
{
|
|
PRINT_ORG_PAGE_ALL = 0x00,
|
|
PRINT_ORG_PAGE_ODD = 0x01,
|
|
PRINT_ORG_PAGE_EVEN = 0x02,
|
|
PRINT_ORG_PAGE_MAX
|
|
};
|
|
|
|
|
|
|
|
#define LOG_IPC_QUEUE_NAME "BSONEPRINT_IPC_QUEUE"
|
|
#define DRIVER_NAMEW L"BSoneXDriver"
|
|
//#define DLL_NAMEW_32 L"BSonePrint.dll"
|
|
//#define DLL_NAMEW_64 L"BSonePrint64.dll"
|
|
//#define DLL_NAMEW_32 L"BSonehlink.dll"
|
|
//#define DLL_NAMEW_64 L"BSonehlink64.dll"
|
|
|
|
#define DRIVER_NAMEW_32 L"BSonex32.sys"
|
|
#define DRIVER_NAMEW_64 L"BSonex64.sys"
|
|
|
|
#define EXE_NAMEW_64 L"BSoneprintclient64.exe"
|
|
|
|
#ifndef _WIN64
|
|
#define WINDOW_NAME _T("BSoneprintclient")
|
|
#define WINDOW_NAME64 _T("BSoneprintclient64")
|
|
#define EXE_NAME L"BSoneprintclient.exe"
|
|
#else
|
|
#define WINDOW_NAME _T("BSoneprintclient64")
|
|
#define EXE_NAME L"BSoneprintclient64.exe"
|
|
#endif
|
|
|