TIP: Click on subject to list as thread! ANSI
echo: pascal
to: ALL
from: `Ing. Franz Glaser`
date: 1999-04-10 00:00:00
subject: Re: Direct printer port control

"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/

SOURCE: alt.fidonet via archive.org

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.