Click here to Skip to main content
15,120,478 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am finish my POS system application in c# and I am stuck on the print process.

My Question is should I use crystal report or other library like raw printer helper or plan text.

* For Speed
* For compatibility for different printer


thanks

What I have tried:

All my reports are done by crystal report, but I am curious about how to printer using pos automatically.
Posted
Updated 18-Aug-21 1:42am
Comments
Gerry Schmitz 18-Aug-21 14:57pm
   
You should determine what the printer supports. It's usually "commands". It might include bitmap support. It may include a "Windows printer driver". You explore all the capabilities, THEN decide what works best for you. Not the other way around.

See answer here:
How to print to a thermal pos printer[^]

But first I would take a look on the manufacturers website if there are any examples or SDK's that you can use.
   
v2
Quote:
How to print receipt to thermal POS printer

"crystal report" is certainly nice on high resolution printers, but POS thermal printers are usually low resolution and black and white only.
Printing something on low resolution printer via windows driver chain means that printing is irregular because of rescaling problems. This particularly matters when you want some bar codes on ticket.
The usual solution is having your app doing a raw print by sending directly printer commands and using directly internal printer fonts and command to generate bar codes as needed.
This may involve a set of printing routines per kind of printer.
Note that it may get complicated for windows to handle the ribbon cutter.
   
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900