Question

Locked

How to capture printer port in XP

By stergios_nik ·
Hello.

I have a network printer and my Windows XP clients connect to it via the network.

The problem I have is that I use an old DOS program that requires local LPT1 connection in order to print out the data.

In Windows 98 I was connecting to this network printer and when I was installing the printer's driver I could specify to CAPTURE printer's port and set it to LPT1. By doing this the old DOS program could print on the network printer.

In Windows XP I noticed that I no longer can configure the printer driver because it downloads it automatically from the server thus I can not make this "capturing".

Any ideas how I can I do this in Windows XP?

Thank you in advance.

Stergios

This conversation is currently closed to new comments.

9 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Answers

Collapse -

Look at DEVCON utility from Microsoft.

by techham In reply to How to capture printer po ...

this tool will let you map LPT1 to a network printer.

It's worth a try.

Collapse -

Non-administrator?

by TonytheTiger In reply to How to capture printer po ...

Normally you can use:

NET USE LPT1 \\servername\printername

from a command prompt or batch file,

but if you have a real LPT1 port on the computer, and you are not an administrator, the command will fail.

What we did on ours was to assign the built-in port to LPT2.

Collapse -

Re: How to capture printer port in XP

by rldutch1 In reply to How to capture printer po ...

I know there is another "more permanent" way than what I have written below but I can't remember it right now. When I read your post I began to think that I have done that before and I started looking into it. Here is what I did. I opened up my printer que by double-clicking on the printer icon. From there I selected "Printer" then "Properties" from the menu bar. I then selected the "Ports" tab and clicked the checkbox next to "LPT1" then clicked "Apply". To test it, I opened a command prompt and found a text file on my c: drive. I sent the text file to LPT1 by typing: type textfile.txt > LPT1. I looked in my print que and there was the file waiting to print to LPT1. The file eventually timed out. Then I went back into the properties of the print que and clicked on the "Ports" tab (See above) and re-selected the original network port the printer was printing to. I clicked "Apply" then restarted the print job. After a minute or so (had to wait for my laser printer to wake up), my printer printed out the text document. Hope this helps.

Robert Holland
MCSE/MCDBA

Collapse -

How to capture printer port in XP

by rldutch1 In reply to Re: How to capture printe ...

Actually, I just read TonytheTigers post. That is a better more permanent way if the printer you are printing to has a shared cue on the network. My method printed directly to my network printer via it's IP address.

Robert Holland
MCSE/MCDBA

Collapse -

Capture printer port in XP..

To capture a Networked Printer to an LPT Port on W2K or XP, do the following:

1. Share your local Printer (it can be a USB printer)..
then open a Command Prompt Window and type:

NET USE LPT1: \\computerName\PrinterSharedName

2. Exit the Command Prompt window...

3. Open your other application (in my case, it was a DOS app)
Now print to LPT1.


The better method would be to include the line:
NET USE LPT1: \\computerName\PrinterSharedName
in your applications Startup BAT file or internal Script.

If using a Script (such as in PDOX45 DOS), then the LPT port and the Computer and Printer names can become variables.

Please post back if you have any more problems or questions.
If this info is useful, please mark it helpful. Thanks

Collapse -

Printing delay with captured printer port

by sazman In reply to Capture printer port in X ...

I've already captured the lpt port for my dos application and the printing works, however there is a 15-30 second delay. The odd thing is some computers have the delay and other don't?
Any help is greatly appreciated!
Thank you.

Collapse -

How to capture printer port in XP

by harshad1175 In reply to How to capture printer po ...

Hello.

I have a network printer and my Windows XP clients connect to it via the network.

The problem I have is that I use an old DOS program that requires local LPT1 connection in order to print out the data.

In Windows 98 I was connecting to this network printer and when I was installing the printer's driver I could specify to CAPTURE printer's port and set it to LPT1. By doing this the old DOS program could print on the network printer.

In Windows XP I noticed that I no longer can configure the printer driver because it downloads it automatically from the server thus I can not make this "capturing".

Any ideas how I can I do this in Windows XP?

harshad

Collapse -

Instead of copying a question..........

by ThumbsUp2 In reply to How to capture printer po ...

... which is nearly 2 years old.... Why don't you start your own NEW question. The question you COPIED, word for word, has already been answered.

Back to Networks Forum
9 total posts (Page 1 of 1)  

Related Discussions

Related Forums