Loading a Network Card in Dos

Posted on 2006-05-06
Last Modified: 2008-02-07

How do I load a network card in dos?

Then how do I map an IP Address to an LPT1 port so when I print from the dos program it goes to the IP addresses printer?
I am using an dIntel 82559 Fast Ethernet Card

Thank you,

Question by:linder76
    LVL 14

    Expert Comment


     You need a boot floppy (or a boot CD) to start dos with microsoft network support  (or a pc with dos and ms network client )
    u can find msclient (lanman, windows for workgroup...) in  need dos driver configure some file...
    it's a long story better an old story form me ;)
    The easy way , I think is Bart network boot disk  

     download BFD full package ftom, unzip it and from the command prompt run the following command for create te network disk
     bfd msnet
     Boot with your network boot disk, fill some dialog ( auto detect, ip...)
    when prompt arrive to connect the printer from dos:
    net use lpt1 \\yourServer\yourPrinter
    u can use IP address
    net use lpt2 \\\yourPrinter

    If find problem with netcard autodetect, try manually choose "intel pro" the last resort
    is create cab file with last driver downloaded from intel:

    Author Comment

    Is there anyway not to use a boot disk? Can it be writen intot the config and autoexc file.

    I am looking for the script for that.

    LVL 44

    Expert Comment

    First part is not that bad, go to  -- they have network boot disks for you to download there.

    2nd part of question --"Then how do I map an IP Address to an LPT1 port so when I print from the dos program it goes to the IP addresses printer?  I am using an dIntel 82559 Fast Ethernet Card"

    You will find this VERY VERY difficult to do.  It is not impossible, but DOS requires so many TCP/IP drivers to load that you cannot get them all on a single disk, so it is extremely difficult to print to an IP address or network name in DOS.
    LVL 44

    Expert Comment

    Sure you can do this, but why not just boot windows 98 SE, it has full network support for DOS, and any DOS box running under 98SE has access to all 98SE network resources, AND network printers, by redirecting ports.  You really need to run this under windows 98SE, it is a perfect solution for what you are doing, and a GREAT OS for DOS too!!
    LVL 14

    Expert Comment

    The long way:
    download DSK3-1.EXE and DSK3-2.EXE from
    download driver from intel for the nic
    run in a windows Pc prodos.exe copy prodos\pro100 and put in a floppy (neded when u run msclient setup)

    run  DSK3-1.EXE and DSK3-2.EXE
    now you can see setup.exe
    run setup.exe after  
    choose "*network adapter not shown on list below ..."
    load intel driver from floppy  prodos\pro100
    go ahead answer "user name" ..
    choose "change network configuration"
    choose "add protocol" -> "microsoft tcpip"
    select "NWlink IPX compatible transport" -> choose "Remove" (this is the default protocol installed by msclient . u don't need)
    select  "microsoft tcpip" -> choose "change settings" (enter your ip netmask etc, remeber ip/netmask/gateway without dot 123 123 123 123)
    exit and save
    now in your autoexec.bat is like this
    mode con codepage prepare=((850) C:\WINDOWS\COMMAND\ega.cpi)
    mode con codepage select=850
    keyb it,,C:\WINDOWS\COMMAND\keyboard.sys
    C:\NET\net initialize
    C:\NET\net start

    device=C:\WINDOWS\COMMAND\display.sys con=(ega,,1)


    Author Comment

    The reason why I need to run in pure dos is because the program will not work in dos in winodws.
    I will do this and get back to you.

    Thank you
    LVL 44

    Expert Comment

    there is almost no DOS program that cant be made to run under a DOS box in windows 98SE just by tweaking the DOS box parameters.  But first try canalis suggestions.
    LVL 22

    Accepted Solution

    I think you can only map a LPT port to a share, not an IP address in DOS.  Probably what you will need to do is set up the printer as a direct TCP/IP printer on a Windows 9x/2000/XP box and then share it.  Setup whatever network account you are using in DOS on that 9x/2000/XP machine, then do this:

    net use LPT1 \\server\sharename /persistent:yes

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How to improve team productivity

    Quip adds documents, spreadsheets, and tasklists to your Slack experience
    - Elevate ideas to Quip docs
    - Share Quip docs in Slack
    - Get notified of changes to your docs
    - Available on iOS/Android/Desktop/Web
    - Online/Offline

    Suggested Solutions

    Occasionally Windows/Microsoft Updates will fail to update. We have found a code that will delete all temporary files and re-register all dll's related to Windows/Microsoft Updates! This works 99% of the time to get the updates working again! The…
    Hello I read in a discussion about a person who configured a very simple mirror RAID with two hard drives; the system and data were on the same partition. He asked how to repair the system as it was not booting up anymore. In his case running …
    Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…
    Hi everyone! This is Experts Exchange customer support.  This quick video will show you how to change your primary email address.  If you have any questions, then please Write a Comment below!

    760 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    7 Experts available now in Live!

    Get 1:1 Help Now