Skip to content

The image cannot be printed completely #419

Open

Description

@fecherwu

Hello, according to your method, I tried to write and print, but when I wrote the background, there was a branch when printing. How can I solve the problem of incomplete printing caused by the branch?
216535533-1c584fb9-9e90-4878-a0f3-50f33cecafdd
216535694-4b19958f-64f9-402c-8229-b728a797f2a1

Activity

  1. codewithshinde commented on Apr 21, 2024

    @codewithshinde

    Try this :)

    device.open(function() => {
      const noLineSpacingCommand = Buffer.from([0x1b, 0x33, 0x00]);
      device.write(noLineSpacingCommand);
      printer.raster(image);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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