C#vs2005的这个预览功能是怎么做的?如何把要打印的内容出现在预览里?
如照片所示,如何把要打印的内容出现在预览里?下面代码是button1键打印的内容,如何把这些打印的内容显示在照片里那样呢,解决了,我的分数都给你。privatevoidb...
如照片所示,如何把要打印的内容出现在预览里?下面代码是 button1键打印的内容,如何把这些打印的内容显示在照片里那样呢,解决了,我的分数都给你。
private void button1_Click(object sender, EventArgs e)
{
TSCLIB_DLL.openport("TSC TTP-342 Pro");
TSCLIB_DLL.setup("100", "63.5", "4", "8", "0", "9", "9");
TSCLIB_DLL.clearbuffer();
TSCLIB_DLL.barcode("300", "150", "25", "25", "1", "0", "4", "7", this .textBox3 .Text );
TSCLIB_DLL.printerfont("300", "250", "3", "0", "1", "1", this.textBox1.Text);
TSCLIB_DLL.windowsfont(300, 300, 30, 0, 0, 0, "ARIAL", this.textBox2.Text);
TSCLIB_DLL.printlabel("1", this.textBox4.Text);
TSCLIB_DLL.closeport();
}
请高手们指教啊 展开
private void button1_Click(object sender, EventArgs e)
{
TSCLIB_DLL.openport("TSC TTP-342 Pro");
TSCLIB_DLL.setup("100", "63.5", "4", "8", "0", "9", "9");
TSCLIB_DLL.clearbuffer();
TSCLIB_DLL.barcode("300", "150", "25", "25", "1", "0", "4", "7", this .textBox3 .Text );
TSCLIB_DLL.printerfont("300", "250", "3", "0", "1", "1", this.textBox1.Text);
TSCLIB_DLL.windowsfont(300, 300, 30, 0, 0, 0, "ARIAL", this.textBox2.Text);
TSCLIB_DLL.printlabel("1", this.textBox4.Text);
TSCLIB_DLL.closeport();
}
请高手们指教啊 展开
2个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询