Author Topic: Printing From Usb - Cups Package Problem?  (Read 4642 times)

alee16

  • Full Member
  • ***
  • Posts: 113
    • View Profile
Printing From Usb - Cups Package Problem?
« 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.
Sharp C1000 running pdaXrom 1.1.0beta4!
w/Lexar 1GB 40x Compactflash card &
Toshiba 512mb SD card

adf

  • Hero Member
  • *****
  • Posts: 2807
    • View Profile
    • http://
Printing From Usb - Cups Package Problem?
« Reply #1 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.
« Last Edit: July 11, 2006, 01:39:01 pm by adf »
**3100 Zubuntu Jaunty,(working on Cacko dualboot), 16G A-Data internal CF, 4G SD, Ambicom WL-1100C Cf, linksys usb ethernet,  BelkinF8T020 BT card, Belkin F8U1500-E Ir kbd, mini targus usb mouse, rechargeble AC/DC powered USB hub, psp cables and battery extenders.

**6000l  Tetsuized Sharprom, installed on internal flash only 1G sd, 2G cf

alee16

  • Full Member
  • ***
  • Posts: 113
    • View Profile
Printing From Usb - Cups Package Problem?
« Reply #2 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?
« Last Edit: July 11, 2006, 02:35:45 pm by alee16 »
Sharp C1000 running pdaXrom 1.1.0beta4!
w/Lexar 1GB 40x Compactflash card &
Toshiba 512mb SD card

adf

  • Hero Member
  • *****
  • Posts: 2807
    • View Profile
    • http://
Printing From Usb - Cups Package Problem?
« Reply #3 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
**3100 Zubuntu Jaunty,(working on Cacko dualboot), 16G A-Data internal CF, 4G SD, Ambicom WL-1100C Cf, linksys usb ethernet,  BelkinF8T020 BT card, Belkin F8U1500-E Ir kbd, mini targus usb mouse, rechargeble AC/DC powered USB hub, psp cables and battery extenders.

**6000l  Tetsuized Sharprom, installed on internal flash only 1G sd, 2G cf

adf

  • Hero Member
  • *****
  • Posts: 2807
    • View Profile
    • http://
Printing From Usb - Cups Package Problem?
« Reply #4 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?
**3100 Zubuntu Jaunty,(working on Cacko dualboot), 16G A-Data internal CF, 4G SD, Ambicom WL-1100C Cf, linksys usb ethernet,  BelkinF8T020 BT card, Belkin F8U1500-E Ir kbd, mini targus usb mouse, rechargeble AC/DC powered USB hub, psp cables and battery extenders.

**6000l  Tetsuized Sharprom, installed on internal flash only 1G sd, 2G cf

alee16

  • Full Member
  • ***
  • Posts: 113
    • View Profile
Printing From Usb - Cups Package Problem?
« Reply #5 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)
« Last Edit: July 11, 2006, 03:18:27 pm by alee16 »
Sharp C1000 running pdaXrom 1.1.0beta4!
w/Lexar 1GB 40x Compactflash card &
Toshiba 512mb SD card

adf

  • Hero Member
  • *****
  • Posts: 2807
    • View Profile
    • http://
Printing From Usb - Cups Package Problem?
« Reply #6 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.
**3100 Zubuntu Jaunty,(working on Cacko dualboot), 16G A-Data internal CF, 4G SD, Ambicom WL-1100C Cf, linksys usb ethernet,  BelkinF8T020 BT card, Belkin F8U1500-E Ir kbd, mini targus usb mouse, rechargeble AC/DC powered USB hub, psp cables and battery extenders.

**6000l  Tetsuized Sharprom, installed on internal flash only 1G sd, 2G cf

alee16

  • Full Member
  • ***
  • Posts: 113
    • View Profile
Printing From Usb - Cups Package Problem?
« Reply #7 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?).
Sharp C1000 running pdaXrom 1.1.0beta4!
w/Lexar 1GB 40x Compactflash card &
Toshiba 512mb SD card

Jon_J

  • Hero Member
  • *****
  • Posts: 1853
    • View Profile
    • http://
Printing From Usb - Cups Package Problem?
« Reply #8 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
C3100 Multiboot-->Angstrom 2007.12-r18 | Cacko 1.23 | ArchLinuxARM
C3200 pdaxii13v2-5.5-alpha4 Akita on NAND

Ambicom WL1100C-CF Wifi - Ambicom CF modem - Ambicom CF GPS - Belkin-F5D5050 USB LAN
Socket CF Bluetooth rev K - Iogear 4 port USB micro hub - pocket CF card reader
Targus mini USB optical mouse - 2 Targus SD card readers

Jon_J

  • Hero Member
  • *****
  • Posts: 1853
    • View Profile
    • http://
Printing From Usb - Cups Package Problem?
« Reply #9 on: July 11, 2006, 03:59:48 pm »
My above post linked to this site:
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.
C3100 Multiboot-->Angstrom 2007.12-r18 | Cacko 1.23 | ArchLinuxARM
C3200 pdaxii13v2-5.5-alpha4 Akita on NAND

Ambicom WL1100C-CF Wifi - Ambicom CF modem - Ambicom CF GPS - Belkin-F5D5050 USB LAN
Socket CF Bluetooth rev K - Iogear 4 port USB micro hub - pocket CF card reader
Targus mini USB optical mouse - 2 Targus SD card readers

alee16

  • Full Member
  • ***
  • Posts: 113
    • View Profile
Printing From Usb - Cups Package Problem?
« Reply #10 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
[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?
Sharp C1000 running pdaXrom 1.1.0beta4!
w/Lexar 1GB 40x Compactflash card &
Toshiba 512mb SD card

Jon_J

  • Hero Member
  • *****
  • Posts: 1853
    • View Profile
    • http://
Printing From Usb - Cups Package Problem?
« Reply #11 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
C3100 Multiboot-->Angstrom 2007.12-r18 | Cacko 1.23 | ArchLinuxARM
C3200 pdaxii13v2-5.5-alpha4 Akita on NAND

Ambicom WL1100C-CF Wifi - Ambicom CF modem - Ambicom CF GPS - Belkin-F5D5050 USB LAN
Socket CF Bluetooth rev K - Iogear 4 port USB micro hub - pocket CF card reader
Targus mini USB optical mouse - 2 Targus SD card readers

alee16

  • Full Member
  • ***
  • Posts: 113
    • View Profile
Printing From Usb - Cups Package Problem?
« Reply #12 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?
Sharp C1000 running pdaXrom 1.1.0beta4!
w/Lexar 1GB 40x Compactflash card &
Toshiba 512mb SD card

Jon_J

  • Hero Member
  • *****
  • Posts: 1853
    • View Profile
    • http://
Printing From Usb - Cups Package Problem?
« Reply #13 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]
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]
« Last Edit: July 11, 2006, 04:47:32 pm by Jon_J »
C3100 Multiboot-->Angstrom 2007.12-r18 | Cacko 1.23 | ArchLinuxARM
C3200 pdaxii13v2-5.5-alpha4 Akita on NAND

Ambicom WL1100C-CF Wifi - Ambicom CF modem - Ambicom CF GPS - Belkin-F5D5050 USB LAN
Socket CF Bluetooth rev K - Iogear 4 port USB micro hub - pocket CF card reader
Targus mini USB optical mouse - 2 Targus SD card readers