Skip to content

p.SetConfig unavailable #18

Open
Open
@apuatcfbd

Description

@apuatcfbd

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?

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