摘要: IPAddress ip = IPAddress.Parse("192.168.1.212"); IPEndPoint iport = new IPEndPoint(ip, 9100);//9100为小票打印机指定端口 Socket... 阅读全文
posted @ 2015-09-25 17:54 如.若 阅读(2046) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Collections.Generic;using System.Drawing;using System.Linq;using System.Text;using System.Net;using System.Net.Sockets;names... 阅读全文
posted @ 2015-09-25 14:48 如.若 阅读(5924) 评论(3) 推荐(1) 编辑
摘要: class LptControl { private string LptStr = "lpt1"; public LptControl(string l_LPT_Str) { LptStr = l_LPT_... 阅读全文
posted @ 2015-09-25 14:45 如.若 阅读(2858) 评论(0) 推荐(2) 编辑
摘要: /// /// POSPrinter的摘要说明。 /// 此类处理网络打印,使用了IP端口. /// public class NetPOSPrinter { string ipPort = "192.168.1.212"; ... 阅读全文
posted @ 2015-09-25 14:28 如.若 阅读(1253) 评论(0) 推荐(0) 编辑
摘要: C#LPT端口打印类的操作是什么呢?首先让我们看看什么是LPT端口(打印机专用)?LPT端口是一种增强了的双向并行传输接口,在USB接口出现以前是扫描仪,打印机最常用的接口。最高传输速度为1.5Mbps,设备容易安装及使用,但是速度比较慢,下面是C#LPT端口打印类的操作具体实例:/// ... 阅读全文
posted @ 2015-09-25 13:47 如.若 阅读(1699) 评论(0) 推荐(0) 编辑