OESF Portables Forum

Everything Else => Zaurus Distro Support and Discussion => Distros, Development, and Model Specific Forums => Archived Forums => Angstrom & OpenZaurus => Topic started by: alee16 on July 11, 2006, 12:04:01 pm

Title: Printing From Usb - Cups Package Problem?
Post by: alee16 on July 11, 2006, 12:04:01 pm
I've installed cups on my akita, and I'm not sure exactly how to add a printer.    I've tried using lpadmin command with various variables, but nothing seems to work.  I always get an error "server-error-internal-error" or "client-error-request-value-too-long".  I have a ppd file for my printer, and my Z sees it and registers it to /dev/usb/lp0.  
How do I add a printer?  

I have read through the cups documentation, but it says to do the lpadmin command and I get the errors I listed before.  I've probably missed something obvious  , but please let me know if I need to install anything else to get it working, or what commands I need to execute to fix the errors, or if it's a bug (other than just me  ).  I'm using OZ3.5.4.1 GPE and cups from the 3.5.4 feed in the upgrades folder.
Title: Printing From Usb - Cups Package Problem?
Post by: adf on July 11, 2006, 01:22:47 pm
Quote
I've installed cups on my akita, and I'm not sure exactly how to add a printer.    I've tried using lpadmin command with various variables, but nothing seems to work.  I always get an error "server-error-internal-error" or "client-error-request-value-too-long".  I have a ppd file for my printer, and my Z sees it and registers it to /dev/usb/lp0. 
How do I add a printer? 

I have read through the cups documentation, but it says to do the lpadmin command and I get the errors I listed before.  I've probably missed something obvious  , but please let me know if I need to install anything else to get it working, or what commands I need to execute to fix the errors, or if it's a bug (other than just me  ).  I'm using OZ3.5.4.1 GPE and cups from the 3.5.4 feed in the upgrades folder.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=134696\"][{POST_SNAPBACK}][/a][/div]
did you ever get the web interface working?

I'll have a look on pdaXrom (oz isn't installed right now, though I fear pdaX has died and I need to switch)

no localhost:631, it seems.
Title: Printing From Usb - Cups Package Problem?
Post by: alee16 on July 11, 2006, 02:30:42 pm
Quote
Quote
I've installed cups on my akita, and I'm not sure exactly how to add a printer.    I've tried using lpadmin command with various variables, but nothing seems to work.  I always get an error "server-error-internal-error" or "client-error-request-value-too-long".  I have a ppd file for my printer, and my Z sees it and registers it to /dev/usb/lp0. 
How do I add a printer? 

I have read through the cups documentation, but it says to do the lpadmin command and I get the errors I listed before.  I've probably missed something obvious  , but please let me know if I need to install anything else to get it working, or what commands I need to execute to fix the errors, or if it's a bug (other than just me  ).  I'm using OZ3.5.4.1 GPE and cups from the 3.5.4 feed in the upgrades folder.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=134696\"][{POST_SNAPBACK}][/a][/div]
did you ever get the web interface working?

I'll have a look on pdaXrom (oz isn't installed right now, though I fear pdaX has died and I need to switch)

no localhost:631, it seems.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=134705\"][{POST_SNAPBACK}][/a][/div]

Same here, with the web interface, it would be very easy (although I think I would probably get the same errors as I get in the command-line).

I am pretty sure a few people have it setup that frequent the forums, so I hope one of them will be able to give some input.  Do I possibly need the cups-dev package?
Title: Printing From Usb - Cups Package Problem?
Post by: adf on July 11, 2006, 02:49:22 pm
Quote
Quote
Quote
I've installed cups on my akita, and I'm not sure exactly how to add a printer.    I've tried using lpadmin command with various variables, but nothing seems to work.  I always get an error "server-error-internal-error" or "client-error-request-value-too-long".  I have a ppd file for my printer, and my Z sees it and registers it to /dev/usb/lp0. 
How do I add a printer? 

I have read through the cups documentation, but it says to do the lpadmin command and I get the errors I listed before.  I've probably missed something obvious  , but please let me know if I need to install anything else to get it working, or what commands I need to execute to fix the errors, or if it's a bug (other than just me  ).  I'm using OZ3.5.4.1 GPE and cups from the 3.5.4 feed in the upgrades folder.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=134696\"][{POST_SNAPBACK}][/a][/div]
did you ever get the web interface working?

I'll have a look on pdaXrom (oz isn't installed right now, though I fear pdaX has died and I need to switch)

no localhost:631, it seems.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=134705\"][{POST_SNAPBACK}][/a][/div]

Same here, with the web interface, it would be very easy (although I think I would probably get the same errors as I get in the command-line).

I am pretty sure a few people have it setup that frequent the forums, so I hope one of them will be able to give some input.  Do I possibly need the cups-dev package?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=134715\"][{POST_SNAPBACK}][/a][/div]
I might have screwed up the installation. doing mirrors and updates right now.  I'll try again
Title: Printing From Usb - Cups Package Problem?
Post by: adf on July 11, 2006, 03:09:03 pm
I see a "cups-client" in meanie's stuff for pdaxrom. I wonder if that is the missing piece?
Title: Printing From Usb - Cups Package Problem?
Post by: alee16 on July 11, 2006, 03:17:10 pm
Quote
I see a "cups-client" in meanie's stuff for pdaxrom. I wonder if that is the missing piece?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=134723\"][{POST_SNAPBACK}][/a][/div]

But it won't work in OZ, will it?

And I know koen set it up on his c700 (running OZ/GPE).  I've asked him for help, but I don't think he checks his PM box or maybe he is too busy, which I understand  .  Maybe he will see this thread.

He always has a reply for negative comments about OZ, maybe if I say "OZ is bad" he will see it  .(just kidding)
Title: Printing From Usb - Cups Package Problem?
Post by: adf on July 11, 2006, 03:19:27 pm
Quote
Quote
I see a "cups-client" in meanie's stuff for pdaxrom. I wonder if that is the missing piece?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=134723\"][{POST_SNAPBACK}][/a][/div]

But it won't work in OZ, will it?

And I know koen set it up on his c700 (running OZ/GPE).  I've asked him for help, but I don't think he checks his PM box or maybe he is too busy, which I understand  .  Maybe he will see this thread.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=134725\"][{POST_SNAPBACK}][/a][/div]
No, It won't. But if it is the missing link, it can be compiled for OZ.  Oz has a native compiler, right?  I mean you could grab the source and compile the thing on your z?

a 700 doesn't have usb. he must be either using a network (easy) or a cf usb adapter.
Title: Printing From Usb - Cups Package Problem?
Post by: alee16 on July 11, 2006, 03:31:25 pm
Quote
Quote
Quote
I see a "cups-client" in meanie's stuff for pdaxrom. I wonder if that is the missing piece?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=134723\"][{POST_SNAPBACK}][/a][/div]

But it won't work in OZ, will it?

And I know koen set it up on his c700 (running OZ/GPE).  I've asked him for help, but I don't think he checks his PM box or maybe he is too busy, which I understand  .  Maybe he will see this thread.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=134725\"][{POST_SNAPBACK}][/a][/div]
No, It won't. But if it is the missing link, it can be compiled for OZ.  Oz has a native compiler, right?  I mean you could grab the source and compile the thing on your z?

a 700 doesn't have usb. he must be either using a network (easy) or a cf usb adapter.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=134726\"][{POST_SNAPBACK}][/a][/div]

Maybe that's why he didn't answer my question  .
I'm not sure about the native compiler, but I'll find out if you're able to get it working (you're in PdaXrom, right?).
Title: Printing From Usb - Cups Package Problem?
Post by: Jon_J on July 11, 2006, 03:51:13 pm
I only use Sharp/Cacko, but am interested in printing from my 'Z'
I found this, it's from 2004.
CUPS client v1.1.20
http://zsi2.stonekeep.com/index.php?v=d&a=1742 (http://zsi2.stonekeep.com/index.php?v=d&a=1742)
Title: Printing From Usb - Cups Package Problem?
Post by: Jon_J on July 11, 2006, 03:59:48 pm
My above post linked to this site:
http://www.kamg.de/linux/ (http://www.kamg.de/linux/)
Code: [Select]
Translated German to English,

Here it concerns Linux generally and the Zaurus (Linux PDA von Sharp) in the special one.
Up to now I did not have time, therefore am also not much to be found here.

Here my first ipk for the Zaurus (tested on my SL5500G with OpenZaurus version 3.3.6pre1):

cupsclient_1.1.20_arm.ipk
Ccommon Unix Printing System
Makes possible printing pdf and Postscriptdokumenten over a CUPS server (standard pressure system under SuSE Linux 8.*, 9. *).
Note: /etc/cups/client.conf must be adapted. In most cases only the variable server name is to be set.

cupsys-bsd_1.1.20_arm.ipk
Ccommon Unix Printing System
BSD of instructions for CUPS. lpr and lpq etc. for CUPS. Sets cupsclient ahead.

cups-opie-sh_0.1_arm.ipk
Ccommon Unix Printing System
Small Opie SH script for cupsclient, in order to query the server status and print out files.
Title: Printing From Usb - Cups Package Problem?
Post by: alee16 on July 11, 2006, 04:03:24 pm
Quote
I only use Sharp/Cacko, but am interested in printing from my 'Z'
I found this, it's from 2004.
CUPS client v1.1.20
http://zsi2.stonekeep.com/index.php?v=d&a=1742 (http://zsi2.stonekeep.com/index.php?v=d&a=1742)
[div align=\"right\"][a href=\"index.php?act=findpost&pid=134736\"][{POST_SNAPBACK}][/a][/div]

Good find!  I tried installing it, but it tries to install everything cups has already installed, but that also tells me that cups client isn't what's missing.  Thanks!
The search goes on.  Isn't linux fun?
Title: Printing From Usb - Cups Package Problem?
Post by: Jon_J on July 11, 2006, 04:10:38 pm
I don't mean to clutter up this thread, but I opened cups-opie-sh_0.1_arm.ipk
Then extracted cups_opie_sh
It looks like this would work in Sharp/Cacko, because the directory structure is the same.
I extracted cups-opie-sh_0.1_arm
added .tgz to it, then I had a look at the directories.
It contains a .desktop file, a .png icon, and cups_opie_sh
Title: Printing From Usb - Cups Package Problem?
Post by: alee16 on July 11, 2006, 04:23:56 pm
We're all trying to get USB printing working, anything that helps toward this cause isn't cluttering the thread.  Have you installed the cupsclient package?
Title: Printing From Usb - Cups Package Problem?
Post by: Jon_J on July 11, 2006, 04:29:33 pm
Quote
We're all trying to get USB printing working, anything that helps toward this cause isn't cluttering the thread.  Have you installed the cupsclient package?
[div align=\"right\"][{POST_SNAPBACK}][/a][/div] (http://index.php?act=findpost&pid=134741\")
No, I haven't.
I'm between using a 12 year old printer and purchasing a new one with USB & Bluetooth, (If I can find one with both interfaces thats not really expensive).
If I installed it now, I wouldn't be able to test it because my old printer is parallel only and I don't have a USB -> to parallel cable.
EDIT: And besides, I don't have any apps in Cacko that will print to a printer.
I was thinking of installing Meanie's pdaXqtrom to get apps with printing capabilities.
EDIT2:
Here's a google page with 615 links to cups zaurus related pages:
[a href=\"http://www.google.com/search?hs=P52&hl=en&lr=&client=firefox-a&rls=org.mozilla%3Aen-US%3Aofficial&q=cups-client&as_q=zaurus&btnG=Search%C2%A0within%C2%A0results]http://www.google.com/search?hs=P52&hl=en&...in%C2%A0results[/url]