There is the problem. I suppose this is the content of the spooldirectory?
Check , that the owner and group of the spooldirectory(laserdep) is lp.
Then it will go
-----Urspr�ngliche Nachricht-----
Von: El Mamouni Sa�d [mailto:[EMAIL PROTECTED]]
Gesendet: Freitag, 22. Juni 2001 17:18
An: [EMAIL PROTECTED]
Betreff: LPRng: I cant print

Dear
I ve just installed LPRNG3.7.4 on my linux redhat 7.1
and when i want to print, i've got this message :
[kador@pc-said HOWTO]$ lpr -Plaserdep /etc/printcap
---------
Status Information:
 sending job 'kador@pc-said+263' to laserdep@localhost
 connecting to 'localhost', attempt 1
 connected to 'localhost'
 requesting printer laserdep@localhost
 sending control file 'cfA263pc-said.toto.titi' to laserdep@localhost
 job 'kador@pc-said+263' transfer to laserdep@localhost failed
  error 'NONZERO RFC1179 ERROR CODE FROM SERVER' with ack 'ACK_RETRY'
  sending str '^B220 cfA263pc-said.math.sciences.univ-nantes.fr' to laserdep@localhost
 error msg: 'laserdep: job size 220 is larger than 1 K'
-----------

My printcap file is like this :

#Imprimante 4100 LASERDEP

laserdep|lp6:\
        :ml=0:\
        :mx=0:\
        :bkf:\
        :rm=laserdep:\
        :rp=raw:\
        :sd=/var/spool/printer/laserdep:\
        :sh:

-------------

my /etc/hosts have the ip adress of the printer

My directory for /usr/spool/lpd/ is like this :

drwx------    2 lp       lp           4096 jun 21 18:35 laserdep

my subdirectory is like this :

drwx------    2 lp       lp           4096 jun 21 18:35 .
drwxr-xr-x   10 root     root         4096 jun 20 18:26 ..
-rw-------    1 lp       lp              0 jun 20 18:26 acct
-rw-------    1 lp       lp              0 jun 20 18:30 control.laserdep
-rw-------    1 lp       lp          12288 jun 21 18:35 db.laserdep
-rw-------    1 lp       lp              0 jun 20 18:26 log
-rw-------    1 lp       lp             91 jun 21 13:11 lpq.0
-rw-------    1 lp       lp              0 jun 20 18:26 status
-rw-------    1 lp       lp              0 jun 20 18:30 status.laserdep

there is no errors for the checkpc program
 
have you a suggestion for using LPRNG

thanks

Reply via email to