πŸš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.comp.lang.visualbasic.ver3
Article #35

Re: How to Controll Parallel Port with Visual Basic?

#35
From: Dave Fisher
Date: Tue, 27 Nov 2001 23:32
55 lines
2964 bytes
This rather depends on what operating system you are using - we use an
Active X control to do this
under VB see http://www.jspayne.com/ for more info

Pls let me know if you find a better way

Rgds

Dave Fisher



"RichC" <rocourtney@att.net> wrote in message
news:R4VL7.3486$Kc2.321763@newsread1.prod.itd.earthlink.net...
> Try winio from http://www.internals.com
>
> "ΤΏοΏ½" <someone@nowhere.com> wrote in message
> news:0rjJ7.42400$wd1.3269601@news20.bellglobal.com...
> > Hi, I'm trying to find simple code to control the parallel port from
> Visual
> > Basic 6.  I have it coded in QuickBASIC, but this is very primitive and
I
> > would like to transfer it into VB.  The only problem is, I have no idea
> what
> > the commands are, all I can find is controlling the printer, but I just
> want
> > to send bits down the parallel port, not print a document.
> >
> >
> >
> > This is the code I figured out for QB (where thenumber could be from 0
to
> > 256):
> >
> >
> >
> > OUT &H378, thenumer
> >
> >
> >
> > Does anyone know how to do this simply in VB?
> >
> >
> >
> > Thanks a lot
> >
> >
> >
> > Kevin White
> >
> >
> >
> >
>
>
Technical Details
Message-ID: <tmVM7.32107$SJ3.336413@NewsReader>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!btnet-peer0!btnet-feed5!btnet!NewsPeer!Fusion!NewsReader.POSTED!not-for-mail
References: <0rjJ7.42400$wd1.3269601@news20.bellglobal.com> <R4VL7.3486$Kc2.321763@newsread1.prod.itd.earthlink.net>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: 1053fc,1546af30974a0198
X-Google-Attributes: gid1053fc,public
X-Google-Thread: 110e3b,1546af30974a0198
X-Google-Attributes: gid110e3b,public
X-Google-Thread: 108062,1546af30974a0198
X-Google-Attributes: gid108062,public
X-Google-Thread: 115e07,1546af30974a0198
X-Google-Attributes: gid115e07,public
X-Google-Thread: 10b997,1546af30974a0198
X-Google-Attributes: gid10b997,public
X-Google-Thread: fb992,1546af30974a0198
X-Google-Attributes: gidfb992,public
X-Google-Thread: 1023e1,1546af30974a0198
X-Google-Attributes: gid1023e1,public
X-Google-Thread: f645d,1546af30974a0198
X-Google-Attributes: gidf645d,public
X-Google-ArrivalTime: 2001-11-27 15:32:34 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!btnet-peer0!btnet-feed5!btnet!NewsPeer!Fusion!NewsReader.POSTED!not-for-mail
From: "Dave Fisher" <dave@distel.co.uk>
Newsgroups: alt.comp.lang.visualbasic.ver3,comp.lang.basic.visual,comp.lang.basic.visual.misc,comp.lang.visual.basic,cz.comp.lang.basic.visual,es.comp.lenguajes.visual-basic,it.comp.lang.visual-basic,japan.comp.lang.visual-basic
References: <0rjJ7.42400$wd1.3269601@news20.bellglobal.com> <R4VL7.3486$Kc2.321763@newsread1.prod.itd.earthlink.net>
Subject: Re: How to Controll Parallel Port with Visual Basic?
Lines: 57
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4133.2400
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
Message-ID: <tmVM7.32107$SJ3.336413@NewsReader>
Date: Tue, 27 Nov 2001 23:32:51 -0000
NNTP-Posting-Host: 213.120.147.107
X-Trace: NewsReader 1006903833 213.120.147.107 (Tue, 27 Nov 2001 23:30:33 GMT)
NNTP-Posting-Date: Tue, 27 Nov 2001 23:30:33 GMT