Skip to content

Error on integrating K2_MINI #2

@lukiinhas1616

Description

@lukiinhas1616

I'm integrating K2_MINI, but I get the error below when calling the tectoy.imprimir or tectoy.imprimirImagem method

Estou integrando um totem K2 Mini, mas recebo o erro abaixo ao chamar o método de impressão.
Existe algum passo extra?

private fun printText(text: String) {
    val tectoy = TecToy(Dispositivo.K2_MINI, applicationContext)
    tectoy.imprimir(text + "\n\r\n\r\n\r\n\r")
    tectoy.acionarGuilhotina()
}
 Attempt to invoke interface method 'void e.a.a.c.a(byte[], e.a.a.a)' on a null object reference

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions