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

Percepciones #8

Open
joseluisbossio opened this issue Apr 20, 2018 · 0 comments
Open

Percepciones #8

joseluisbossio opened this issue Apr 20, 2018 · 0 comments

Comments

@joseluisbossio
Copy link

Buenas, ¿alguien trabajó con Percepciones sobre una Epson TM-U220AII usando el comando printer._sendCommand para Argentina? ¿Seria correcto usar algo así?:

Abrir un comprobante fiscal:

printer.openBillTicket("A", "Nombre y Apellido", "Direccion", "20269493349", printer.DOC_TYPE_CUIT, printer.IVA_TYPE_RESPONSABLE_INSCRIPTO)

Facturar Caramelos a $ 1,50, con 21% de IVA, 2 paquetes de cigarrillos a $ 10

printer.addItem("CREMA", 1, 100, 21, discount=0, discountDescription="")

#Agregar línea de percepciones
printer._sendCommand(32, ('IIBB', '3.5', '21.0'),'F')

Pago en efectivo. Si el importe fuera mayor la impresora va a

calcular el vuelto

printer.addPayment("Efectivo", 100)

Cerrar el comprobante fiscal

printer.closeDocument()

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