Bematech MP 4200 TH - dll MP2032 to know if you finished printing

Asked

Viewed 266 times

0

Good afternoon, I am developing an integration with payment via Getnet TEF in c#, my problem is in printing the payment confirmation coupon, and for approval I need to be sure whether the printing finalized or not.

I am using the DLL MP2032, provided by Bematech, I researched and saw that there is the method Esperaimpressao I step 1 and the return is 1 , the code continues without waiting for the end of the print.

Because if you don’t finish printing I need to cancel the operation.

Someone can help me??

Thank you

  • Voce has the library documentation ?

  • Thanks for the help, man I only managed to find a class and have documentation in the class, and says it waits for the completion of the print but in fact it does not happen.

  • Is the method asynchronous? Where is your code?

1 answer

-1

opa beauty... guy tries it here

MP2032.HabilitaEsperaImpressao(1); //isso vai habilitar o modo de espera

MP2032.EsperaImpressao(1);//e isso aqui é para que a função aguarde a finalização da impressão

Browser other questions tagged

You are not signed in. Login or sign up in order to post.