How do Bematech printer cut the print in half?

Asked

Viewed 5,010 times

6

I am implementing a report in Report Builder in Delphi and I need that in the middle of printing, the printer (Bematech - MP 4200 TH non fiscal printer) make a cut and continue in the same print.

Does anyone know which component or command I use in the report?

I’m trying to use the 'line' component, because I thought it would have some property that cuts the paper the moment it is drawn.

  • There’s no property to do that. Maybe you can send the report as plain text and send a string with the cut command as mentioned in woliveirajr’s reply.

1 answer

4


I found the following website that teaches how to do : Driving the guillotine in the non fiscal minimpressor

Basically, if you are using the printer’s DLL, you will send the following command after you have made the appropriate statements:

//ACIONAMENTO DA GUILHOTINA

sComando := #27 + #119;
iRetorno := ComandoTX( sComando, Length( sComando );

If it is via the printer driver, you must configure the printer properties to make a cut at the end of the print or insert the <1B>w command into certain property boxes

  • But how to use Reportbuilder to access the DLL?

Browser other questions tagged

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