maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   Printing with N900 (https://talk.maemo.org/showthread.php?t=56932)

mase 2011-02-26 17:18

Re: Printing with N900
 
Reboot the phone after installing cups. The cups service does not start
automatically after installation.

david.hicks 2011-02-26 17:23

Re: Printing with N900
 
Quote:

Originally Posted by mase (Post 955977)
Reboot the phone after installing cups. The cups service does not start
automatically after installation.

Tried, didn't fix it, no /usr/share/cups/banner is the error I'm getting, re-purging all cups and ghostscript to see if that helps.

Is there a similar link situation that's supposed to go on there?

--EDIT--

That seems to have got it.

apt-get --purge remove cups cups-common
mv /usr/lib/cups /opt/maemo/usr/lib/cups
ln -s /opt/maemo/usr/lib/cups /usr/lib/cups
mkdir /opt/maemo/usr/share/cups
ln -s /opt/maemo/usr/share/cups /usr/share/cups
apt-get install cups cups-client

mase 2011-02-26 17:44

Re: Printing with N900
 
All folders, that get linked must not exist before.
Neither /usr/share/cups, nor /usr/lib/cups.
That all is because, I had to optify the packages. They were
too large for the rootfs.

rotoflex 2011-02-26 22:38

Re: Printing with N900
 
1 Attachment(s)
I installed bash3, then copy/pastesd david.hicks commands above, & the result is below:

mase 2011-02-26 22:46

Re: Printing with N900
 
This message can be ignored. It seems, that everything is ok.
Reboot your device and try to open the web frontend.

rotoflex 2011-02-26 22:50

Re: Printing with N900
 
1 Attachment(s)
Trying again, but now, the command
apt-get --purge remove cups cups-common
produces the errors below:

rotoflex 2011-02-26 22:59

Re: Printing with N900
 
I apologize, mase. I made the attempt & posted before refreshing the thread.

mase 2011-02-26 23:16

Re: Printing with N900
 
If the directories cannot be removed, there maybe other packages that
installed files in there. libcups2 and libcupsimage2 are such packages.
Also packages like cups-pdf and ghostscript.

rotoflex 2011-02-27 02:17

Re: Printing with N900
 
OK, purged all those, repeated david.hicks commands, ignored error message about dialog, switched off & then back on.

http://localhost:631 is 404 Not Found

mase 2011-02-27 12:13

Re: Printing with N900
 
david.hicks commands shouldn't be necessary. I found a problem. It is of
maemo-optify which is configured to auto. In cups-common /usr/lib/cups
is not optified. Therefor the previously made symlinks are hidden. I try to
fix this.

Edit: I have uploaded new, non-optified packages. They should work now,
but they take about 10MB of rootfs, which is too much for a promotion I
think. Remember, the device has to be rebooted after installation.
Please try it!


All times are GMT. The time now is 15:30.

vBulletin® Version 3.8.8