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

    Interface MediaProfile

    Physical print-media characteristics declared by a printer profile.

    1.0.0

    interface MediaProfile {
        dpi?: number;
        width: MediaWidth;
    }
    Index

    Properties

    Properties

    dpi?: number

    Print resolution in dots-per-inch (optional).

    width: MediaWidth

    Print-area width in both mm and pixels; see MediaWidth.