From owner-freebsd-questions@freebsd.org Sun Sep 13 08:10:42 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 B8B9AA0203C for ; Sun, 13 Sep 2015 08:10:42 +0000 (UTC) (envelope-from olivier2553@gmail.com) Received: from mail-io0-x22a.google.com (mail-io0-x22a.google.com [IPv6:2607:f8b0:4001:c06::22a]) (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 87CA61366 for ; Sun, 13 Sep 2015 08:10:42 +0000 (UTC) (envelope-from olivier2553@gmail.com) Received: by iofb144 with SMTP id b144so138221437iof.1 for ; Sun, 13 Sep 2015 01:10:42 -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=cqwzaPND0x8HSfwIEH1/u7TaZ4SABnjS2CNVUoruSOc=; b=mTMDOsjuHphnElYemcC6885RmaDMihCVzBIX7Cqr+DvjlsENsLquPvN7/Nt5e2JYAI 1d6BWX90iF6ryId2zW9ChNA1IbBy1yaqsH6xaSfYENUFRkkXv2ZOsU8fPsTeO/S1iCKn tzuumSS0onwEg7cavQvO/6FMC3ZnGXNuvsFUKmW3Xrb83ZuVOvaQ6pQGG5a4SiTEgBP5 oP7FgxG/REGVM47n6GodRK8jXVTHVyvk078VQgCt1WlFgKhK4oBhSn7wiZ1q9llki4EB EWw71ofoJLS9aQU+uUGA9/9PozhPCDCFy2ny4vPilxZYxGDE8t4IIDgyLSxHpvJfzsZR I5bg== MIME-Version: 1.0 X-Received: by 10.107.164.91 with SMTP id n88mr16633569ioe.88.1442131841959; Sun, 13 Sep 2015 01:10:41 -0700 (PDT) Received: by 10.79.98.195 with HTTP; Sun, 13 Sep 2015 01:10:41 -0700 (PDT) In-Reply-To: <201509130653.t8D6rLr8006399@deneb.dwf.com> References: <201509130653.t8D6rLr8006399@deneb.dwf.com> Date: Sun, 13 Sep 2015 15:10:41 +0700 Message-ID: Subject: Re: Still having network/Postscript Printer problem From: Olivier Nicole To: reg@dwf.com Cc: "freebsd-questions@freebsd.org" , Polytropon Content-Type: text/plain; charset=UTF-8 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 08:10:42 -0000 Hi according to the documentation, you shoud use lp=9100@HP... instead of rm= Olivier On Sun, Sep 13, 2015 at 1:53 PM, 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"