It looks like you might have a couple of syntax errors in the printcap. mx 
and ml take integer values instead of strings, so they should be written 
with a # separating them from their integer values, like so:

#Imprimante 4100 LASERDEP

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

checkpc should definitely be complaining about this problem.

Phillip Griffith  (803) 952-8776
Information Technology Department
Westinghouse Savannah River Company




El Mamouni =?UNKNOWN?Q?=3D=3Fiso-8859-1=3FQ=3FSa=EFd=3F=3D?= 
<[EMAIL PROTECTED]>
Sent by: [EMAIL PROTECTED]


06/22/2001 11:08 AM
Please respond to lprng

 
        To:     [EMAIL PROTECTED]
        cc: 
        Subject:        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




-----------------------------------------------------------------------------
YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
The address you post from MUST be your subscription address

If you need help, send email to [EMAIL PROTECTED] (or lprng-requests
or lprng-digest-requests) with the word 'help' in the body.  For the impatient,
to subscribe to a list with name LIST,  send mail to [EMAIL PROTECTED]
with:                           | example:
subscribe LIST <mailaddr>       |  subscribe lprng-digest [EMAIL PROTECTED]
unsubscribe LIST <mailaddr>     |  unsubscribe lprng [EMAIL PROTECTED]

If you have major problems,  send email to [EMAIL PROTECTED] with the word
LPRNGLIST in the SUBJECT line.
-----------------------------------------------------------------------------

Reply via email to