printing w/freebsd, cups and hplip
I'm trying to set up my hp 6210 officejet all-in-one printer.
I just installed freebsd 7.1, am using KDE 4.1 desktop, cups 1.3.9 and hplip 2.8.2 on my Gateway (amd64 processor) computer. I built a custom kernel without "device ulpt" because my printer is connected with a usb cable. I'm new to FreeBSD and Linux. When I run hp-setup everything is fine until the end I get this message:
lpr: Unable to connect to /var/run/printer: No such file or directory
lpr: Check to see if the master 'lpd' process is running.
jobs queued, but cannot start daemon.
Done.
Running hp-check reveals i'm missing many dependencies. I don't know how to install them on FreeBSD. I'm not even sure this is the problem, but my best guess. I'd appreciate any help/suggestions. I'll copy hp-check results, as well as devfs.rules and rc.conf files below.
thanks in advance for any help,
Devin Barney
<email address hidden>
-------
/etc/devfs.rules:
-------
# cat /etc/devfs.rules
#
# created file according to directions after pkg_add -r cups
# 4/30/09
#
[system=10]
add path 'unlpt*' mode 0660 group cups
add path 'ulpt*' mode 0660 group cups
add path 'lpt*' mode 0660 group cups
add path 'usb*' group cups
add path 'usb*' mode 0660
add path 'ugen*' group cups
add path 'ugen*' mode 0660
-------
/etc/rc.conf:
-------
# cat /etc/rc.conf
# -- sysinstall generated deltas -- # Wed Apr 29 06:17:01 2009
# Created: Wed Apr 29 06:17:01 2009
# Enable network daemons for user convenience.
# Please make all changes to this file, not to /etc/defaults/
# This file now contains just the overrides from /etc/defaults/
hostname=
ifconfig_vr0="DHCP"
ipv6_enable="YES"
keymap="us.iso"
moused_enable="NO"
moused_flags=" "
moused_
#
#added by djb 4/30/09
cupsd_enable="YES"
devfs_system_
#
# -- sysinstall generated deltas -- # Wed Apr 29 15:49:52 2009
keymap="us.pc-ctrl"
# -- sysinstall generated deltas -- # Thu Apr 30 10:46:24 2009
keymap="us.pc-ctrl"
hpiod_enable="YES"
hpssd_enable="YES"
-------
Here is my hp-check results:
---------------
| SYSTEM INFO |
---------------
Basic system information:
FreeBSD .domain.actdsltmp 7.1-RELEASE FreeBSD 7.1-RELEASE #0: Thu Apr 30 12:39:11 MDT 2009 root@.domain.
Distribution:
unknown 0.0
HPOJ running?
No, HPOJ is not running (OK).
Checking Python version...
OK, version 2.5.2 installed
Checking PyQt version...
OK, version 3.17 installed.
Checking SIP version...
OK, Version 4.7.4 installed
Checking for CUPS...
Status: scheduler is running
Version: 1.3.9
-------
| COMPILE AND RUNTIME DEPENDENCIES |
-------
note: To check for compile-time only dependencies, re-run hp-check with the -c parameter (ie, hp-check -c).
note: To check for run-time only dependencies, re-run hp-check with the -r parameter (ie, hp-check -r).
Checking for dependency: cups - Common Unix Printing System...
OK, found.
Checking for dependency: cups-ddk - CUPS driver development kit...
warning: NOT FOUND! This is an OPTIONAL/RUNTIME ONLY dependency. Some HPLIP functionality may not function properly.
Checking for dependency: cups-devel- Common Unix Printing System development files...
error: NOT FOUND! This is a REQUIRED/COMPILE TIME ONLY dependency. Please make sure that this dependency is installed before installing or running HPLIP.
Checking for dependency: gcc - GNU Project C and C++ Compiler...
OK, found.
Checking for dependency: GhostScript - PostScript and PDF language interpreter and previewer...
OK, found.
Checking for dependency: libcrypto - OpenSSL cryptographic library...
error: NOT FOUND! This is a REQUIRED dependency. Please make sure that this dependency is installed before installing or running HPLIP.
Checking for dependency: libjpeg - JPEG library...
error: NOT FOUND! This is a REQUIRED dependency. Please make sure that this dependency is installed before installing or running HPLIP.
Checking for dependency: libnetsnmp-devel - SNMP networking library development files...
error: NOT FOUND! This is a REQUIRED dependency. Please make sure that this dependency is installed before installing or running HPLIP.
Checking for dependency: libpthread - POSIX threads library...
error: NOT FOUND! This is a REQUIRED dependency. Please make sure that this dependency is installed before installing or running HPLIP.
Checking for dependency: libtool - Library building support services...
error: NOT FOUND! This is a REQUIRED/COMPILE TIME ONLY dependency. Please make sure that this dependency is installed before installing or running HPLIP.
Checking for dependency: libusb - USB library...
error: NOT FOUND! This is a REQUIRED dependency. Please make sure that this dependency is installed before installing or running HPLIP.
Checking for dependency: make - GNU make utility to maintain groups of programs...
error: NOT FOUND! This is a REQUIRED/COMPILE TIME ONLY dependency. Please make sure that this dependency is installed before installing or running HPLIP.
Checking for dependency: PIL - Python Imaging Library (required for commandline scanning with hp-scan)...
warning: NOT FOUND! This is an OPTIONAL/RUNTIME ONLY dependency. Some HPLIP functionality may not function properly.
Checking for dependency: ppdev - Parallel port support kernel module....
error: NOT FOUND! This is a REQUIRED/RUNTIME ONLY dependency. Please make sure that this dependency is installed before installing or running HPLIP.
Checking for dependency: PyQt - Qt interface for Python...
OK, found.
Checking for dependency: python-devel - Python development files...
error: NOT FOUND! This is a REQUIRED/COMPILE TIME ONLY dependency. Please make sure that this dependency is installed before installing or running HPLIP.
Checking for dependency: Python 2.3 or greater - Required for fax functionality...
OK, found.
Checking for dependency: Python 2.2 or greater - Python programming language...
OK, found.
Checking for dependency: Reportlab - PDF library for Python...
OK, found.
Checking for dependency: SANE - Scanning library...
error: NOT FOUND! This is a REQUIRED/RUNTIME ONLY dependency. Please make sure that this dependency is installed before installing or running HPLIP.
Checking for dependency: SANE - Scanning library development files...
error: NOT FOUND! This is a REQUIRED/COMPILE TIME ONLY dependency. Please make sure that this dependency is installed before installing or running HPLIP.
Checking for dependency: scanimage - Shell scanning program...
OK, found.
Checking for dependency: xsane - Graphical scanner frontend for SANE...
warning: NOT FOUND! This is an OPTIONAL/RUNTIME ONLY dependency. Some HPLIP functionality may not function properly.
-------
| HPLIP INSTALLATION |
-------
Currently installed HPLIP version...
HPLIP 2.8.2 currently installed in '/usr/local/
Current contents of '/usr/local/
# hplip.conf. Generated from hplip.conf.in by configure.
[hpssd]
# Note: hpssd does not support dynamic ports
# Port 2207 is the IANA assigned port for hpssd
port=2207
[hplip]
version=2.8.2
[dirs]
home=/usr/
run=/var/run
ppd=/usr/
ppdbase=
doc=/usr/
icon=/usr/
cupsbackend=
cupsfilter=
drv=/usr/
# Following values are determined at configure time and cannot be changed.
[configure]
network-build=yes
pp-build=no
gui-build=yes
scanner-build=yes
fax-build=yes
cups11-build=no
doc-build=yes
shadow-build=no
foomatic-
foomatic-
foomatic-
internal-
-------
| DISCOVERED USB DEVICES |
-------
Device URI Model
-----
hp:/usb/
rial=
-------
| INSTALLED CUPS PRINTER QUEUES |
-------
Officejet_6200_fax
------------------
Type: Fax
Installed in HPLIP?: Yes, using the hpfax: CUPS backend.
Device URI: hpfax:/
Communication status: Good
stonegate
---------
Type: Printer
Installed in HPLIP?: Yes, using the hp: CUPS backend.
Device URI: hp:/usb/
Communication status: Good
-------
| SANE CONFIGURATION |
-------
'hpaio' in '/usr/local/
OK, found. SANE backend 'hpaio' is properly set up.
Checking output of 'scanimage -L'...
device `hpaio:
-------
| PYTHON EXTENSIONS |
-------
Checking 'cupsext' CUPS extension...
OK, found.
Checking 'pcardext' Photocard extension...
OK, found.
Checking 'hpmudext' I/O extension...
OK, found.
Checking 'scanext' SANE scanning extension...
OK, found.
-----------------
| USB I/O SETUP |
-----------------
-----------
| SUMMARY |
-----------
error: 15 errors and/or warnings.
Please refer to the installation instructions at:
http://
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- HPLIP Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask daringturtle for more information if necessary.