Printing on thermal printers

  • Thread starter Thread starter Francisco Duran
  • Start date Start date
F

Francisco Duran

I am working in a .NET based Point of Sale solution. As a requirement I
need to print on thermal printers. I am looking for a recommendations or
best practices to achive this as the .NET Framework classes for printing are
not working very well. As a matter of fact, the .NET framework classes
don't work with the thermal printers I have access to, because they only
accept certain characters and they don't work very well with Graphics (true
type fonts?).

I need to know if there's another way to print, even if there are some
primitives to print a single line at a time. I don't need print previews or
printer selection windows as the only thing required is to send receipts to
the printer as soon as the point of sale receives the payment from the
customer.

Any link or code sample would be very appreciated or if you know a
third-party product that achieve the same goal please let me know.

Thanks in advance for your help.

Best Regards,

Francisco Duran
 
I believe you can use Win32 calls to open COM1, LPT1, etc., as files and
write on them byte by byte.

If you are printing something simple, such as sales slips, you may be
considerably better off doing this instead of going through Windows'
elaborate graphical printing API.
 
Back
Top