Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Printing a DOS file using Windows XP Pro 1

Status
Not open for further replies.
Apr 9, 2003
3
GB
I am DBASE 4Plus on Windows XP Pro, I cannot print any of the Dbase files, i can print in Word and Excel ok, any suggests would be most helpful.
 
I guess the printer is networked and it is accessed as a UNC path (eg \\server\printer) rather than having a printer port mapping set up.
If there is no port mapping, old DOS apps can't use it. To set one up, go to control panel -> Printers -> your printer -> properties -> and find the network properties and see if it can be mapped to LPT1.
I don't have a networked XP machine here to give you exact instructions, perhaps somebody else could help.

John
 
Right click on the bar at the top of the DOS window, select Edit, Select all.
Right click again, select Edit, Copy.
Paste into Notepad.
Might work.

Cheers,
Jim
iamcan.gif
 
Some new "home" lasers and many inkjets (particularly those which are accessed through he usb port do not have drivers that understand DOS and will no be able to be processed by DOS programs.

The tip of copying the report to the clipboard (or to any windows program) may well work.
 
To use a DOS program to print to a network device requires only the following:

C:>NET USE LPT1: \\SERVER\PRINTER
 
Comtech

Reason why I suggested networking is that if the printer was connected to a local LPT port (rather than USB) it would be accessible via the LPT1 connection without any problems. To be honest though, I don't have any really up to date printers here, newest is 3 years old, and hadn't thought it could be USB (or even serial) connected so your suggestion is valid though.

John
 
I am trying to use C:>NET USE LPT1: \\SERVER\PRINTER
but I don't know what to list as the Server. I am on a peer-to-peer network with the printer attached directly to the hub. The printer is not being "served" from any one computer on the network.
 
Most reliable way to accomplish this is to add the printer to your Windows configuration in the same way that you would to print from a Windows app (if you don't already have it). Right click on the printer, select sharing and complete the dialog.

Now you can use the "NET USE LPT1: \\YourComputerName\PrinterName"

YourComputerName is the name of your computer on the network, PrinterName is the name you assigned to the printed when you shared it.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top