Can VB 6.0 control 8 data bit pins of LPT port? - basic.visual

This is a discussion on Can VB 6.0 control 8 data bit pins of LPT port? - basic.visual ; Hi, I'm trying to send 8 bits to the lpt port. I'd like to use VB 6.0. Can this be done? VB can send data to a printer, but can it go as low as actually sending bits? I think ...

+ Reply to Thread
Results 1 to 2 of 2

Can VB 6.0 control 8 data bit pins of LPT port?

  1. Default Can VB 6.0 control 8 data bit pins of LPT port?

    Hi, I'm trying to send 8 bits to the lpt port.
    I'd like to use VB 6.0. Can this be done?
    VB can send data to a printer, but can it
    go as low as actually sending bits? I think
    VB can only send bytes. If VB can only send
    bytes. Can the bits in the bytes be specific?
    Can I send , 1 0 1 0 0 0 1 , out the 8 pins
    of the printer port?

    I want to control a 8255 PPI IC. The 8255
    has 8 data bits , the Control Word.
    There are 16 Control Words.
    I got a list box for each 16 Control Word.
    Now how to send these bits via VB to the
    lpt port.

    thanks
    Ed




  2. Default Re: Can VB 6.0 control 8 data bit pins of LPT port?

    On Sun, 17 Apr 2005 06:51:55 GMT, "EN" <res808c4@earthlink.net> wrote:

    >Hi, I'm trying to send 8 bits to the lpt port.
    >I'd like to use VB 6.0. Can this be done?
    >VB can send data to a printer, but can it
    >go as low as actually sending bits? I think
    >VB can only send bytes. If VB can only send
    >bytes. Can the bits in the bytes be specific?
    >Can I send , 1 0 1 0 0 0 1 , out the 8 pins
    >of the printer port?
    >
    >I want to control a 8255 PPI IC. The 8255
    >has 8 data bits , the Control Word.
    >There are 16 Control Words.
    >I got a list box for each 16 Control Word.
    >Now how to send these bits via VB to the
    >lpt port.
    >
    >thanks
    >Ed
    >
    >


    Check Jan Axelson's page on the parallel printer at her site:
    www.lvr.com
    VB can access the printer port with the use of an inteface DLL - there
    are even sone free ones.



+ Reply to Thread

Similar Threads

  1. asserting pins in serial port using labVIEW 6i
    By Application Development in forum labview
    Replies: 2
    Last Post: 10-22-2007, 04:18 AM
  2. Using data from a form control as part of a subform control calcul
    By Application Development in forum DOTNET
    Replies: 0
    Last Post: 05-07-2007, 09:44 AM
  3. How to control parallel port using ASP language
    By Application Development in forum basic.visual
    Replies: 2
    Last Post: 01-28-2004, 04:30 AM
  4. How to control parallel port using ASP language
    By Application Development in forum basic.visual
    Replies: 0
    Last Post: 01-25-2004, 05:17 PM
  5. [Mico 2.3.10 + CCM] how to control port allocation?
    By Application Development in forum Object
    Replies: 0
    Last Post: 11-17-2003, 07:21 PM