Route LPT1 to USB Printer
Results 1 to 5 of 5

Thread: Route LPT1 to USB Printer

  1. #1
    Join Date
    Mar 2000
    Location
    Arkadelphia AR
    Posts
    224

    Route LPT1 to USB Printer

    I have this Dos Program that prints directly to the LPT1 Port.
    Unfortunately, this Laptop I have does not have a parallel port.

    Is there a way that anyone knows of, a Net Use Command or anything, that can re-route my LPT1 port to the printer that is loaded (HP 845c) in my Windows XP Home?

    Any help is appreciated.

    FYI:
    On another note, I DID learn this about Windows XP Home.
    I had made an inquiry long ago asking would XP let you upload Data from a Dos Program to its Comm Port.
    It DOES let you. I was able to initialize the port and get the data from a Data Collection device.

    Thanks for any help offered on the LPT1 redirection.
    Rj
    Microsoft keeps my Old mind active. Right when I get one Op System figured out, we get a new one RjCrash
    *******************************

  2. #2
    Join Date
    Apr 2002
    Posts
    2,122
    Would it work if he were to share his USB printer on the network, then use the 'net use' command to connect to it?

    net use LPT1: \\computer\printer

  3. #3
    Join Date
    Mar 2000
    Location
    Arkadelphia AR
    Posts
    224
    I tried that Off of a network, for the laptop to use its own shared printer.

    I turned sharing on to the printer, without being on a network.
    This laptop will be used with dial up out in the field, no network.

    It would NOT let me issue the command. Got an Error.
    But when I hooked it up to OUR network, it let me issue the command Net Use lpt1: //myputername/myprintername

    I modified Autoexec.bat to use Net Use Persistent:Yes to keep the setting. Rebooted off of the network. No printing. Although it kept the command.

    Thanks for the response. I may have to modify the program to print to a text file, and then have this person open it up in word and print manually.

    Thanks again.
    Any other Idea's (and there may not be any..) would be appreciated
    Rj
    Microsoft keeps my Old mind active. Right when I get one Op System figured out, we get a new one RjCrash
    *******************************

  4. #4
    Join Date
    Apr 2002
    Posts
    2,122
    One last thing you could try (before I completely give up on the net use idea) is to use the loopback address instead of a network address. Try this:

    net use lpt1: \\127.0.0.1\sharename

  5. #5
    Join Date
    Mar 2000
    Location
    Arkadelphia AR
    Posts
    224
    Yup, Im with you Tropical. Net use without a net, may not be the solution.

    Thanks though.
    I get this error if not hooked in to a network..
    System error 1231 has occured.
    The network location cannot be reached. <go see help..etc>.

    Thanks again, guess I'll reprogram that clipper dos program to print to a file, or CSV they can import into Excel. Then Print.

    Once again, thanks for the time and effort.
    Rj
    Microsoft keeps my Old mind active. Right when I get one Op System figured out, we get a new one RjCrash
    *******************************

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •