Skip to content

Latest commit

 

History

History
179 lines (96 loc) · 2.94 KB

CONFIGURATION.md

File metadata and controls

179 lines (96 loc) · 2.94 KB

Configurations

Web/WebSocket Server

Bind

  • (Default) 127.0.0.1
  • 127.0.0.1 for normal usage
  • 0.0.0.0 for open to internet access (Not recommended)
  • Other interface address accepted

Address

  • (Default) 127.0.0.1
  • 127.0.0.1 unless you need to allow internal/internet access
  • IP address / Domain name accepted

Port

  • (Default) 12212
  • Range: 1024 - 65535

Enable authentication

See Authentication for more detail

  • (Default) false

Token

  • (Default) Blank
  • Accept any text value

Enable TLS

See HTTPS/WSS Support for more detail

  • (Default) false

Self Signed

  • (Default) true

Cert

  • (Default) tls/default-cert.pem

Key

  • (Default) tls/default-cert.pem

CA Bundle

  • (Default) Empty

Downloader

Path

Directory to save downloaded files

  • (Default) download

Timeout

Seconds before download timeout

  • (Default) 30

Ignore TLS certificate error

Ignore any TLS certificate error (self-signed, expired...) when downloading files

Not recommended for normal usage, useful in some corporate networks where firewall doing MITM

  • (Default) false

Printers

Enabled

  • (Default) true

Auto add unknown type

Auto add type mapping to configuration when document received with unknown type

  • (Default) false

Fallback to default printer if none matched

Fallback to default printer if none of the printers matched in configuration

  • (Default) false

Type

Mapping key between WebApp and physically printer name in operating system

Printer Name

Printer name in operating system

Auto Rotate

Auto rotate portrait / landscape

  • (Default) false

Reset imageable area

Required by some printer to handle size correctly

  • (Default) true

Force DPI

Required by some printer/operating system to handle DPI correctly

  • (Default) 0
  • 0 - Auto detect
  • Common values: 213, 300

Serials

Enabled

  • (Default) true

Type

Mapping key between WebApp and physically serial port name in operating system

Serial Port

Serial port name in operating system

Baud Rate

Auto-detect when leave blank

  • (Default) Blank

Data Bits

Auto-detect when leave blank

  • (Default) Blank

Stop Bits

Auto-detect when leave blank

  • (Default) Blank

Parity

Auto-detect when leave blank

  • (Default) Blank

Read Charset

Charset to decode data received from serial port

Changing this may break compatibility with WebApp integrated with pre-1.0 version

  • (Default) UTF-8
  • UTF-8 - Data will be sent to WebSocket as UTF-8 string
  • US-ASCII - Data will be sent to WebSocket as ASCII string
  • BINARY - Data will be sent to WebSocket as blob

Read Multi-bytes

Read all available bytes in serial port and send them to WebSocket at once

Changing this may break compatibility with WebApp integrated with pre-1.0 version

  • (Default) false