-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Printing
You want to print from your crouton?
-
Install cups and related packages:
sudo apt-get install cups system-config-printer-gnome
To get a workinglpr
command, also installcups-bsd
. You'll also want to installhplip
if you're using an HP printer. Get the latest hplip package and make from http://hplipopensource.com/. There maybe other packages necessary for other printers, please add them here. -
Add yourself to the lpadmin group:
sudo adduser <username> lpadmin
-
init scripts don't work right in crouton so we need to start cups somehow. One way is to edit
/etc/rc.local
and add:/usr/sbin/cupsd
-
If you want to connect to remote CUPS servers, install
cups-browsed
, put your configuration into/etc/cups/cups-browsed.conf
, and in/etc/rc.local
add:/usr/sbin/cups-browsed &
-
Log out of your crouton and back in.
-
Add or configure printers using either system-config-printer-gnome, or using the CUPS web interface -- open a browser window and type http://localhost:631.
This has been tested on a shared network printer. It also works for directly connected printers, including an ML-1740.
Samsung ARM Chromebook and HP printers requiring proprietary plugin, e.g. HP p1102w
The proprietary plugin from HP for certain printers is a binary file downloaded as part of the hplip installation process. The source code is not available and the binary will not run on ARM processors. This is a known limitation and is well documented at https://bugs.launchpad.net/hplip/+bug/1152219
** UPDATE ** Plugin files for ARM are now supported in hplip 3.15.4
** Changed in: hplip Status: In Progress => Fix Released
You received this bug notification because you are subscribed to the bug report. https://bugs.launchpad.net/bugs/1152219
An alternative printer driver is available from http://foo2zjs.rkkda.com/
- If hplip is installed, uninstall using
$ hp-uninstall
- Follow the installation instructions at http://foo2zjs.rkkda.com/INSTALL
- I also installed
$ sudo make install install-hotplug cups
which may not be necessary - After installation, run
$ sudo system-config-printer
to add a printer, in my case, click Network Printer - Find Network Printer and enter host IP, click Find. Accepted recommended default settings, printed test page, and that was it!
FWIW, HP p1102w with the latest firmware works well with Google Cloud Print from ChromeOS and Nexus devices.
Tested on Samsung Chromebook, Crouton, Ubuntu 12.04.4, xfce4, HP p1102w
Updated for XFCR, ARM, Ubuntu 14.04
-
Follow the installation instructions at http://foo2zjs.rkkda.com/INSTALL
-
install cups avahi-daemon system-config-printer-common system-config-printer-gnome
-
start manually
sudo /etc/init.d/avahi-daemon start
sudo /etc/init.d/cups start
-
or add services, applications - settings - sessions and startup - add
/etc/init.d/avahi-daemon
/etc/init.d/cups
-
once services are started, you can verify by running,
$ ps -ae | grep avahi-daemon
19238 ? 00:00:00 avahi-daemon
19239 ? 00:00:00 avahi-daemon
$ ps -ae | grep cups
19435 ? 00:00:00 cupsd
- because the printer gui run from applications - system - printers doesn’t run with the correct permissions, run $ sudo system-config-printer. I’m sure this could be corrected by updated the permissions on some config file, but running sudo works
Note: The services weren't running on restart, however, I needed to start cups only to configure the printer. Please update this doc as needed.