From owner-freebsd-questions@freebsd.org Sun Sep 13 06:53:35 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 9BD65A02637 for ; Sun, 13 Sep 2015 06:53:35 +0000 (UTC) (envelope-from reg@dwf.com) Received: from deneb.dwf.com (70-90-202-97-Albuquerque.hfc.comcastbusiness.net [70.90.202.97]) (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 76A3915EA for ; Sun, 13 Sep 2015 06:53:34 +0000 (UTC) (envelope-from reg@dwf.com) Received: from deneb.dwf.com (localhost [127.0.0.1]) by deneb.dwf.com (8.14.4/8.14.3) with ESMTP id t8D6rLr8006399; Sun, 13 Sep 2015 00:53:21 -0600 Message-Id: <201509130653.t8D6rLr8006399@deneb.dwf.com> X-Mailer: exmh version 2.7.2 01/07/2005 with nmh-1.3 To: freebsd-questions@freebsd.org cc: Polytropon Subject: Still having network/Postscript Printer problem Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sun, 13 Sep 2015 00:53:21 -0600 From: reg@dwf.com 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 06:53:35 -0000 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