From owner-freebsd-questions@freebsd.org Sun Sep 13 12:22:30 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 4F01FA024C6 for ; Sun, 13 Sep 2015 12:22:30 +0000 (UTC) (envelope-from bah@bananmonarki.se) Received: from feeder.usenet4all.se (1-1-1-38a.far.sth.bostream.se [82.182.32.53]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 33F86139D for ; Sun, 13 Sep 2015 12:22:27 +0000 (UTC) (envelope-from bah@bananmonarki.se) Received: from kw.news4all.se (testbox.usenet4all.se [10.0.0.3]) by feeder.usenet4all.se (8.13.1/8.13.1) with ESMTP id t8DBwEL0046297; Sun, 13 Sep 2015 13:58:14 +0200 (CEST) (envelope-from bah@bananmonarki.se) Subject: Re: Still having network/Postscript Printer problem To: reg@dwf.com, freebsd-questions@freebsd.org References: <201509130653.t8D6rLr8006399@deneb.dwf.com> Cc: Polytropon From: Bernt Hansson Message-ID: <55F564D6.3090106@bananmonarki.se> Date: Sun, 13 Sep 2015 13:58:14 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: <201509130653.t8D6rLr8006399@deneb.dwf.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit 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: Sun, 13 Sep 2015 12:22:30 -0000 On 2015-09-13 08:53, reg@dwf.com 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 Remove the equal sign. > 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" > >