TfrxDMPCommand Esc codes

The Esc code at the end of the form does not seem to work:

- I have an Epson TM-T88II printer for which i created a matrix report.
- At the end of the report i added a TfrxDMPCommand component.
- I've set the command property to #27#105 (Partial Cut).
(tried both epson and generic emulation without success)

My next idea was to put my delphi code in the afterprint event.
(See the body of the procedure underneath)

var
F : TextFile;
begin
AssignFile(F,'COM5');
Rewrite(F);
Writeln(F, #27#105);
CloseFile(F);
end;

on top of the pascal script i added "uses system" (since Texfile was not recognized).
however then the compiler complained about not recognizing "system".

any suggestions?

Comments

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.