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

    Variable ProfileManagerConst

    ProfileManager: {
        getProfile(name?: string): PrinterProfile;
        listProfiles(): string[];
    } = ...

    Registry for looking up and caching PrinterProfile instances.

    Profiles are sourced from the bundled capabilities.json database. Resolved profiles are cached in memory — repeated calls with the same name return the identical object reference.

    Type Declaration

    import { ProfileManager } from 'escpos-ts';

    const profiles = ProfileManager.listProfiles();
    // ['default', 'TM-T88V', 'POS-58', ...]

    const profile = ProfileManager.getProfile('TM-T88V');
    console.log(profile.getColumns('a')); // 42

    1.0.0