Date: Mon, 14 Sep 2015 05:36:48 -0500 From: Andrew Gould <andrewlylegould@gmail.com> To: reg@dwf.com Cc: FreeBSD Mailing List <freebsd-questions@freebsd.org>, Polytropon <freebsd@edvax.de> Subject: Re: Still having network/Postscript Printer problem Message-ID: <CAFKhKgow1DXAk15pCjDZ7nO_Th3uJxWhYRuJPebJ6A14C1x_gQ@mail.gmail.com> In-Reply-To: <201509130653.t8D6rLr8006399@deneb.dwf.com> References: <201509130653.t8D6rLr8006399@deneb.dwf.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Have you tried using the port apsfilter to configure /etc/printcap? Good luck, Andrew On Sun, Sep 13, 2015 at 1:53 AM, <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 > > 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" >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFKhKgow1DXAk15pCjDZ7nO_Th3uJxWhYRuJPebJ6A14C1x_gQ>