Hello Mikael,

I understand your problems, since I am embedded programmer too, and
some time ago I was faced with the same problem. Tell me exactly what
do you want to have. The real kernel mode driver that would be
redirect all I/O requests from any application to your device or just
your own, user mode application that would take a prepared file and
send it to plotter ? If first - you have to learn a basics of windows
DDK, if second - I'll try to help you. First of all I'd like to say,
that it would be easier to handle with serial port. There is simple
(but correct) mechanism in win32 for accessing serial port and it
works with all Windows. For reference, look Win32 SDK, chapter
"Communications".

About parallel port.. There is one way that works in Windows 98,
without writing device driver... It's direct port addressing, e.g.
  Asm
    Mov DX,DataPort; {0x378 for LPT1 or 0x278 for LPT2}
    Mov AL,Data;
    Out DX,Al;
  end,
  
but the only OS when it's supported is Windows 98. And actually it's
considered to be ignorant, but it works.


Best regards,
 Vitaliy                            mailto:vit@;vn.ua


-- 
Author: Vitaliy Vasylskyy
  INET: [EMAIL PROTECTED]

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB CHIPDIR-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).

Reply via email to