From owner-freebsd-current Fri Jun 22 12: 5:26 2001 Delivered-To: freebsd-current@freebsd.org Received: from mail.rpi.edu (mail.rpi.edu [128.113.22.40]) by hub.freebsd.org (Postfix) with ESMTP id 95BF237B403 for ; Fri, 22 Jun 2001 12:05:23 -0700 (PDT) (envelope-from drosih@rpi.edu) Received: from [128.113.24.47] (gilead.acs.rpi.edu [128.113.24.47]) by mail.rpi.edu (8.11.3/8.11.3) with ESMTP id f5MJ5G4133532; Fri, 22 Jun 2001 15:05:16 -0400 Mime-Version: 1.0 X-Sender: drosih@mail.rpi.edu Message-Id: In-Reply-To: References: Date: Fri, 22 Jun 2001 15:05:11 -0400 To: "Georg-W. Koltermann" , current@FreeBSD.ORG From: Garance A Drosihn Subject: Re: cannot print to remote printer Content-Type: text/plain; charset="us-ascii" ; format="flowed" Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG At 2:42 PM +0200 6/22/01, Georg-W. Koltermann wrote: >Hi, > >with current as of June 20 I can no longer print to a remote printer. >Syslog says "filter 'f' exited (retcode=108)". Looking at that section of code, lpd is just doing: if (ifilter < 0) status.w_retcode = 100; else while ((pid = wait((int *)&status)) > 0 && pid != ifilter) ; followed by some code which would not modify 'status', followed by: switch (status.w_retcode) { case 0: break; case 1: unlink(tfile); return(REPRINT); case 2: unlink(tfile); return(ERROR); default: syslog(LOG_WARNING, "%s: filter '%c' exited" " (retcode=%d)", pp->printer, format, status.w_retcode); unlink(tfile); return(FILTERERR); } If you got 'retcode=108' (not 100), then lpd is just printing out the status as returned by 'wait()'. I don't see any recent changes to that section of code in lpd. -- Garance Alistair Drosehn = gad@eclipse.acs.rpi.edu Senior Systems Programmer or gad@freebsd.org Rensselaer Polytechnic Institute or drosih@rpi.edu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message