Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.

Windows 7: Configuring LPD for a USB printer

07 Oct 2010   #1

Windows 7 Ultimate 32 bit
Configuring LPD for a USB printer

Hi all,

I have a USB printer that I would like to configure to print via LPD/LPR. How do I do this?

I have installed LPD and LPR already on my Win 7 Ultimate machine. I have also added my USB printer and it prints perfectly fine on its own. However changing the port to LPR does not seem to work.

My System SpecsSystem Spec
07 Oct 2010   #2


When you say you have changed the port to LPR do you mean LPT? as this would direct the print output to the parallel port on the back of your machine instead of to the USB. What are you using that needs LPD or LPR for? If you can give additional info, the guys here may be able to help solve your prob.
My System SpecsSystem Spec
07 Oct 2010   #3

Windows 7 Ultimate 32 bit

I am developing a PHP script that will run locally on a computer. I need a way for that PHP script to fire off two print jobs simultaneously (each one going to a different USB printer that is directly connected to the machine). Because our client wants as little of a footprint as possible, building a full fledged Windows application is out of the question.

Basically the problem is: how do I fire two print jobs simultaneously and automatically using the command line and existing software? Of course there is the DOS print command, but using this or echo does not seem to work on USB printers.

So I believe the answer lies somewhere in running an LPD service on the machine, then configuring both printers to use an LPR port. And then using the "lpr" command in the command prompt to print to both printers. The problem is, I don't know how to get both printers set up properly.

Here is what I'm doing exactly:
1. installed Print and Document services from Programs and Features
2. Start->Devices and Printers->right clicked on the printer->Printer properties->Ports tab->Add Port->LPR port
3. I entered "localhost" for server name and the name of the printer as it appeared on Devices and Printers for printer name
4. I did this for both printers
5. on the command line, i typed: "lpr -S localhost -P printername testprint.txt
6. I get "Error: print server did not accept request. Job aborted."

Hope this explains the problem better

My System SpecsSystem Spec

08 Oct 2010   #4


I've had a look around and found this article that may help you out...give it a go, it was written for win2K but should still be good as the principle is the same:-
Connecting an MS-Dos Application to a Printer on a USB Port on Windows 2000
My System SpecsSystem Spec

 Configuring LPD for a USB printer

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Similar help and support threads
Thread Forum
configuring a new HDD
I would like to add a second HDD to my computer system. I have a refurbished Gateway which came with Windows 7 Home Premium 64 bit already installed. I don't have any manulas or installation disks. I feel confident about the physical process of adding in the new HDD but I'm not sure about the...
Hardware & Devices
Configuring Windows 7
Is there any good instructions for configuring W7? Like getting rid of unneccessary features that run in the background such as Windows Firewall or whatever. That way, the OS can use minimum resources.
Performance & Maintenance
Configuring Updates but it does not
From around about three days back I when turning my PC on I get the message configuring update do not switch off your computer 0 % done. Now normally it will go through the process of configuring the updates downloaded however this time it just sits at 0% until it seems to time out and then it...
Windows Updates & Activation
Failure configuring SP1
I can download install and configure SP1 until 99% complete than it says failure to configure SP1 and reverts changes, error is E_FAIL(0x80004005)
Windows Updates & Activation
Configuring RAM
So, i have some patching problems in World of Warcraft. Looked trough theyre troublshooting pages and found out that my most likely is not configured correctly, so my question is; How do i configure it to work at its best with my computer(See comp specs) I have run a MemTest86 aswell as HCI...
Hardware & Devices
Help me in configuring my 4.1
I have a 4.1 speaker(Logitech R20 2.1+2 Creative normal ones). The problem is that i am not getting the proper bass effect as my friends Logitech R20. He told that the settings may not be done properly. Mine is Realtek HD Audio. Pls help me in configuring it. Heres is the screenshot.
Sound & Audio

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 15:41.

Twitter Facebook Google+

Windows 7 Forums

Seven Forums Android App Seven Forums IOS App