planetwatt.com
Help and Support => Archives => wattOS R8 => Topic started by: frankncross on May 29, 2014, 09:14:41 PM
-
I've done some reading and research on printing in R8 and Debian in general, and have likely missed what I need to do. However, I've spent enough time that at this point I'm open to suggestions. I'm running Microwatt.
I've added additional software via the menu, and added printing capability, however I can't reach the cups server via the web browser (using http://localhost:631/admin). I get "server refused the connection".
When I try to install cups via aptitude, it installs some parts, but leaves out wide swaths. Specifically:
-----
The following NEW packages will be installed:
cups{b} cups-client{b} cups-filters{a} cups-ppdc{a} fonts-droid{a}
foomatic-db-compressed-ppds{a} foomatic-db-engine{a} foomatic-filters{a}
ghostscript{a} ghostscript-cups{a} hpijs{a} hplip{a} hplip-data{a}
libcupscgi1{ab} libcupsdriver1{ab} libcupsfilters1{a} libcupsimage2{ab}
libcupsmime1{ab} libcupsppdc1{ab} libescpr1{a} libgs9{a} libgs9-common{a}
libgutenprint2{a} libhpmud0{a} libijs-0.35{a} libjbig2dec0{a}
libpaper-utils{a} libpaper1{a} libsane-hpaio{a} libslp1{a}
libsnmp-base{a} libsnmp15{a} mscompress{a} printer-driver-all{a}
printer-driver-c2050{a} printer-driver-c2esp{a} printer-driver-cjet{a}
printer-driver-escpr{a} printer-driver-foo2zjs{a}
printer-driver-gutenprint{a} printer-driver-hpcups{a}
printer-driver-hpijs{a} printer-driver-m2300w{a}
printer-driver-min12xxw{a} printer-driver-pnm2ppa{a}
printer-driver-postscript-hp{a} printer-driver-ptouch{a}
printer-driver-pxljr{a} printer-driver-sag-gdi{a} printer-driver-splix{a}
python-renderpm{a} python-reportlab{a} python-reportlab-accel{a}
smbclient{a} ssl-cert{a}
0 packages upgraded, 55 newly installed, 0 to remove and 0 not upgraded.
Need to get 35.1 MB of archives. After unpacking 115 MB will be used.
The following packages have unmet dependencies:
libcupsmime1 : Depends: libcups2 (= 1.5.3-5+deb7u1) but 1.7.2-1 is installed.
libcupsimage2 : Depends: libcups2 (= 1.5.3-5+deb7u1) but 1.7.2-1 is installed.
cups : Depends: libcups2 (= 1.5.3-5+deb7u1) but 1.7.2-1 is installed.
libcupsppdc1 : Depends: libcups2 (= 1.5.3-5+deb7u1) but 1.7.2-1 is installed.
libcupsdriver1 : Depends: libcups2 (= 1.5.3-5+deb7u1) but 1.7.2-1 is installed.
libcupscgi1 : Depends: libcups2 (= 1.5.3-5+deb7u1) but 1.7.2-1 is installed.
cups-client : Depends: libcups2 (= 1.5.3-5+deb7u1) but 1.7.2-1 is installed.
The following actions will resolve these dependencies:
Keep the following packages at their current version:
1) cups [Not Installed]
2) cups-client [Not Installed]
3) cups-filters [Not Installed]
4) cups-ppdc [Not Installed]
5) ghostscript [Not Installed]
6) ghostscript-cups [Not Installed]
7) hplip [Not Installed]
8 ) libcupscgi1 [Not Installed]
9) libcupsdriver1 [Not Installed]
10) libcupsfilters1 [Not Installed]
11) libcupsimage2 [Not Installed]
12) libcupsmime1 [Not Installed]
13) libcupsppdc1 [Not Installed]
14) libescpr1 [Not Installed]
15) libgs9 [Not Installed]
16) printer-driver-c2050 [Not Installed]
17) printer-driver-c2esp [Not Installed]
18) printer-driver-escpr [Not Installed]
19) printer-driver-gutenprint [Not Installed]
20) printer-driver-hpcups [Not Installed]
21) printer-driver-pnm2ppa [Not Installed]
22) printer-driver-postscript-hp [Not Installed]
23) printer-driver-ptouch [Not Installed]
24) printer-driver-sag-gdi [Not Installed]
25) printer-driver-splix [Not Installed]
Leave the following dependencies unresolved:
26) printer-driver-escpr recommends cups-ppdc
27) printer-driver-foo2zjs recommends cups
28) printer-driver-foo2zjs recommends cups-client
29) foomatic-db-compressed-ppds recommends ghostscript
30) foomatic-db-compressed-ppds recommends cups
31) foomatic-db-compressed-ppds recommends cups-client
32) foomatic-db-engine recommends cups
33) foomatic-db-engine recommends cups-client
34) foomatic-filters recommends cups-client | lpr | lprng | rlpr
35) foomatic-filters recommends ghostscript
36) foomatic-filters recommends cups | enscript | a2ps | mpage
37) ghostscript-cups recommends cups
38) ghostscript-cups recommends cups-client
39) libsane-hpaio recommends hplip (= 3.12.6-3.1+deb7u1)
40) printer-driver-hpijs recommends ghostscript
41) printer-driver-hpijs recommends cups (>= 1.4.0) | cupsddk | hpijs-ppds
42) printer-driver-m2300w recommends cups-ppdc
43) printer-driver-min12xxw recommends cups
44) printer-driver-all recommends printer-driver-c2050
45) printer-driver-all recommends printer-driver-c2esp
46) printer-driver-all recommends printer-driver-escpr
47) printer-driver-all recommends printer-driver-gutenprint
48) printer-driver-all recommends printer-driver-hpcups
49) printer-driver-all recommends printer-driver-pnm2ppa
50) printer-driver-all recommends printer-driver-postscript-hp
51) printer-driver-all recommends printer-driver-ptouch
52) printer-driver-all recommends printer-driver-sag-gdi
53) printer-driver-all recommends printer-driver-splix
Accept this solution? [Y/n/q/?]
----
I've accepted the solution to this point, but then when I try to confirm that cups is running:
~$ /etc/init.d/cups start
bash: /etc/init.d/cups: No such file or directory
and of course, the web browser connection still doesn't work either. Not seeing any way thru the GUI to get to this, so am reaching out to the community here. What am I missing?
Thanks in advance, I appreciate your help.
-
Take a look at the posting here. Looks like a bug, but there is a workaround...
From http://planetwatt.com/newforum/index.php?topic=102.0
If you want to test yourself now on your current Microwattt (R8 install), and try some Jessie packages, (and fix some of your dependencies).
simply edit /etc/apt/sources.list
sudo nano sources.list
Add the line at the bottom of the file
deb http://ftp.us.debian.org/debian/ jessie main non-free contrib
Save the file
then
sudo apt-get update
Then install whatever packages you need that previously did not work. (like system-config-printer to fix printing)
This worked for me. I hope this helps!
-
Thanks - giving it a go now.
-
I had some issues w/ setting up Cups heres my run down...
#sudo apt-get install cups
click yes. Deal with apt-get...
#sudo apt-get install –-fix missing cups
okay, it worked this time...
make sure cups is running
#ps wax | grep cups
27323 ? Ss 0:00 /usr/sbin/cupsd -C /etc/cups/cupsd.conf
27486 ? S 0:00 /usr/sbin/cups-browsed
28292 pts/2 S+ 0:00 grep cups
okay!
Go to the browser.
http://localhost:631/admin
click “add printer”
errors. Doh!
Permissions...
#cat /etc/group
okay so my user dukas needs to be in the lpadmin...
#sudo adduser dukas lpadmin
Try again. Select your printer. Mine is a local printer.
Click continue.
Click “share this printer” if you want
Click continue.
Find the path to the .ppd to load the print driver.
Set Default Options.
Send test page. Done!