Skip to content

Documents larger than the electron window do not print completely. #100

Description

@hiagodotme

Hello everyone, I tried to print a very large item and was surprised when the printer triggered the cut and did not finish printing it.

I noticed that this routine takes the size of the Electron window where the document was rendered. Putting a manual value of 4096 (much higher than the value I need, everything worked normally).

My thermal printer is 80mm.

How can I get around this?

height = convertPixelsToMicrons(mainWindow.getContentSize()[1]);

Activity

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