Google [站内搜索]

预览模式: 普通 | 列表

WinForm打印多页示例

using System;
using System.Drawing;
using System.Drawing.Printing;
using System.Windows.Forms;

查看更多...

分类:Win编程 | 固定链接 | 评论: 0 | 引用: 0 | 查看次数: 3474

POS58票据打印机走纸测试

1.打印文本

private void printDocument1_PrintPage(object sender, PrintPageEventArgs e)
{
    Font font = new Font("宋体", 12);

查看更多...

分类:Win编程 | 固定链接 | 评论: 0 | 引用: 0 | 查看次数: 3475

C#获取本机安装的所有打印机名称



using System;
using System.Drawing.Printing;
using System.Windows.Forms;

查看更多...

分类:Win编程 | 固定链接 | 评论: 0 | 引用: 0 | 查看次数: 3999