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

Similar help and support threads
Thread Forum
Unable to install printer drivers, uninstall old printer, update Windo
My Mom has an HP laptop. She recently purchased a new HP printer and I have been trying for the last 4 days to get it to install/connect. I've been in touch with HP but the links they provide aren't resolving the issues. First, using the CD that came with the printer: hangs up at around 85-90%....
Hardware & Devices
Create task to open printer, print test page, and shutdown printer?
thanks for your guide how can I create a task to 'open a printer, print the test page at that specific printer and then shut down the printer' ? I want to do this, so that the printer will be maintained and not break due to inactivity thanks!
General Discussion
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 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 06:33.
Twitter Facebook Google+ Seven Forums iOS App Seven Forums Android App