来自:wang3003, 时间:2003-12-22 16:29:00, ID:2369464 [显示:小字体 | 大字体]
该打印机一般情况下打印均可自动切纸,但是通过C++ Builder6中的quick report来进行打印时,打印完毕不能进行自动切纸,不知是何原因,请问该如何解决?急盼,谢谢!!!
来自:thx1180, 时间:2003-12-22 17:18:00, ID:2369613
>>该打印机一般情况下打印均可自动切纸
这是什么情况??
可以考虑在AferPrint事件中发送以下命令:
(1) GS V m, (2) GS V m n
作用:Select cut mode and cut paper
[Format] (1) ASCII GS V m
Hex 1D 56 m
Decimal 29 86 m
[Format] (2) ASCII GS V m n
Hex 1D 56 m n
Decimal 29 86 m n
(1) When m = 1 or 49, GS V m executes a partial cut (one point left uncut)
(2) When m = 66, GS V m n executes a partial cut (one point left uncut) after paper is fed
[cutting position (n ′ approximately 1/144 inch)].
When using the above commands, there is a gap between the auto-cutter position and the print
position. These commands are effective only when input at the begin
ning of a line.
The TM-U200D/U200PD printers are not equipped with the auto-cutter unit;
therefore, the GS V m
command is ignored. The GS V m n command executes paper feeding to the manual cutting position
===============================
我不知道如何实现?