how to print POS bills with a thermal printer
-
hi, i like to build a restaurant billing system. i would be using Visual Studio 2019. language would be C#. my question is regarding printing bills. what is the easiest 3rd party software I can use with Visual Studio 2019 for printing bills to a thermal printer.
-
hi, i like to build a restaurant billing system. i would be using Visual Studio 2019. language would be C#. my question is regarding printing bills. what is the easiest 3rd party software I can use with Visual Studio 2019 for printing bills to a thermal printer.
If you are using Windows, the issue is whether your thermal printer has a driver for Windows. If it does, you print to it like you would print to any other Windows printer. Note that your code will still have to take certain details into account, such as the narrow width of a page, the length of the "page" (a POS printer typically uses a roll that is of "infinite" length). Any such details should be available in the technical reference manuals of the POS printer(s) that you intend to support, or on the manufacturers' websites.
Freedom is the freedom to say that two plus two make four. If that is granted, all else follows. -- 6079 Smith W.
-
If you are using Windows, the issue is whether your thermal printer has a driver for Windows. If it does, you print to it like you would print to any other Windows printer. Note that your code will still have to take certain details into account, such as the narrow width of a page, the length of the "page" (a POS printer typically uses a roll that is of "infinite" length). Any such details should be available in the technical reference manuals of the POS printer(s) that you intend to support, or on the manufacturers' websites.
Freedom is the freedom to say that two plus two make four. If that is granted, all else follows. -- 6079 Smith W.
Oops! I missed the button ... :-O
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt AntiTwitter: @DalekDave is now a follower!
-
hi, i like to build a restaurant billing system. i would be using Visual Studio 2019. language would be C#. my question is regarding printing bills. what is the easiest 3rd party software I can use with Visual Studio 2019 for printing bills to a thermal printer.
Just to add to what Daniel has said, start with the manufacturers site or tech support - most will have sample code that should give you a "starter".
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt AntiTwitter: @DalekDave is now a follower!