EPSON TM-T88III打印机:垃圾打印问题 [英] EPSON TM-T88III printer: Garbage printing problem

查看:221
本文介绍了EPSON TM-T88III打印机:垃圾打印问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

https://support.microsoft.com/en-us/kb/322091 [< a href =https://support.microsoft.com/en-us/kb/322091target =_ blanktitle =新窗口> ^ ]



我复制上面链接中文章中写的粘贴代码。

但问题是当我点击button1时打印机会打印垃圾数据。文件是PDF,其中包含图像和一些文字。



打印机型号:M129C

EPSON TM-T88III



实际上我想打印包含徽标图像和产品信息的收据。

请指导我。

https://support.microsoft.com/en-us/kb/322091[^]

I copy pasted code written in article in above link.
But problem is that Printer prints garbage data when I click on button1. File is PDF which contains an image and some texts.

Printer model: M129C
EPSON TM-T88III

Actually I want to print a receipt which contains Logo Image and product info.
Please guide me.

推荐答案

该代码用于将原始打印机数据发送到打印机,有效地绕过打印机驱动程序,通常将其转换为打印机硬件可以理解的内容。它希望从文件中读取的数据已经与您正在使用的打印机的确切品牌和型号兼容。



PDF文件不是,它是一种通用的文件描述语言,需要翻译并通过打印机驱动程序发送。



你现在正在做的是将日语到斯瓦希里语字典有效地传递给瑞典语,并期待他理解故事......:笑:



如果要打印收据(带图像与否),请使用 PrintDocument [ ^ ] - 链接包含一个示例。
That code is for sending raw printer data to a printer, effectively bypassing the printer driver which normally translates it into something the printer hardware can understand. It expects that the data it reads from a file is already compatible with the exact make and model of printer you are using.

A PDF file is not, it's a general purpose file description language, which needs to be translated and sent via the printer driver.

What you are doing at the moment is effectively passing a Japanese-to-Swahili dictionary to a Swedish speaker and expecting him to understand the story... :laugh:

If you want to print a receipt (with an image or not) look at using a PrintDocument[^] instead - the link includes an example.


这篇关于EPSON TM-T88III打印机:垃圾打印问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆