X11: CUPS

(last edit: 2008-01-23) FreeBSD and CUPS Here is a really short howto on using CUPS with FreeBSD - Make sure you install gnome with cups support, use --with-cups with make in the port - Set rc.conf to start cupsd - Cups installs it's tools in /usr/local/bin while the base system uses /usr/bin. You can fix this while installing cups with --CUP_OVERWRITE_BASE or removing 'lp', 'lpr', 'lpq' and 'lprm' in /usr/bin and symlinking the tools from /usr/local/bin to /usr/bin # ls -al /usr/bin/lp* lrwxr-xr-x 1 root wheel 17 Jan 23 09:42 /usr/bin/lp -> /usr/local/bin/lp lrwxr-xr-x 1 root wheel 18 Jan 23 09:42 /usr/bin/lpq -> /usr/local/bin/lpq lrwxr-xr-x 1 root wheel 18 Jan 23 09:42 /usr/bin/lpr -> /usr/local/bin/lpr lrwxr-xr-x 1 root wheel 19 Jan 23 09:42 /usr/bin/lprm -> /usr/local/bin/lprm # - Install / configure your printer(s) by going to http://127.0.0.1:631 . You need the PPD for your printer(s) to do this and/or CUPS knows a few printers by itself. Checks from the CUPS manual: Use the lpstat(1) command to see a list of available printers: lpstat -p -d ENTER The -p option specifies that you want to see a list of printers, and the -d option reports the current default printer or class. Use the -d option with the lp command to print to a specific printer: lp -d printer filename ENTER or the -P option with the lpr command: lpr -P printer filename ENTER

Click here to go back to the index.