问题描述
我需要通过用C#编程到POS打印机来打印收据
一切可以被硬编码,没有数据库就没有...它所要做的就是打印一个样本收据显示如下表.
这是我正在寻找的
ABCDEF Pte.com格式. Ltd.
123 My Street,My City,我的州,我的国家
012-3456789
--------------------- ----- -------------- ---------- ---------- -
日期:1970年1月1日
收银机:ABCDEF
项目(宽度5厘米)数量(宽度1厘米)单价(宽度2厘米)合计(宽度2厘米)
====== ==================== =========== ========== = ========= ======点击项目1 10 9.99 99.99,点击项目2 101 0.00 0.00结果,第3项9 0.10 0.90结果,第4项1000 1.00 1000.00
-------------------------- ---------- --- ------- ------------ ---------- ---------- - --------- ----------
1.00结果TAX 0.10结果,折扣0.10结果-------------------------- ------- --- ---------- -----结果,TOTAL 0.80结果++++++++++++++++++ ++++++++ ++++++++
谢谢您选择ABC Pte.
ctrlnick
Hi , I need to print a receipt by programming in C# to a POS Printer
Everythingcan be hardcoded, No database nothing... All it needs to do is print asample receipt that shows the table as shown below.
This is the format that i am looking for
ABCDEF Pte. Ltd.
123 My Street, My City,
My State, My Country
012-3456789
---------------------------------------------------------
DATE : 01/01/1970
CASHIER : ABCDEF
item(width 5cm) qty(width 1cm) Unit Price (width 2cm) Total (width 2cm)
================================================================
Item 1 10 9.99 99.99
Item 2 101 0.00 0.00
Item 3 9 0.10 0.90
Item 4 1000 1.00 1000.00
------------------------------------------------------------------------------------------------
SUB-TOTAL 1.00
TAX 0.10
DISCOUNT 0.10
---------------------------------------------------
TOTAL 0.80
++++++++++++++++++++++++++++++++++
THANK YOU FOR CHOOSING ABC Pte. Ltd.
ctrlnick
推荐答案
谢谢.
这篇关于C#打印收据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!