Printer Setup for RPi

This forum is for topics specific to the Raspberry Pi and Arch Linux ARM

Re: Printer Setup for RPi

Postby sdjf » Thu Nov 13, 2014 11:51 am

To install cups: pacman -Syu cups

Unfortunately, the archlinux wiki page for cups is not detailed enough, and does not include the above command.

When you installed libcups, it was only the library, not the software that utilizes the library. Also, the fact that lpr is a standard command in bash, does not mean that it comes with bash. The other computers you have, already have printing installed, so bash can find the commands. In Arch, users need to add a package with those commands, and cups is that package.
sdjf
 
Posts: 178
Joined: Wed May 08, 2013 1:55 pm

Re: Printer Setup for RPi

Postby moonman » Thu Nov 13, 2014 9:19 pm

$this->bbcode_second_pass_quote('sdjf', 'T')o install cups: pacman -Syu cups

Unfortunately, the archlinux wiki page for cups is not detailed enough, and does not include the above command.

When you installed libcups, it was only the library, not the software that utilizes the library. Also, the fact that lpr is a standard command in bash, does not mean that it comes with bash. The other computers you have, already have printing installed, so bash can find the commands. In Arch, users need to add a package with those commands, and cups is that package.


It is detailed enough. https://wiki.archlinux.org/index.php/Cu ... r_packages
This page clearly states which packages need to be installed.
As I said, you need cups server (daemon), not just client.
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3388
Joined: Sat Jan 15, 2011 3:36 am

Re: Printer Setup for RPi

Postby Mikeclark » Fri Nov 14, 2014 12:13 pm

This just gets worse. I installed everything in sight - CUPS, HPLIP (it's an Officejet), etc. Then:

lpr <filename> gets
lpr: scheduler not responding (well, at least bash now supports the lpr command!)
So, is this the CUPS Daemon? It now comes with the snappy name org.cups.cupsd.service, so, try to find its satus:

systemctl status org.cups. cupsd.service

Sure enough, systemctl recognises the daemon as being installed, but inactive. Right, so we'll use systemctl start orgzzzzz...
NO, we can't, because the use of the systemctl status command has put the Pi into a loop, which can only be cured by re-booting it.
So, is systemd causing the loop?
Mikeclark
 
Posts: 35
Joined: Thu Jun 21, 2012 8:21 am

Re: Printer Setup for RPi

Postby moonman » Fri Nov 14, 2014 9:27 pm

Did you add the printer to cups? Interface should be available at http://<ip>:631
https://wiki.archlinux.org/index.php/Cu ... d_tool-kit but you need to make interface accept connections other than from localhost https://wiki.archlinux.org/index.php/Cu ... _interface
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3388
Joined: Sat Jan 15, 2011 3:36 am

Previous

Return to Raspberry Pi

Who is online

Users browsing this forum: No registered users and 2 guests