Still having network/Postscript Printer problem

reg at dwf.com reg at dwf.com
Sun Sep 13 06:53:35 UTC 2015


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 at 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 at 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 at 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 at 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 at dwf.com




More information about the freebsd-questions mailing list