Solved

HP Laserjet P3000d - can't make it work both as local and LPD/LPR printer

Posted on 2012-03-14
4
572 Views
Last Modified: 2012-03-24
The printer is connected to my Vista 32bit Intel PC via USB cable. It was working for both local Windows printing and for LPD printing (I have a server on the network that requires LPD service), but I uninstalled and reinstalled the print driver, now it only works as a local Windows printer.

UNIX print services are installed. I tested from the server and can connect to my PC port 515, indicating that there is no firewall issue and the service is running. But when I print from my server application my PC is rejecting the print job.

From my notes, I seem to recall this being useful:

http://support.microsoft.com/kb/324078

I think I need to setup a "port", but can't remember how to implement this.
0
Comment
Question by:silentreproach
  • 2
4 Comments
 
LVL 16

Assisted Solution

by:DansDadUK
DansDadUK earned 250 total points
ID: 37724148
If you are using 'lpr' to print direct to a printer (usually via a TCP/IP port), then 'lpr' requests will be dealt with by an LPD responder within the printer (or JetDirect card, to be more accurate).

As your device is connected, via a USB port, to a separate 'system' (a Windows Vista PC in your case) this latter system must act as the LPD responder, and then pass on the print request from your server to a printer controlled by the local Vista 'print server'.

So the problem is probably either that the LPD service has not been set up fully, or there is something not yet configured to enable the Windows spooler to 'pass on' the request to a real device.

On a Windows Vista system, under:

Control Panel | Programs and Features | Turn Windows Features On or Off

the 'Print Services' feature offers three items (disabled by default?):

- Internet Printing Client
- LPD Print Service
- LPR Port Monitor

... and (distilled from various Microsoft documents):

The Line Printer Daemon (LPD) Service installs and starts the TCP/IP Print Server (LPDSVC) service, which enables UNIX-based computers or other computers that are using the Line Printer Remote (LPR) service to print to shared printers on this server.
On Windows 7 (not sure about Vista) it also creates an inbound exception for port 515 in Windows Firewall with Advanced Security.

No configuration is necessary for the LPD service. However, if you stop or restart the Print Spooler service, the TCP/IP Print Server service is also stopped, and it is not automatically restarted.

To print to a printer or print server that uses the LPD protocol, you can use the Network Printer Installation wizard and a Standard TCP/IP printer port. However you must install the Line Printer Remote (LPR) Port Monitor feature to print to a UNIX print server.
0
 
LVL 38

Assisted Solution

by:hdhondt
hdhondt earned 250 total points
ID: 37727054
I suspect that by reinstalling the driver, the server lost the mapping to the printer on your PC. I suggest creating a new TCP/IP port on the server, with the correct details, i.e. the IP address of your PC and the name of the printer. You can check the existing TCP/IP port to see what the settings should be (and compare to the settings on your PC).

There is no problem with having more than one TCP/IP port with the same IP address. You can give them different names to make it easier to see which is which.
0
 

Accepted Solution

by:
silentreproach earned 0 total points
ID: 37739020
I added a Generic/Text only printer using the same DOT4 port that the laser printer was using, I made the share name the same as my print queue name on the LPR client side and it started working!
0
 

Author Closing Comment

by:silentreproach
ID: 37760291
I marked my solution as "Best" so that future visitors can see the exact solution that worked for me, but I also awarded points to those who gave some troubleshooting tips.
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Causes of paper jams:The following are the main causes of paper jams. Guides:If the guides for the paper are not set correctly they may cause the paper to enter at an angle. You should ensure that the guides are set correctly for the paper type a…
When you try to share a printer , you may receive one of the following error messages. Error message when you use the Add Printer Wizard to share a printer: Windows could not share your printer. Operation could not be completed (Error 0x000006…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used.

791 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question