escpos-ts API - v1.0.0
    Preparing search index...

    Interface NetworkConfig

    Configuration options for the Network printer.

    1.0.0

    interface NetworkConfig {
        host: string;
        port?: number;
        profileName?: string;
        timeout?: number;
    }
    Index

    Properties

    host: string

    IP address or hostname of the printer

    port?: number

    TCP port to connect to (default: 9100)

    profileName?: string

    Printer profile name to use (default: 'default')

    timeout?: number

    Connection timeout in milliseconds (default: 5000)