OESF Portables Forum
Model Specific Forums => Sharp Zaurus => Zaurus - pdaXrom => Topic started by: Capn_Fish 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.
-
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] (http://index.php?act=findpost&pid=141664\")
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.
-
I will try that. Thanks.
-
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?
-
Any tips?
Have a look in /var/log/cups/error_log, it might give a clue.
-
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
-
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/ (http://localhost:631/) in firefox. I get a 404 error. What now?
Thanks for your help.
-
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/ (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.
-
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!
-
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:
Port 631
and
Allow From 127.0.0.1
The 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.
-
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)
-
... but I can't get to http://localhost:631/ (http://localhost:631/) in firefox. I get a 404 error. What now?
Try http://localhost:631/admin (http://localhost:631/admin)
-
oh, i didnt relise it has a webserver built in, how cool
-
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!
-
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.
-
I can now add printers, but whenever I try to print something, it doesn't work. If I go under jobs, I see that under state it says "stopped at novalue" and under pages it says "Unknown". Is this solvable?
Thanks for your help!
-
I can now add printers, but whenever I try to print something, it doesn't work. If I go under jobs, I see that under state it says "stopped at novalue" and under pages it says "Unknown". Is this solvable?
Thanks for your help!
[div align=\"right\"][a href=\"index.php?act=findpost&pid=143562\"][{POST_SNAPBACK}][/a][/div]
Sorry, never seen that one before. Some quick googling suggests that maybe this is a bug in the foomatic stuff (for printers that don't directly support postscript), so maybe you do need to upgrade to a newer version of cups after all...?
Have you tried using a different driver (ppd file)?
-
I tried both of the ones I have. Both had the same problem.
Thanks for helping.
-
Hi
I've installed CUPS and have the same problem.
I also find that it won't let me configure the printer I have installed - permission denied, though it did let me go through the installing a printer process. It also accepts my password to let me delete jobs.
It does show printers on the network, but nothing actually gets processed.
-
Hi
I've installed CUPS and have the same problem.
I also find that it won't let me configure the printer I have installed - permission denied, though it did let me go through the installing a printer process. It also accepts my password to let me delete jobs.
It does show printers on the network, but nothing actually gets processed.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=147202\"][{POST_SNAPBACK}][/a][/div]
If you're getting 'permission denied' errors then it is most likely the settings in the cups configuration file - note that there are two areas permissions need to be given (one for using printers, one for admin).
-
Nothing I am tweaking in cupsd.conf seems to work. Can you give a little more detail.
Thanks!
-
paste you cupsd.conf here... I will look at it...
Late
-
paste you cupsd.conf here... I will look at it...
Late
[div align=\"right\"][a href=\"index.php?act=findpost&pid=147290\"][{POST_SNAPBACK}][/a][/div]
Hi
I have attached my cupsd.conf here (says .txt coz it wouldn't let me upload .conf).
Really it is now back to tne default because the last thing I tried was swopping in one from my OSX, which was a non-starter.
Thanks for any help.
John
-
paste you cupsd.conf here... I will look at it...
Late
[div align=\"right\"][a href=\"index.php?act=findpost&pid=147290\"][{POST_SNAPBACK}][/a][/div]
Hi
I have attached my cupsd.conf here (says .txt coz it wouldn't let me upload .conf).
Really it is now back to tne default because the last thing I tried was swopping in one from my OSX, which was a non-starter.
Thanks for any help.
John
[div align=\"right\"][a href=\"index.php?act=findpost&pid=147913\"][{POST_SNAPBACK}][/a][/div]
I'm not sure where the @LOCAL etc are defined...? My cupsd.conf is pretty simple for the Zaurus (comments omitted):
LogLevel none
PreserveJobHistory No
Port 631
Order Deny,Allow
Deny From All
Allow From 127.0.0.1
AuthType Basic
AuthClass System
Order Deny,Allow
Deny From All
Allow From 127.0.0.1
... and it works fine for me. Try starting with a really basic config file like this and working your up to a more complex config if that's what you're after.
-
Please don't get me wrong... the file I attached was the default it came with. Honest folks, nothing to do with me. I just want something that works. To hell with security and all. So is what you posted the full thing or some little snippet?
Just want a cupsd.conf that will allow me to print to any cups printer that is willing to accept jobs from the local network.
Thanks for the interest.
-
Please don't get me wrong... the file I attached was the default it came with. Honest folks, nothing to do with me. I just want something that works. To hell with security and all. So is what you posted the full thing or some little snippet?
Just want a cupsd.conf that will allow me to print to any cups printer that is willing to accept jobs from the local network.
Thanks for the interest.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=147949\"][{POST_SNAPBACK}][/a][/div]
That's cool - yes that's the entire file, so try it and see if it works
-
Tried it, but no. I get permission denied when trying to configure any printer. I tried printing from SciTE and got this message:
>a2ps "cupsd.conf"
sh: a2ps: command not found
>Exit code: 127
Is it that I am missing something vital?
Cups restarted with the small cupsd.conf by the way, so I am hoping nothing is too out of whack.
-
Tried it, but no. I get permission denied when trying to configure any printer. I tried printing from SciTE and got this message:
>a2ps "cupsd.conf"
sh: a2ps: command not found
>Exit code: 127
Is it that I am missing something vital?
Cups restarted with the small cupsd.conf by the way, so I am hoping nothing is too out of whack.
[div align=\"right\"][{POST_SNAPBACK}][/a][/div] (http://index.php?act=findpost&pid=148193\")
SciTE does the same thing for me (never tried printing from it before!). To fix that problem I imagine you'll need to install the package that provides a2ps (probably ghostscript?)
I have printed from Abiword, Firefox via CUPS. I would recommend simply browsing to [a href=\"http://localhost:631]http://localhost:631[/url] and configuring the printer and printing a test page first though. If you're still getting permission denied, I'm not sure what is happening (you must browse from the Zaurus, not another machine as the cupsd.conf above only allows local access).
-
Ghostscript already there. Whatever I do... permission denied. Logged in as root, don't get it. Will scrub the config files, uninstall, restart, reinstall, and if that doesn't do it simply give up.
Pity, printing would be simply so good.
-
Ghostscript already there. Whatever I do... permission denied. Logged in as root, don't get it. Will scrub the config files, uninstall, restart, reinstall, and if that doesn't do it simply give up.
Pity, printing would be simply so good.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=148277\"][{POST_SNAPBACK}][/a][/div]
I'm wondering if I have been leading you up the garden path from the start...
Where *exactly* are you seeing permission denied? When you use the web interface to configure printers, it asks you to manually enter a name and password - judging from earlier posts perhaps you already have this working...? Any problems with the web interface or not?
If you are seeing permission denied when trying to print to an already configured/installed printer, then it will be the configuration of that printer. What sort of printer? Networked? Does it require authentication? Or are you printing via another cups server?
-
It was in the web GUI. Permission denied with configuring my networked printers but also when in the administration page it wouldn't allow changes to the config file, like hiding shared printers... and it had asked for my name and password and I was logged on as root.
I have since reflashed my Z and will have another go after I have decided which WM to stick with.
John
-
Because cups "just works" for me I'm bewildered by the number of posts here
I have recently setup a new desktop [machine], configured a printer and my existing Z setup sees the new printer (and prints to it) just fine.
Here's the config on the machine with the printer:
# desktop.cupsd.conf
# Show general information in error_log.
LogLevel info
SystemGroup lpadmin
# Allow remote access
Port 631
Listen /var/run/cups/cups.sock
# Enable printer sharing and shared printers.
Browsing On
BrowseOrder allow,deny
BrowseAllow @LOCAL
BrowseAddress @LOCAL
DefaultAuthType Basic
# Allow shared printing...
Order allow,deny
Allow @LOCAL
Encryption Required
# Restrict access to the admin pages...
Order allow,deny
Allow localhost
AuthType Basic
Require user @SYSTEM
# Restrict access to the configuration files...
Order allow,deny
Allow localhost
Require user @OWNER @SYSTEM
Order deny,allow
AuthType Basic
Require user @SYSTEM
Order deny,allow
Require user @OWNER @SYSTEM
Order deny,allow
# Only the owner or an administrator can cancel a job...
Order deny,allow
Require user @OWNER @SYSTEM
Order deny,allow
And here's the config on the Z:
# zaurus.cupsd.conf
# "$Id: cupsd.conf.in 5454 2006-04-23 21:46:38Z mike $"
#
# Sample configuration file for the Common UNIX Printing System (CUPS)
# scheduler. See "man cupsd.conf" for a complete description of this
# file.
#
# Log general information in error_log - change "info" to "debug" for
# troubleshooting...
LogLevel info
# Administrator user group...
SystemGroup sys root
# Only listen for connections from the local machine.
Listen localhost:631
Listen /var/run/cups/cups.sock
# Show shared printers on the local network.
Browsing On
BrowseOrder allow,deny
BrowseAllow @LOCAL
# Default authentication type, when authentication is required...
DefaultAuthType Basic
# Restrict access to the server...
Order allow,deny
Allow localhost
# Restrict access to the admin pages...
Encryption Required
Order allow,deny
Allow localhost
# Restrict access to configuration files...
AuthType Basic
Require user @SYSTEM
Order allow,deny
Allow localhost
# Set the default printer/job policies...
# Job-related operations must be done by the owner or an adminstrator...
Require user @OWNER @SYSTEM
Order deny,allow
# All administration operations require an adminstrator to authenticate...
AuthType Basic
Require user @SYSTEM
Order deny,allow
# Only the owner or an administrator can cancel or authenticate a job...
Require user @OWNER @SYSTEM
Order deny,allow
Order deny,allow
#
# End of "$Id: cupsd.conf.in 5454 2006-04-23 21:46:38Z mike $".
#
-
It was in the web GUI. Permission denied with configuring my networked printers but also when in the administration page it wouldn't allow changes to the config file, like hiding shared printers... and it had asked for my name and password and I was logged on as root.
I have since reflashed my Z and will have another go after I have decided which WM to stick with.
John
[div align=\"right\"][a href=\"index.php?act=findpost&pid=148580\"][{POST_SNAPBACK}][/a][/div]
OK we were on the right track then - it is the security settings in cupsd.conf.
You need to put in user 'root' and your password into the browser auth box, but then it should work with the short conf file I gave you (but only from the same machine).
Are you sure that you have the cupsd.conf in the right place? I found the one on my Z installation in non-standard place...
-
Sorry, I have been away from cups for a while, setting up my Z based on xfce4/rox again.
Before I start on this again, I should perhaps ask if the fact that the cups printers are physically attached to an Apple Mac will make any difference. When I looked in the cups GUI it found the networked printers on the mac just fine, but when I did a test print from any of the printers from the GUI it said that such and such a printer could not be found...
Will get back when I have tried the various solutions mentioned above!
Thanks.
-
I am trying to print to an hp lj 6mp connected to a linksys wireless print server. I used your previous instructions to set it up. I downloaded the cups packages from Meanie's feed. I have:
cupsclient 1.1.20 installed to my microdrive (ext2)
cups 1.2.0 installed to my microdrive (ext2)
When I go into the web admin and try to print a test page, I get an error that says:
Unsupported format 'application/postscript'!
Any ideas?
**UPDATE** I was able to pull up an old post that said I also needed ghostscript and freetype. Freetype was already installed, so I installed ghostscript. I restarted cups and went back to the web admin and tried again to print a test page, same results. Then I rebooted and tried it again. Same results. Help.
-
Hi. I don't know if this is right, but I thought that cups on the Z was a slimmed down version that required a cups printer on another computer to do the processing. Which might explain why no joy on your linksys print server. Please anyone let me know if I'm wrong.
-
Thanks for the feedback. I was hoping that someone would confirm. From other posts, it appears that folks have this working. Oh well. I will try printing to a shared printer on the Windows and Linux boxes and see what I get.
-
Well, I thought that I would try and set it up exactly like my other linux boxes. I downloaded the hpijs ppd file and installed it using the web interface. It gives me an error saying it can't find the 'foomatic-rip' filter. I downloaded that from HP, but it needs to be compiled. Has anyone already compiled this?
**PARTIAL SOLUTION** I downloaded the generic postscript ppd from the linuxprinting site and now I can print a test page. Unfortunately, the printer is not showing up in any of the applications like Abiword.
-
Well, I thought that I would try and set it up exactly like my other linux boxes. I downloaded the hpijs ppd file and installed it using the web interface. It gives me an error saying it can't find the 'foomatic-rip' filter. I downloaded that from HP, but it needs to be compiled. Has anyone already compiled this?
**PARTIAL SOLUTION** I downloaded the generic postscript ppd from the linuxprinting site and now I can print a test page. Unfortunately, the printer is not showing up in any of the applications like Abiword.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=149769\"][{POST_SNAPBACK}][/a][/div]
Applications normally need to directly support cups to show a list of printers automatically, but even when they don't, you can usually enter a print command (use the cups lp or lpr commands).
As I understand it, many HP printers don't support postscript at all, and the foomatic filter converts postscript to PCL. I haven't tried using this on pdaXrom (straight postscript printers only).
You don't need a cups server to use cups on pdaXrom, but you will need the correct printer drivers (including the foomatic one for HP PCL printers). Using another machine with cups server can be a useful workaround.
-
Thanks. The Laserjet 6MP is a Postscript printer. I bought a 'P' model specifically to work easily with Linux. I was able to get that working from the CUPS admin page by printing a test page. I have not been able to make any of the applications print yet, but will keep working on it. I tried going to the custom section in Abiword and putting in the URI that CUPS is using. No joy. I will keep trying. My color printer is an HP PSC 1210v, one of those all-in-ones. I can print to it from my other linux boxes via SMB (it is shared from XP Home) with the hpijs+foomatic driver. Unfortunately without foomatic for the zaurus, no joy. I also don't have smbfs installed yet. I would be happy at this point just being able to print a text file and pdf to my 6MP. I have difficulty believing that there aren't folks out there who already have this working, but if so, I guess they are busy. Thanks for the feedback.
-
First of all, get the working versions of cups, gnutls, libgcrypt from this thread (https://www.oesf.org/forums/index.php?showtopic=23679).
(The feed does not appear to have been updated)
Install cupsclient and ghostscript-gpl as well.
Then,
root-:) cp /etc/cups/cupsd.conf.default /etc/cups/cupsd.conf
Next, adjust the group settings to permit access through the web interface:
root-:) chgrp lp /etc/cups/*
Set some workable permissions on the spool:
root-:) chmod 775 /var/spool/cups/
root-:) chmod 711 /var/spool/
Uncomment in /etc/cups/mime.convs:
application/vnd.cups-postscript application/vnd.cups-raster 100 pstoraster
...
application/octet-stream application/vnd.cups-raw 0 -
Go to the printer database (http://www.openprinting.org/printer_list.cgi) and find the appropriate .ppd file for your network printer.
Copy the .ppd to where the installation wizard can find it:
root-:) cp /prog/feed/hp_LaserJet_4300_Series.ppd /usr/share/cups/model/
Start cups:
root-:) /etc/rc.d/init.d/cups start
cups: started scheduler.
root-:) /etc/rc.d/init.d/cups status
cups: scheduler is running.
Go to the admin interface (http://localhost:631/admin) and add the printer. (The driver should appear in the appropriate window). Print a test page... Make it a default printer.
The web interface seems to be quite buggy and some functions (e.g. redirections/refresh, Set Printer Options etc) do not work -- might need to edit /etc/cups/printers.conf and/or other configuration files.
At first attempt to print, KO/PI asks for printer configuration and finds it.
Abiword and leafpad do not show the printer, but printing to "Generic PostScript" works.
ScITE does not work (with the a2ps error).