[Module]
LogFileName=./client/log/DPWrite
LogMaxFiles=10
LogRotationSizeMB=10

HttpsPortLow=8090
HttpsPortHigh=8099

# 0 or 1 or "variable" for paring only one specified variable
ParseMultiline=0

; png; bmp; jpg, tif
ImageFormatOverNetwork=png

; 0 or 1
CheckWindowsSessionId=1

; false or true
IDOnlineCheck=false

; Set OCR Service URL for updating its dataurl to active session
;OCRServiceURL=http://127.0.0.1:9290

[Document]
; Set 0 to manual trigger with https://127.0.0.1:8090/api/v1/triggernewdocument
; Set to 1 if you use MEWS triggering (enabled MEWS Server)
AutoTrigger = 1

; Show notification as a baloon window in corner of screen
ShowBallonNotifications = 1

; Enable this option if you want show message after REST trigger
ShowScanRequestMsg = 1

ImageScaleW=1.0
ImageScaleH=1.0

[MEWS]
; Commnt out Server if you dont want to connect to MEWS server
; If connection is made, then document is not accepted if MEWS didin't request scanning
;APIServer = api.mews-demo.com
;WSServer = ws.mews-demo.com

ClientToken = E0D439EE522F44368DC78E1BFB03710C-D24FB11DBE31D4621C4817E028D9E1D
AccessToken = C66EF7B239D24632943D115EDE9CB810-EA00F8FD8294692C940F6B5A8F9453D

; Enable this option if you are using scanner connected directly to DPWrite
ShowScanRequestMsg = 1

; Allow command only if device name match AllowedDeviceName
;AllowedDeviceName = Scanner 1

; PingPong websocket connection to detect disconected state
PingPong = 0

