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

Why image print as Chinese text? #58

Open
karthikeyan1425 opened this issue Jul 26, 2022 · 1 comment
Open

Why image print as Chinese text? #58

karthikeyan1425 opened this issue Jul 26, 2022 · 1 comment

Comments

@karthikeyan1425
Copy link

No description provided.

@KevinGong2013
Copy link
Owner

Printer has been rewrite.

Please try this code.

let receipt = Receipt(.🖨️58(.ascii))
<<~ .style(.initialize)
 <<< Image(cgImage)
<<~ .page(.printAndFeed(lines: 1))

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

No branches or pull requests

2 participants