Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
okay, i have been rooting out a cups issue for a few hours now and figured out what is going on. now i just need help correcting the issue.
so i have a networked printer installed on my server. everything prints fine when i print from that computer. i installed said computer on another computer on the network. the installation seems to go well and all but when i go to print, nothing happens.
so, by basically back-tracing i found that the issue is a permission issue in /var/spool/cups. when i send a job through the file goes into there correctly however it gets the permission only 600 or the user can read and write but everyone else gets nothing while when i send a file locally it ends up with 640 permission or user can read/write and group can read. the owner of the directory is root and the user of course is lp.
i changed the directory to 777, then everything prints fine but when a new file is sent from my pc, it goes in there with a 600 permission and cannot print until i chmod the permissions again.
i am just not sure what i have to change to make the files i send go in there with the correct permissions so they can print. i appreciate any help.
by the way, this is related to errors, filter failed from cups so if you end up seeing that error, this is probably the issue.
you can set for each printer which users are allowed to print and which are not. you must be root to do this admin option. either allow all users, or deny none. that should do the trick.
just visit localhost:631, go to administration, manage printers, click on the printer, administration, allowed users
wow, what a horrible experience that was. i think i finally got it. the allow user thing i believe did nothing. i went into /etc/cups/cupsd.conf and in the section <Location /> i changed it from order deny,allow to order allow,deny and then added Allow from all and Allow from 192.168.0.* (the ip pool for my network) and then restarted cups.
i believe that i am going to remove allow from all because i believe that is too broad for security reasons hopefully it will work after that.
i believe this allowed the printer to finally be discoverable by the programs on my computer (not just adding a printer on my pc) and now do not have to add a printer on my pc any more. prior to this only my webbrowser could find the network printer and now it appears that all programs might be able to find it.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.