🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.pascal.borland
Article #691

Re: Direct printer port control

#691
From: Ing. Franz Glaser
Date: Sat, 10 Apr 1999 00:00
20 lines
2329 bytes
"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/
Technical Details
Message-ID: <370F26A5.BAD10623@eunet.at>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <01be831d$0deb3080$a3836dc2@ws-02>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: 144a4e,4efda1c8e6a04777
X-Google-Attributes: gid144a4e,public
X-Google-Thread: 111659,4efda1c8e6a04777
X-Google-Attributes: gid111659,public
X-Google-Thread: 110467,4efda1c8e6a04777
X-Google-Attributes: gid110467,public
X-Google-Thread: 110930,4efda1c8e6a04777
X-Google-Attributes: gid110930,public
X-Google-Thread: 13edfe,4efda1c8e6a04777
X-Google-Attributes: gid13edfe,public
X-Google-Thread: 108d84,4efda1c8e6a04777
X-Google-Attributes: gid108d84,public
From: "Ing. Franz Glaser" <meg-glaser@eunet.at>
Subject: Re: Direct printer port control
Date: 1999/04/10
Message-ID: <370F26A5.BAD10623@eunet.at>
X-Deja-AN: 464746963
Content-Transfer-Encoding: 8bit
References: <01be831d$0deb3080$a3836dc2@ws-02>
To: J. Löhlefink <slfink@xs4all.nl>
X-Accept-Language: en
Content-Type: text/plain; charset=iso-8859-1
X-Complaints-To: abuse@Austria.EU.net
X-Trace: fleetstreet.Austria.EU.net 923739771 10478 193.81.169.184 (10 Apr 1999 10:22:51 GMT)
Organization: http://members.eunet.at/meg-glaser/
Mime-Version: 1.0
NNTP-Posting-Date: 10 Apr 1999 10:22:51 GMT
Newsgroups: comp.lang.pascal.borland,fido.ger.pascal,fidonet.pascal,fidonet.pascal.028,fidonet.pascal_lessons,z-netz.sprachen.pascal