pavement

CUPS

From FreeBSDwiki
Revision as of 19:21, 25 October 2006 by Map7 (Talk | contribs)
Jump to: navigation, search

CUPS (Common Unix Printing System) This makes it easy to add printers to your system and programs such as firefox will pick up the printer list automatically.

Contents

Installing CUPS

# pkg_add -r cups

or

# cd /usr/ports/print/cups
# make install clean

CUPS to PDF

CUPS can also be used to print directly from any program to a PDF file.

# pkg_add -r cups-pdf


CUPS mimics lpr

If you have old programs which use lpr to print then you should install CUPS-lpr

# pkg_add -r cups-lpr

CUPS Troubleshooting

CUPS with proxy

Make sure if you run a proxy to set localhost in the exceptions of your browser. Should now be able to connect to http://localhost:631

CUPS and KDE Error

If you get an error in KDE print manager such as: cups host not found.

Then change the host from host: /var/run/cups.sock to host: localhost



CUPS and Gnome Warning

I've installed CUPS on a few machines and found everytime I do I cannot print though any gnome based application. If you like to use gnome applications to print your work, don't install CUPS just use LPD.

programs which crashed right out when printing were: gedit, abiword, gnumeric, inkscape.

Error you will get

(gdb) run
Starting program: /usr/X11R6/bin/gnumeric

Program received signal SIGBUS, Bus error.
[Switching to Thread 3 (LWP 100326)]
0x29dfd450 in ippWriteIO (dst=0x8542000, cb=0x29dfa3bc <httpWrite>,
    blocking=1, parent=0x0, ipp=0x8517880) at ipp.c:1418
1418    ipp.c: No such file or directory.
        in ipp.c

links

http://forums.bsdnexus.com/viewtopic.php?id=36

Personal tools