maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   General (https://talk.maemo.org/forumdisplay.php?f=7)
-   -   HOWTO - Printing From the Internet tablet to Network Printers (https://talk.maemo.org/showthread.php?t=10057)

penguinbait 2007-12-03 02:20

Re: HOWTO - Printing From the Internet tablet to Network Printers
 
Not without help, It needs a lib from 2007. If you copy the missing lib it will work.

Golab 2007-12-03 22:33

Re: HOWTO - Printing From the Internet tablet to Network Printers
 
Cant somebody make deb pack whit the missing libs?

penguinbait 2007-12-05 00:18

Re: HOWTO - Printing From the Internet tablet to Network Printers
 
Quote:

Originally Posted by Golab (Post 104061)
Cant somebody make deb pack whit the missing libs?


Yup, Somebody could :)

You Busy?

I have KDE 3.5.8 with Koffice all with cups working, but I have been kinda busy with that. When I release KDE it will contain CUPS, once thats done I will see about a recompile of standalone cups. KDE 3.5.8 will not be released until after I get my n810 in hand, but if you are interested in testing KDE with cups PM me.

If you install it, and run it (from the command line), it will tell you whats missing, I think its like libdbus-2 or something like that. then copy them from the 2007OS it should work for you, or you could package up the deb, or ask debernardis to add the files.

BruceL 2007-12-05 13:33

Re: HOWTO - Printing From the Internet tablet to Network Printers
 
Be careful with this. The 2007 version added Samba support which the os2008 already has. Installing the os2007 version might mess with the os2008's Samba support.

BruceL 2007-12-11 10:40

Re: HOWTO - Printing From the Internet tablet to Network Printers
 
BTW, instead of trying to get the old version of the file (libdbus-1.so.2) just make a link to the new version which is backward compatible.

ln -s /usr/lib/libdbus-1.so.3 /usr/lib/libdbus-1.so.2

Bruce

frisket 2008-01-29 10:30

Re: HOWTO - Printing From the Internet tablet to Network Printers
 
Quote:

Originally Posted by Golab (Post 85318)
it works now, :) Danke

Alas mine still doesn't. CUPS itself starts up, and I can configure the printer in the web interface. But the test page (and anything else) fails to print ("job stopped"). This is using a HPDJ1220C on lpd on my local network (used by all my other hosts using CUPS, so I know the config is OK), on N800 using stock OS2007.

Investigation of the error log shows pstoraster stopped with status 127 but turning on debug doesn't give anything else. Also gs wants libXt.so.6 and can't find it (it doesn't appear to be there).

Does anyone have any pointers as to why it might be dying like this? It happens regardless of file type and app (plaintext and lpr, abiword, browser, etc). Where can I get a working pstoraster and libXt.so.6 for N800?

dragon_788 2008-02-20 02:02

Re: HOWTO - Printing From the Internet tablet to Network Printers
 
I've also had success starting cups using the symlink method (I posted that to the blog in the comments) but have been unable to actually get a test page to print to a Laserjet 4 via Jetdirect. I defined it appropriately (I think, according to the CUPS docs) as socket://printerip:9100 and even tried ?waiteof=false and thought I was getting lucky, but it turned out someone else just happened to print to the same printer I was testing on. The page never came out.

unknown 2008-06-13 18:15

Re: HOWTO - Printing From the Internet tablet to Network Printers
 
HOWTO - Printing From the Internet tablet to remote CUPS server

If an CUPS server is already running on a connected network host
no local CUPS server on the N810 is required.

I installed only these files form the CUPS12.tar.bz2 on my N810:

-rwxr-xr-x 29999/30000 24673 2007-09-26 22:48 usr/bin/cancel
-rwxr-xr-x 29999/30000 32803 2007-09-26 22:48 usr/bin/lp
-rwxr-xr-x 29999/30000 19853 2007-09-26 22:48 usr/bin/lpoptions
-rwxr-xr-x 29999/30000 35341 2007-09-26 22:48 usr/bin/lpq
-rwxr-xr-x 29999/30000 19722 2007-09-26 22:48 usr/bin/lpr
-rwxr-xr-x 29999/30000 24087 2007-09-26 22:48 usr/bin/lprm
-rwxr-xr-x 29999/30000 49263 2007-09-26 22:48 usr/bin/lpstat
-rw-r--r-- 29999/30000 802284 2007-09-26 22:48 usr/lib/libcups.a
-rwxr-xr-x 29999/30000 827 2007-09-26 22:48 usr/lib/libcups.la
lrwxrwxrwx root/root 0 2008-06-13 15:04 usr/lib/libcups.so -> libcups.so.2.0.7
lrwxrwxrwx root/root 0 2008-06-13 15:04 usr/lib/libcups.so.2 -> libcups.so.2.0.7
-rwxr-xr-x 29999/30000 531656 2007-09-26 22:48 usr/lib/libcups.so.2.0.7
-rw-r--r-- 29999/30000 246392 2007-09-26 22:48 usr/lib/libcupsimage.a
-rwxr-xr-x 29999/30000 953 2007-09-26 22:48 usr/lib/libcupsimage.la
lrwxrwxrwx root/root 0 2008-06-13 15:04 usr/lib/libcupsimage.so -> libcupsimage.so.2.0.2
lrwxrwxrwx root/root 0 2008-06-13 15:04 usr/lib/libcupsimage.so.2 -> libcupsimage.so.2.0.2
-rwxr-xr-x 29999/30000 187232 2007-09-26 22:48 usr/lib/libcupsimage.so.2.0.2
-rw-r--r-- 29999/30000 1104 2007-09-26 22:48 usr/share/man/man1/cancel.1.gz
-rw-r--r-- 29999/30000 2436 2007-09-26 22:48 usr/share/man/man1/lp.1.gz
-rw-r--r-- 29999/30000 1386 2007-09-26 22:48 usr/share/man/man1/lpoptions.1.gz
-rw-r--r-- 29999/30000 1044 2007-09-26 22:48 usr/share/man/man1/lpq.1.gz
-rw-r--r-- 29999/30000 1377 2007-09-26 22:48 usr/share/man/man1/lpr.1.gz
-rw-r--r-- 29999/30000 1028 2007-09-26 22:48 usr/share/man/man1/lprm.1.gz
-rw-r--r-- 29999/30000 1637 2007-09-26 22:48 usr/share/man/man1/lpstat.1.gz
-rw-r--r-- 29999/30000 961 2007-09-26 22:48 usr/share/man/man5/client.conf.5.gz

put the right magic for the remote CUPS server in this file:

-rw-r--r-- 29999/30000 46 2008-06-13 12:26 etc/cups/client.conf

for me this is:
Encryption Never
ServerName 192.168.128.1:631

Now I am printing with e.g. lpr print.pdf

With ~ 2 MB required space for the CUPS client on the N810 this
is realy nice to have to be able to print from the IT.

Thanks penguinbait for providing the tarball.

setasai 2008-06-15 06:12

Re: HOWTO - Printing From the Internet tablet to Network Printers
 
How do I get the PPD files for a Brother HL-2070N printer? If I don't need the PPD file, what settings should I be using?

Thx

BTW, in case it matters. N810 + KDE Codename Zelda + built in cups from KDE install. Booting from SD.

unknown 2008-06-15 12:14

Re: HOWTO - Printing From the Internet tablet to Network Printers
 
google search "Brother HL-2070N cups" gives this Link:
http://www.linuxprinting.org/show_pr...other-HL-2070N

if you have your printer already setup from another host running CUPS
tell the CUPS clients on N810 to use that CUPS server. On the other
host setup CUPS to share the printers and open the firewall for ipp.

On N810 you only need to setup /etc/cups/client.conf with the CUPS
ServerName.

For CUPS you need a Postscript Printer Description (PPD) for every
installed printer (even for non postscript printers). This file
defines which features the printer supports and how CUPS can make
use of them (e.g. for non postscript printers use ghostscript to
render the page image).


All times are GMT. The time now is 14:20.

vBulletin® Version 3.8.8