Skip to content

The Print Sample Receipt has an extra C or exclamation point when I am trying it using WOOSIM Printer #5

Description

@Bryanlim26

await CapacitorThermalPrinter.begin()
.align('center')

.image('https://raw.githubusercontent.com/Malik12tree/capacitor-thermal-printer/main/assets/Logo-Black.png')

.bold()
.underline()
.text('The amazing store\n')

.doubleWidth()
.text('RECEIPT\n')
.clearFormatting()

.text('Item 1: $10.00\n')
.text('Item 2: $15.00\n')

.align('right')
.text('Total: $25.00\n')

.align('center')
.qr('https://example.com')
.barcode('UPC_A', '123456789012')

.cutPaper()

.write()
.then(() => console.log('Printed!'))
.catch((e) => console.error('Failed to print!', e));

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions