[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Need help with Printer lpr problem



I have what must be a simple misconfiguration problem with a Linux
RedHat 5.1 box I have inherited. I cannot get a parallel connected
printer to accept lpr output. 

Redhat 5.1, kernal 2.0.34

I can send test postscript files directly to my printer (TI Microlaser
Pro600) via a direct port send,

  cat test.ps | /dev/lp1

No problems.

But I can not send data via lpr

  cat test.ps | lpr 

generates the message,

   lpr: lp: unknown printer
   Broken pipe

the command 

  cat test.ps | lpr -Plp1

generates,
  
  lpr: connect: Connection refused
  job queued, but cannot start daemon

-PPro600 generates the same message.

Attached are outputs from my printcap, a ps command on the lpr daemon,
and an lpc status command.

Any ideas? Thanks for any help.

Bob

---
Bob Gibbons				Raytheon Systems Company
Internet: Bob-Gibbons raytheon com	Sensors and Electronic Systems
Voice: 972-575-7757			Dallas, TX



================================================================
printcap:
#
# This printcap is being created with printtool v.3.27
# Any changes made here manually will be lost if printtool
# is run later on.
# The presence of this header means that no printcap
# existed when printtool was run.
#
##PRINTTOOL3## LOCAL POSTSCRIPT 600x600 letter {} PostScript Default {}
lp1|Pro600:\
        :sd=/var/spool/lpd/lp1:\
        :mx#0:\
        :lp=/dev/lp1:\
        :if=/var/spool/lpd/lp1/filter:\
        :sh:
================================================================

output from "ps aux | grep lp"
================================================================
ps:
[rcg tartarus /root]$ cat ps.list 
root       564  0.0  1.1   800   340  ?  S   Apr 27   0:00 lpd 
root       565  0.0  1.5   860   492  ?  S   Apr 27   0:00 lpd 
root      4059  0.0  1.1   852   348  p0 S    11:14   0:00 grep lp 
[rcg tartarus /root]$ 
================================================================

output from "lpc status"
================================================================
[rcg tartarus /root]$ cat lpc.status.txt 
lp1:
        queuing is enabled
        printing is enabled
        7 entries in spool area
        no daemon present
[rcg tartarus /root]$ 

================================================================



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]