"J. L�hlefink" wrote:
>
> Is there anyone who has experience with directly controlling the
> printerport for control purposes? I want to use the port to switch single
> lines, without affecting the printerfunction, so the standard Write command
> or a direct DOS character write is out of the question. I can find examples
> in C and BASIC, but none in (Turbo) Pascal. In line assembly is fine with
> me, as long as I can understand it (simple routines).
http://www.geocities.com/SiliconValley/2926/tpf.html
chapter "serial" (correct, has a parallel subchapter).
Also look at "Windows" chapter for protected mode issues
and how to disable the spooler.
--
Franz Glaser, Glasau 3, A-4191 Vorderweissenbach Austria +43-7219-7035-0
Muehlviertler Elektronik Glaser. Industrial control and instrumentation
------------------------------------------------------------------------
http://members.eunet.at/meg-glaser/ mailto:meg-glaser@eunet.at
http://www.geocities.com/~franzglaser/ http://members.xoom.com/f_glaser/
|