hi,
are you sure you did a 'lpc reread' after your configuration ?
are you able to send a file directly, using 'lpr -Praw@laserdep' ?
take care
~christoph
El Mamouni =?iso-8859-1?Q?Sa�d?= schrieb:
>
> 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
--
/* Christoph Beyer | Office: Building 2b / 23 *\
* DESY | Phone: 040-8998-2317 *
* - IT - | Fax: 040-8994-2317 *
\* 22603 Hamburg | http://www.desy.de */
-----------------------------------------------------------------------------
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.
-----------------------------------------------------------------------------