Looking for help with a printing problem...

Can't print to printer connected to one linux machine from a second
linux machine...

I have (2) linux machines capeblanco with a functioning printer
and nubble without a printer.

The printcap on nubble is:

# /etc/printcap
#

lp:\
        :sd=/var/spool/lpd/lp:\
        :rm=capeblanco:\
        :rp=lp:\                          
        :lp=/dev/null:\
        :sh:         

The printcap on capeblanco is:

#   printcap   for capeblanco 1/16/01  jrh
#                                              
##PRINTTOOL3## LOCAL ljet2p 300x300 letter {} LaserJet2p Default 1
lp:\
        :sd=/var/spool/lpd/lp:\
        :mx#0:\
        :sh:\
        :lp=/dev/lp0:\
        :if=/var/spool/lpd/lp/filter:      

The hosts.lpd file on capeblanco is:
#--------
nubble  
#-------- 

With the lpd -l option added to the /etc/rc.d/init.d/lpd file I get
the following output in the /var/log/messages file on capeblanco:

Jan 18 11:26:38 capeblanco kernel: lp0 off-line
Jan 18 11:34:15 capeblanco lpd[870]: nubble requests recvjob lp
Jan 18 11:34:15 capeblanco lpd[870]: reading df file for lp
Jan 18 11:34:15 capeblanco lpd[870]: finished reading df file for lp
Jan 18 11:34:15 capeblanco lpd[870]: reading cf file for lp
Jan 18 11:34:15 capeblanco lpd[870]: finished reading cf file for lp

If I shutdown the printer. Then print a file first from
capeblanco then from nubble. When I use lpq to look at the 
queue I see:

[root@capeblanco /etc]# lpq
lp is ready and printing
Rank   Owner      Job  Files                                 Total Size
active root       381  profile                               546 bytes
1st    jamby      42   printcap.6.20                         0 bytes   

Note the zero bytes on the last line. Yet when I check the
/var/spool/lpd/lp
directory I see:

-rw-r----x   1 root     root            4 Jan 18 11:47 .seq
-rw-r--r--   1 root     root          632 Jan 31  1999 README
-rw-rw----   1 root     root           51 Jan 18 11:48 cfA042nubble
-rw-rw----   1 bin      lp             90 Jan 18 11:47 cfA381capeblanco
-rw-rw----   1 root     root          543 Jan 18 11:48 dfA042nubble
-rw-rw----   1 root     lp            546 Jan 18 11:47
dfA381capeblanco    

Then  cf files from nubble are there and have length but when I turn on
the printer...... only the capeblanco file gets printed..

Checking the /var/spool/lpd/lp directory confirms all cf files are
gone..

####--------------------------------

Also: Nubble is a router so I administer it from capeblanco using a
remote shell.
  Should I just mount the nubble file system on capeblanco and then
print
  on capeblanco and do the administration tasks from there? would it
work?

Thanks for your time...

Jim H.



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to