Question about Microsoft Windows XP Professional

1 Answer

Print to a USB port in DOS in Windows XP

Is there an equivalent command from DOS to "type (filename) LPT1 I can use on a newer notebook computer running Windows XP that does not have any LPT ports? I use some older DOS software that in my business and need to be able to redirect the output from DOS to a USB port.

Posted by on

1 Answer

  • Level 2:

    An expert who has achieved level 2 by getting 100 points

    MVP:

    An expert that got 5 achievements.

    Scholar:

    An expert who has written 20 answers of more than 400 characters.

    Hot-Shot:

    An expert who has answered 20 questions.

  • Expert
  • 96 Answers

This is an interesting question .... I never thought much about using a USB printer in DOS!

Well ...this is probably the easy fix :

http://www.dos2usb.com/


Program called dos2usb which claims to do exactly what you want (15 day free trial download ....$19.99 to buy the program)

The harder fix that won't cost anything is to do some network jiggery pokery to redirect data sent to a parallel port to a usb port. Here's a link on how the folks at Dataflex did it :

http://www.decompile.com/dataflex/tips/usb_printer.htm


Posted on Jan 01, 2009

1 Suggested Answer

6ya6ya
  • 2 Answers

SOURCE: I have freestanding Series 8 dishwasher. Lately during the filling cycle water hammer is occurring. How can this be resolved

Hi,
a 6ya expert can help you resolve that issue over the phone in a minute or two.
best thing about this new service is that you are never placed on hold and get to talk to real repairmen in the US.
the service is completely free and covers almost anything you can think of (from cars to computers, handyman, and even drones).
click here to download the app (for users in the US for now) and get all the help you need.
goodluck!

Posted on Jan 02, 2017

Add Your Answer

Uploading: 0%

my-video-file.mp4

Complete. Click "Add" to insert your video. Add

×

Loading...
Loading...

Related Questions:

1 Answer

WHY DOT MATRIX PRINTER NOT PRINTING DOS BASE PRINTS


It can't.
DOS printing need LPTx parallel port because DOS don't understand/support USB.

YOU can share the printer with windows printer driver, then
go to CMD prompt
Type
Net use lpt1 \\<computername>\<printersharename>
Then print DOS job to LPT1

May 12, 2014 | Parallel USB Print Server 2 Port USB&1...

2 Answers

NOT PRINTING OUT OF DOS PROGRAM


The problem is, the DOS program tries to print to LPT1, which is your parallel port. We need to redirect this to your USB Port. First, you have to set up printer sharing: Go to Control Panel | Printers | Your printer and share the printer. Assuming that you share it with the share name "MYPRINTER" and the computer is called "MYCOMPUTER", then type go to Start | Run and type in: NET USE LPT1: \\MYCOMPUTER\MYPRINTER /PERSISTENT:YES That should do the trick, unless there's a driver problem, which is unlikely for a dot matrix printer. If that doesn't work, let me know and I can troubleshoot further.

Sep 09, 2007 | Panasonic KX-P2130 Matrix Printer

1 Answer

I have a retail store with 7 x Win 7 Workstations. i have 1 x Epson Tm-T88iii thermal receipt printer connected and installed on lpt1 port on my 1 workstation. We use a Dos application for our sales. The...


Hi, details below for creating a ersistent connection from LPT1: to you \\computer\\printername printer. Do the following on the other workstation that is not printing.

Use the net.exe command to establish a persistent connection.

To do this, use the following syntax at a command prompt:

net use lpt1 \\printserver\sharename /persistent:yes

where printserver is the print server that is sharing the printer, and where sharename is the name of the printer share.

For example, to map LPT1 to a printer shared as Laser1 on a print server that is named Pserver, follow these steps:

1. Click Start, and then click Run.
2. In the Open box, type cmd, and then click OK.
3. Type net use lpt1 \\pserver\laser1 /persistent:yes, and then press ENTER.
4. To quit the command prompt, type exit, and then press ENTER.

Note In Windows XP, non-administrative users cannot map an LPT port to a network printer path when the LPT port exists on the computer as a physical parallel port.

Apr 12, 2011 | Epson TM-T88III Thermal Printer

1 Answer

I cant use usb printer to get print out from dos base softwear


If you are using a NT based Windows (ex. win nt, win 2000, win xp, etc...) you could try sharing the printer than MAP it as a network printer and direct it to a virtual LPT port with a DOS command ex: net use lpt2: \\ComputerName\SharedPrinterName /yes

Than setup the DOS software to print on LPT2 it should worke, i've done this many many times

Note: if you absolutely have to use LPT1 dont forget to change the physical LPT 1 port in Windows hardware manager to something els so it do not conflict with the virtual one

Good luck!

Feb 15, 2011 | Epson LX-300+ II Matrix Printer

1 Answer

Print from DOS


Try Start --> Programs --> MS DOS

or Start --> Run --> enter CMD

this will take you to a DOS screen

To print a file use the type command and pipe it to LPT1
e.g. type myfile.log > lpt1

Feb 16, 2009 | Compaq Inkjet Ij300 Printer

1 Answer

Need help installing the firmware for an HP LJ p3005n. I have the download, and the printer is locally connected *USB*


David,

As per the instructions from HP for windows systems:

If the device is shared on the network, then the following command can be issued from a command prompt: copy /b FILENAME \\SHARENAME\PRINTERNAME
where FILENAME is the name of the .RFU file,SHARENAME is the name of the machine, from which the printer is being shared, and PRINTERNAME is the printer's share name.
If the device is attached locally, then the .RFU file can be sent directly to the printer with a COPY command from a command prompt or DOS window:
copy /b FILENAME PORTNAME
where FILENAME is the name of the .RFU file and PORTNAME is the name of the appropriate device port (such as LPT1).
The following can be set on the computer to help address a timeout message that may occur during an update:
From a command prompt or DOS window type the following command and press the enter key:
Mode lpt1:,,p
If the device is attached to a parallel port other than LPT1, then substitute the proper LPT port number in the MODE command. Once this command has been set the file can then be copied to the printer with the above mentioned COPY command.
NOTE: When the upgrade process has completed the LaserJet will reboot. Once the printer is back online, print a Configuration Page and verify that the new firmware has been installed.

-------------------------
Chris
Alkaline Water

Dec 05, 2008 | HP LaserJet P3005n Printer

2 Answers

USB printing through DOS mode


Google for DOS PRINT USB, and you'll find some utilities that do this.

Or, you can include some commands in your batch file.

First, get the device name:

In a DOS window, type NET VIEW ComputerName (or use 127.0.0.1)

Once you know the printer share name, you use it in a batch file.

NET USE lpt1: \\ComputerName\ShareName /Persistent:Y

This captures the print queue to the shared printer.

You must also go into Printer Properties/Advanced/Print Processor and set it to TEXT

Your copy, print and other commands will work.

Jul 12, 2008 | Computers & Internet

2 Answers

Dos Program in FoxPro


To answer the question, I need to k**w if your DOS session is running inside Windows. As this is the most likely scenario, I'll answer assuming that - the answer will be different for DOS only systems.

Has the faulty LPT1 port has actually been removed? If it has, why **t just alter the port number of LPT3 back to LPT1 ? This can be done with jumpers on an old style card, or from device manager inside Windows if plug and play. If **t, you can try the following:

1: If the printer is already installed in Windows on LPT3, skip to step 3:
2: Install the printer in Windows. If you don't have a suitable driver for it, you can use Generic/Text only driver.
3: Right click on the printer, go to sharing, and make the printer shareable. Use a share name of 11 or less characters and ** spaces - e.g. EPSONLX500
4: From the CMD prompt, type the command:

net use lpt1: \\%computername%\Sharename

e.g.

net use lpt1: \\%computername%\EPSONLX500

**te that you do **t need to replace %computername% with your exact computer name - the machine will do it for you.

Finally, for others reading this, you can also use this technique to print from DOS to most "intelligent" USB printers (Hi end Laser, Dot Matrix etc). It probably won't work with "dumb" GDI printers or All-in-ones where Windows has to do all the work. If the printer supports PCL or ESCP printing languages, you are probably going to be OK.

Mar 10, 2008 | Office Equipment & Supplies

2 Answers

Printing from Dos Prompt


1. Save your text file (.txt).

2. On the command prompt navigate to that directory

3.Type "Lpr -S 192.168.1.200 -P lp text.txt"

Substitute 192.168.1.200 for your copier's ip

Substitute text.txt to filename.

 

Or you can: to print from MS-DOS apps.

1. Share the printer on a networked windows computer. Make sure you make the name MS-DOS compatible.

2. At a DOS prompt, type the following command:
"net use lpt1: \\servername\printer_share/persistent:yes"

NOTE Servername=computer name

printer_share=printers share name

 

Sep 28, 2007 | Office Equipment & Supplies

Not finding what you are looking for?
Microsoft Windows XP Professional Logo

206 people viewed this question

Ask a Question

Usually answered in minutes!

Top Microsoft Computers & Internet Experts

micky dee

Level 3 Expert

2644 Answers

Piyal Perera
Piyal Perera

Level 3 Expert

528 Answers

Les Dickinson
Les Dickinson

Level 3 Expert

18386 Answers

Are you a Microsoft Computer and Internet Expert? Answer questions, earn points and help others

Answer questions

Manuals & User Guides

Loading...