Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to print long image #68

Open
tkachenko-1324 opened this issue Apr 7, 2023 · 1 comment
Open

Unable to print long image #68

tkachenko-1324 opened this issue Apr 7, 2023 · 1 comment

Comments

@tkachenko-1324
Copy link

I need to print a full receipt like a long picture.

And printing stops at about 10%

Also I tried to cut picture for pieces, it helps but I have whitespaces between pictures

`let images = slice(image: resizedImage, into: 3)

    var ticket = Ticket()
    
    images.forEach {
        ticket.add(block: .image($0, attributes: .alignment(.center)))
    }
    
    ticket.feedLinesOnHead = 0
    ticket.feedLinesOnTail = 0
    
    if bluetoothPrinterManager.canPrint {
        bluetoothPrinterManager.print(ticket)
    }`

@KevinGong2013

@burin-t
Copy link

burin-t commented Apr 12, 2023

haha just like me
Work Around: separate image example 100px per image and add in ticket

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants