Click here to Skip to main content
15,887,585 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
See more:
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...
Posted
Updated 5-Apr-17 21:37pm
v2
Comments
Richard MacCutchan 9-Mar-11 4:04am    
You need to get a driver for the printer in a version that is compatible with your version of Windows. If no driver is available then you will need to write one yourself.
Ripon'11 9-Mar-11 5:51am    
I have driver for this printer. Then what i have to do? Do i have to use POS? If yes then how?

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
 
Share this answer
 
Comments
Noman Aftab 18-Apr-11 9:28am    
Hi Siaram,
Thanks for the code you provided. I have just started exploring MICR printing. I haven't got my hands on the MICR printer yet. I assume printing MICR will be like printing any other text, expect I will need:
1. a MICR font
2. MICR printer, of course
3. and the text that needs to be printed in MICR.



Is there anything else that needs to be catered. Could you please share you experience in MICR printing.

Thanks
Noman Aftab
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.
 
Share this answer
 
Comments
Patrice T 6-Apr-17 17:03pm    
6 years too late

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900