当前位置:网站首页>Record the problem of C # print size once

Record the problem of C # print size once

2022-06-25 04:38:00 zepcjsj0801

c# Printed printdocument Not much to say , A lot of online .
This time, customers need Epson tm-82ii The printer , It is an ordinary small ticket machine , The length of the small ticket to be printed for different orders must be different , And after printing a small ticket, you need to cut paper automatically , The functions described above are fully realized , Finally, there is a problem when the customer checks and accepts , There is a list of fifty or sixty centimeters , But the printer goes to 31cm Cut the paper at , That is to say, the following contents are not typed .

It took five days to add a printer , It took another three days because of the length , I still haven't found out , But in the process of adjustment, the cause of the problem is slowly discovered , The original page size of the printer has nothing to do with the size set in the program , Or the printed size is not exactly the size set in the program .

I found an article by accident , It turns out that some printers do not support external programs to customize the size , That is to say, the internal size of the printer should be used , So the final adjustment result is , Add a large enough size to the printer , Use this size in the program ok 了 .
 Insert picture description here

原网站

版权声明
本文为[zepcjsj0801]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/02/202202210534149540.html