Does anyone know how I can directly send characters to the parallel port of
my computer, running under Windows XP ?
The programming language is VB5, VB6 or VB.Net.
It seems that it is not so easy because my parallel Omega Zip drive or my
parallel cable shipped with PCAnywhere don't work under XP...
Any idea ?
Thank you in advance.
Philippe
"Philippe Mercier" <ph.me...@skynet.be> wrote in message
news:3d1a39de$0$6972$ba62...@news.skynet.be...
"strchild" <strc...@hotmail.com> wrote in message
news:WMCS8.334964$cQ3.20264@sccrnsc01...
as you may know some of the bytes you write to disappear, you can write but
not read back, so software cant do a write/read/compare, its a write and
hope.
get the download at www.sstnet.com which should work for all 32 bit windows
or $4 windows which even includes a printer test.
I havent used it to see the source code, but they give a control you can
call to read/write to the port you specify. its useful to have a parallel
port breakout box, then attempt to write and set/clear the bit because its
really easy to have things inverted.
"Philippe Mercier" <ph.me...@skynet.be> wrote in message
news:3d1a39de$0$6972$ba62...@news.skynet.be...
You can download IOocx.ocx from my homepage. It works fine under .NET. I
also have written an ActiveX control specifically for raw IO with printers.
However, the CreateFile API and the FileStreams class can be used, too.
--
Richard Grier (Microsoft Visual Basic MVP)
See www.hardandsoftware.net for contact information.
Author of Visual Basic Programmer's Guide to Serial Communications, 3rd
Edition ISBN 1-890422-27-4 (391 pages) published February 2002.
Jan Axelson's book, Parallel Port Complete has (old style) VB code that
implements file tranfers via the parallel port. This could be modified,
easily, to VB.NET, using the IOocx.ocx from my homepage. You can get
information on her book using the Books link on my homepage.