Parallel Port Access

Uwe Bonnes bon at elektron.ikp.physik.tu-darmstadt.de
Thu May 17 03:16:37 CDT 2001


David Charlton <davchar at optushome.com.au> wrote:
: Hi,
: Is it possible for wine to directly access the parallel port for 
: printing purposes, rather than going throught the linux spool?  If so, how?

You can allow Wine to access hardware ports , like in ~/.win/config:

[ports]
"read" = "0x378-0x37f"
"write" = "0x378-0x37f"

You must run wine as root so that wine can actually access the ports.

I once implemented a user level ports access schem with parports
ppdev. Should sometimes revive this, as ppdev is in 2.4. However ther are
few usefull/usable programs that need port access, as mostly only win31 code
uses in and out  commands outside of unsupported Ring 0 code.

Bye

-- 
Uwe Bonnes                bon at elektron.ikp.physik.tu-darmstadt.de

Institut fuer Kernphysik  Schlossgartenstrasse 9  64289 Darmstadt
--------- Tel. 06151 162516 -------- Fax. 06151 164321 ----------



More information about the wine-users mailing list