I have an application that currently uses another reporting tool, but we want to convert to Infragistics. The problem is that we use specialist thermal printers with this application that have a 'cutter' to separate different sections of a report. The cutter is activated by a simply sequence of ESC d, but how do we embed this into a report to enable the cutter ?
Hi Alex,
In the meanwhile, another thing you can try if you use WPF or Winforms, is to subscribe to the PrintFinished event, print pages one by one, and at the PrintFinished event, send the cutter command directly to the printer by using the Windows Printing API.
Regards,Héctor
Hello Alex,
Since this functionality isn’t currently built in in our product I have sent your feature request directly to our product management team. Our product team chooses new feature requests for development based on popular feedback from our customer base. Infragistics continues to monitor application development for all of our products, so as trends appear in requested features, we can plan accordingly. Your reference number for this feature request is FR13865.
If you need any further information on this matter, please feel free to ask.
Hi Hector,
Sorry, but we ran the WPF project and it did not activate the cutter between the two messages.
The printout was :-
Before Esc d
d
After Esc d
Alex
Currently we do not support sending the escape character sequences yet. However, we are evaluating possible solutions and as part of that, we need to confirm in which scenarios the solution would be able to work.
I am attaching a sample project, which contains both SL and WPF projects that send to the printer the following text:
(Esc d escape sequence)
Can you try running the WPF and SL projects and check if the printer cuts the page between the two messages?
Thanks Petar,
It is an issue that will prevent us from moving our software to using Infragistics Reporting, as our customers rely on the cutter function to prevent having to give their customers receipts that resemble a small copy of 'War & Peace'.
Look forward to hearing from you.