@schie/fluent-zpl - v0.10.0
    Preparing search index...

    Function toDots

    • Convert a value in the specified units to the equivalent value in dots.

      Parameters

      • n: number

        The value to convert.

      • dpi: DPI

        The printer DPI setting.

      • units: "dot" | "mm" | "in" | Units

        The units of the input value.

      Returns number

      The value in dots.