Configuring LPD for a USB printer

wizardjoe

New member
Local time
7:24 PM
Messages
2
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 Computer My Computer

OS
Windows 7 Ultimate 32 bit
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 Computer My Computer

OS
win7
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

Thanks,
Lester
 

My Computer My Computer

OS
Windows 7 Ultimate 32 bit
Back
Top