OESF Portables Forum

General Forums => General Discussion => Topic started by: alee16 on June 23, 2006, 02:05:55 pm

Title: Usb Print Support
Post by: alee16 on June 23, 2006, 02:05:55 pm
I would be interested in trying out different things to get printing to a USB printer working.  I thought it might be a good idea (if there is enough interest) in getting a group of people trying different things, and then telling their results in one thread, so we can mark progress.  I have searched and there are quite a few threads on this topic, but nothing within the past year, so I'm not sure what has been accomplished more recently.  

If anyone already has this working please let me know.  

Also, please post previous attempts and an explanation of why you think it failed.

Make sure you tell what Rom or OS you are using, and which model of Z.  

I currently have a C1000 with Cacko, and I hope to get it working with this setup, but will switch if it can be done in another ROM.  

If you have any suggestions as to the basic packages that will be needed (my linux desktop automatically sets everything up, so I'm not quite sure where to start), that would also be great.
Title: Usb Print Support
Post by: gagware on June 23, 2006, 02:13:01 pm
Sorry I can't be of much help for I've currently not got the skills to join you in your efforts, but I have a comment though...I understand it can be usefull to be able to print over USB but wouldn't it be really something to be able to print over IRda? I am on the road a lot with my laptop and am always happy to come into a place where they have a laserprinter (usually HP laserjet xx), or even better - to print for free instead of with some weird debit card in my university  
Or am I taking two steps at a time now?
Anyway, my vote: cool feature, but not that important.
Title: Usb Print Support
Post by: Jon_J on June 23, 2006, 02:17:16 pm
I'm interested, but I'm currently needing a new printer since my 10 yr old printer is about to die.
I hope to get a Bluetooth/USB enabled printer, but just USB would also be fine.
I'll probably wait until later this fall, (Oct, Nov), to purchase a new printer, as funds will be more available then.
I'll watch this thread closely and see if any models of printers are suggested.
Sorry, I have no knowledge of what drivers/modules are needed to get printout from a Zaurus.
I use Cacko Lite 1.23 on a SL-C3100
Title: Usb Print Support
Post by: iamasmith on June 23, 2006, 05:53:35 pm
I have it working on OpenBSD from my SL-C3000.. it's kinda slow running CUPS/Gutenprint/ESPGS on a Zaurus though.
Title: Usb Print Support
Post by: alee16 on June 23, 2006, 09:59:36 pm
Quote
I have it working on OpenBSD from my SL-C3000.. it's kinda slow running CUPS/Gutenprint/ESPGS on a Zaurus though.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=132642\"][{POST_SNAPBACK}][/a][/div]

What packages did you use (maybe they would be similar in linux)?

Printing over Irda is pretty easy, as I understand.  I think you just have to beam the text document (text documents only) to the printer, just like you would beam it to another pda, and it should print.
Title: Usb Print Support
Post by: daniel3000 on June 27, 2006, 04:37:53 am
It would be awesome to be able to print directly from the Zaurus.

However, even if the system will support it, there are many applications which do not have a print option. Even Textmaker or the Hancom applicaions cannot print.

I'd need to print PDFs, HTMLs and of course plain text files, which should be possible somehow (PDF with ghostscript, HTML with some browser which can print, and text files using a2ps and ghostscript, or diretly sending the text to the printer).

Of course it would be great to be able to print DOCs, XLSs etc. via hancom or Softmaker Office, but that's not possible, a least with current versions of the programs.

daniel
Title: Usb Print Support
Post by: alee16 on June 27, 2006, 08:05:45 am
Quote
It would be awesome to be able to print directly from the Zaurus.

However, even if the system will support it, there are many applications which do not have a print option. Even Textmaker or the Hancom applicaions cannot print.

I'd need to print PDFs, HTMLs and of course plain text files, which should be possible somehow (PDF with ghostscript, HTML with some browser which can print, and text files using a2ps and ghostscript, or diretly sending the text to the printer).

Of course it would be great to be able to print DOCs, XLSs etc. via hancom or Softmaker Office, but that's not possible, a least with current versions of the programs.

daniel
[div align=\"right\"][a href=\"index.php?act=findpost&pid=132984\"][{POST_SNAPBACK}][/a][/div]

I was planning on using Meanie's X/QT Abiword for printing my docs.
Title: Usb Print Support
Post by: koen on June 27, 2006, 08:14:00 am
Quote
I have it working on OpenBSD from my SL-C3000.. it's kinda slow running CUPS/Gutenprint/ESPGS on a Zaurus though.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=132642\"][{POST_SNAPBACK}][/a][/div]

Same here on my c700 with a ratoc card running OZ. Printing from abiword works pretty well, but I prefer to print over the network instead of via USB.
Title: Usb Print Support
Post by: mikew on June 27, 2006, 08:19:15 am
Textmaker does have a Print option, it expects the Zaurus to have a Default print queue using lpr, setup already, it also includes the options to configure your own print queue.

Textmaker lets you use the print option without complaining but nothing prints of course.

Mike
Title: Usb Print Support
Post by: daniel3000 on June 28, 2006, 04:41:15 am
Quote
Textmaker does have a Print option, it expects the Zaurus to have a Default print queue using lpr, setup already, it also includes the options to configure your own print queue.

Textmaker lets you use the print option without complaining but nothing prints of course.

Mike
[div align=\"right\"][a href=\"index.php?act=findpost&pid=133012\"][{POST_SNAPBACK}][/a][/div]

Ah, didn't know that, so there is hope even for QTopia :-]

THAT would be really great, then I could indeed write invoices and offers on the Zaurus and print them from there.

daniel
Title: Usb Print Support
Post by: Meanie on June 28, 2006, 08:42:19 am
Quote
Quote
Textmaker does have a Print option, it expects the Zaurus to have a Default print queue using lpr, setup already, it also includes the options to configure your own print queue.

Textmaker lets you use the print option without complaining but nothing prints of course.

Mike
[div align=\"right\"][a href=\"index.php?act=findpost&pid=133012\"][{POST_SNAPBACK}][/a][/div]

Ah, didn't know that, so there is hope even for QTopia :-]

THAT would be really great, then I could indeed write invoices and offers on the Zaurus and print them from there.

daniel
[div align=\"right\"][a href=\"index.php?act=findpost&pid=133141\"][{POST_SNAPBACK}][/a][/div]

my printer has an SD slot
Title: Usb Print Support
Post by: alee16 on June 28, 2006, 08:55:52 am
Quote
Quote
I have it working on OpenBSD from my SL-C3000.. it's kinda slow running CUPS/Gutenprint/ESPGS on a Zaurus though.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=132642\"][{POST_SNAPBACK}][/a][/div]

Same here on my c700 with a ratoc card running OZ. Printing from abiword works pretty well, but I prefer to print over the network instead of via USB.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=133008\"][{POST_SNAPBACK}][/a][/div]

koen, what packages did you have to install?
I was wondering if you think they might work in QT, or are there too many dependencies from OZ to make it work?
I might switch to OZ if it doesn't work in X/QT with Abiword.
Title: Usb Print Support
Post by: daniel3000 on June 29, 2006, 04:09:02 am
Quote
my printer has an SD slot
[div align=\"right\"][a href=\"index.php?act=findpost&pid=133164\"][{POST_SNAPBACK}][/a][/div]

Mine has, too, but it can only print JPGs from there.

daniel
Title: Usb Print Support
Post by: alee16 on July 09, 2006, 03:28:19 pm
OK, I've switched to OpenZaurus and I'm running OPIE/GPE at the same time.  I've installed CUPS from the 3.5.4 feed, and all its dependencies.  What do I need to do to get it to print  ?

I'm not sure how to setup a printer, on my desktop with cups I just go to localhost:631, but firefox isn't finding anything under localhost:631, and konqueror doesn't do "localhost".
Title: Usb Print Support
Post by: adf on July 09, 2006, 03:36:38 pm
Quote
OK, I've switched to OpenZaurus and I'm running OPIE/GPE at the same time.  I've installed CUPS from the 3.5.4 feed, and all its dependencies.  What do I need to do to get it to print  ?

I'm not sure how to setup a printer, on my desktop with cups I just go to localhost:631, but firefox isn't finding anything under localhost:631, and konqueror doesn't do "localhost".
[div align=\"right\"][a href=\"index.php?act=findpost&pid=134452\"][{POST_SNAPBACK}][/a][/div]
try "lsusb" and see if anything shows up connected?
Title: Usb Print Support
Post by: alee16 on July 09, 2006, 03:48:08 pm
Quote
Quote
OK, I've switched to OpenZaurus and I'm running OPIE/GPE at the same time.  I've installed CUPS from the 3.5.4 feed, and all its dependencies.  What do I need to do to get it to print  ?

I'm not sure how to setup a printer, on my desktop with cups I just go to localhost:631, but firefox isn't finding anything under localhost:631, and konqueror doesn't do "localhost".
[div align=\"right\"][a href=\"index.php?act=findpost&pid=134452\"][{POST_SNAPBACK}][/a][/div]
try "lsusb" and see if anything shows up connected?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=134453\"][{POST_SNAPBACK}][/a][/div]

Wow! That was a quick response!

I get
Bus 001 Device 0003: 04b8-0005 Seiko Epson Stylus Printer
What should I do now?
Title: Usb Print Support
Post by: adf on July 09, 2006, 03:51:16 pm
Quote
Quote
Quote
OK, I've switched to OpenZaurus and I'm running OPIE/GPE at the same time.  I've installed CUPS from the 3.5.4 feed, and all its dependencies.  What do I need to do to get it to print  ?

I'm not sure how to setup a printer, on my desktop with cups I just go to localhost:631, but firefox isn't finding anything under localhost:631, and konqueror doesn't do "localhost".
[div align=\"right\"][a href=\"index.php?act=findpost&pid=134452\"][{POST_SNAPBACK}][/a][/div]
try "lsusb" and see if anything shows up connected?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=134453\"][{POST_SNAPBACK}][/a][/div]

Wow! That was a quick response!

I get
Bus 001 Device 0003: 04b8-0005 Seiko Epson Stylus Printer
What should I do now?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=134455\"][{POST_SNAPBACK}][/a][/div]

lmao..I'm not entirely sure.  do you have some kind of cups config stuff available?  Obviously the problem is to pint cups at this device.  Of colurse, you might try a test page in cups on usb (postscript) just to see what happens.
Title: Usb Print Support
Post by: alee16 on July 09, 2006, 03:53:03 pm
Quote
Quote
Quote
Quote
OK, I've switched to OpenZaurus and I'm running OPIE/GPE at the same time.  I've installed CUPS from the 3.5.4 feed, and all its dependencies.  What do I need to do to get it to print  ?

I'm not sure how to setup a printer, on my desktop with cups I just go to localhost:631, but firefox isn't finding anything under localhost:631, and konqueror doesn't do "localhost".
[div align=\"right\"][a href=\"index.php?act=findpost&pid=134452\"][{POST_SNAPBACK}][/a][/div]
try "lsusb" and see if anything shows up connected?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=134453\"][{POST_SNAPBACK}][/a][/div]

Wow! That was a quick response!

I get
Bus 001 Device 0003: 04b8-0005 Seiko Epson Stylus Printer
What should I do now?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=134455\"][{POST_SNAPBACK}][/a][/div]

lmao..I'm not entirely sure.  do you have some kind of cups config stuff available?  Obviously the problem is to pint cups at this device.  Of colurse, you might try a test page in cups on usb (postscript) just to see what happens.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=134456\"][{POST_SNAPBACK}][/a][/div]

My problem is I don't know how to get "in cups" to print a test page.  I tried localhost:631, but no go.  Do you know how?

Thanks for your help!
Title: Usb Print Support
Post by: adf on July 09, 2006, 03:57:32 pm
maybe start here?
cups commandline (http://survivor.sarovar.org/CUPS_Command.html)
cups manual (http://www.cups.org/doc-1.1/sum.html)
Title: Usb Print Support
Post by: alee16 on July 09, 2006, 05:17:53 pm
Quote
maybe start here?
cups commandline (http://survivor.sarovar.org/CUPS_Command.html)
cups manual (http://www.cups.org/doc-1.1/sum.html)
[div align=\"right\"][a href=\"index.php?act=findpost&pid=134458\"][{POST_SNAPBACK}][/a][/div]

I am not sure where the cups daemon is to "start" it.  Apparently it puts it in different places?  
When I run cupsd I get an error "cannot start child exit status 2!" or something like that.
On my computer I get the same kind of error "98" instead of "2", but it still prints, so I think I just need to start the cups daemon the correct way, then I can configure it in firefox under localhost:631.  Does anyone know where it is put?
or, does anyone know how to search for a file by a name?
Title: Usb Print Support
Post by: adf on July 09, 2006, 06:00:14 pm
su
cd /
find -name 'cups'
Title: Usb Print Support
Post by: alee16 on July 09, 2006, 07:53:10 pm
Quote
su
cd /
find -name 'cups'
[div align=\"right\"][a href=\"index.php?act=findpost&pid=134464\"][{POST_SNAPBACK}][/a][/div]

Thanks, found out that the cups daemon is already running, apparently the internet printing protocol which provides localhost:631 (an easy way to setup a printer) isn't part of the Zaurus package  .  I guess it makes it more compact.  I will dive back in to the cups documentation to figure out how to install a printer via command-line.
Title: Usb Print Support
Post by: adf on July 09, 2006, 11:32:47 pm
Quote
Quote
su
cd /
find -name 'cups'
[div align=\"right\"][a href=\"index.php?act=findpost&pid=134464\"][{POST_SNAPBACK}][/a][/div]

Thanks, found out that the cups daemon is already running, apparently the internet printing protocol which provides localhost:631 (an easy way to setup a printer) isn't part of the Zaurus package  .  I guess it makes it more compact.  I will dive back in to the cups documentation to figure out how to install a printer via command-line.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=134473\"][{POST_SNAPBACK}][/a][/div]
Now THAT is something you might pester HRW about.  surely it would be easy to whip up a "cups grande" package if he has a build system up and running.
Title: Usb Print Support
Post by: koen on July 10, 2006, 03:22:16 am
Quote
Now THAT is something you might pester HRW about.  surely it would be easy to whip up a "cups grande" package if he has a build system up and running.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=134484\"][{POST_SNAPBACK}][/a][/div]

cups 1.1.23-r1 contains everything (minus support for serial printers) the cups build generates, including a working webinterface.
Title: Usb Print Support
Post by: adf on July 10, 2006, 05:33:33 am
Quote
Quote
Now THAT is something you might pester HRW about.  surely it would be easy to whip up a "cups grande" package if he has a build system up and running.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=134484\"][{POST_SNAPBACK}][/a][/div]

cups 1.1.23-r1 contains everything (minus support for serial printers) the cups build generates, including a working webinterface.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=134499\"][{POST_SNAPBACK}][/a][/div]
is this the package being used here ....if not, did an upgrade work? if so wht is the issue?
Title: Usb Print Support
Post by: alee16 on July 12, 2006, 01:36:00 pm
Quote
Quote
cups 1.1.23-r1 contains everything (minus support for serial printers) the cups build generates, including a working webinterface.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=134499\"][{POST_SNAPBACK}][/a][/div]
is this the package being used here ....if not, did an upgrade work? if so wht is the issue?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=134518\"][{POST_SNAPBACK}][/a][/div]

That's just what I need!  Where is r1?  I got cups_1.1.23-r0 from the 3.5.4 feed under upgrades folder, but can't seem to find r1, is there another feed I need to know about?

I've searched everywhere, is it possibly not on a feed yet?
Title: Usb Print Support
Post by: Jon_J on July 12, 2006, 04:11:21 pm
Quote
Quote
Quote
Quote
Now THAT is something you might pester HRW about.  surely it would be easy to whip up a "cups grande" package if he has a build system up and running.
[div align=\"right\"][{POST_SNAPBACK}][/a][/div] (http://index.php?act=findpost&pid=134484\")

cups 1.1.23-r1 contains everything (minus support for serial printers) the cups build generates, including a working webinterface.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=134499\"][{POST_SNAPBACK}][/a][/div]
is this the package being used here ....if not, did an upgrade work? if so wht is the issue?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=134518\"][{POST_SNAPBACK}][/a][/div]

That's just what I need!  Where is r1?  I got cups_1.1.23-r0 from the 3.5.4 feed under upgrades folder, but can't seem to find r1, is there another feed I need to know about?

I've searched everywhere, is it possibly not on a feed yet?

Oh, and koen, sort of an off-topic question, what is Angstrom?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=134873\"][{POST_SNAPBACK}][/a][/div]
I looked here:
[a href=\"http://gentoo-portage.com/net-print/cups]http://gentoo-portage.com/net-print/cups[/url]
Does this need compiling? The description mentions "arm"
Title: Usb Print Support
Post by: alee16 on July 12, 2006, 04:28:17 pm
Quote
I looked here:
http://gentoo-portage.com/net-print/cups (http://gentoo-portage.com/net-print/cups)
Does this need compiling? The description mentions "arm"
[div align=\"right\"][a href=\"index.php?act=findpost&pid=134903\"][{POST_SNAPBACK}][/a][/div]

To work "properly" (reasonable speed, etc.) I think it would need recompiled and optimized for the Zaurus.  I think Koen meant that it was available already for the Zaurus (ipk), but it may not have been uploaded to the mirror yet.

Edit:
I found the cups_1.1.23-r1 package its under /tmp/feed in the ewi . . . mirror.  Is this the correct one, and now I find my question is related, I figured out what Angstrom is (sorry, I haven't figured out the accents with my US keymap), what is the status, is it useable, or does it take alot of tweaking?
Title: Usb Print Support
Post by: alee16 on July 14, 2006, 01:21:23 pm
I've been trying for the past two days to get the Angstrom cups_1.1.23-r1 package running on OpenZaurus.  It requires libc6 to be updated, which crashes with an error that renders the system unuseable (requiring reflashing of OPIE & GPE).  Angstrom won't work on my akita either, so I've still got the same problem.  Maybe Hrw or Koen could build the r1 cups package for OpenZaurus.  I've requested it in the upgrades thread andam waiting for a response.

Koen, do you know if it is already built for zaurus and if so, where is it?

Thanks!
Title: Usb Print Support
Post by: lardman on July 16, 2006, 12:51:13 pm
These Angstrom packages come from the OE metadata, hrw should be able to build the version you want and add them to the upgrades feed (when he's back from holiday), to suit the various library versions you have, without any issues.

Si
Title: Usb Print Support
Post by: alee16 on July 16, 2006, 02:45:43 pm
Quote
These Angstrom packages come from the OE metadata, hrw should be able to build the version you want and add them to the upgrades feed (when he's back from holiday), to suit the various library versions you have, without any issues.

Si
[div align=\"right\"][a href=\"index.php?act=findpost&pid=135286\"][{POST_SNAPBACK}][/a][/div]

Great!  I've posted in the upgrades thread, so I think he will see it and probably be able to build it.  Thanks for your help!