PCLinuxOS-Forums
News: ...FLASH!!! ...New PCLinuxOS Testing board now open. Register today! Be an active contributor to the PCLinuxOS future! ... Read all about it now, on THIS forum!!!..
 
*
Welcome, Guest. Please login or register. May 26, 2012, 10:32:21 PM


Login with username, password and session length


Pages: [1]   Go Down
  Print  
Author Topic: CUPS printing issue  (Read 326 times)
alphaace
Sr. Member
****
Offline Offline

Posts: 279


« on: August 12, 2010, 01:39:43 PM »

So I've connected a HP 4200 photosmart to PCLOS. It prints great! Yay!

However, now I'm trying to connect my macbook pro so that it prints to the cup server. I checked that Cups is running Smiley. I checked localhost:631 on the pclos machine and the printer is there.

However when I print from the mac side it tells me 192.168.1.100 is busy. Will try again in 5 seconds then 10 seconds and so forth. Anyone run into this problem before?

Thanks!
Logged
alphaace
Sr. Member
****
Offline Offline

Posts: 279


« Reply #1 on: August 12, 2010, 06:30:45 PM »

Ok, I get CUPS working if I put in Port 631. But what if I only want to listen from my local network.

I tried commenting out Port 631 and putting in Listen 192.168.1.*:631 with no luck...

Ok, Here is how to actually make it work without having the port open to the world.

replace listen 192.168.1.*:631 with

listen 192.168.1.100:631 (where 100 is the ip address of my pclos machine -- make sure the ip is static)
listen 127.0.0.1:631

That allows it to work and not keep the port open to the world :-).
Logged
alphaace
Sr. Member
****
Offline Offline

Posts: 279


« Reply #2 on: August 13, 2010, 12:17:50 AM »

I spoke too soon. I *almost* have it working.

After a reboot, I can't connect to cups from machines on my lan. First, I need to go to http://localhost:631/admin. Then I need to click Edit Configuration File. I then click save changes. It asks me for my root password and login and then restarts the cups server. I don't actually change the file.

However, after that everything works. Somehow, cups is not getting started correctly. I know it has started on boot because I can go to http://localhost:631 which is fine.

So, does anyone have any ideas on this rather weird error? It's annoying to have to remember to restart cups in this way after a reboot? I have made a temporary fix by putting the command services cups restart in /etc/rc.local. However, I feel that's more of a patch than a solution.
Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines

Valid XHTML 1.0! Valid CSS! Dilber MC Theme by HarzeM