can anybody provide me a piece of sample c code on how to program correctly
the /dev/ecpp0 port.
That means: read the port state(Printer ready, busy, paperout...), write to
the port, ...
I have problems on a Ultra10 running Solaris 2.6 5/98
I applied the patch 105741-05 (105741-07 seems not to work) to eliminate the
1) ecpp_isr: interrupt not for us
2) interrupt level 3 not serviced
So these two errors are eliminated.
sometimes when I try to open the port /dev/ecpp0, I get the Error Device
Busy, but nobody (no process) is using it!!
Further, if I write a bigger part of graphics Data to the printer (port),
several datas are lost during transmission. Guess cause the Handshake is not
What is the difference of ECPPIOC_TESTIO ioctl( ) and BPPIOC_TESTIO ?
Compilation and run is possible wether i include <sys/ecppio.h> or
So, if anybody has a sample code please send it to me!
Finally, i have to write the application to run on SPARC(SBus and PCI) and
Thanks for any hints andd tips and codes...