Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Oct 2003 16:44:43 +0100
From:      "geek" <geek@netcabo.pt>
To:        <freebsd-questions@freebsd.org>
Subject:   Printer configuration with CUPs
Message-ID:  <2305CFC39C15AA4896E06E5C91C509EF0374386E@VS2.hdi.tvcabo>

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

Is this process correct to install cups in a FreeBSD 4.9 =
server/workstation to install my printer (HP 5150):

# USB Stuff
device usb
device uhci
device ulpt

change this in the kernel (both workstation and server)

....

usbd_enable=3D"YES" in /etc/rc.conf (server only)

....

install:
/usr/ports/print/ghostscript-gnu-nox11 (on server)
and
/usr/ports/print/ghostscript-gnu (on workstation)

......

install CUPS from ports in both, server and workstation

....

rm /usr/bin/lpr (on both, server and workstation)

....

cp /usr/local/etc/rc.d/cups.sh.sample /usr/local/etc/rc.d/cups.sh (on =
both, server and workstation)

...


Uncomment application/octet-stream in /usr/local/etc/cups/mime.types and =
/usr/local/etc/cups/mime.convs (both workstation and server)

....

Uncomment BrowseAddress @LOCAL in /usr/local/etc/cups/cupsd.conf =
(workstation and server)

is this all correct?!

but when i try to print:



lpr file
lpr:error - scheduler not responding!

or=20

lp file
exec: /usr/bin/lpr: not found


# ps -wax | grep cupsd
100 ?? Ss 0:00:09 /usr/local/sbin/cupsd

... so i chek www.freebsddiary.org/cups.html

and i have to configure my printer in http://localhost:631/admin,
but when i try to links http://localhost:631/admin from my server, the =
answer is: "unauthorized" "this server could not verify that you're =
authorized to access the resource"

so .. what i have to do to have it working ?

thank u very much!



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