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

p.SetConfig unavailable #18

Open
apuatcfbd opened this issue Dec 27, 2023 · 0 comments
Open

p.SetConfig unavailable #18

apuatcfbd opened this issue Dec 27, 2023 · 0 comments

Comments

@apuatcfbd
Copy link

apuatcfbd commented Dec 27, 2023

Hello,
Thank you for making this wonderful lib, I'm facing some issues setting config to the printer,

In the code snipet in the documentation p.SetConfig(escpos.ConfigEpsonTMT20II) is missing,
Following is the error

# command-line-arguments
./main.go:16:4: p.SetConfig undefined (type *escpos.Escpos has no field or method SetConfig)
./main.go:16:21: undefined: escpos.ConfigEpsonTMT20II

How to set config to the printer?

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

1 participant