3
Good afternoon I am developing an application that needs to make sure that the document was printed on the non tax thermal printer Bematech MP-4200 TH, as the printer has buffer even if there is no paper in it it sends the command to the printer and returns as ok, so I have no way of knowing if it was actually printed or if it was just sent to the printer, verifying the class has a function that according to the documentation makes the application wait for the end of the printing.
/// <summary>
/// Esta função segura a execução do Aplicativo, até que todo o texto enviado seja impresso.
/// </summary>
/// <param name="modo">INTEIRO modo de espera.</param>
/// <returns>INTEIRO - Indica se a função conseguiu enviar o comando para impressora.</returns>
[DllImport("MP2032.dll")]
public static extern int EsperaImpressao(int modo);
However this is not working returning that this unbalanced the stack.
Thank you solved the problem!
– jonathan