You are not logged in.
I've got a 32 bit chroot set up and am having trouble figuring out how to print from an application running within it. Here's what I have installed specifically in the chroot:
# pacman -Q |grep cups
cups 1.6.2-2
cups-filters 1.0.34-3
cups-pdf 2.6.1-1
libcups 1.6.2-2
libgnomecups 0.2.3-12Is there something else I need to install to be able to print? Or to configure within the chroot? I need this mostly due to using Lotus Notes, which isn't picking up any installed printers. I was hoping to be able to print to PDF from it, so I installed cups-pdf.
In testing a less esoteric application, though, I've been opening evince from the chroot and the only options I get are to print to file. Runnning a browser from the chroot and accessing http://localhost:631 seems to just bring up my 64bit base system printers since they use the same network settings and localhost must point to the same thing from inside or outside the chroot (sort of an assumption on my part).
I'm getting odd behavior with lpinfo:
# lpinfo -v
lpinfo: No such file or directoryIs there something I need to do for this to work in a chroot environment? Thanks for any suggestions!
Last edited by jwhendy (2013-05-21 21:21:07)
Offline
This Gentoo post ended up having the solution. One doesn't need cups installed in the chroot since it's operating in the base install. You just need to bind the /var/run/cups directory to the chroot and everything works great.
# mkdir /path/to/chroot/var/run/cups
# mount -o bind /var/run/cups /path/to/chroot/var/run/cupsWorked great. Uninstalled cups and related from the chroot and installed cups-pdf in the 64 bit base install and it showed up. I'll add this to the 32 chroot Arch Wiki article.
Offline
For anyone stumbling on this page, it's now documented in the CUPS wiki as well as in the 32 bit chroot wiki
Offline