I've been digging into this over the last few days. I'm running FB FreeBSD 7.3, and have CUPS installed. I can print a test page from the CUPS web page, or from Open Office Writer. But I cannot print from anything else -- Firefox, Abiword, Evince, etc. etc. etc. All have a printer reference to LPR, but not to LJ2420DN. I'm assuming that this infers a problem with LPR. I've gone through the printer settings below:
rc.conf:
printcap:
Do I need to add an lpr stack to printcap? What puzzles me is that the system works with Open Office.
Any and all suggestions are welcome, and thank you.
rc.conf:
Code:
# -- sysinstall generated deltas -- # Sat May 22 10:46:20 2010
# Created: Sat May 22 10:46:20 2010
# Enable network daemons for user convenience.
# Please make all changes to this file, not to /etc/defaults/rc.conf.
# This file now contains just the overrides from /etc/defaults/rc.conf.
hostname=".zoomtown.com"
ifconfig_re0="DHCP"
linux_enable="YES"
moused_enable="NO"
sshd_enable="YES"
# -- sysinstall generated deltas -- # Sat May 22 21:15:34 2010
moused_type="auto"
moused_enable="YES"
gnome_enable="YES"
sound-support snddetect_enable="YES"
cupsd_enable="YES"
devfs_system_ruleset="system"
printcap:
Code:
# @(#)printcap 5.3 (Berkeley) 6/30/90
# $FreeBSD: src/etc/printcap,v 1.14.32.1 2010/02/10 00:26:20 kensmith Exp $
#
# This enables a simple local "raw" printer, hooked up to the first
# parallel port. No kind of filtering is done, so everything you pass
# to the "lpr" command will be printed unmodified.
#
# Remember, for further print queues you're going to add, you have
# to choose different spool directories (the "sd" capability below),
# otherwise you will greatly confuse lpd.
#
# For some advanced printing, have a look at the "apsfilter" package.
# It plugs into the lpd system, allowing you to print a variety of
# different file types by converting everything to PostScript(tm)
# format. For more information about apsfilter visit
#
# [url]http://www.apsfilter.org/[/url]
#
# If you don't have a PostScript(tm) printer, don't panic, but do
# also install the latest "ghostscript" package for best printer support.
#
# Do also refer to the "printing" section of the handbook.
#
# [url]http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/printing.html[/url]
#
# A local copy can be found under
#
# /usr/share/doc/handbook/handbook.{html,latin1}.
#
# Banner pages are now suppressed by default. Remove the :sh: capability
# to turn them back on.
#
#lp|local line printer:\
# :sh:\
# :lp=/dev/lpt0:sd=/var/spool/output/lpd:lf=/var/log/lpd-errs:
#
# Sample remote printer. The physical printer is on machine "lphost".
# You can perform any kind of local filtering directly. If you need
# local filters (e.g. LF -> CR-LF conversion for HP printers), create
# a filter script that sends the proper escape sequence to the printer
# and then concatenates stdin to stdout.
#
#remote|sample remote printer:\
# :sh:\
# :rm=lphost:sd=/var/spool/output/lphost:lf=/var/log/lpd-errs:\
# :if=/usr/local/libexec/if-script:
#
# Simple Russian printer with hardware CP866 character set, output filter
# used for KOI8-R -> CP866 conversion
#
#lp|Russian local line printer:\
# :sh:of=/usr/libexec/lpr/ru/koi2alt:\
# :lp=/dev/lpt0:sd=/var/spool/output/lpd:lf=/var/log/lpd-errs:
Do I need to add an lpr stack to printcap? What puzzles me is that the system works with Open Office.
Any and all suggestions are welcome, and thank you.