Author Topic: How Do I Print To A Networked Printer?  (Read 13349 times)

Capn_Fish

  • Hero Member
  • *****
  • Posts: 2342
    • View Profile
    • http://
How Do I Print To A Networked Printer?
« on: September 17, 2006, 06:35:33 pm »
I have a Dell 3100cn networked laser printer. I would like to be able to print to it from my Zaurus. Can anybody tell me how to do this?

Thank you.
SL-C750- pdaXrom beta 1 (mostly unused)
Current distro: Gentoo

karlto

  • Sr. Member
  • ****
  • Posts: 343
    • View Profile
    • http://
How Do I Print To A Networked Printer?
« Reply #1 on: September 17, 2006, 08:03:10 pm »
Quote
I have a Dell 3100cn networked laser printer. I would like to be able to print to it from my Zaurus. Can anybody tell me how to do this?

Thank you.
[div align=\"right\"][{POST_SNAPBACK}][/a][/div]
Install the cups package, start it via /etc/rc.d/init.d/cups, and point your browser to [a href=\"http://localhost:631]http://localhost:631[/url]. You should then have a reasonably nice gui to install the printer.
SL6000-L, RC12

Capn_Fish

  • Hero Member
  • *****
  • Posts: 2342
    • View Profile
    • http://
How Do I Print To A Networked Printer?
« Reply #2 on: September 17, 2006, 08:10:13 pm »
I will try that. Thanks.
SL-C750- pdaXrom beta 1 (mostly unused)
Current distro: Gentoo

Capn_Fish

  • Hero Member
  • *****
  • Posts: 2342
    • View Profile
    • http://
How Do I Print To A Networked Printer?
« Reply #3 on: September 17, 2006, 08:22:42 pm »
I tried that, with .../cups start, .../cups reload, etc., but I get an error:

cupsd: Child exited with status 1!
cups: unable to reload scheduler

for .../cups reload.

Any tips?
SL-C750- pdaXrom beta 1 (mostly unused)
Current distro: Gentoo

desertrat

  • Hero Member
  • *****
  • Posts: 743
    • View Profile
    • http://
How Do I Print To A Networked Printer?
« Reply #4 on: September 18, 2006, 12:01:51 am »
Quote
Any tips?
Have a look in /var/log/cups/error_log, it might give a clue.
SL-C3100 / Ambicon WL1100C-CF / pdaXrom 1.1.0beta3 / IceWM

karlto

  • Sr. Member
  • ****
  • Posts: 343
    • View Profile
    • http://
How Do I Print To A Networked Printer?
« Reply #5 on: September 18, 2006, 12:10:04 am »
Quote
Quote
Any tips?
Have a look in /var/log/cups/error_log, it might give a clue.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=141685\"][{POST_SNAPBACK}][/a][/div]
There's always a possibility...

It's probably missing a dependent library or something silly like that
SL6000-L, RC12

Capn_Fish

  • Hero Member
  • *****
  • Posts: 2342
    • View Profile
    • http://
How Do I Print To A Networked Printer?
« Reply #6 on: September 18, 2006, 03:58:03 pm »
I found the log, and the cupsd.conf file was named cupsd.conf.default. Now it starts OK, but I can't get to http://localhost:631/ in firefox. I get a 404 error. What now?

Thanks for your help.
SL-C750- pdaXrom beta 1 (mostly unused)
Current distro: Gentoo

karlto

  • Sr. Member
  • ****
  • Posts: 343
    • View Profile
    • http://
How Do I Print To A Networked Printer?
« Reply #7 on: September 18, 2006, 07:07:40 pm »
Quote
I found the log, and the cupsd.conf file was named cupsd.conf.default. Now it starts OK, but I can't get to http://localhost:631/ in firefox. I get a 404 error. What now?

Thanks for your help.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=141744\"][{POST_SNAPBACK}][/a][/div]
Are you sure it started OK? Note that the default security settings in cupsd.conf only allow access from the local machine (but localhost should work fine...). Check out some of the other settings in the conf file to see if there are any immediately obvious problems.
SL6000-L, RC12

Capn_Fish

  • Hero Member
  • *****
  • Posts: 2342
    • View Profile
    • http://
How Do I Print To A Networked Printer?
« Reply #8 on: September 18, 2006, 07:27:59 pm »
I don't see anything obviously wrong with the cupsd.conf file. CUPS seems to be running OK (#.../cups status indicates that the scheduler is running). Any other ideas? You may want to note that I have almost no clue as to what to look for in the conf file. If you think there's something wrong with it, I can attach it.

Thanks for your help!
SL-C750- pdaXrom beta 1 (mostly unused)
Current distro: Gentoo

karlto

  • Sr. Member
  • ****
  • Posts: 343
    • View Profile
    • http://
How Do I Print To A Networked Printer?
« Reply #9 on: September 18, 2006, 10:56:06 pm »
Quote
I don't see anything obviously wrong with the cupsd.conf file. CUPS seems to be running OK (#.../cups status indicates that the scheduler is running). Any other ideas? You may want to note that I have almost no clue as to what to look for in the conf file. If you think there's something wrong with it, I can attach it.

Thanks for your help!
[div align=\"right\"][a href=\"index.php?act=findpost&pid=141755\"][{POST_SNAPBACK}][/a][/div]
It should just work then...  

I guess you should see at least these lines in cupsd.conf:

Code: [Select]
Port 631and

Code: [Select]
Allow From 127.0.0.1The second one in particular is important, and contained in the security section at the bottom of the config file. I'm pretty sure the default settings are good though.

What you have now is not at all a pdaXrom-specific issue, so you could skim any cups documentation for some hints if we can't help you.
SL6000-L, RC12

Da_Blitz

  • Hero Member
  • *****
  • Posts: 1579
    • View Profile
    • http://www.pocketnix.org
How Do I Print To A Networked Printer?
« Reply #10 on: September 19, 2006, 12:26:23 am »
also dont forget that firefox cant really talk to the printer (it dosent understand it) however the 404 is host not found which seems to me to indicate ethire the dns lookup failed (unlikly) or that the port is firewalled at the OS or application level (ie the enable localhost to connect thingy)

in the future i would recomend using netcat or telnetting into the port or try a shell with tcp/ip support (zsh) or last but not least the gnu extensions to awk can connect to the internet (i have seen a webserver wirtten in awk)
Personal Blog
Code
Twitter

Gemini Order: #95 (roughly)
Current Device: Samsung Chromebook Gen 3
Current Arm Devices Count: ~30
Looking to acquire: Cavium Thunder X2 Hardware

desertrat

  • Hero Member
  • *****
  • Posts: 743
    • View Profile
    • http://
How Do I Print To A Networked Printer?
« Reply #11 on: September 19, 2006, 03:11:01 am »
Quote
... but I can't get to http://localhost:631/ in firefox. I get a 404 error. What now?
Try http://localhost:631/admin
« Last Edit: September 19, 2006, 03:11:34 am by desertrat »
SL-C3100 / Ambicon WL1100C-CF / pdaXrom 1.1.0beta3 / IceWM

Da_Blitz

  • Hero Member
  • *****
  • Posts: 1579
    • View Profile
    • http://www.pocketnix.org
How Do I Print To A Networked Printer?
« Reply #12 on: September 20, 2006, 04:58:33 am »
oh, i didnt relise it has a webserver built in, how cool
Personal Blog
Code
Twitter

Gemini Order: #95 (roughly)
Current Device: Samsung Chromebook Gen 3
Current Arm Devices Count: ~30
Looking to acquire: Cavium Thunder X2 Hardware

Capn_Fish

  • Hero Member
  • *****
  • Posts: 2342
    • View Profile
    • http://
How Do I Print To A Networked Printer?
« Reply #13 on: October 06, 2006, 06:01:52 pm »
Can somebody compile a newer version of CUPS? I have 1.2.2 on my computer and it has the driver for my printer, but 1.2.0 does not.

Also, I have a (actually, two) .ppd files that I think will work, but every time I add a printer, it doesn't show up in the printer list. If this is easily fixable, I don't care about a new bersion of CUPS.

Thanks!
« Last Edit: October 06, 2006, 06:33:29 pm by Capn_Fish »
SL-C750- pdaXrom beta 1 (mostly unused)
Current distro: Gentoo

karlto

  • Sr. Member
  • ****
  • Posts: 343
    • View Profile
    • http://
How Do I Print To A Networked Printer?
« Reply #14 on: October 08, 2006, 04:20:04 pm »
Quote
Can somebody compile a newer version of CUPS? I have 1.2.2 on my computer and it has the driver for my printer, but 1.2.0 does not.

Also, I have a (actually, two) .ppd files that I think will work, but every time I add a printer, it doesn't show up in the printer list. If this is easily fixable, I don't care about a new bersion of CUPS.

Thanks!
[div align=\"right\"][a href=\"index.php?act=findpost&pid=143364\"][{POST_SNAPBACK}][/a][/div]
Copy your .ppd files to /usr/share/cups/model/ and restart cups - should add the driver no problems.
SL6000-L, RC12