TfrxDMPCommand and "dynamic" ESC codes

Ivan Vere??Ivan Vere?? Croatia
edited 4:08PM in FastReport 4.0
How to use same report with multiple printer types? For example, one POS use own or any other attached POS printer, or printer is replaced with another moder (f.e. Epson with Star) and use
different ESC codes set. Changing report nad ESC codes (f.e. papper cut command) in TfrxDMPCommand at user place isn't acceptable. How to send FR and/or TfrxDMPCommand "customized" command at runtime trough variable,
data table field or. etc? woud by very nice that TfrxDMPCommand supports reading command from some source line datafield, variable...
Printers.xml is degraded to ony strongly defined commands (descriebed in header section of printers.xml) and not allows custom commands? Can TfrxDMPCommand read costom commands or commands from Printers.xml?
Idea is fast printer changing/replacing without forcing user to nown how and change report, esc sequences, etc... Just change printer esc set in application configuration.


Anny sugestion, idea, example...?

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.