Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Aug 2013 09:55:53 -0500
From:      Mark Felder <feld@FreeBSD.org>
To:        freebsd-questions@freebsd.org
Subject:   Re: Setup HP Laserjet 1120m over network with LPD
Message-ID:  <1377183353.3434.12899185.0697AF9A@webmail.messagingengine.com>
In-Reply-To: <CAKJAkztE%2BW%2BxvWnTZ97nhYtOY0RtVjNeZudByr384o8yRv542A@mail.gmail.com>
References:  <CAKJAkzvA5%2BG5mOAZKKQOS6zdq%2B=A0i-BpbtjJtDwZJipskuz0A@mail.gmail.com> <CAKJAkzumacBJuR-bvCcERjL1BwTBQvbDDqNfv_u=%2BkwS0jgvSw@mail.gmail.com> <alpine.BSF.2.00.1308200725550.95636@wonkity.com> <20130820153321.c99e018a.freebsd@edvax.de> <CAKJAkzt-BPPxtNaRC_FH_CO4QzWUC53m9wRAV5eZPL0w9_-39w@mail.gmail.com> <20130822125315.GA1638@tiny.Sisis.de> <CAKJAkztE%2BW%2BxvWnTZ97nhYtOY0RtVjNeZudByr384o8yRv542A@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help


On Thu, Aug 22, 2013, at 8:19, Juris Kaminskis wrote:
> 
> generally i would prefer to stick with the native freebsd printing system
> which is LPD
>

As you should! CUPS is horrible... I also use apsfilter. I can print
almost any file I want just by doing lpr filename

apsfilter's generated config required some hand tweaking by me, but
here's an example I'll drop for you:

/etc/printcap:

netlaser|netlaser;r=600x600;q=medium;c=gray;p=letter;m=auto:\
    :lp=9100@netlaser:\
    :if=/usr/local/etc/apsfilter/basedir/bin/apsfilter:\
    :sd=/var/spool/lpd/netlaser:\
    :lf=/var/spool/lpd/netlaser/log:\
    :af=/var/spool/lpd/netlaser/acct:\
    :mx#0:\
    :sh:

/etc/hosts:

192.168.94.5 netlaser

/usr/local/etc/apsfilter/netlaser/apsfilterrc:

#
# don't delete these settings
#
PRINTER='PS'
PAPERSIZE='letter'
METHOD='auto'
QUALITY='medium'
COLOR='gray'
RESOLUTION='600x600'
# apsfilter as jukebox
# important if audio playback device is a network print queue
# INTERFACE='network'
INTERFACE='network'


And then I think I just had to create /var/spool/lpd/netlaser with
ownership root:daemon and 755


After that I think restarting lpd and it just works?




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1377183353.3434.12899185.0697AF9A>