Article View: att.lang.c++
Article #259Re: Printer port!
From: www.digispec.com Digispec
Date: Thu, 12 Feb 1998 00:00
Date: Thu, 12 Feb 1998 00:00
32 lines
1864 bytes
1864 bytes
In article <01bd341f$cd93fbe0$0100007f@donald>, ingar.hauge@bu.telia.no
says...
>
>I need to write a small program which has the ability to switch on/off
any
>of the pins in the printerport. I wonder if there is any special memory
>address that I can write to to alter these settings (switch the voltage
>on/off).
>
>Regards
>Ingar Hauge
Dont know why this post is here, but here goes:
Since you cant "directly" poke a value to the lpt port, you
will have to decide what pin you want on, convert that binary
layout to decimal and send that character to the lpt port.
This is really a programming task. Let me know if you want
one written. It will cost, but so does everything else.
Andrew
andrew at digispec dot com (Spam Proof!)
=======================================================================
Real men code HTML in the raw!
=======================================================================
Technical Details
Message-ID:
<6btm8h$34h@enews3.newsguy.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<01bd341f$cd93fbe0$0100007f@donald>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 16a97b,712f837dd8768585 X-Google-Attributes: gid16a97b,public X-Google-Thread: 10d4ba,712f837dd8768585 X-Google-Attributes: gid10d4ba,public X-Google-Thread: 12fbaa,712f837dd8768585 X-Google-Attributes: gid12fbaa,public X-Google-Thread: 10c73c,712f837dd8768585 X-Google-Attributes: gid10c73c,public X-Google-Thread: 109fba,712f837dd8768585 X-Google-Attributes: gid109fba,public X-Google-Thread: 104cf5,712f837dd8768585 X-Google-Attributes: gid104cf5,public From: www.digispec.com (Digispec) Subject: Re: Printer port! Date: 1998/02/12 Message-ID: <6btm8h$34h@enews3.newsguy.com> X-Deja-AN: 324330656 References: <01bd341f$cd93fbe0$0100007f@donald> Organization: http://extra.newsguy.com Newsgroups: att.lang.c++,comp.lang.c++,comp.sys.ibm.pc.hardware.cd-rom,de.comp.lang.c++,ssc.comp.lang.c++,wnbbs.fido.ger.c++