[svlug] Remote printing on Xubuntu for nitwits

Skip Evans skip at bigskypenguin.com
Fri Feb 2 10:12:04 PST 2007


Hey all,

Okay, now just to prove I'm a total nitwit, let me
relate the following.

After coming into the office this morning I
printed a document from my workstation, the one
with the HP-1022 connected to it.

When picking up said document I noticed the first
page was not at all what I expected, but instead
was a printout of Maxwell's equations, complete
with Gauss' Law, Gauss' law for magnetism,
Faraday's law of induction, and my favorite,
Ampere's law.

That page with the equations on it was a test page
I printed from the remote workstation I was trying
to get to print through mine yesterday!

Somehow, it snuck out in the middle of night!

I went over to the workstation and it had listed
as a Remote Printer:

HP-1022 at 192.168.0.7

I then printed another document right from the
workstation... all seems right with the world.

Now, as to what was the fix I'm not sure (nitwit!).

One change I made yesterday was to put the cups
port number into the ipp URL so that it reads:

ipp://192.168.0.7:631/printers/HP-1022

This morning I also tried restarting cups, not in
the way I had been with

kill -HUP (cups pid)

...but the way Daniel had suggested:

invoke-rc.d cupsys restart

Which of those was the actual fix, I don't know.

Any ideas?

Printingly Yours,
Skip

Jeff Frost wrote:
> On Thu, 1 Feb 2007, Skip Evans wrote:
> 
>> Nope, nada, zilch. Still nothing from the remote
>> workstation.
>>
>> And now I seem to have boofed the browser
>> interface to cups as well. I get to the first
>> screen with
>>
>> localhost:631
>>
>> Fine, but attempting to select any of the buttons
>> like printers, jobs, gets a connection error screen.
>>
>> I think it would be more cost affective for me to
>> go out and buy five more printers, given my level
>> of incompetence and sheer stupidity here.
> 
> So what happens if you add the localhost:631 back but leave the *:631 as 
> well? I can't believe * wouldn't include localhost, but I suppose that's 
> possible. BTW, here's the reference page for the conf file:
> 
> http://www.cups.org/documentation.php/ref-cupsd-conf.html
> 
> And you are of course restarting cupsd each time you make a change, right?
> 
> 
> 
>>
>> Skip
>>
>> Jeff Frost wrote:
>>> On Thu, 1 Feb 2007, Skip Evans wrote:
>>>
>>>> Hey all,
>>>>
>>>> Just found this in cupsd.conf
>>>>
>>>> # Only listen for connections from the local machine.
>>>> Listen localhost:631
>>>> Listen /var/run/cups/cups.sock
>>>>
>>>>
>>>>
>>>> Could that be my problem? If so, what should it be
>>>> changed to?
>>>>
>>>
>>> For sure:
>>>
>>> Listen *:631
>>>
>>> instead of
>>>
>>> Listen localhost:631
>>>
>>> Will probably do the trick for you.
>>>
>>>> Listen from All
>>>>
>>>> ???
>>>>
>>>> Skip
>>
> 

-- 
Skip Evans
Big Sky Penguin, LLC
61 W Broadway
Butte, Montana 59701
406-782-2240
http://bigskypenguin.com
=-=-=-=-=-=-=-=-=-=
Check out PHPenguin, a lightweight and
versatile PHP/MySQL development framework.
http://phpenguin.bigskypenguin.com/




More information about the Svlug mailing list