Seeking solution for printing-reporting .NET
- by Parhs
I am developing an application that prints in separate threads in extreme cases about 20-25 pages per minute to various thermal printers.
Currently templates for these are XAML xps documents. All printers have graphics drivers that support EMF/GDI printing. So GDI-EMF is done by operating system resulting in slower performance. Sending raw text for printing is another good solution but doesnt work always , because some clients have old chinese thermal printer that nobody support thus impossible to change codepage / emulation. So it doesnt work always.
Also most computers running my software are low end ATOM CPU.
So I am thinking to return to GDI, EMF printing and have both Text-Only reports and EMF reports.
Another reason i want EMF is because here receipts are signed by Electronic Fiscal Memory device.Most of these dont do good job extracting text from XPS as they dont follow the standard but how windows convert GDI to XPS.Even with text-only mode some of them dont support all character encodings and are impossible to send paper cut command after the sign.
I know that using a reporting engine would solve rendering problem but I dont want to buy one.
All I want is to be able to show tabular data and insert an image and replaced text.I know there is StringTemplate that could do the generation of template but the problem is i should parse somehow the template and render it using GDI commands. Is there any other solution/approach for this ? Or is there anything ready ?