tags:

views:

115

answers:

1

hi all! my question has something to do with printing. i was wondering how you could pass values to a printer. we are using a CRADEN DP4 printer which is used for passbooks for banks. i was wondering how could we print into a passbook using c# and the craden DP4 printer. i visited the manufacturer site and it does not have driver support for the said model. we want to print the details per line of the passbook.

A: 

Assuming that these printers are actually being used at the moment then you may well be left with a trial and error route. Do they connect using a serial, parallel, usb or network connection? I'm willing to bet that its a serial port. If it is you may be able to write your own driver.

If it is a serial port then your best bet is to capture and analyze the serial output for printing. You can do this by writing a package to read the port, save the data and output the data back down the serial link. You may find that using a breakout cable drops the voltage too much, but by setting up a laptop with two usb, serial port adapters you can get something to work. I've had to do this a lot in the past with legacy systems. Just remember that the data will be in bytes and not chars :)

ChrisBD
yup it uses a serial port. so will i use the serial port on the toolbox of visual studio? could you give me a sample or reference so i can study them and build them on my own?
ryn6