OESF | ELSI | pdaXrom | OpenZaurus | Zaurus Themes | Community Links | Ibiblio

IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Printing From Usb - Cups Package Problem?
alee16
post Jul 11 2006, 08:04 AM
Post #1





Group: Members
Posts: 113
Joined: 30-May 06
Member No.: 10,009



I've installed cups on my akita, and I'm not sure exactly how to add a printer. sad.gif 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 huh.gif , 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 biggrin.gif ). I'm using OZ3.5.4.1 GPE and cups from the 3.5.4 feed in the upgrades folder.
Go to the top of the page
 
+Quote Post
adf
post Jul 11 2006, 09:22 AM
Post #2





Group: Members
Posts: 2,821
Joined: 13-September 04
From: Wasilla Ak.
Member No.: 4,572



QUOTE(alee16 @ Jul 11 2006, 04:04 PM)
I've installed cups on my akita, and I'm not sure exactly how to add a printer. sad.gif  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 huh.gif , 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 biggrin.gif ).  I'm using OZ3.5.4.1 GPE and cups from the 3.5.4 feed in the upgrades folder.
*

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.
Go to the top of the page
 
+Quote Post
alee16
post Jul 11 2006, 10:30 AM
Post #3





Group: Members
Posts: 113
Joined: 30-May 06
Member No.: 10,009



QUOTE(adf @ Jul 11 2006, 01:22 PM)
QUOTE(alee16 @ Jul 11 2006, 04:04 PM)
I've installed cups on my akita, and I'm not sure exactly how to add a printer. sad.gif  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 huh.gif , 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 biggrin.gif ).  I'm using OZ3.5.4.1 GPE and cups from the 3.5.4 feed in the upgrades folder.
*

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.
*



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?
Go to the top of the page
 
+Quote Post
adf
post Jul 11 2006, 10:49 AM
Post #4





Group: Members
Posts: 2,821
Joined: 13-September 04
From: Wasilla Ak.
Member No.: 4,572



QUOTE(alee16 @ Jul 11 2006, 06:30 PM)
QUOTE(adf @ Jul 11 2006, 01:22 PM)
QUOTE(alee16 @ Jul 11 2006, 04:04 PM)
I've installed cups on my akita, and I'm not sure exactly how to add a printer. sad.gif  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 huh.gif , 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 biggrin.gif ).  I'm using OZ3.5.4.1 GPE and cups from the 3.5.4 feed in the upgrades folder.
*

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.
*



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?
*


I might have screwed up the installation. doing mirrors and updates right now. I'll try again
Go to the top of the page
 
+Quote Post
adf
post Jul 11 2006, 11:09 AM
Post #5





Group: Members
Posts: 2,821
Joined: 13-September 04
From: Wasilla Ak.
Member No.: 4,572



I see a "cups-client" in meanie's stuff for pdaxrom. I wonder if that is the missing piece?
Go to the top of the page
 
+Quote Post
alee16
post Jul 11 2006, 11:17 AM
Post #6





Group: Members
Posts: 113
Joined: 30-May 06
Member No.: 10,009



QUOTE(adf @ Jul 11 2006, 03:09 PM)
I see a "cups-client" in meanie's stuff for pdaxrom. I wonder if that is the missing piece?
*


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 smile.gif . 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 laugh.gif .(just kidding)
Go to the top of the page
 
+Quote Post
adf
post Jul 11 2006, 11:19 AM
Post #7





Group: Members
Posts: 2,821
Joined: 13-September 04
From: Wasilla Ak.
Member No.: 4,572



QUOTE(alee16 @ Jul 11 2006, 07:17 PM)
QUOTE(adf @ Jul 11 2006, 03:09 PM)
I see a "cups-client" in meanie's stuff for pdaxrom. I wonder if that is the missing piece?
*


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 smile.gif . Maybe he will see this thread.
*


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.
Go to the top of the page
 
+Quote Post
alee16
post Jul 11 2006, 11:31 AM
Post #8





Group: Members
Posts: 113
Joined: 30-May 06
Member No.: 10,009



QUOTE(adf @ Jul 11 2006, 03:19 PM)
QUOTE(alee16 @ Jul 11 2006, 07:17 PM)
QUOTE(adf @ Jul 11 2006, 03:09 PM)
I see a "cups-client" in meanie's stuff for pdaxrom. I wonder if that is the missing piece?
*


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 smile.gif . Maybe he will see this thread.
*


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.
*



Maybe that's why he didn't answer my question ph34r.gif .
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?).
Go to the top of the page
 
+Quote Post
Jon_J
post Jul 11 2006, 11:51 AM
Post #9





Group: Members
Posts: 1,837
Joined: 31-December 05
From: Illinois USA
Member No.: 8,821



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
Go to the top of the page
 
+Quote Post
Jon_J
post Jul 11 2006, 11:59 AM
Post #10





Group: Members
Posts: 1,837
Joined: 31-December 05
From: Illinois USA
Member No.: 8,821



My above post linked to this site:
http://www.kamg.de/linux/
CODE
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.
Go to the top of the page
 
+Quote Post
alee16
post Jul 11 2006, 12:03 PM
Post #11





Group: Members
Posts: 113
Joined: 30-May 06
Member No.: 10,009



QUOTE(Jon_J @ Jul 11 2006, 03:51 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
*


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? blink.gif
Go to the top of the page
 
+Quote Post
Jon_J
post Jul 11 2006, 12:10 PM
Post #12





Group: Members
Posts: 1,837
Joined: 31-December 05
From: Illinois USA
Member No.: 8,821



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
Go to the top of the page
 
+Quote Post
alee16
post Jul 11 2006, 12:23 PM
Post #13





Group: Members
Posts: 113
Joined: 30-May 06
Member No.: 10,009



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?
Go to the top of the page
 
+Quote Post
Jon_J
post Jul 11 2006, 12:29 PM
Post #14





Group: Members
Posts: 1,837
Joined: 31-December 05
From: Illinois USA
Member No.: 8,821



QUOTE(alee16 @ Jul 11 2006, 03:23 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?
*

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:
http://www.google.com/search?hs=P52&hl=en&...in%C2%A0results

This post has been edited by Jon_J: Jul 11 2006, 12:47 PM
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 24th May 2013 - 02:29 PM