使用MICR打印机帮助打印 [英] Printing with MICR Printer Help

查看:91
本文介绍了使用MICR打印机帮助打印的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我想用MICR打印机打印check micr no。打印机由Inotech解决方案制造,系列为IMP。打印机有48锤。我必须控制这些锤子打印吗?我不知道如何用这种类型的打印机打印。



我正在使用Microsoft.VisualBasic.PowerPacks.Vs.dll的可视化基本打印库

仍然无法打印。需要紧急帮助...

Hi I want to print cheque micr no with MICR printer. Printer has manufactured by Inotech solution and series is IMP. Printer has 48 hammer. Do i have to control these hammer to print? I don't know how to print with this type of printer.

I am using visual basic Print library by Microsoft.VisualBasic.PowerPacks.Vs.dll
Still i am not able to print. Need urgent help...

推荐答案

如果您有权访问RAS SDK,请尝试使用PrintOutputController PrintReport方法。我使用PrintToPrinter遇到了类似的问题,用这种替代方法替代了我的诀窍。请参阅以下代码示例:

已更改:

String ^ crPrinterName = gcnew String(szPrinterName);



myReportDocument-> PrintOptions-> PrinterName = crPrinterName;

myReportDocument-> PrintToPrinter(1,false,0,0);

TO:

String ^ crPrinterName = gcnew String(szPrinterName) ;

CrystalDecisions :: ReportAppServer :: Controllers :: PrintOutputController ^ crPrintOutCon = myReportDocument-> ReportClientDocument-> PrintOutputController;

CrystalDecisions :: ReportAppServer :: Controllers :: PrintReportOptions ^ crPrintReportOpt = gcnew PrintReportOptions;

crPrintReportOpt-> PrinterName = crPrinterName;

crPrintOutCon- > PrintReport(crPrintReportOpt);

您可能需要参考RAS SDK文档,或点击此处开始:http://www.sdn.sap.com/irj/boc/go / portal / prtroot / docs / library / uuid / 10b840c0-623f-2b10-03b5-9d1913866b32?QuickLink = index& overridelayout = true
f you have access to the RAS SDK, try using the PrintOutputController PrintReport method instead. I had a similar problem using PrintToPrinter, and substituting with this alternate method did the trick for me. See following code example:
Changed:
String^ crPrinterName = gcnew String(szPrinterName);

myReportDocument->PrintOptions->PrinterName = crPrinterName;
myReportDocument->PrintToPrinter(1, false,0,0);
TO:
String^ crPrinterName = gcnew String(szPrinterName);
CrystalDecisions::ReportAppServer::Controllers::PrintOutputController^ crPrintOutCon = myReportDocument->ReportClientDocument->PrintOutputController;
CrystalDecisions::ReportAppServer::Controllers::PrintReportOptions^ crPrintReportOpt = gcnew PrintReportOptions;
crPrintReportOpt->PrinterName = crPrinterName;
crPrintOutCon->PrintReport(crPrintReportOpt);
You might need to refer to the RAS SDK documentation, or check here to start off: http://www.sdn.sap.com/irj/boc/go/portal/prtroot/docs/library/uuid/10b840c0-623f-2b10-03b5-9d1913866b32?QuickLink=index&overridelayout=true


我也在使用Printronix + IMP打印机。如果我猜对了,IMP打印机连接到并行端口。您是否尝试过发送原始数据,即; 000001< 01121< 0012345678; - >直接到并行端口使用'OPENLPT1作为#1'等命令?



如果这解决了你的问题,请回复。
I am also using Printronix + IMP Printer for this. If I a guessing it right, the IMP Printer is connected to a Parallel Port. Have you tried sending raw data i.e. ;000001<01121<0012345678; -> directly to parallel port by using 'OPEN "LPT1" As #1' etc. commands?

Do reply if this resolves your issue.


这篇关于使用MICR打印机帮助打印的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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