Andreas Piesk wrote:

>
> are you sure about the /dev/lp1 ? the first lpt is lp0.
>
> what are the permissions of /etc/printcap ? readable by everyone ?
> the printcap itself seems to be ok.
>

At first sight everything looks OK: the /dev files, the printcat file...

cambados:~# ls -lisa /dev/lp*
 940965    0 crw-rw----   1 root     lp         6,   0 Feb 23  1999 /dev/lp0
 940966    0 crw-rw----   1 root     lp         6,   1 Feb 23  1999 /dev/lp1
 940967    0 crw-rw----   1 root     lp         6,   2 Feb 23  1999 /dev/lp2
cambados:~# ls -lisa /etc/printcap
  34943    1 -rw-r--r--   1 root     root          340 Sep 23 21:40 
/etc/printcap

But even if I change /dev/lp1 by /dev/lp0

cambados:~# cat /etc/printcap
#
# Please don't edit this file directly unless you know what you are doing!
# Be warned that the control-panel printtool requires a very strict format!
# Look at the printcap(5) man page for more info.
#
# This file can be edited with the printtool in the control-panel.

epson:\
        :sd=/var/spool/lpd/epson:\
        :mx#0:\
        :lp=/dev/lp0:\
        :sh:

the result reamains the same.

cambados:~# lpr -P epson /root/fstab
no printcap for printer 'epson'
job 'cfA368cambados.des.fi.udc.es' transfer to [EMAIL PROTECTED] failed
cambados:~#

What can I do? Does anybody has some idea?

Thanks,

            Manuel Arenaz

Reply via email to