LPD PRINTER CONFIGURATION

Dear All,

I have configured a printer on a unix box to be printing on windows xp printer. Below are the steps followed:-

  1. Create the printer on the Windows XP box and share it as prt5
  2. Enable unix printer services on windows XP box
  3. On unix box i make changes on hosts,hosts.equiv and .rhosts files contents of hosts file and hosts.equiv the same.
    [list]
  4. .RHOSTS FILE
    [list]
  5. root root
    info root
    infomain root
    backup root
    [/list]
  6. HOSTS FILE
    [list]
  7. 127.0.0.1 localhost
    192.9.9.1 info
    192.9.9.29 sslstocks
    192.9.9.49 ssljc
    192.9.9.251 backup
    [/list]
  8. HOSTS.EQUIV
    [list]
  9. root root
    info root
    backup root
    [/list]

    [/list]
  10. During printer installation i use HP Network Printer Manager
    [list]
  11. option no. 6 - add printer to spooler
  12. enter spooler destination - prt5
  13. enter network peripheral name - ssljc
  14. the rest i take default settings and the printer prt5 is added to the spooler; and if you check on printer manager you will find it there.
    [/list]
  15. Below are the contents of printcap file.
    [list]
  16. prt6:\
    :lp=:rm=ssljc:rp=prt5:sd=/usr/spool/lpd/prt5:
    [/list]
  17. If i send a print job, it gets stuck on the queue for ever. on checking the connection on the printer manager, it changes to is different from the connection port /dev/null. What could be the problem. On the existing unix box the same configuration works fine.
  18. Am using Sco OpenServer 3.2v5.0.5

Best Regards,
Njoroge Joseph
:confused:

The HP Printer option in the printers menu, creates a printer queue that uses port 9100 (JetDirect) to talk to the printer.
LPR/LPD printing uses port 515.
Delete the printer that you have created, and add a remote printer in the Printers section (Line 4 on the menu)