如何在printer.enddoc之后避免纸张弹出 [英] How to avoid paper ejection after printer.enddoc
问题描述
好友,
我正在vb6为一家餐馆做一个项目。他们正在使用5英寸的连续纸卷。结算宽度。他们需要多语言打印。我尝试使用Crystal报表,甚至使用printer.print命令。由于帐单没有默认大小,我无法设置预定义的纸张大小。当我给printer.enddoc时,dotmatrix打印机弹出巨大的纸张。我曾经搜索过许多网站。哎呀!没有用。
请允许我的伙伴帮助我成功。
注意:我的竞争者在各种项目中取代了这个
Hi buddies,
I am doing a project in vb6 for a restaurant. They are using continous paper roll of 5" width for billing. They need multi language printing. I tried it with Crystal report and even using printer.print command. As the bill is not having default size, i couldnt set a predefined paper size. When i give printer.enddoc the dotmatrix printer ejects enormous paper. I had searched many sites regarding this. Oops! no use.
Plese my buddies help me to make it succeed.
note: my competetor suceeded on this in various projects
推荐答案
它是什么类型的打印机?
是否可以找到可以发送给它的代码的详细信息?
我我知道在我以前的旧打印机(9针Star NL-10)上可以发送页面长度的控制代码,如= [ESC]" C" chr
What type of printer is it?
Is it possible to find details of the codes that can be send to it?
I know that on my old-old-old printer (9 pins Star NL-10) it was possible to send control codes for the page length like = [ESC] "C" chr
(0)n。
将页面长度设置为n英寸。
(0) n .
Sets page length to n inches.
亲爱的ggeu
它的dotmatrix打印机,你不能使用转义序列因此它的printer.print命令
感谢您的尝试
dear ggeu
its dotmatrix printer and you cant use escape sequence hence its printer.print command
thanks for try
这篇关于如何在printer.enddoc之后避免纸张弹出的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!