From owner-freebsd-questions@freebsd.org Mon Sep 14 10:36:51 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 53476A048C9 for ; Mon, 14 Sep 2015 10:36:51 +0000 (UTC) (envelope-from andrewlylegould@gmail.com) Received: from mail-la0-x22c.google.com (mail-la0-x22c.google.com [IPv6:2a00:1450:4010:c03::22c]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id CDA9F1F7A for ; Mon, 14 Sep 2015 10:36:50 +0000 (UTC) (envelope-from andrewlylegould@gmail.com) Received: by lahg1 with SMTP id g1so53907910lah.1 for ; Mon, 14 Sep 2015 03:36:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=TCNwD1nhMP5ogl6VIHKyrV6dsxB0ZvApba+RsmWhD70=; b=W2U3xL0QqhjBflusCoE6Fct6AdNNQiArOc7yyfGCB2kACsUhOMH7H4uYOPrscDdS9U uC5UU1yEgtEmuBzaQ7MjhWQu0HBudr6NJYKhf8St0FQyJCScS+6NdOW7cZR9EDbFGiZR rfiOOxEH33+tMebEwY2d317DG1E/xdg19Lv9Orxc7DJoxh6G0l+20LhRzn/NCSm2tlKB eiyxkSwcYgteWA/1KYRGLlWbzlL1e1YXqUJsTUX+riGpwEHLrBfKNE706GlA0rmZx0T6 7/AmlCCHxqRIjKytihy5+XlqJ9DkUIRcQ/VPYISeq7wMZLXVJ6r8WXeKcSHN64o/5J2R 14hg== MIME-Version: 1.0 X-Received: by 10.152.120.130 with SMTP id lc2mr12913663lab.15.1442227008848; Mon, 14 Sep 2015 03:36:48 -0700 (PDT) Received: by 10.25.217.144 with HTTP; Mon, 14 Sep 2015 03:36:48 -0700 (PDT) In-Reply-To: <201509130653.t8D6rLr8006399@deneb.dwf.com> References: <201509130653.t8D6rLr8006399@deneb.dwf.com> Date: Mon, 14 Sep 2015 05:36:48 -0500 Message-ID: Subject: Re: Still having network/Postscript Printer problem From: Andrew Gould To: reg@dwf.com Cc: FreeBSD Mailing List , Polytropon Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Sep 2015 10:36:51 -0000 Have you tried using the port apsfilter to configure /etc/printcap? Good luck, Andrew On Sun, Sep 13, 2015 at 1:53 AM, wrote: > I am having nothing but trouble in trying to get printing to work under > FreeBSD with my HPLJ4100. The printer works find from linux, and I might > just give up and use the 'cups' implemenetation under FreeBSD if I can't > get lpd to work. > > Here is where I stand. > > I have the environment variabalee > > setenv PRINTER=HPLJ4100 > > dns sees the printer > > % nslookup HPLJ4100 > Server: 127.0.0.1 > Address: 127.0.0.1#53 > > Non-authoritative answer: > Name: HPLJ4100.dwf.com > Address: 192.168.64.30 > > I have > > lpd_enable="YES" > > in /etc/rc.conf > > I have set > > service lpd start > > numerous times, and lpd is running. > > my printcap keeps changing, but currently reads > > HP-DP:\ > :rm=9100@HPLJ4100:\ > :rp=raw:\ > :sd=/var/spool/lpd/HP-DP:\ > :lf=/var/spool/lpd/HP-DP/log:\ > :af=/var/spool/lpd/HP-DP/acct:\ > :mx#0:\ > :sh: > > when I do a > > lpr sum.ps > > of a postscript file, I see > > root@FreeBSD:/home/reg # lpr sum.ps > lpr: HPLJ4100: unknown printer > > if I take the 9100@ out of the printcap file, viz > > HP-DP:\ > :rm=HPLJ4100:\ > :rp=raw:\ > :sd=/var/spool/lpd/HP-DP:\ > :lf=/var/spool/lpd/HP-DP/log:\ > :af=/var/spool/lpd/HP-DP/acct:\ > :mx#0:\ > :sh: > > I see for the lpr > > root@FreeBSD:/home/reg # lpr sum.ps > lpr: HPLJ4100: unknown printer > > so thats the same. > > I have tried about a thousand vaiations, anc always see > > root@FreeBSD:/home/reg # lpq > lpq: printer not found > > I must be doing something basic that is wrong, but I dont see ir. > Someone tell me what Im doing wrong, this can't be this hard. > > Reg Clemens > clemens@dwf.com > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" >