Create a driver for windows to recognize a printer with arduino

I created a small printer, which punches the letter on the paper...
It is controlled by arduino.
I need to create a driver that is recognized by windows ...
I'm trying with "
V4 printer driver " , but I'm not succeeding...
Can anyone help?

Seems odd to seek help or expertise on a forum devoted to programming the Arduino family of boards.

In the meantime, can you control your printer from the PC using a terminal emulator program like PuTTY or CoolTerm?

I don't write drivers for PCs, but if I were to, I would certainly start by trying direct control with a terminal emulator first.

If you can't get that going, writing a driver will be hard.

Good luck.

a7

1 Like

I already have control of the equipment via arduino programming...
that was simple....

I can already read a .txt file and send it to the printer via the USB port with vb programming....
that was simple....

I want to CREATE a print driver that CONVERSES with the ARDUINO. ...

This is the challenge !!!!

Has ANYONE seen or tried this ???

It's possible ????

Have you tried using the Generic Text Only driver included with Windows??
Will have to add printer manually , set serial port and use generic driver..
If you don't need graphics might be just what you need..

good luck.. ~q

1 Like

Every manufacturer of a Windows gizmo has or hires programmers to write the required device driver.

I have a book about writing Windows drivers but I never wrote a driver and book is probably outdated.

The information is probably on MSDN (or other online sites) but it's probably easier to start with a book.

Driver development is a specialized-advanced programming area.

You probably should change the "firmware" so your Arduino has a unique product ID. What from I remember, USB devices have a unique VID (vendor ID) and a PID (product ID). I'm not sure if that works with the FTDI serial hardware.

Or there are "class compliant" devices that work with Microsoft (or Apple) supplied standard drivers.

1 Like

that everyone already knows.... of course

good hint !!!!!

How silly of me to misunderstand your question!

If you want to hire someone to write Windows driver code for you, post on the Jobs and Paid Collaborations forum section.

!
sounds easier to me than to write a new driver from scratch.

This might be worth to try by replacing the output to you your hardware instead

GitHub - SilverGreen93/USB-Centronics: Arduino USB (serial) to Centronics parallel adapter

Just dropping a couple of links that may be useful

Could use it but don't specifically need it, Windows supports serial printers..
Take about 2 seconds to add it..
Not sure what command chars might be send, if it does at all..
So may be a bit of coding but probably not much..
You could further it a bit by emulating Epson like the rest of the world does..
But really don't think it's needed..
oh, should add, if @svalois really wants to take the long road, here's some examples..
sample-umdf-drivers
lol, Toaster 2.0..

all good fun.. ~q

I assume there would be needed some XON/XOFF software handshake to slow down the PC sending because a "punch plotter" might be slower than the PC-->Arduino transmission and the remaining RAM in the Arduino will be less than 2KB ...

You could, printer will use port settings in device manager..
Could also crank the baud down to 75 to slow things down..
but yes, an uno does not have allot of ram for buffers..

~q

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.