Remote Printing

Jonathan Chen jonc at chen.org.nz
Sat May 14 16:03:34 PDT 2005


On Sat, May 14, 2005 at 03:52:05PM -0700, ya hoo wrote:
> Hi Guys,
> 
> I been reading FreeBSd docs on remote pritning.
> It mostly talks about setting up a local printer.
> In which case, I could care less about since I want to
> print to my HP Jetdirect print server.
> Mainly, I really don't want to install CUPS. I would
> just like to use the default lp that comes with
> FreeBSD.
> Can anyone direct me in the right direction?

Uncomment/Tweak the following in your /etc/printcap:

    remote|sample remote printer:\
        :sh:\
        :rm=lphost:sd=/var/spool/output/lphost:lf=/var/log/lpd-errs

Make sure the spool directory exists, create if not there. For your
installation you don't need an if= attribute. Make sure lpd is
running, enable within /etc/rc.conf.

    lpd_enable="YES"        # Run the line printer daemon.

Cheers.
-- 
Jonathan Chen <jonc at chen.org.nz>
----------------------------------------------------------------------
          "You can get farther with a kind word and a gun
                      than you can with a kind word alone" - Al Capone


More information about the freebsd-stable mailing list