Hoi Nico,

bedankt voor je uitleg!

To clarify
A) It is an epson printer. With a centronics parallel interface
B) I have a usb to centronics cable wich works ( under windows 10)
C) The cable interface uses a ch341a chip.

My guess is that this should not matter: There should be
a generic category of USB printer ports supported by the
cable. But we have actual USB experts here who may either
confirm that intuition or say that I am totally wrong :-)

https://www.usb.org/sites/default/files/usbprint11a021811.pdf

D) i dont have an ethernet (wired) connection yet with the laptop.

Which chipset does the laptop use for wired networking?
You can use PCISLEEP to check which devices you have.

E) DosUsb gives Errors when talking tot the printer.

Sounds like a question for the USB expert(s) here!

My thoughts were to build a driver to talk to the ch341a
in c or assembly. To be continued

You do not want  to do that from scratch. For USB, there
is a big mountain of stacked layers of logical structure
and in operating systems with versatile USB support, you
would only have a driver for the chip in context of all
the already existing drivers for USB in general, which in
turn support USB controllers on your mainboard in somewhat
generic ways, to need less instance specific complexity.

So what you would do in DOS is: Wonder whether the generic
USB driver can treat the chip as instance of a generic USB
printer port category and if not, whether you can get it
supported by making it a special case of it with as small
as possible differences, to not have to modify too much in
the USB drivers.

A driver "only for the chip" would not help you, as the
chip always exists in some large, complex USB ecosystem.

Regards, Eric




_______________________________________________
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user

Reply via email to