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

Add Your Answer

Uploading: 0%

my-video-file.mp4

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

×

Loading...
Loading...

Related Questions:

1 Answer

How to create a usb dos key


DOSkey.exe is a function in DOS. Not an actual key. It just remember what you typed on the command prompt.

You can always copy DOS files into the USB drive and use from there.

Oct 23, 2012 | Microsoft Windows XP Home Edition

Tip

How to find your MAC address using MS-DOS


The MAC address is the physical address your computer's Ethernet card or network interface card (NIC) uses to identify itself to other computers and devices on your network. There are different ways to find your Ethernet card's MAC address, depending on what operating system and programs you have installed. Since most Windows-based computers have access to the MS-DOS command prompt, using DOS to find your MAC address is one standard way to do it.

There are a couple of different tools you can use in MS-DOS to find your MAC address. All of them requiring opening a command prompt window, which you can do by typing "cmd" into the Run bar on the Start menu (or in Windows Vista or 7, you can type it into the Search bar instead).

- Getmac

Getmac is a utility that is included on Windows Vista computers and on newer Windows XP systems. Typing "getmac" by itself on a command line will return the MAC addresses of any NICs that you have installed in your computer. (If you have an Ethernet NIC and a wireless NIC, for example, Getmac will list the MAC addresses for both of them.)

- Ipconfig

Ipconfig is a command that will display your IP address if you are currently connected to a network. However, by adding the "/all" switch to it, you can also see your MAC address, as well as many other configuration settings. Type "ipconfig /all" and look for the line labeled "Physical Address." If you have more than one NIC, the MAC address for each NIC will be displayed separately.

on Oct 04, 2010 | Microsoft MSDOS 6 Upgrade Operating System

3 Answers

How to create simple batch files


Creating a batch file
MS-DOS users
Microsoft Windows and other users

MS-DOS users
To create a basic batch file in MS-DOS, follow the below steps that give you an example of how to create a basic batch file.

  1. Open an MS-DOS command window or get to MS-DOS. Additional information about doing this can be found on document CHDOS.
  2. At the MS-DOS prompt, type: edit test.bat and press enter.
  3. If typed properly, you should now be in a blue screen. Within the screen, type:

    pause
    dir c:\windows
    dir c:\windows\system

  4. Once the above three lines have been typed in, click File and choose exit; when prompted to save, click "Yes." Users who do not have a mouse cursor can accomplish this same task by pressing ALT+F to access the file menu, then pressing "X" to exit, and pressing enter to save changes.
  5. Once you are back at the MS-DOS prompt, type: test and press enter. This will execute the test.bat file and begin running the file. Because the first line is pause, you will first be prompted to press a key. Once you press a key the batch file will run line-by-line; in this case, listing the files in the windows and windows\system directories.
If you wish to add more lines to this batch file you would simply type "edit test.bat" to edit the file again.
Additional information about the MS-DOS edit command can be found on our edit command page. Some versions of MS-DOS and bootable diskettes may not have the edit command; if this is the case, you would either need to obtain the edit.com file to access this file or use the copy con command.




Microsoft Windows and other users
A Windows user can still use the above MS-DOS steps if they wish to create a batch file. If, however, you're more comfortable using Microsoft Windows or your operating system, you can use any text editor, such as Notepad or Wordpad, to create your batch files, as long as the file extension ends with .bat. In the below example we use the Windows notepad to create a batch file.
  1. Click Start
  2. Click Run
  3. Type: notepad and press enter.
  4. Once notepad is open, type the below lines in the file or copy and paste the below lines into notepad.

    @echo off
    echo Hello this is a test batch file
    pause
    dir c:\windows

  5. Click File and click Save; browse to where you want to save the file. For the file name, type "test.bat", and if your version of Windows has a "Save as type" option, choose "All files", otherwise it will save as a text file. Once all of this has been done click the Save button and exit notepad.
  6. Now, to run the batch file, simply double-click or run the file like any other program. Once the batch file has completed running it will close the window automatically.

Jan 04, 2011 | Operating Systems

2 Answers

How to remove Recycler in my Computer? pls help


recycler is one type of virus...

as my experience some of anti-virus cannot remove it from your system...

you can't delete it automatically,
format is what i recommend to you...

Feb 12, 2010 | Operating Systems

1 Answer

HOW DO I BLOCK AN IP?...IM GETING HACKED, IT WONT STOP


The easiest means to block IP addresses in Windows XP is to use Internet Protocol Security (IPSec) filtering rules. The primary reason to block IP addresses is to protect your computer from network-based threats, such as computer worms, viruses and other malware. To block IP addresses in Windows XP, you will need to activate and configure IPSeccmd, the firewall that comes bundled with Windows XP. IPSeccmd does not come preinstalled with XP on your computer. It can be found on Disk 2 of your service pack upgrade or downloaded from Microsoft directly.



  1. Install IPSeccmd from your Window's XP Service Pack 2 installation disk.
  2. Step 2 Open the Command Prompt on your computer by selecting "Start > Run" from the primary file menu and type the word "cmd" in the blank text field that appears.
  3. Step 3 Enter the following command at the DOS command prompt to block a specific communication type (UDP or TCP) and port number on your computer:
    "IPSeccmd.exe -f [*=0:PortNumber:Protocol]
  4. Step 4 Open the user interface for IPSeccmd on your desktop, and select the "General" tab under the "Policy" section. Choose the "IP Block" option and enter the specific IP address of the host(s) that you desire to block. Exit the application when complete.



Jul 07, 2009 | Microsoft Windows XP Home SP3 for PC

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 | Operating Systems

1 Answer

Cannot print dBase III+ dbf files with WindowsXP


go in printer menu under ports selct ltp ok not usb try that 1st thx nick

Jan 28, 2008 | Microsoft Windows XP Home Edition

1 Answer

NET WORK DOS PRINT


1.
copy [disk][path][filename] print

2.
print [disk][path][filename]

Example:
copy c:\log.txt print
print c:\log.txt

Jan 12, 2008 | Microsoft Windows XP Professional With...

2 Answers

Unable to load


How to get to a MS-DOS prompt.
Reason: If Windows or the computer is not operating properly, it may be necessary to get to a MS-DOS prompt to diagnose and to perform additional troubleshooting on the computer.
Solution: MS-DOS users
Windows 3.x users
Windows 95, 98 and ME users
Windows NT, 2000 and XP users
Windows Vista users
Other PC Operating System users

MS-DOS users If you are running MS-DOS with no other operating systems, the computer should be booting into a MS-DOS prompt automatically unless you have a shell or other program loading automatically. If the computer is not getting you to a MS-DOS prompt, reboot the computer and as the computer is booting, press the F5 key when you see the message "Starting MS-DOS" or the MS-DOS version. This will load the default standard MS-DOS. If you successfully get to a MS-DOS prompt and would like to prevent the computer from loading the program that is preventing you from getting to a MS-DOS prompt, or if you would like to fix possible error messages you may be receiving when booting the computer, edit the autoexec.bat and/or the config.sys files.

Windows 95, 98, and ME users If you are able to get into Windows 95, 98 or ME, you can get to a MS-DOS prompt by following the below steps.
  1. Click Start
  2. Click Run
  3. Type "command" and press enter.
This will open a MS-DOS shell. However, if you are attempting to troubleshoot an issue with the computer and are using Microsoft Windows 95 or Windows 98we suggest you restart the computer into MS-DOS. To do this follow the below steps.
  1. Click Start
  2. Click Shutdown
  3. Choose the option to restart the computer into a MS-DOS prompt.
If you are unable to get into Windows 95 or Windows 98 to get into a MS-DOS prompt, follow the below instructions (Windows ME does not have this option).
  1. Reboot the computer
  2. As the computer is booting, press the F8 key when you hear a beep or when you see "Starting Windows 95" or "Starting Windows 98". Windows 98 users sometimes may find it easier to press and hold the left CTRL key as the computer is booting.
  3. If done properly the user should get to a screen similar to the below screen.
Microsoft Windows 95 Startup Menu
============================= 1. Normal
2. Logged (\BOOTLOG.TXT)
3. Safe mode
4. Step-by-step confirmation
5. Command prompt only
6. Safe mode command prompt only
Enter a choice: 1
F5=Safe Mode Shift+F5=Command prompt Shift+F8= Step-by-step confirmation [N]

4. Select the option for Safe mode command prompt only.
Windows NT, 2000, XP, and Vista users If you're running Windows NT, 2000, or Windows XP and need to get to MS-DOS prompt follow the below steps.
  1. Click Start
  2. Click Run or click in the "Start Search" field if you're running Vista
  3. Type "cmd" or "command" and press enter.
Additional information about the difference between "cmd" and "command" can be found on document CH000395. If you're attempting to get into a MS-DOS prompt to troubleshoot the computer boot the computer into safe mode. Additional information about how to get into safe mode can be found on document CHSAFE. Windows 2000, XP, and Vista users who are unable to boot the computer into Normal Windows mode or Safe mode can also enter the recovery console to manage their computer from a prompt. Additional information about how to do this can be found on document CH000627. Finally, if you are experiencing issues getting into Windows NT, 2000, or XP, it may be necessary to run troubleshooting steps from a MS-DOS prompt. It is recommended that the Network Administrator get into the MS-DOS prompt by using either a standard MS-DOS boot diskette (note: will not be able to access data using a standard MS-DOS bootable diskette) or the ERD diskettes created after the installation of Windows NT, or boot from the Windows XP CD.

dot.gif
Index
question.gif dot.gif
Category:

MS-DOS Q&A

Companies:

Microsoft

Related Pages:
MS-DOS
Safe Mode

Resolved
question.gif
Were you able to locate the answer to your questions?
dot.gif dot.gif

Dec 06, 2007 | Microsoft Windows XP Home Edition

3 Answers

System not booting


take windows xp cd and repair from the cd

Sep 01, 2007 | Microsoft Windows XP Professional With...

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 Operating Systems Experts

Brian Sullivan
Brian Sullivan

Level 3 Expert

27725 Answers

Scott Fryer

Level 2 Expert

80 Answers

Carlos L. Burgos
Carlos L. Burgos

Level 2 Expert

508 Answers

Are you a Microsoft Operating System Expert? Answer questions, earn points and help others

Answer questions

Manuals & User Guides

Loading...