|
2010-07-15
, 04:42
|
|
Posts: 355 |
Thanked: 205 times |
Joined on Jun 2010
@ Germany
|
#52
|
|
2010-07-16
, 07:02
|
|
Posts: 355 |
Thanked: 205 times |
Joined on Jun 2010
@ Germany
|
#53
|
|
2010-07-16
, 07:13
|
|
Posts: 355 |
Thanked: 205 times |
Joined on Jun 2010
@ Germany
|
#54
|
# Set up backends db_get cupsys/backend && SELECTED=$RET list=`echo $SELECTED | sed -e 's/, /,/g'` save_IFS=$IFS IFS=, (cd /usr/lib/cups/backend && rm -f http ipp lpd parallel scsi serial socket usb snmp dnssd) for module in $list; do ln /usr/lib/cups/backend-available/$module /usr/lib/cups/backend/$module if [ "$module" = "ipp" ]; then ln /usr/lib/cups/backend/ipp /usr/lib/cups/backend/http fi done IFS=$save_IFS # activate new backends on upgrades db_fset cupsys/backend changed false if dpkg --compare-versions "$2" lt-nl "1.3.4-2"; then for module in snmp scsi serial dnssd; do [ -e /usr/lib/cups/backend/$module ] || \ ln /usr/lib/cups/backend-available/$module /usr/lib/cups/backend/$module done fi
The Following User Says Thank You to mase For This Useful Post: | ||
|
2010-07-19
, 12:26
|
Posts: 569 |
Thanked: 462 times |
Joined on Jul 2010
@ USA
|
#55
|
|
2010-07-19
, 15:37
|
Posts: 115 |
Thanked: 19 times |
Joined on Jun 2010
|
#56
|
apt-get install cups cups-client
if [ "$(ls /usr/lib/cups/backend/)" = "" ] ; then ln -s /usr/lib/cups/backend-available/* /usr/lib/cups/backend/ ; fi
lppasswd -g lpadmin -a root
http://localhost:631/
|
2010-07-19
, 16:59
|
|
Posts: 355 |
Thanked: 205 times |
Joined on Jun 2010
@ Germany
|
#57
|
The Following User Says Thank You to mase For This Useful Post: | ||
|
2010-07-20
, 14:41
|
Posts: 569 |
Thanked: 462 times |
Joined on Jul 2010
@ USA
|
#58
|
|
2010-07-20
, 15:47
|
Posts: 115 |
Thanked: 19 times |
Joined on Jun 2010
|
#59
|
|
2010-07-20
, 16:02
|
|
Posts: 355 |
Thanked: 205 times |
Joined on Jun 2010
@ Germany
|
#60
|
The Following User Says Thank You to mase For This Useful Post: | ||
All said though, running the link statement above does cause the dropdown in the web interface to populate, where a clean package install doesn't. The fact that that's all it takes to get this working is amazing. (Well, that and all the work you and BruceL have put into porting it!)
Thanks again to everyone who's worked on it for getting cups up and running! Only a few things use it right now, but I see this being as integral to the N900 in the future as fMMS has become for the phone side, if not more so. As more app developers learn that cups exists and add the minimal support needed to print via cups, the N900 is going to really start replacing my laptop.